internal void QueueRoomAlert(RoomAlert alert) { lock (roomAlerts.SyncRoot) { roomAlerts.Enqueue(alert); } }
internal static void RoomAlert(uint RoomId, Boolean Caution, String Message) { Room Room = ButterflyEnvironment.GetGame().GetRoomManager().GetRoom(RoomId); if (Room == null || Message.Length <= 1) { return; } RoomAlert alert = new RoomAlert(Message, 3); }