Method | Description | |
---|---|---|
EndSession ( ) : void |
Ends the Session and changes its SessionState from Playing to Ended
|
|
ExecuteCommandOnServer ( |
Asks the Session to send a remote command call on the session host
|
|
ExecuteServerCommandOnClients ( |
Asks the Session to send a remote command call on all session clients
|
|
ListenIncoming ( ) : void |
Listens to all data received from the network interface
|
|
OnClosed ( ) : void | ||
StartSession ( ) : void |
Starts the Session and changes its SessionState from Lobby to Playing
|
|
SynchronizeCommandOnClients ( |
||
SynchronizeSceneEntitiesOnClients ( ISceneEntity sceneEntity ) : void | ||
Update ( |
Update loop call
|
Method | Description | |
---|---|---|
NotifyServerSynchronizationDoneOnClient ( ) : void |
Notifies the server that the synchronization with the server is performed locally
|
Method | Description | |
---|---|---|
ChangeSessionStateRequest ( SessionState newStatus ) : void |
public ExecuteCommandOnServer ( |
||
command | The command that should be executed | |
return | void |
public ExecuteServerCommandOnClients ( |
||
command | The command that should be executed | |
return | void |
protected NotifyServerSynchronizationDoneOnClient ( ) : void | ||
return | void |
public SynchronizeCommandOnClients ( |
||
command | ||
return | void |
public SynchronizeSceneEntitiesOnClients ( ISceneEntity sceneEntity ) : void | ||
sceneEntity | ISceneEntity | |
return | void |
public Update ( |
||
gameTime | ||
return | void |