|
| MyGridPositionVerificationStateGroup (MyCubeGrid grid) |
|
Public Member Functions inherited from Sandbox.Game.Replication.MyEntityPositionVerificationStateGroup |
virtual long | GetSupportID () |
|
void | CreateClientData (MyClientStateBase forClient) |
| Called on server new clients starts replicating this group. More...
|
|
void | DestroyClientData (MyClientStateBase forClient) |
| Called on server when client stops replicating this group. More...
|
|
virtual void | ClientUpdate (uint timestamp) |
|
void | Destroy () |
| Called when state group is being destroyed. More...
|
|
float | GetGroupPriority (int frameCountWithoutSync, MyClientInfo forClient) |
| Gets priority related to client. When priority is lower than zero, it means the object is not relevant for client. Default priority is 1.0f. More...
|
|
bool | Serialize (VRage.Library.Collections.BitStream stream, EndpointId forClient, uint timestamp, byte packetId, int maxBitPosition) |
|
void | OnAck (MyClientStateBase forClient, byte packetId, bool delivered) |
| Called for each packet id sent to client from this state group. When ACK received, called immediatelly. When several other packets received from client, but some were missing, called for each missing packet. More...
|
|
void | ForceSend (MyClientStateBase clientData) |
|
| MyEntityPositionVerificationStateGroup (MyEntity entity) |
|
void | ClientUpdate (MyTimeSpan clientTimestamp) |
| Update method called on client. More...
|
|
void | Serialize (BitStream stream, EndpointId forClient, MyTimeSpan timestamp, byte packetId, int maxBitPosition) |
| (De)serializes group state or it's diff for client. When writing, you can write beyond maxBitPosition, but message won't be sent and ACKs won't be received for it. ReplicationServer will detect, that state group written beyond packet size and revert it. When nothing written, ReplicationServer will detect that and state group won't receive ACK for that packet id. More...
|
|
void | TimestampReset (MyTimeSpan timestamp) |
|
bool | IsStillDirty (EndpointId forClient) |
|