private void QueueAddSyncedObject(CyanEmuSyncedObjectHelper syncedObject) { if (syncedObject == null) { return; } toBeAddedSync_.Enqueue(syncedObject); }
public static void RemoveSyncedObject(CyanEmuSyncedObjectHelper sync) { if (instance_ == null) { return; } instance_.allSyncedObjects_.Remove(sync); }
public static void AddSyncedObject(CyanEmuSyncedObjectHelper sync) { if (instance_ == null || sync == null) { return; } instance_.QueueAddSyncedObject(sync); }
private void QueueRemoveSyncedObject(CyanEmuSyncedObjectHelper syncedObject) { shouldVerifySyncedObjectList_ = true; toBeRemovedSync_.Enqueue(syncedObject); }