public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); ActorID = buffer.ReadInt(32); EquipmentList = new VisualEquipment(); EquipmentList.Parse(buffer); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new RequiredMessageHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 8; ActorID = stream.ReadValueS32(); stream.Position = offset + 12; EquipmentList = new VisualEquipment(); EquipmentList.FileRead(stream, stream.Position); }