using BLHX.Server.Common.Proto;
using BLHX.Server.Common.Proto.p26;

namespace BLHX.Server.Game.Handlers
{
    internal static class P26
    {
        [PacketHandler(Command.Cs26101)]
        static void MiniGameHandler(Connection connection, Packet packet)
        {
            connection.Send(new Sc26102());
        }

        [PacketHandler(Command.Cs26103)]
        static void MiniGameOPHandler(Connection connection, Packet packet)
        {
            connection.Send(new Sc26104());
        }

        [PacketHandler(Command.Cs26150)]
        static void GetMinigameShopHandler(Connection connection, Packet packet)
        {
            connection.Send(new Sc26151());
        }
    }

    static class P26ConnectionNotifyExtensions
    {
        public static void NotifyGameRoom(this Connection connection)
        {
            connection.Send(new Sc26120());
        }
    }
}
