private static void ParseMovement(BinaryReader gr) { var guid = gr.ReadPackedGuid(); var mInfo = MovementInfo.Read(gr); // is it even used by blizzard? }
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)); } }
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)); } }
private void ParseMovement(int i) { var guid = ReadPackedGuid("Object guid: 0x{0:X16}"); var mInfo = MovementInfo.Read(Reader); }
public override void Parse() { ReadPackedGuid("Mover Guid: 0x{0:X16}"); AppendLine(MovementInfo.Read(Reader).ToString()); }