Table of Contents

Class UniquenessManager

Namespace
Coherence.Toolkit
Assembly
Coherence.Toolkit.dll
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

info SpawnInfo
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