battlecore::game
The game module exposes game level state: whether the game is team based, the game time and maximum time, the respawn mode and the connection state. Include its declarations with include "./battlecore/game.bst";.
getIsTeamBased / setIsTeamBased
Gets or sets whether the game is team based.
native bool battlecore::game.getIsTeamBased ();
native void battlecore::game.setIsTeamBased (bool newVal);getTime / setTime
Gets or sets the current game time.
native int battlecore::game.getTime ();
native void battlecore::game.setTime (int newVal);getTimeMax / setTimeMax
Gets or sets the maximum game time.
native int battlecore::game.getTimeMax ();
native void battlecore::game.setTimeMax (int newVal);getRespawnMode / setRespawnMode
Gets or sets the respawn mode.
native int battlecore::game.getRespawnMode ();
native void battlecore::game.setRespawnMode (int newVal);getIsConnected / setIsConnected
Gets or sets whether the game is connected.
native bool battlecore::game.getIsConnected ();
native void battlecore::game.setIsConnected (bool newVal);