public void HandleCommandCalendar(Parser packet)
 {
     WriteLine("unk: " + packet.ReadInt32() + "(unused)");
     WriteLine("unk: " + packet.ReadInt8() + "(unused)");
     WriteLine("unk: " + packet.ReadString());
     packet.ReadEnum<CalendarResponseResult>("Result");
 }
        public void HandleAddEvent(Parser packet)
        {
            WriteLine("Name: " + packet.ReadString());
            WriteLine("Description: " + packet.ReadString());
            WriteLine("Type: " + packet.ReadInt8());
            WriteLine("Repeat_Option: " + packet.ReadInt8());
            WriteLine("maxSize: " + packet.ReadInt32());
            WriteLine("dungeonID: " + packet.ReadInt32());
            WriteLine("time: " + packet.ReadPackedTime());
            WriteLine("lockoutTime: " + packet.ReadInt32());
            WriteLine("flags: " + packet.ReadInt32());

            var inviteCount = packet.ReadInt32();
            WriteLine("inviteCount: " + inviteCount);
            WriteLine("");
            WriteLine("Invited Players");

            for (var i = 0; i < inviteCount; ++i)
            {
                WriteLine(" PlayerGuid: " + packet.ReadPackedGuid());
                WriteLine(" inviteStatus: " + packet.ReadInt8());
                WriteLine(" modType: " + packet.ReadInt8());
                WriteLine("");
            }
        }
        public void ReadWorldStateBlock(Parser packet)
        {
            var fieldId = packet.ReadInt32();
            WriteLine("  Field: " + fieldId);

            var fieldVal = packet.ReadInt32();
            WriteLine("  Value: " + fieldVal);
            WriteLine("");
        }
 public void HandleCriteriaUpdate(Parser packet)
 {
     WriteLine("ID: " + packet.ReadInt32());
     WriteLine("Counter: " + packet.ReadPackedGuid());
     WriteLine("PlayerGuid: " + packet.ReadPackedGuid());
     WriteLine("unk: " + packet.ReadInt32());
     WriteLine("Date: " + packet.ReadTime());
     WriteLine("Timer_1: " + packet.ReadInt32());
     WriteLine("Timer_2: " + packet.ReadInt32());
 }
        //[Parser(OpCodes.SMSG_INIT_WORLD_STATES)]
        public void SMSG_INIT_WORLD_STATES(Parser packet)
        {
            var mapId = packet.ReadInt32();
            WriteLine("Map ID: " + mapId);

            var zoneId = packet.ReadInt32();
            WriteLine("Zone ID: " + zoneId);

            var areaId = packet.ReadInt32();
            WriteLine("Area ID: " + areaId);

            var numFields = packet.ReadInt16();
            WriteLine("Field Count: " + numFields);

            for (var i = 0; i < numFields; i++)
                ReadWorldStateBlock(packet);
        }
 public void HandleEventInviteAlert(Parser packet)
 {
     WriteLine("EventID: " + packet.ReadInt64());
     WriteLine("EventName: " + packet.ReadString());
     WriteLine("EventTime: " + packet.ReadTime());
     WriteLine("EventFlags: " + packet.ReadInt32());
     WriteLine("EventType: " + packet.ReadInt32());
     WriteLine("DungeonID: " + packet.ReadInt32());
     WriteLine("unk: " + packet.ReadInt32());
     WriteLine("InviteID: " + packet.ReadInt64());
     WriteLine("InviteStatus: " + packet.ReadInt8());
     WriteLine("Mod_Type: " + packet.ReadInt8());
     WriteLine("unk: " + packet.ReadInt32());
     WriteLine("Inviter_1: " + packet.ReadPackedGuid());
     WriteLine("Inviter_2: " + packet.ReadPackedGuid());
 }
        public void HandleSendEvent(Parser packet)
        {
            WriteLine("Invite_Type: " + packet.ReadInt8());
            WriteLine("Creator " + packet.ReadPackedGuid());
            WriteLine("EventID: " + packet.ReadInt32());
            WriteLine("unk: " + packet.ReadInt32());
            WriteLine("EventName: " + packet.ReadString());
            WriteLine("EventDescription: " + packet.ReadString());
            WriteLine("Event_Type: " + packet.ReadInt8());
            WriteLine("Repeat_Option: " + packet.ReadInt8());
            WriteLine("MaxSize: " + packet.ReadInt32());
            WriteLine("DungeonID: " + packet.ReadInt32());
            WriteLine("EventFlags: " + packet.ReadInt32());
            WriteLine("EventTime: " + packet.ReadPackedTime());
            WriteLine("LockOutTime: " + packet.ReadInt32());
            WriteLine("unk: " + packet.ReadInt32());
            WriteLine("unk: " + packet.ReadInt32());
            var inviteCount = packet.ReadInt32();
            WriteLine("InviteCount: " + inviteCount);

            for (var i = 0; i < inviteCount; ++i)
            {
                WriteLine("  PlayerGuid: " + packet.ReadPackedGuid());
                WriteLine("  PlayerLevel: " + packet.ReadInt8());
                WriteLine("  InviteStatus: " + packet.ReadInt8());
                WriteLine("  Mod_Type: " + packet.ReadInt8());
                WriteLine("  unk: " + packet.ReadInt8());
                WriteLine("  inviteID: " + packet.ReadInt64());
                WriteLine("  unk: " + packet.ReadInt8());
                WriteLine("  unk: " + packet.ReadInt32());
                WriteLine("");
            }
        }
        public void HandleSenddCalendar(Parser packet)
        {
            var inviteCount = packet.ReadInt32();
            WriteLine("InviteCount: " + inviteCount);
            for (var i = 0; i < inviteCount; ++i)
            {
                WriteLine("  EventID: " + packet.ReadInt64());
                WriteLine("  InviteID: " + packet.ReadInt64());
                WriteLine("  InviteStats: " + packet.ReadInt8());
                WriteLine("  Mod_Type: " + packet.ReadInt8());
                WriteLine("  Invite_Type: " + packet.ReadInt8());
                WriteLine("  InvitedBy: " + packet.ReadPackedGuid());
                WriteLine("");
            }

            var EventCount = packet.ReadInt32();
            WriteLine("EventCount: " + EventCount);
            for (var i = 0; i < EventCount; ++i)
            {
                WriteLine("  EventID: " + packet.ReadInt64());
                WriteLine("  EventName: " + packet.ReadString());
                WriteLine("  EventModFlags: " + packet.ReadInt32());
                WriteLine("  EventDate: " + packet.ReadPackedTime());
                WriteLine("  EventFlags: " + packet.ReadInt32());
                WriteLine("  DungeonID: " + packet.ReadInt32());
                WriteLine("  unk: " + packet.ReadInt64());
                WriteLine("  InvitedBy: " + packet.ReadPackedGuid());
                WriteLine("");
            }

            WriteLine("CurrentUnixTime: " + packet.ReadTime());
            WriteLine("CurrentPacketTime: " + packet.ReadPackedTime());

            var InstanceResetCount = packet.ReadInt32();
            WriteLine("InstanceResetCount: " + InstanceResetCount);
            for (var i = 0; i < InstanceResetCount; ++i)
            {
                WriteLine("  MapID: " + packet.ReadInt32());
                WriteLine("  Difficulty: " + packet.ReadInt32());
                WriteLine("  ResetTime: " + packet.ReadTime());
                WriteLine("  RaidID: " + packet.ReadInt64());
                WriteLine("");
            }

            WriteLine("BaseTime: " + packet.ReadTime());

            var RaidResetCount = packet.ReadInt32();
            WriteLine("RaidResetCount: " + RaidResetCount);
            for (var i = 0; i < RaidResetCount; ++i)
            {
                WriteLine("  MapID: " + packet.ReadInt32());
                WriteLine("  ResetTime: " + packet.ReadTime());
                WriteLine("  NegativeOffset: " + packet.ReadInt32());
                WriteLine("");
            }

            var Counter = packet.ReadInt32();
            WriteLine("Counter: " + Counter + "(Never seen this larger than 0)");
        }
 public void HandleRemove_Invite(Parser packet)
 {
     WriteLine("Removee'sGuid: " + packet.ReadPackedGuid());
     WriteLine("Removee'sInviteID: " + packet.ReadInt64());
     WriteLine("unk: " + packet.ReadInt64());
     WriteLine("EventID: " + packet.ReadInt64());
 }
 public void HandleGetEvent(Parser packet)
 {
     WriteLine("EventID: " + packet.ReadInt32());
 }
 public void HandleUpdateWorldState(Parser packet)
 {
     ReadWorldStateBlock(packet);
 }
 public void HandleUpdateUITimer(Parser packet)
 {
     var time = packet.ReadTime();
     WriteLine("Time: " + time);
 }
Exemple #13
0
 public void HanleWorldLogin(Parser packet)
 {
     WriteLine("unk: " + packet.ReadInt32());
     WriteLine("unk: " + packet.ReadInt8());
 }
Exemple #14
0
 public void HandleEmptySMSGPacket(Parser packet)
 {
     WriteLine("SMSG Packet that wants responce from client");
 }
Exemple #15
0
 public void HandleEmptyCMSGPacket(Parser packet)
 {
     WriteLine("CMSG Packet that wants responce from server");
 }