Class UniquenessManager
- Namespace
- Coherence.Toolkit
- Assembly
- Coherence.Toolkit.dll
public class UniquenessManager
- Inheritance
-
UniquenessManager
Constructors
public UniquenessManager()
Methods
public bool FindUniqueObjectForNewRemoteNetworkEntity(SpawnInfo info, CoherenceBridge bridge, Action onBeforeLocalObjectInit)
Parameters
info
SpawnInfo
bridge
CoherenceBridge
onBeforeLocalObjectInit
Action
Returns
- bool
public string GetUniqueId()
Returns
- string
public void OnUniqueObjectDestroyed(string uuid)
Parameters
uuid
string
public bool RegisterUniqueCoherenceSyncAndDestroyIfDuplicate(ICoherenceSync sync, string uuid)
Parameters
sync
ICoherenceSync
uuid
string
Returns
- bool
public void RegisterUniqueId(string uuid)
Parameters
uuid
string
public bool ReplaceRemoteDuplicatedEntity(ICoherenceSync sync, NetworkEntityState entity)
Parameters
sync
ICoherenceSync
entity
NetworkEntityState
Returns
- bool
public UniqueObjectReplacement TryGetUniqueObject(string uuid)
Parameters
uuid
string
Returns
- UniqueObjectReplacement