public override void Parse(GameBitBuffer buffer) { Field0 = buffer.ReadInt(32); Field1 = new Matrix4x4(); Field1.Parse(buffer); Field2 = buffer.ReadFloat32(); Field3 = buffer.ReadFloat32(); Field4 = buffer.ReadFloat32(); Field5 = buffer.ReadFloat32(); Field6 = buffer.ReadFloat32(); Field7 = buffer.ReadFloat32(); Field8 = buffer.ReadFloat32(); Field9 = buffer.ReadFloat32(); Field10 = buffer.ReadFloat32(); Field11 = buffer.ReadFloat32(); Field12 = buffer.ReadFloat32(); Field13 = buffer.ReadFloat32(); Field14 = buffer.ReadFloat32(); Field15 = buffer.ReadFloat32(); Field16 = buffer.ReadFloat32(); Field17 = buffer.ReadFloat32(); Field18 = buffer.ReadFloat32(); Field19 = buffer.ReadInt(32); Field20 = buffer.ReadInt(32); Field21 = buffer.ReadInt(32); Field22 = buffer.ReadInt(32); Field23 = new FrameAnim(); Field23.Parse(buffer); Field24 = buffer.ReadInt(32); }
public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = stream.ReadValueS32(); stream.Position = offset + 4; Field1 = new Matrix4x4(); Field1.FileRead(stream, stream.Position); stream.Position = offset + 68; Field2 = stream.ReadValueF32(); stream.Position = offset + 72; Field3 = stream.ReadValueF32(); stream.Position = offset + 80; Field4 = stream.ReadValueF32(); stream.Position = offset + 76; Field5 = stream.ReadValueF32(); stream.Position = offset + 84; Field6 = stream.ReadValueF32(); stream.Position = offset + 88; Field7 = stream.ReadValueF32(); stream.Position = offset + 92; Field8 = stream.ReadValueF32(); stream.Position = offset + 96; Field9 = stream.ReadValueF32(); stream.Position = offset + 100; Field10 = stream.ReadValueF32(); stream.Position = offset + 108; Field11 = stream.ReadValueF32(); stream.Position = offset + 104; Field12 = stream.ReadValueF32(); stream.Position = offset + 112; Field13 = stream.ReadValueF32(); stream.Position = offset + 116; Field14 = stream.ReadValueF32(); stream.Position = offset + 120; Field15 = stream.ReadValueF32(); stream.Position = offset + 124; Field16 = stream.ReadValueF32(); stream.Position = offset + 128; Field17 = stream.ReadValueF32(); stream.Position = offset + 132; Field18 = stream.ReadValueF32(); stream.Position = offset + 136; Field19 = stream.ReadValueS32(); stream.Position = offset + 140; Field20 = stream.ReadValueS32(); stream.Position = offset + 144; Field21 = stream.ReadValueS32(); stream.Position = offset + 148; Field22 = stream.ReadValueS32(); stream.Position = offset + 152; Field23 = new FrameAnim(); Field23.FileRead(stream, stream.Position); stream.Position = offset + 172; Field24 = stream.ReadValueS32(); }