public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); FromID = buffer.ReadInt(32); Amount = buffer.ReadInt64(64); InvLoc = new InvLoc(); InvLoc.Parse(buffer); }
public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); ItemID = buffer.ReadInt(32); Location = new InvLoc(); Location.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; FromID = stream.ReadValueS32(); stream.Position = offset + 16; Amount = stream.ReadValueS64(); stream.Position = offset + 24; InvLoc = new InvLoc(); InvLoc.FileRead(stream, stream.Position); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new RequiredMessageHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 8; ItemID = stream.ReadValueS32(); stream.Position = offset + 12; Location = new InvLoc(); Location.FileRead(stream, stream.Position); }