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