Table of Contents

Class UniquenessManager

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
public class UniquenessManager
Inheritance
UniquenessManager

Constructors

UniquenessManager()

public UniquenessManager()

Methods

FindUniqueObjectForNewRemoteNetworkEntity(SpawnInfo, CoherenceBridge, Action)

public bool FindUniqueObjectForNewRemoteNetworkEntity(SpawnInfo info, CoherenceBridge bridge, Action onBeforeLocalObjectInit)

Parameters

info SpawnInfo
bridge CoherenceBridge
onBeforeLocalObjectInit Action

Returns

bool

GetUniqueId()

public string GetUniqueId()

Returns

string

OnUniqueObjectDestroyed(string)

public void OnUniqueObjectDestroyed(string uuid)

Parameters

uuid string

RegisterUniqueCoherenceSyncAndDestroyIfDuplicate(ICoherenceSync, string)

public bool RegisterUniqueCoherenceSyncAndDestroyIfDuplicate(ICoherenceSync sync, string uuid)

Parameters

sync ICoherenceSync
uuid string

Returns

bool

RegisterUniqueId(string)

public void RegisterUniqueId(string uuid)

Parameters

uuid string

ReplaceRemoteDuplicatedEntity(ICoherenceSync, NetworkEntityState)

public bool ReplaceRemoteDuplicatedEntity(ICoherenceSync sync, NetworkEntityState entity)

Parameters

sync ICoherenceSync
entity NetworkEntityState

Returns

bool

TryGetUniqueObject(string)

public UniqueObjectReplacement TryGetUniqueObject(string uuid)

Parameters

uuid string

Returns

UniqueObjectReplacement