Enum ReplicateState
Namespace: FishNet.Object
Assembly: FishNet.Runtime.dll
Syntax
public enum ReplicateState : byte
Fields
Name | Description |
---|---|
CurrentCreated | Value is seen on server, and clients when they own the object. Data has been received on the object for the tick. |
CurrentFuture | Value is only seen on clients when they do not own the object. Tick is in the future and data cannot yet be known. This can be used to exit replicate early to not process actions, or create actions based on previous datas. |
CurrentPredicted | Value is only seen on server when they do not own the object. Server does not have data on this non-owned object for the tick but expected to, such as a state should have arrived but did not. |
Invalid | The default value of this state. This value should never occur when a replicate runs. |
ReplayedCreated | Value is only seen on clients. Client has data on the object for the tick. Client is currently reconciling. |
ReplayedFuture | Value is only seen on clients when they do not own the object. Tick is in the future and data cannot yet be known. Client is currently reconciling. This can be used to exit replicate early to not process actions, or create actions based on previous datas. |
ReplayedPredicted | Value is only seen on clients when they do not own the object. Client does not have data for the tick but expected to, such as a state should have arrived but did not. Client is currently reconciling. |