Space Engineers
Public Member Functions | List of all members
VRage.Network.IMyServerCallback Interface Reference
Inheritance diagram for VRage.Network.IMyServerCallback:
VRage.Network.IMyPeerCallback

Public Member Functions

void OnRequestServerData (EndpointId clientEndpoint, VRage.Library.Collections.BitStream outputStream)
 
void OnRequestStateData (EndpointId clientEndpoint, VRage.Library.Collections.BitStream outputStream)
 
void OnRequestWorld (EndpointId clientEndpoint, VRage.Library.Collections.BitStream outputStream)
 
void OnClientReady (EndpointId clientEndpoint)
 
void ValidateUser (EndpointId endpoint, VRage.Library.Collections.BitStream inputStream)
 Responsible for calling ValidationSuccessfull or ValidationUnsuccessfull More...
 
MyClientStateBase CreateClientState ()
 Creates empty client state on server. It will be deserialized from data sent by client. This must be same type as client state sent by clients. More...
 
- Public Member Functions inherited from VRage.Network.IMyPeerCallback
void OnClientJoined (EndpointId endpointId)
 Called when client is connected and validated. More...
 
void OnClientLeft (EndpointId endpointId)
 Called when client leaves in any way. Clear per-client structure here. More...
 
void OnConnectionLost (EndpointId endpointId)
 Called when connection to client is lost. OnClientLeft is called right after this call returns. More...
 

Detailed Description

Definition at line 8 of file IMyServerCallback.cs.

Member Function Documentation

MyClientStateBase VRage.Network.IMyServerCallback.CreateClientState ( )

Creates empty client state on server. It will be deserialized from data sent by client. This must be same type as client state sent by clients.

void VRage.Network.IMyServerCallback.OnClientReady ( EndpointId  clientEndpoint)
void VRage.Network.IMyServerCallback.OnRequestServerData ( EndpointId  clientEndpoint,
VRage.Library.Collections.BitStream  outputStream 
)
void VRage.Network.IMyServerCallback.OnRequestStateData ( EndpointId  clientEndpoint,
VRage.Library.Collections.BitStream  outputStream 
)
void VRage.Network.IMyServerCallback.OnRequestWorld ( EndpointId  clientEndpoint,
VRage.Library.Collections.BitStream  outputStream 
)
void VRage.Network.IMyServerCallback.ValidateUser ( EndpointId  endpoint,
VRage.Library.Collections.BitStream  inputStream 
)

Responsible for calling ValidationSuccessfull or ValidationUnsuccessfull


The documentation for this interface was generated from the following file: