GameModeBase python
From WiCWiki
|
GameModeBase
Base for a gamemode on the server.
Members
GameStatus
- Type
- int
- Description
- The current status of the game mode.
DisplayTime
- Type
- float
- Description
- -
MaxGameLength
- Type
- float
- Description
- The max duration of a game.
Methods
GameOver
- Syntax
import wic wic.game.GameModeBase.GameOver( aTeamId )
- Description
- Ends the game with the given team as the winner.
- Exceptions
- -
- See also
- -
UpdateDominationBalance
- Syntax
import wic wic.game.GameModeBase.UpdateDominationBalance( aFirstPercentage, aSecondPercentage )
- Description
- -
- Exceptions
- -
- See also
- -
UpdateTick
- Syntax
import wic wic.game.GameModeBase.UpdateTick( aFirstTick, aSecondTick )
- Description
- -
- Exceptions
- -
- See also
- -