Table of Contents

Struct KCCPlatform.ReconcileData

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

position Vector3

Current world position of the platform.

goalIndex byte

Index 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

byte

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

uint

SetTick(uint)

Sets the local tick when data was created.

public void SetTick(uint value)

Parameters

value uint