Пример #1
0
        public static void Initialize()
        {
            //To Ensure that it's sent only AFTER we get the client's version, and right after.
            if (Enabled)
            {
                PacketHandlers.Register(0xBD, 0, true, new OnPacketReceive
                                        (
                                            delegate(NetState state, PacketReader pvSrc)
                {
                    PacketHandlers.ClientVersion(state, pvSrc);

                    PlayerMobile pm = state.Mobile as PlayerMobile;

                    if (pm != null)
                    {
                        Timer.DelayCall(TimeSpan.Zero, new TimerCallback(pm.ResendBuffs));
                    }
                }
                                        ));
            }
        }
Пример #2
0
        public static void Initialize()
        {
            PacketHandlers.Register(0xD9, 0x10C, false, OnReceive);

            CommandSystem.Register("HWInfo", AccessLevel.GameMaster, HWInfo_OnCommand);
        }
Пример #3
0
        public static void Initialize()
        {
            PacketHandlers.Register(0xD9, 0x10C, false, new OnPacketReceive(OnReceive));

            CommandSystem.Register("HWInfo", AccessLevel.GameMaster, new CommandEventHandler(HWInfo_OnCommand));
        }
Пример #4
0
 public static void Initialize()
 {
     PacketHandlers.Register(0x11, 66, true, new OnPacketReceive(RequestSkillsAndStatsGump));
     PacketHandlers.Register6017(0x11, 66, true, new OnPacketReceive(RequestSkillsAndStatsGump));
 }
Пример #5
0
 public static void Initialize()
 {
     PacketHandlers.Register(0xE8, 13, true, new OnPacketReceive(RemoveHighlightKRUIElement));
     PacketHandlers.Register(0xEB, 0, true, new OnPacketReceive(ReportUseKRHotbarIcon));
 }