GameServer Members
The GameServer type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
GetPageOfGameMessages |
Badly formed XML comment.
|
|
|
InitiateShutDown |
Request the in-progress game to be shutdown.
|
|
|
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.
|
|
|
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.
|
|
|
RefreshSpectatorConsole |
Refresh a spectator console.
|
Properties
| Name | Description | |
|---|---|---|
|
|
CharacterName |
Returns the character name of the player. If the player is dead, null is returned.
|
|
|
ElapsedGameTime | |
|
|
Gold |
Returns the current amount of gold the player has. If the player is dead, null is returned.
|
|
|
LastInputReceived |
Returns the date and time when the last input was received from the user. Returns null, until the game is started.
|
|
|
Level |
Returns the current level of the player. If the player is dead, null is returned.
|