public static void Handle(Entities.GameClient client, DataPacket packet)
        {
            using (var action = new ArenaActionPacket(packet))
            {
                switch (action.DialogID)
                {
                case 0:
                {
                    Data.ArenaQualifier.JoinArena(client);
                    client.Send(action);
                    break;
                }

                case 1:
                {
                    Data.ArenaQualifier.QuitWaitArena(client);
                    client.Send(action);
                    break;
                }

                case 3:
                {
                    if (action.OptionID == 1)
                    {
                        Data.ArenaQualifier.AcceptArena(client);
                    }
                    else if (action.OptionID == 2)
                    {
                        Data.ArenaQualifier.GiveUpArena(client);
                    }
                    break;
                }

                case 4:
                {
                    Data.ArenaQualifier.QuitArena(client);
                    break;
                }

                case 10:
                case 11:
                {
                    if (action.OptionID == 0)
                    {
                        Data.ArenaQualifier.JoinArena(client);
                    }
                    break;
                }

                default:
                    Console.WriteLine("ARENA PACKET: {0} FROM {1}", action.DialogID, client.Name);
                    break;
                }
            }
        }
 public static void Handle(Entities.GameClient client, DataPacket packet)
 {
     using (var action = new ArenaActionPacket(packet))
     {
         switch (action.DialogID)
         {
             case 0:
                 {
                     Data.ArenaQualifier.JoinArena(client);
                     client.Send(action);
                     break;
                 }
             case 1:
                 {
                     Data.ArenaQualifier.QuitWaitArena(client);
                     client.Send(action);
                     break;
                 }
             case 3:
                 {
                     if (action.OptionID == 1)
                     {
                         Data.ArenaQualifier.AcceptArena(client);
                     }
                     else if (action.OptionID == 2)
                     {
                         Data.ArenaQualifier.GiveUpArena(client);
                     }
                     break;
                 }
             case 4:
                 {
                     Data.ArenaQualifier.QuitArena(client);
                     break;
                 }
             case 10:
             case 11:
                 {
                     if (action.OptionID == 0)
                     {
                         Data.ArenaQualifier.JoinArena(client);
                     }
                     break;
                 }
             default:
                 Console.WriteLine("ARENA PACKET: {0} FROM {1}", action.DialogID, client.Name);
                 break;
         }
     }
 }