Exemplo n.º 1
0
Arquivo: Room.cs Projeto: habb0/Bfly
 internal void QueueRoomAlert(RoomAlert alert)
 {
     lock (roomAlerts.SyncRoot)
     {
         roomAlerts.Enqueue(alert);
     }
 }
Exemplo n.º 2
0
        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);
        }