Class UniquenessManager
public class UniquenessManager
- Inheritance
-
UniquenessManager
Constructors
UniquenessManager(Logger)
public UniquenessManager(Logger logger)
Parameters
logger
Logger
Methods
FindUniqueObjectForNewRemoteNetworkEntity(SpawnInfo, Action)
public bool FindUniqueObjectForNewRemoteNetworkEntity(SpawnInfo info, Action onBeforeLocalObjectInit)
Parameters
Returns
GetUniqueId()
public string GetUniqueId()
Returns
OnUniqueObjectDestroyed(string)
public void OnUniqueObjectDestroyed(string uuid)
Parameters
uuid
string
RegisterUniqueCoherenceSyncAndDestroyIfDuplicate(ICoherenceSync, string)
public bool RegisterUniqueCoherenceSyncAndDestroyIfDuplicate(ICoherenceSync sync, string uuid)
Parameters
sync
ICoherenceSyncuuid
string
Returns
RegisterUniqueId(string)
public void RegisterUniqueId(string uuid)
Parameters
uuid
string
ReplaceRemoteDuplicatedEntity(ICoherenceSync, NetworkEntityState)
public bool ReplaceRemoteDuplicatedEntity(ICoherenceSync sync, NetworkEntityState entity)
Parameters
sync
ICoherenceSyncentity
NetworkEntityState
Returns
TryGetUniqueObject(string)
public UniqueObjectReplacement TryGetUniqueObject(string uuid)
Parameters
uuid
string