public override void Parse(GameBitBuffer buffer) { Field0 = new RequiredMessageHeader(); Field0.Parse(buffer); Field1 = buffer.ReadInt(32); Field2 = new RareItemName(); Field2.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; Field1 = stream.ReadValueS32(); stream.Position = offset + 12; Field2 = new RareItemName(); Field2.FileRead(stream, stream.Position); }