예제 #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);
 }