示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 public void Serialize(FZWriter writer)
 {
     writer.Write(unknown1);
     writer.Write(offset);
     if (offset != 0)
     {
         writer.WriteAtOffset(meshCollision, offset);
     }
 }
示例#4
0
 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);
     }
 }
示例#5
0
 public void Serialize(FZWriter writer)
 {
     writer.Write(numEntries);
     writer.Write(offset);
     writer.WriteAtOffset(meshCollisionEntries, offset);
 }
示例#6
0
 public void Serialize(FZWriter writer)
 {
     writer.Write(numEntries);
     writer.Write(offset);
     writer.WriteAtOffset(unknownEntries, offset);
 }
示例#7
0
 public void Serialize(FZWriter writer)
 {
     writer.Write(numEntries);
     writer.Write(offset);
     writer.WriteAtOffset(checkpointEntries, offset);
 }