Table of Contents

Interface ICoherenceSync

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

Properties

ArchetypeName

string ArchetypeName { get; }

Property Value

string

AuthorityTransferTypeConfig

CoherenceSync.AuthorityTransferType AuthorityTransferTypeConfig { get; }

Property Value

CoherenceSync.AuthorityTransferType

BakedScript

CoherenceSyncBaked BakedScript { get; }

Property Value

CoherenceSyncBaked

Bindings

List<Binding> Bindings { get; }

Property Value

List<Binding>

CoherenceBridge

CoherenceBridge CoherenceBridge { get; }

Property Value

CoherenceBridge

CoherenceSyncConfig

CoherenceSyncConfig CoherenceSyncConfig { get; }

Property Value

CoherenceSyncConfig

CoherenceTag

string CoherenceTag { get; set; }

Property Value

string

EntityState

NetworkEntityState EntityState { get; }

Property Value

NetworkEntityState

HasInput

bool HasInput { get; }

Property Value

bool

HasParentWithCoherenceSync

bool HasParentWithCoherenceSync { get; }

Property Value

bool

Input

CoherenceInput Input { get; }

Property Value

CoherenceInput

InterpolationLocationConfig

CoherenceSync.InterpolationLoop InterpolationLocationConfig { get; }

Property Value

CoherenceSync.InterpolationLoop

IsConnectedEntityChangeOverridden

bool IsConnectedEntityChangeOverridden { get; }

Property Value

bool

IsUnique

bool IsUnique { get; }

Property Value

bool

LifetimeTypeConfig

CoherenceSync.LifetimeType LifetimeTypeConfig { get; }

Property Value

CoherenceSync.LifetimeType

ManualUniqueId

string ManualUniqueId { get; }

Property Value

string

OnFloatingOriginShifted

Action<Vector3, Vector3> OnFloatingOriginShifted { get; set; }

Property Value

Action<Vector3, Vector3>

OrphanedBehaviorConfig

CoherenceSync.OrphanedBehavior OrphanedBehaviorConfig { get; }

Property Value

CoherenceSync.OrphanedBehavior

PreserveChildren

bool PreserveChildren { get; }

Property Value

bool

SimulationTypeConfig

CoherenceSync.SimulationType SimulationTypeConfig { get; }

Property Value

CoherenceSync.SimulationType

Updater

ICoherenceSyncUpdater Updater { get; }

Property Value

ICoherenceSyncUpdater

UseReflection

bool UseReflection { get; }

Property Value

bool

UsesLODsAtRuntime

bool UsesLODsAtRuntime { get; }

Property Value

bool

coherencePosition

Vector3 coherencePosition { get; }

Property Value

Vector3

name

string name { get; }

Property Value

string

Methods

ConnectedEntityChanged(SerializeEntityID)

void ConnectedEntityChanged(SerializeEntityID newConnectedEntityID)

Parameters

newConnectedEntityID SerializeEntityID

DestroyAsDuplicate()

void DestroyAsDuplicate()

HandleDisconnected()

void HandleDisconnected()

HandleNetworkedDestruction()

void HandleNetworkedDestruction()

InitializeReplacedUniqueObject(SpawnInfo)

void InitializeReplacedUniqueObject(SpawnInfo info)

Parameters

info SpawnInfo

OnNetworkCommandReceived(object, byte[])

void OnNetworkCommandReceived(object sender, byte[] data)

Parameters

sender object
data byte[]

ProcessGenericNetworkCommand(string, MessageTarget, byte[], SerializeEntityID[])

void ProcessGenericNetworkCommand(string commandName, MessageTarget target, byte[] data, SerializeEntityID[] entityIDs)

Parameters

commandName string
target MessageTarget
data byte[]
entityIDs SerializeEntityID[]

RaiseOnAuthorityRequested(ClientID, AuthorityType)

bool RaiseOnAuthorityRequested(ClientID requesterID, AuthorityType authorityType)

Parameters

requesterID ClientID
authorityType AuthorityType

Returns

bool

RaiseOnConnectedEntityChanged()

void RaiseOnConnectedEntityChanged()

ReceiveCommand(IEntityCommand, MessageTarget)

void ReceiveCommand(IEntityCommand command, MessageTarget target)

Parameters

command IEntityCommand
target MessageTarget

ResetInterpolation(bool)

void ResetInterpolation(bool setToLastSamples = false)

Parameters

setToLastSamples bool

SendConnectedEntity()

void SendConnectedEntity()

SetObservedLodLevel(int)

void SetObservedLodLevel(int lod)

Parameters

lod int

ShiftOrigin(Vector3d)

bool ShiftOrigin(Vector3d delta)

Parameters

delta Vector3d

Returns

bool

ShouldShift()

bool ShouldShift()

Returns

bool

TryGetBindingByGuid(string, out Binding)

bool TryGetBindingByGuid(string bindingGuid, out Binding outBinding)

Parameters

bindingGuid string
outBinding Binding

Returns

bool

UpdateHierarchy()

void UpdateHierarchy()

ValidateConnectedEntity()

void ValidateConnectedEntity()