|
| MyFloatingObjectPhysicsStateGroup (MyFloatingObject entity, IMyReplicable owner) |
|
override void | ClientUpdate (MyTimeSpan clientTimestamp) |
| Update method called on client. More...
|
|
Public Member Functions inherited from Sandbox.Game.Replication.StateGroups.MyEntityPhysicsStateGroup |
| MyEntityPhysicsStateGroup (MyEntity entity, IMyReplicable ownerReplicable) |
|
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 | Destroy () |
| Called when state group is being destroyed. More...
|
|
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) |
|
void | TimestampReset (MyTimeSpan timestamp) |
|
virtual 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...
|
|
bool | IsStillDirty (EndpointId forClient) |
|