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 Vector3D(); Field2.FileRead(stream, stream.Position); stream.Position = offset + 24; Field3 = new Vector3D(); Field3.FileRead(stream, stream.Position); stream.Position = offset + 36; Field4 = stream.ReadValueS32(); stream.Position = offset + 40; Field5 = stream.ReadValueS32(); stream.Position = offset + 44; Field6 = stream.ReadValueS32(); stream.Position = offset + 48; Field7 = new DPathSinData(); Field7.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; Field1 = stream.ReadValueS32(); stream.Position = offset + 12; _Field2 = stream.ReadValueS32(); stream.Position = offset + 16; Field3 = stream.ReadValueS32(); stream.Position = offset + 20; Field4 = stream.ReadValueS32(); stream.Position = offset + 24; Field5 = new Vector3D(); Field5.FileRead(stream, stream.Position); stream.Position = offset + 36; Field6 = stream.ReadValueF32(); stream.Position = offset + 40; Field7 = new Vector3D(); Field7.FileRead(stream, stream.Position); stream.Position = offset + 52; Field8 = stream.ReadValueS32(); stream.Position = offset + 56; Field9 = stream.ReadValueS32(); stream.Position = offset + 60; Field10 = stream.ReadValueS32(); stream.Position = offset + 64; Field11 = stream.ReadValueS32(); stream.Position = offset + 68; Field12 = stream.ReadValueS32(); stream.Position = offset + 72; Field13 = stream.ReadValueF32(); stream.Position = offset + 76; Field14 = stream.ReadValueF32(); stream.Position = offset + 80; Field15 = new DPathSinData(); Field15.FileRead(stream, stream.Position); }