WebAPI

From UFO:AI
Revision as of 18:53, 1 January 2014 by Mattn (talk | contribs)

General

The game allows players to share their data with other players or just backup their savegames and teams. For this to work, they need a forum account and log into it from within the game.

Webserver

The current implementation of the server side is written in php and is located in src/tools/webapi/.

Authentication

We are using a SimpleMachines API for doing the authentication against the forum user credentials.

Client

The client side code is located in src/client/web/. There are some console commands available for the file managment. They are all prefixed by web_ (as well as the available cvars).