public void Save(BinaryWriter stream) { FSHelpers.Write32(stream, NameOffset); FSHelpers.WriteVector(stream, Unknown1); FSHelpers.Write32(stream, Unknown2); FSHelpers.Write32(stream, Unknown3); FSHelpers.WriteVector(stream, Unknown4); FSHelpers.Write32(stream, Unknown5); FSHelpers.Write32(stream, Unknown6); FSHelpers.Write32(stream, Unknown7); FSHelpers.Write32(stream, Unknown8); }
public void Save(BinaryWriter stream) { FSHelpers.WriteString(stream, Magic, 4); FSHelpers.WriteString(stream, Type, 4); FSHelpers.Write32(stream, FileSize); FSHelpers.Write32(stream, ChunkCount); //Write in the unused tag and padding FSHelpers.WriteArray(stream, FSHelpers.ToBytes(0x53565233, 4)); FSHelpers.WriteArray(stream, FSHelpers.ToBytes(0xFFFFFFFF, 4)); FSHelpers.WriteArray(stream, FSHelpers.ToBytes(0xFFFFFFFF, 4)); FSHelpers.WriteArray(stream, FSHelpers.ToBytes(0xFFFFFFFF, 4)); }
public void Save(BinaryWriter stream) { FSHelpers.Write32(stream, (int)VertexCount); FSHelpers.Write32(stream, (int)VertexOffset); FSHelpers.Write32(stream, (int)TriangleCount); FSHelpers.Write32(stream, (int)TriangleOffset); FSHelpers.Write32(stream, (int)Unknown1Count); FSHelpers.Write32(stream, (int)Unknown1Offset); FSHelpers.Write32(stream, (int)Unknown2Count); FSHelpers.Write32(stream, (int)Unknown2Offset); FSHelpers.Write32(stream, (int)TypeCount); FSHelpers.Write32(stream, (int)TypeOffset); FSHelpers.Write32(stream, (int)Unknown3Count); FSHelpers.Write32(stream, (int)Unknown3Offset); }
public virtual void Save(BinaryWriter stream) { FSHelpers.WriteString(stream, Type, 4); FSHelpers.Write32(stream, ChunkSize); }