예제 #1
0
 public override int HandlePacket(GamePlayer player, GSPacketIn packet)
 {
     if (player.CurrentRoom == null)
     {
         int             hallType  = packet.ReadInt();
         int             condition = packet.ReadInt();
         Random          rand      = new Random();
         BaseRoom[]      rooms     = RoomMgr.Rooms;
         List <BaseRoom> list      = RoomMgr.GetWaitingRoom(hallType, condition, 9, 0);
         player.Out.SendUpdateRoomList(list);
     }
     return(0);
 }