Difference between revisions of "WebAPI"

From UFO:AI
Line 1: Line 1:
 
== General ==
 
== General ==
The game allows players to share there data with other players or just backup there savegames and teams. For this to work, they need a forum account and log into it from within the game.
+
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 ==
 
== Webserver ==

Revision as of 18:53, 1 January 2014

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).