Table of Contents

Interface ICoherenceSyncUpdater

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
public interface ICoherenceSyncUpdater

Properties

ChangedConnection

bool ChangedConnection { get; }

Property Value

bool

NewConnection

SerializeEntityID NewConnection { get; }

Property Value

SerializeEntityID

TaggedForNetworkedDestruction

bool TaggedForNetworkedDestruction { get; set; }

Property Value

bool

logger

Logger logger { get; set; }

Property Value

Logger

Methods

ApplyComponentDestroys(HashSet<uint>)

void ApplyComponentDestroys(HashSet<uint> destroyedComponents)

Parameters

destroyedComponents HashSet<uint>

ApplyComponentUpdates(EntityData)

void ApplyComponentUpdates(EntityData entityData)

Parameters

entityData EntityData

ClearAllSampleTimes()

void ClearAllSampleTimes()

GetComponentUpdates(List<ICoherenceComponentData>, List<uint>, bool)

void GetComponentUpdates(List<ICoherenceComponentData> updates, List<uint> masks, bool forceSerialize = false)

Parameters

updates List<ICoherenceComponentData>
masks List<uint>
forceSerialize bool

InterpolateBindings()

void InterpolateBindings()

InvokeCallbacks()

void InvokeCallbacks()

ManuallySendAllChanges()

Sends changes on all bindings manually instead of waiting for the update. External use only when the CoherenceSync behaviour is disabled. The sending of the packet containing these changes is still dependant on the packet send rate. Do no call before the entity has been registered with the client, which will happen after the First update after the client is connected and the CoherenceSync behaviour is enabled. If called before the entity is registered with the client updates will be lost.

void ManuallySendAllChanges()

OnConnectedEntityChanged()

void OnConnectedEntityChanged()

PerformInterpolationOnAllBindings()

void PerformInterpolationOnAllBindings()

SendTag()

void SendTag()

SyncAndSend()

void SyncAndSend()

TryFlushPosition()

bool TryFlushPosition()

Returns

bool