Struct KCCPlatform.ReconcileData
Reconcile data for the platform. Contains all state read during PerformReplicate(ReplicateData, ReplicateState, Channel) to ensure deterministic replay after reconciliation.
public struct KCCPlatform.ReconcileData : IReconcileData
- Implements
-
IReconcileData
- Inherited Members
Constructors
ReconcileData(Vector3, byte)
Creates reconcile data capturing the platform's full simulation state.
public ReconcileData(Vector3 position, byte goalIndex)
Parameters
positionVector3Current world position of the platform.
goalIndexbyteIndex of the current movement goal.
Fields
GoalIndex
Index into the goals list indicating which waypoint the platform is moving toward.
public byte GoalIndex
Field Value
Position
World position of the platform at this tick.
public Vector3 Position
Field Value
- Vector3
Methods
Dispose()
Allows for any cleanup when the data is being discarded.
public void Dispose()
GetTick()
Local tick when the data was created.
public uint GetTick()
Returns
SetTick(uint)
Sets the local tick when data was created.
public void SetTick(uint value)
Parameters
valueuint