public void Serialize(FZWriter writer) { writer.Write(unknown1); writer.Write(numTriangles); writer.Write(numQuads); writer.Write(trianglesOffset); writer.Write(quadsOffset); writer.WriteAtOffset(triangles, trianglesOffset); writer.WriteAtOffset(quads, quadsOffset); }
public void Serialize(FZWriter writer) { writer.Write(unknown1); writer.Write(startTriangleOffset); writer.Write(nextTriangleOffset); writer.WriteAtOffset(triangles, startTriangleOffset); writer.Write(startQuadOffset); writer.Write(nextQuadOffset); writer.WriteAtOffset(quads, startQuadOffset); }
public void Serialize(FZWriter writer) { writer.Write(unknown1); writer.Write(offset); if (offset != 0) { writer.WriteAtOffset(meshCollision, offset); } }
public void Serialize(FZWriter writer) { writer.BaseStream.Seek(address, SeekOrigin.Begin); writer.Write(unknown1); writer.Write(unknown2); writer.Write(unknown3); writer.Write(position); writer.Write(unknown4); writer.Write(unknown5); writer.Write(scale); writer.Write(unknown6); writer.Write(unknownOffset1); writer.Write(unknownOffset2); writer.Write(unknown7); writer.Write(orientationOffset); if (orientationOffset != 0) { writer.WriteAtOffset(orientation, orientationOffset); } }
public void Serialize(FZWriter writer) { writer.Write(numEntries); writer.Write(offset); writer.WriteAtOffset(meshCollisionEntries, offset); }
public void Serialize(FZWriter writer) { writer.Write(numEntries); writer.Write(offset); writer.WriteAtOffset(unknownEntries, offset); }
public void Serialize(FZWriter writer) { writer.Write(numEntries); writer.Write(offset); writer.WriteAtOffset(checkpointEntries, offset); }