Method | Description | |
---|---|---|
FeedNotification ( string message ) : void |
Feed server notification to client. Called when fresh snapshot arrived.
|
|
FeedSnapshot ( byte snapshot, bool initial ) : void |
Feed server snapshot to client. Called when fresh snapshot arrived.
|
|
Initialize ( ) : void |
Initializes game
|
|
LoadContent ( string serverInfo ) : void |
Called when connection request accepted by server. Client could start loading models, textures, models etc.
|
|
SceneDemo1GameClient ( Game game ) : System |
Ctor
|
|
UnloadContent ( ) : void |
Called when client disconnected, dropped, kicked or timeouted. Client must purge all level-associated content. Reason???
|
|
Update ( GameTime gameTime ) : byte[] |
Runs one step of client-side simulation and render world state. Do not close the stream.
|
|
UserInfo ( ) : string |
|
public FeedNotification ( string message ) : void | ||
message | string | |
return | void |
public FeedSnapshot ( byte snapshot, bool initial ) : void | ||
snapshot | byte | |
initial | bool | |
return | void |
public LoadContent ( string serverInfo ) : void | ||
serverInfo | string | |
return | void |
public SceneDemo1GameClient ( Game game ) : System | ||
game | Game | |
return | System |