Method | Description | |
---|---|---|
ApproveClient ( string id, string userInfo, string &reason ) : bool |
Approves client by id and user info.
|
|
ClientConnected ( string id, string userInfo ) : void |
Notifies server that client connected.
|
|
ClientDisconnected ( string id, string userInfo ) : void |
Notifies server that client disconnected.
|
|
FeedCommand ( string id, byte userCommand ) : void |
Feed client commands from particular client.
|
|
FeedNotification ( string id, string message ) : void |
Feed server notification from particular client.
|
|
Initialize ( ) : void |
|
|
LoadContent ( string map ) : void |
Starts server with given map/level.
|
|
SceneDemo1GameServer ( Game game ) : System |
Ctor
|
|
ServerInfo ( ) : string |
Gets server info.
|
|
UnloadContent ( ) : void |
Kills server
|
|
Update ( GameTime gameTime ) : byte[] |
Runs one step of server-side world simulation. Do not close the stream.
|
public ApproveClient ( string id, string userInfo, string &reason ) : bool | ||
id | string | |
userInfo | string | |
reason | string | |
return | bool |
public ClientConnected ( string id, string userInfo ) : void | ||
id | string | |
userInfo | string | |
return | void |
public ClientDisconnected ( string id, string userInfo ) : void | ||
id | string | |
userInfo | string | |
return | void |
public FeedCommand ( string id, byte userCommand ) : void | ||
id | string | |
userCommand | byte | |
return | void |
public FeedNotification ( string id, string message ) : void | ||
id | string | |
message | string | |
return | void |
public SceneDemo1GameServer ( Game game ) : System | ||
game | Game | |
return | System |