/// <summary> /// Queues the add event. /// </summary> /// <param name="data">The data.</param> internal void QueueAddEvent(RoomData data) { lock (_addQueue.SyncRoot) _addQueue.Enqueue(data); }
/// <summary> /// Queues the remove event. /// </summary> /// <param name="data">The data.</param> internal void QueueRemoveEvent(RoomData data) { lock (_removeQueue.SyncRoot) _removeQueue.Enqueue(data); }
/// <summary> /// Queues the update event. /// </summary> /// <param name="data">The data.</param> internal void QueueUpdateEvent(RoomData data) { lock (_updateQueue.SyncRoot) _updateQueue.Enqueue(data); }