public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new MaterialTexture(); Field1.Parse(buffer); }
public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = buffer.ReadInt(32); Field2 = buffer.ReadInt(32); Field3 = new MaterialTexture(); Field3.Parse(buffer); Field4 = buffer.ReadInt(32); Field5 = buffer.ReadInt(32); Field6 = buffer.ReadFloat32(); Field7 = new LightStateParams(); Field7.Parse(buffer); Field8 = new LightStateParams(); Field8.Parse(buffer); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = stream.ReadValueS32(); stream.Position = offset + 4; Field1 = new MaterialTexture(); Field1.FileRead(stream, stream.Position); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 12; Field0 = stream.ReadValueS32(); stream.Position = offset + 16; Field1 = stream.ReadValueS32(); stream.Position = offset + 20; Field2 = stream.ReadValueS32(); stream.Position = offset + 24; Field3 = new MaterialTexture(); Field3.FileRead(stream, stream.Position); stream.Position = offset + 204; Field4 = stream.ReadValueS32(); stream.Position = offset + 208; Field5 = stream.ReadValueS32(); stream.Position = offset + 212; Field6 = stream.ReadValueF32(); stream.Position = offset + 216; Field7 = new LightStateParams(); Field7.FileRead(stream, stream.Position); stream.Position = offset + 736; Field8 = new LightStateParams(); Field8.FileRead(stream, stream.Position); }