Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.36 KB

GameInfo.md

File metadata and controls

18 lines (15 loc) · 1.36 KB

Tgm.Roborally.Api.Model.GameInfo

Describes the current state of the game. It does not includes the gamedata (like players/poitions/field) but general information. This is read only

Properties

Name Type Description Notes
PassedTime int The time passed since the game started in secconds. If the game is not started it will be `0` [default to -1]
State GameState
HardwareCompatible bool Not every game can be connected to hardware (for example to many bots) If this is true it means you can use this game with hardware [default to false]
PlayerOnTurn int This id uniquely identifys the player (in a game). Not to be confused with the `uid` which is used for authentication
Name string The default rule for names in the game
MaxPlayers int The maximum count of players that can participate in this game
CurrentPlayers int The numbers of players in the game
ExecutionInfo GameInfoExecutionInfo
PasswordProtected bool True if the game has a password in order to join

[Back to Model list] [Back to API list] [Back to README]