Esempio n. 1
0
        private static void ParseMovement(BinaryReader gr)
        {
            var guid = gr.ReadPackedGuid();

            var mInfo = MovementInfo.Read(gr);

            // is it even used by blizzard?
        }
Esempio n. 2
0
        private void ParseCreateObjects(int i)
        {
            var guid = ReadPackedGuid("Object guid: {0:X16}");

            var objectTypeId = ReadUInt8 <ObjectTypes>("Object Type: {0}");

            var movement = MovementInfo.Read(Reader);

            // values part
            var update = WoWObjectUpdate.Read(Reader);

            var obj = GetWoWObject(guid);

            if (obj == null)
            {
                objects.Add(guid, new WoWObject(objectTypeId, movement, update.Data));
            }
            else
            {
                objects.Remove(guid);
                objects.Add(guid, new WoWObject(objectTypeId, movement, update.Data));
            }
        }
Esempio n. 3
0
        private void ParseCreateObjects(BinaryReader gr)
        {
            var guid = gr.ReadPackedGuid();

            var objectTypeId = (ObjectTypes)gr.ReadByte();

            var movement = MovementInfo.Read(gr);

            // values part
            var update = WoWObjectUpdate.Read(gr);

            var obj = GetWoWObject(guid);

            if (obj == null)
            {
                objects.Add(guid, new WoWObject(objectTypeId, movement, update.Data));
            }
            else
            {
                objects.Remove(guid);
                objects.Add(guid, new WoWObject(objectTypeId, movement, update.Data));
            }
        }
Esempio n. 4
0
        private void ParseMovement(int i)
        {
            var guid = ReadPackedGuid("Object guid: 0x{0:X16}");

            var mInfo = MovementInfo.Read(Reader);
        }
Esempio n. 5
0
 public override void Parse()
 {
     ReadPackedGuid("Mover Guid: 0x{0:X16}");
     AppendLine(MovementInfo.Read(Reader).ToString());
 }