GameServer Members

The GameServer type exposes the following members.

Methods


  Name Description
Public method GetPageOfGameMessages
Badly formed XML comment.
Public method InitiateShutDown
Request the in-progress game to be shutdown.
Public method PlayExistingGame
Plays an existing game. If the game cannot be played false is immediately returned; otherwise, the game is played out and true is returned when the game is over.
Public method PlayNewGame
Plays a game. If the game cannot be played false is immediately returned; otherwise, the game is played out and true is returned when the game is over.
Public method RefreshSpectatorConsole
Refresh a spectator console.

Properties


  Name Description
Public property CharacterName
Returns the character name of the player. If the player is dead, null is returned.
Public property ElapsedGameTime
Public property Gold
Returns the current amount of gold the player has. If the player is dead, null is returned.
Public property LastInputReceived
Returns the date and time when the last input was received from the user. Returns null, until the game is started.
Public property Level
Returns the current level of the player. If the player is dead, null is returned.