Beispiel #1
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteByteArray(bw, m_vertexData);
     s.WriteByteArray(bw, m_triangleData);
     s.WriteByteArray(bw, m_primitiveData);
     bw.WriteUInt32(m_materialNameData);
     bw.WriteUInt32(0);
 }
Beispiel #2
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4Array(bw, m_vertices);
     s.WriteByteArray(bw, m_indices8);
     s.WriteUInt16Array(bw, m_indices16);
     s.WriteUInt32Array(bw, m_indices32);
     s.WriteByteArray(bw, m_materialIndices);
     s.WriteClassArray <hkpStorageExtendedMeshShapeMaterial>(bw, m_materials);
     s.WriteClassArray <hkpNamedMeshMaterial>(bw, m_namedMaterials);
     s.WriteUInt16Array(bw, m_materialIndices16);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt32(m_bitsPerIndex);
     bw.WriteInt32(m_bitsPerWIndex);
     bw.WriteInt32(m_wIndexMask);
     bw.WriteInt32(m_indexMask);
     bw.WriteSingle(m_radius);
     bw.WriteByte((byte)m_weldingType);
     bw.WriteByte((byte)m_materialType);
     bw.WriteUInt16(0);
     s.WriteUInt32Array(bw, m_materials);
     s.WriteUInt16Array(bw, m_materials16);
     s.WriteByteArray(bw, m_materials8);
     s.WriteQSTransformArray(bw, m_transforms);
     s.WriteVector4Array(bw, m_bigVertices);
     s.WriteClassArray <hkpCompressedMeshShapeBigTriangle>(bw, m_bigTriangles);
     s.WriteClassArray <hkpCompressedMeshShapeChunk>(bw, m_chunks);
     s.WriteClassArray <hkpCompressedMeshShapeConvexPiece>(bw, m_convexPieces);
     bw.WriteSingle(m_error);
     bw.WriteUInt32(0);
     m_bounds.Write(s, bw);
     bw.WriteUInt32(m_defaultCollisionFilterInfo);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(m_materialStriding);
     bw.WriteUInt16(m_numMaterials);
     bw.WriteUInt32(0);
     s.WriteClassArray <hkpNamedMeshMaterial>(bw, m_namedMaterials);
     bw.WriteUInt64(0);
 }
Beispiel #4
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_nestedTypeHkbGeneratorPtr);
     s.WriteClassPointer <hkbGenerator>(bw, m_nestedTypeHkbGeneratorRefPtr);
     s.WriteClassPointer <hkbModifier>(bw, m_nestedTypeHkbModifierPtr);
     s.WriteClassPointer <hkbModifier>(bw, m_nestedTypeHkbModifierRefPtr);
     s.WriteClassPointer <hkbCustomIdSelector>(bw, m_nestedTypeHkbCustomIdSelectorPtr);
     s.WriteClassPointer <hkbCustomIdSelector>(bw, m_nestedTypeHkbCustomIdSelectorRefPtr);
     s.WriteBooleanArray(bw, m_nestedTypeArrayBool);
     s.WriteBooleanArray(bw, m_nestedTypeArrayHkBool);
     s.WriteStringPointerArray(bw, m_nestedTypeArrayCString);
     s.WriteStringPointerArray(bw, m_nestedTypeArrayHkStringPtr);
     s.WriteSByteArray(bw, m_nestedTypeArrayHkInt8);
     s.WriteInt16Array(bw, m_nestedTypeArrayHkInt16);
     s.WriteInt32Array(bw, m_nestedTypeArrayHkInt32);
     s.WriteByteArray(bw, m_nestedTypeArrayHkUint8);
     s.WriteUInt16Array(bw, m_nestedTypeArrayHkUint16);
     s.WriteUInt32Array(bw, m_nestedTypeArrayHkUint32);
     s.WriteSingleArray(bw, m_nestedTypeArrayHkReal);
     s.WriteClassPointerArray <hkbGenerator>(bw, m_nestedTypeArrayHkbGeneratorPtr);
     s.WriteClassPointerArray <hkbGenerator>(bw, m_nestedTypeArrayHkbGeneratorRefPtr);
     s.WriteClassPointerArray <hkbModifier>(bw, m_nestedTypeArrayHkbModifierPtr);
     s.WriteClassPointerArray <hkbModifier>(bw, m_nestedTypeArrayHkbModifierRefPtr);
     s.WriteClassPointerArray <hkbCustomIdSelector>(bw, m_nestedTypeArrayHkbCustomIdSelectorPtr);
     s.WriteClassPointerArray <hkbCustomIdSelector>(bw, m_nestedTypeArrayHkbCustomIdSelectorRefPtr);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_simulationInfo.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassArray <hclSimClothDataParticleData>(bw, m_particleDatas);
     s.WriteUInt16Array(bw, m_fixedParticles);
     s.WriteUInt16Array(bw, m_triangleIndices);
     s.WriteByteArray(bw, m_triangleFlips);
     bw.WriteSingle(m_totalMass);
     bw.WriteUInt32(0);
     m_collidableTransformMap.Write(s, bw);
     s.WriteClassPointerArray <hclCollidable>(bw, m_perInstanceCollidables);
     s.WriteClassPointerArray <hclConstraintSet>(bw, m_staticConstraintSets);
     s.WriteClassPointerArray <hclConstraintSet>(bw, m_antiPinchConstraintSets);
     s.WriteClassPointerArray <hclSimClothPose>(bw, m_simClothPoses);
     s.WriteClassPointerArray <hclAction>(bw, m_actions);
     s.WriteUInt32Array(bw, m_staticCollisionMasks);
     s.WriteBooleanArray(bw, m_perParticlePinchDetectionEnabledFlags);
     s.WriteClassArray <hclSimClothDataCollidablePinchingData>(bw, m_collidablePinchingDatas);
     bw.WriteUInt16(m_minPinchedParticleIndex);
     bw.WriteUInt16(m_maxPinchedParticleIndex);
     bw.WriteUInt32(m_maxCollisionPairs);
     bw.WriteSingle(m_maxParticleRadius);
     m_landscapeCollisionData.Write(s, bw);
     bw.WriteUInt32(m_numLandscapeCollidableParticles);
     bw.WriteBoolean(m_doNormals);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     m_transferMotionData.Write(s, bw);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteByteArray(bw, m_compressedData);
     s.WriteUInt16Array(bw, m_intData);
     bw.WriteInt32(m_intArrayOffsets_0);
     bw.WriteInt32(m_intArrayOffsets_1);
     bw.WriteInt32(m_intArrayOffsets_2);
     bw.WriteInt32(m_intArrayOffsets_3);
     bw.WriteInt32(m_intArrayOffsets_4);
     bw.WriteInt32(m_intArrayOffsets_5);
     bw.WriteInt32(m_intArrayOffsets_6);
     bw.WriteInt32(m_intArrayOffsets_7);
     bw.WriteInt32(m_intArrayOffsets_8);
     bw.WriteUInt32(0);
     s.WriteSingleArray(bw, m_floatData);
     bw.WriteInt32(m_floatArrayOffsets_0);
     bw.WriteInt32(m_floatArrayOffsets_1);
     bw.WriteInt32(m_floatArrayOffsets_2);
     bw.WriteInt32(m_numBones);
     bw.WriteInt32(m_numFloatSlots);
     bw.WriteInt32(m_numFrames);
     bw.WriteInt32(m_firstFloatBlockScaleAndOffsetIndex);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hkbStateMachineActiveTransitionInfo>(bw, m_activeTransitions);
     s.WriteByteArray(bw, m_transitionFlags);
     s.WriteByteArray(bw, m_wildcardTransitionFlags);
     s.WriteClassArray <hkbStateMachineDelayedTransitionInfo>(bw, m_delayedTransitions);
     bw.WriteSingle(m_timeInState);
     bw.WriteSingle(m_lastLocalTime);
     bw.WriteInt32(m_currentStateId);
     bw.WriteInt32(m_previousStateId);
     bw.WriteInt32(m_nextStartStateIndexOverride);
     bw.WriteBoolean(m_stateOrTransitionChanged);
     bw.WriteBoolean(m_echoNextUpdate);
     bw.WriteBoolean(m_hasEventlessWildcardTransitions);
     bw.WriteByte(0);
 }
Beispiel #8
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteByteArray(bw, m_data);
     bw.WriteUInt32(m_endian);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
Beispiel #9
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteSingleArray(bw, m_vertices);
     s.WriteUInt16Array(bw, m_indices16);
     s.WriteUInt32Array(bw, m_indices32);
     s.WriteByteArray(bw, m_materialIndices);
     s.WriteUInt32Array(bw, m_materials);
     s.WriteUInt16Array(bw, m_materialIndices16);
 }
Beispiel #10
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     m_cells.Write(s, bw);
     bw.WriteInt32(m_bytesPerCells);
     bw.WriteInt32(m_cellsPerBlock);
     s.WriteByteArray(bw, m_pvs);
     s.WriteUInt16Array(bw, m_map);
     s.WriteClassArray <hkcdStaticPvsBlockHeader>(bw, m_blocks);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     bw.WriteByte((byte)m_type);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteByteArray(bw, m_data);
 }
Beispiel #12
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4Array(bw, m_vertices);
     s.WriteClassArray <hkpSimpleMeshShapeTriangle>(bw, m_triangles);
     s.WriteByteArray(bw, m_materialIndices);
     bw.WriteSingle(m_radius);
     bw.WriteByte((byte)m_weldingType);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Beispiel #13
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_info.Write(s, bw);
     s.WriteByteArray(bw, m_data);
     bw.WriteSByte((sbyte)m_buildType);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Beispiel #14
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_filename);
     s.WriteByteArray(bw, m_data);
     bw.WriteSByte((sbyte)m_format);
     bw.WriteBoolean(m_hasMipMaps);
     bw.WriteSByte((sbyte)m_filterMode);
     bw.WriteSByte((sbyte)m_usageHint);
     bw.WriteInt32(m_textureCoordChannel);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSByte(m_fileType_0);
     bw.WriteSByte(m_fileType_1);
     bw.WriteSByte(m_fileType_2);
     bw.WriteSByte(m_fileType_3);
     bw.WriteUInt32(0);
     s.WriteByteArray(bw, m_data);
     s.WriteStringPointer(bw, m_name);
     s.WriteStringPointer(bw, m_originalFilename);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteClassArray <hclObjectSpaceDeformerFourBlendEntryBlock>(bw, m_fourBlendEntries);
     s.WriteClassArray <hclObjectSpaceDeformerThreeBlendEntryBlock>(bw, m_threeBlendEntries);
     s.WriteClassArray <hclObjectSpaceDeformerTwoBlendEntryBlock>(bw, m_twoBlendEntries);
     s.WriteClassArray <hclObjectSpaceDeformerOneBlendEntryBlock>(bw, m_oneBlendEntries);
     s.WriteByteArray(bw, m_controlBytes);
     bw.WriteUInt16(m_startVertexIndex);
     bw.WriteUInt16(m_endVertexIndex);
     bw.WriteUInt16(m_batchSizeSpu);
     bw.WriteBoolean(m_partialWrite);
     bw.WriteByte(0);
 }
Beispiel #17
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteUInt32Array(bw, m_vectorData);
     s.WriteUInt32Array(bw, m_floatData);
     s.WriteUInt32Array(bw, m_uint32Data);
     s.WriteUInt16Array(bw, m_uint16Data);
     s.WriteByteArray(bw, m_uint8Data);
     bw.WriteUInt32(m_numVerts);
     bw.WriteUInt32(m_vectorStride);
     bw.WriteUInt32(m_floatStride);
     bw.WriteUInt32(m_uint32Stride);
     bw.WriteUInt32(m_uint16Stride);
     bw.WriteUInt32(m_uint8Stride);
 }
Beispiel #18
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_format.Write(s, bw);
     bw.WriteInt32(m_elementOffsets_0);
     bw.WriteInt32(m_elementOffsets_1);
     bw.WriteInt32(m_elementOffsets_2);
     bw.WriteInt32(m_elementOffsets_3);
     bw.WriteInt32(m_elementOffsets_4);
     bw.WriteInt32(m_elementOffsets_5);
     bw.WriteInt32(m_elementOffsets_6);
     bw.WriteInt32(m_elementOffsets_7);
     bw.WriteInt32(m_elementOffsets_8);
     bw.WriteInt32(m_elementOffsets_9);
     bw.WriteInt32(m_elementOffsets_10);
     bw.WriteInt32(m_elementOffsets_11);
     bw.WriteInt32(m_elementOffsets_12);
     bw.WriteInt32(m_elementOffsets_13);
     bw.WriteInt32(m_elementOffsets_14);
     bw.WriteInt32(m_elementOffsets_15);
     bw.WriteInt32(m_elementOffsets_16);
     bw.WriteInt32(m_elementOffsets_17);
     bw.WriteInt32(m_elementOffsets_18);
     bw.WriteInt32(m_elementOffsets_19);
     bw.WriteInt32(m_elementOffsets_20);
     bw.WriteInt32(m_elementOffsets_21);
     bw.WriteInt32(m_elementOffsets_22);
     bw.WriteInt32(m_elementOffsets_23);
     bw.WriteInt32(m_elementOffsets_24);
     bw.WriteInt32(m_elementOffsets_25);
     bw.WriteInt32(m_elementOffsets_26);
     bw.WriteInt32(m_elementOffsets_27);
     bw.WriteInt32(m_elementOffsets_28);
     bw.WriteInt32(m_elementOffsets_29);
     bw.WriteInt32(m_elementOffsets_30);
     bw.WriteInt32(m_elementOffsets_31);
     bw.WriteUInt32(0);
     s.WriteByteArray(bw, m_memory);
     bw.WriteInt32(m_vertexStride);
     bw.WriteBoolean(m_locked);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteInt32(m_numVertices);
     bw.WriteBoolean(m_isBigEndian);
     bw.WriteBoolean(m_isSharable);
     bw.WriteUInt16(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt16Array(bw, m_vertToNormalID);
     s.WriteByteArray(bw, m_triangleFlips);
     s.WriteUInt16Array(bw, m_referenceVertices);
     s.WriteSingleArray(bw, m_tangentEdgeCosAngle);
     s.WriteSingleArray(bw, m_tangentEdgeSinAngle);
     s.WriteSingleArray(bw, m_biTangentFlip);
     bw.WriteUInt32(m_bufferIdx);
     bw.WriteUInt32(m_numUniqueNormalIDs);
     bw.WriteBoolean(m_updateNormals);
     bw.WriteBoolean(m_updateTangents);
     bw.WriteBoolean(m_updateBiTangents);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
Beispiel #20
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt16Array(bw, m_tetrahedraGrid);
     s.WriteByteArray(bw, m_gridCells);
     s.WriteMatrix4Array(bw, m_tetrahedraEquations);
     bw.WriteUInt64(0);
     s.WriteTransform(bw, m_localFromWorld);
     s.WriteTransform(bw, m_worldFromLocal);
     m_objAabb.Write(s, bw);
     s.WriteVector4(bw, m_geomCentroid);
     s.WriteVector4(bw, m_invCellSize);
     bw.WriteUInt16(m_gridRes);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt16(m_res);
     bw.WriteUInt16(m_resIncBorder);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_floatCorrectionOffset);
     s.WriteByteArray(bw, m_heights);
     bw.WriteInt32(m_faces_0);
     bw.WriteInt32(m_faces_1);
     bw.WriteInt32(m_faces_2);
     bw.WriteInt32(m_faces_3);
     bw.WriteInt32(m_faces_4);
     bw.WriteInt32(m_faces_5);
     bw.WriteUInt64(0);
     s.WriteTransform(bw, m_localToMapTransform);
     s.WriteVector4(bw, m_localToMapScale);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteInt32(m_numFrames);
     bw.WriteInt32(m_numBlocks);
     bw.WriteInt32(m_maxFramesPerBlock);
     bw.WriteInt32(m_maskAndQuantizationSize);
     bw.WriteSingle(m_blockDuration);
     bw.WriteSingle(m_blockInverseDuration);
     bw.WriteSingle(m_frameDuration);
     bw.WriteUInt32(0);
     s.WriteUInt32Array(bw, m_blockOffsets);
     s.WriteUInt32Array(bw, m_floatBlockOffsets);
     s.WriteUInt32Array(bw, m_transformOffsets);
     s.WriteUInt32Array(bw, m_floatOffsets);
     s.WriteByteArray(bw, m_data);
     bw.WriteInt32(m_endian);
     bw.WriteUInt32(0);
 }
Beispiel #23
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hclUpdateSomeVertexFramesOperatorTriangle>(bw, m_involvedTriangles);
     s.WriteUInt16Array(bw, m_involvedVertices);
     s.WriteUInt16Array(bw, m_selectionVertexToInvolvedVertex);
     s.WriteUInt16Array(bw, m_involvedVertexToNormalID);
     s.WriteByteArray(bw, m_triangleFlips);
     s.WriteUInt16Array(bw, m_referenceVertices);
     s.WriteSingleArray(bw, m_tangentEdgeCosAngle);
     s.WriteSingleArray(bw, m_tangentEdgeSinAngle);
     s.WriteSingleArray(bw, m_biTangentFlip);
     bw.WriteUInt32(m_bufferIdx);
     bw.WriteUInt32(m_numUniqueNormalIDs);
     bw.WriteBoolean(m_updateNormals);
     bw.WriteBoolean(m_updateTangents);
     bw.WriteBoolean(m_updateBiTangents);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
 }
Beispiel #24
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteClassPointer <hkaiNavMesh>(bw, m_originalMesh);
     bw.WriteUInt64(0);
     m_referenceFrame.Write(s, bw);
     s.WriteInt32Array(bw, m_edgeMap);
     s.WriteInt32Array(bw, m_faceMap);
     s.WriteClassArray <hkaiNavMeshFace>(bw, m_instancedFaces);
     s.WriteClassArray <hkaiNavMeshEdge>(bw, m_instancedEdges);
     s.WriteClassArray <hkaiNavMeshFace>(bw, m_ownedFaces);
     s.WriteClassArray <hkaiNavMeshEdge>(bw, m_ownedEdges);
     s.WriteVector4Array(bw, m_ownedVertices);
     s.WriteByteArray(bw, m_faceFlags);
     s.WriteUInt16Array(bw, m_cuttingInfo);
     s.WriteInt32Array(bw, m_instancedFaceData);
     s.WriteInt32Array(bw, m_instancedEdgeData);
     s.WriteInt32Array(bw, m_ownedFaceData);
     s.WriteInt32Array(bw, m_ownedEdgeData);
     s.WriteInt16Array(bw, m_clearanceCache);
     s.WriteInt16Array(bw, m_globalClearanceCache);
     s.WriteInt32Array(bw, m_faceClearanceIndices);
     bw.WriteSingle(m_maxGlobalClearance);
     bw.WriteUInt32(m_sectionUid);
     bw.WriteInt32(m_runtimeId);
     bw.WriteUInt32(m_layer);
 }
Beispiel #25
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkpEntity>(bw, m_bodyA);
     s.WriteClassPointer <hkpEntity>(bw, m_bodyB);
     bw.WriteUInt64(m_bodyAId);
     bw.WriteUInt64(m_bodyBId);
     bw.WriteBoolean(m_useEntityIds);
     bw.WriteSByte((sbyte)m_agentType);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     m_atom.Write(s, bw);
     s.WriteByteArray(bw, m_propertiesStream);
     s.WriteClassArray <hkContactPoint>(bw, m_contactPoints);
     s.WriteByteArray(bw, m_cpIdMgr);
     bw.WriteByte(m_nnEntryData_0);
     bw.WriteByte(m_nnEntryData_1);
     bw.WriteByte(m_nnEntryData_2);
     bw.WriteByte(m_nnEntryData_3);
     bw.WriteByte(m_nnEntryData_4);
     bw.WriteByte(m_nnEntryData_5);
     bw.WriteByte(m_nnEntryData_6);
     bw.WriteByte(m_nnEntryData_7);
     bw.WriteByte(m_nnEntryData_8);
     bw.WriteByte(m_nnEntryData_9);
     bw.WriteByte(m_nnEntryData_10);
     bw.WriteByte(m_nnEntryData_11);
     bw.WriteByte(m_nnEntryData_12);
     bw.WriteByte(m_nnEntryData_13);
     bw.WriteByte(m_nnEntryData_14);
     bw.WriteByte(m_nnEntryData_15);
     bw.WriteByte(m_nnEntryData_16);
     bw.WriteByte(m_nnEntryData_17);
     bw.WriteByte(m_nnEntryData_18);
     bw.WriteByte(m_nnEntryData_19);
     bw.WriteByte(m_nnEntryData_20);
     bw.WriteByte(m_nnEntryData_21);
     bw.WriteByte(m_nnEntryData_22);
     bw.WriteByte(m_nnEntryData_23);
     bw.WriteByte(m_nnEntryData_24);
     bw.WriteByte(m_nnEntryData_25);
     bw.WriteByte(m_nnEntryData_26);
     bw.WriteByte(m_nnEntryData_27);
     bw.WriteByte(m_nnEntryData_28);
     bw.WriteByte(m_nnEntryData_29);
     bw.WriteByte(m_nnEntryData_30);
     bw.WriteByte(m_nnEntryData_31);
     bw.WriteByte(m_nnEntryData_32);
     bw.WriteByte(m_nnEntryData_33);
     bw.WriteByte(m_nnEntryData_34);
     bw.WriteByte(m_nnEntryData_35);
     bw.WriteByte(m_nnEntryData_36);
     bw.WriteByte(m_nnEntryData_37);
     bw.WriteByte(m_nnEntryData_38);
     bw.WriteByte(m_nnEntryData_39);
     bw.WriteByte(m_nnEntryData_40);
     bw.WriteByte(m_nnEntryData_41);
     bw.WriteByte(m_nnEntryData_42);
     bw.WriteByte(m_nnEntryData_43);
     bw.WriteByte(m_nnEntryData_44);
     bw.WriteByte(m_nnEntryData_45);
     bw.WriteByte(m_nnEntryData_46);
     bw.WriteByte(m_nnEntryData_47);
     bw.WriteByte(m_nnEntryData_48);
     bw.WriteByte(m_nnEntryData_49);
     bw.WriteByte(m_nnEntryData_50);
     bw.WriteByte(m_nnEntryData_51);
     bw.WriteByte(m_nnEntryData_52);
     bw.WriteByte(m_nnEntryData_53);
     bw.WriteByte(m_nnEntryData_54);
     bw.WriteByte(m_nnEntryData_55);
     bw.WriteByte(m_nnEntryData_56);
     bw.WriteByte(m_nnEntryData_57);
     bw.WriteByte(m_nnEntryData_58);
     bw.WriteByte(m_nnEntryData_59);
     bw.WriteByte(m_nnEntryData_60);
     bw.WriteByte(m_nnEntryData_61);
     bw.WriteByte(m_nnEntryData_62);
     bw.WriteByte(m_nnEntryData_63);
     bw.WriteByte(m_nnEntryData_64);
     bw.WriteByte(m_nnEntryData_65);
     bw.WriteByte(m_nnEntryData_66);
     bw.WriteByte(m_nnEntryData_67);
     bw.WriteByte(m_nnEntryData_68);
     bw.WriteByte(m_nnEntryData_69);
     bw.WriteByte(m_nnEntryData_70);
     bw.WriteByte(m_nnEntryData_71);
     bw.WriteByte(m_nnEntryData_72);
     bw.WriteByte(m_nnEntryData_73);
     bw.WriteByte(m_nnEntryData_74);
     bw.WriteByte(m_nnEntryData_75);
     bw.WriteByte(m_nnEntryData_76);
     bw.WriteByte(m_nnEntryData_77);
     bw.WriteByte(m_nnEntryData_78);
     bw.WriteByte(m_nnEntryData_79);
     bw.WriteByte(m_nnEntryData_80);
     bw.WriteByte(m_nnEntryData_81);
     bw.WriteByte(m_nnEntryData_82);
     bw.WriteByte(m_nnEntryData_83);
     bw.WriteByte(m_nnEntryData_84);
     bw.WriteByte(m_nnEntryData_85);
     bw.WriteByte(m_nnEntryData_86);
     bw.WriteByte(m_nnEntryData_87);
     bw.WriteByte(m_nnEntryData_88);
     bw.WriteByte(m_nnEntryData_89);
     bw.WriteByte(m_nnEntryData_90);
     bw.WriteByte(m_nnEntryData_91);
     bw.WriteByte(m_nnEntryData_92);
     bw.WriteByte(m_nnEntryData_93);
     bw.WriteByte(m_nnEntryData_94);
     bw.WriteByte(m_nnEntryData_95);
     bw.WriteByte(m_nnEntryData_96);
     bw.WriteByte(m_nnEntryData_97);
     bw.WriteByte(m_nnEntryData_98);
     bw.WriteByte(m_nnEntryData_99);
     bw.WriteByte(m_nnEntryData_100);
     bw.WriteByte(m_nnEntryData_101);
     bw.WriteByte(m_nnEntryData_102);
     bw.WriteByte(m_nnEntryData_103);
     bw.WriteByte(m_nnEntryData_104);
     bw.WriteByte(m_nnEntryData_105);
     bw.WriteByte(m_nnEntryData_106);
     bw.WriteByte(m_nnEntryData_107);
     bw.WriteByte(m_nnEntryData_108);
     bw.WriteByte(m_nnEntryData_109);
     bw.WriteByte(m_nnEntryData_110);
     bw.WriteByte(m_nnEntryData_111);
     bw.WriteByte(m_nnEntryData_112);
     bw.WriteByte(m_nnEntryData_113);
     bw.WriteByte(m_nnEntryData_114);
     bw.WriteByte(m_nnEntryData_115);
     bw.WriteByte(m_nnEntryData_116);
     bw.WriteByte(m_nnEntryData_117);
     bw.WriteByte(m_nnEntryData_118);
     bw.WriteByte(m_nnEntryData_119);
     bw.WriteByte(m_nnEntryData_120);
     bw.WriteByte(m_nnEntryData_121);
     bw.WriteByte(m_nnEntryData_122);
     bw.WriteByte(m_nnEntryData_123);
     bw.WriteByte(m_nnEntryData_124);
     bw.WriteByte(m_nnEntryData_125);
     bw.WriteByte(m_nnEntryData_126);
     bw.WriteByte(m_nnEntryData_127);
     bw.WriteByte(m_nnEntryData_128);
     bw.WriteByte(m_nnEntryData_129);
     bw.WriteByte(m_nnEntryData_130);
     bw.WriteByte(m_nnEntryData_131);
     bw.WriteByte(m_nnEntryData_132);
     bw.WriteByte(m_nnEntryData_133);
     bw.WriteByte(m_nnEntryData_134);
     bw.WriteByte(m_nnEntryData_135);
     bw.WriteByte(m_nnEntryData_136);
     bw.WriteByte(m_nnEntryData_137);
     bw.WriteByte(m_nnEntryData_138);
     bw.WriteByte(m_nnEntryData_139);
     bw.WriteByte(m_nnEntryData_140);
     bw.WriteByte(m_nnEntryData_141);
     bw.WriteByte(m_nnEntryData_142);
     bw.WriteByte(m_nnEntryData_143);
     bw.WriteByte(m_nnEntryData_144);
     bw.WriteByte(m_nnEntryData_145);
     bw.WriteByte(m_nnEntryData_146);
     bw.WriteByte(m_nnEntryData_147);
     bw.WriteByte(m_nnEntryData_148);
     bw.WriteByte(m_nnEntryData_149);
     bw.WriteByte(m_nnEntryData_150);
     bw.WriteByte(m_nnEntryData_151);
     bw.WriteByte(m_nnEntryData_152);
     bw.WriteByte(m_nnEntryData_153);
     bw.WriteByte(m_nnEntryData_154);
     bw.WriteByte(m_nnEntryData_155);
     bw.WriteByte(m_nnEntryData_156);
     bw.WriteByte(m_nnEntryData_157);
     bw.WriteByte(m_nnEntryData_158);
     bw.WriteByte(m_nnEntryData_159);
     bw.WriteByte(m_nnEntryData_160);
     bw.WriteByte(m_nnEntryData_161);
     bw.WriteByte(m_nnEntryData_162);
     bw.WriteByte(m_nnEntryData_163);
     bw.WriteByte(m_nnEntryData_164);
     bw.WriteByte(m_nnEntryData_165);
     bw.WriteByte(m_nnEntryData_166);
     bw.WriteByte(m_nnEntryData_167);
     bw.WriteByte(m_nnEntryData_168);
     bw.WriteByte(m_nnEntryData_169);
     bw.WriteByte(m_nnEntryData_170);
     bw.WriteByte(m_nnEntryData_171);
     bw.WriteByte(m_nnEntryData_172);
     bw.WriteByte(m_nnEntryData_173);
     bw.WriteByte(m_nnEntryData_174);
     bw.WriteByte(m_nnEntryData_175);
     bw.WriteByte(m_nnEntryData_176);
     bw.WriteByte(m_nnEntryData_177);
     bw.WriteByte(m_nnEntryData_178);
     bw.WriteByte(m_nnEntryData_179);
     bw.WriteByte(m_nnEntryData_180);
     bw.WriteByte(m_nnEntryData_181);
     bw.WriteByte(m_nnEntryData_182);
     bw.WriteByte(m_nnEntryData_183);
     bw.WriteByte(m_nnEntryData_184);
     bw.WriteByte(m_nnEntryData_185);
     bw.WriteByte(m_nnEntryData_186);
     bw.WriteByte(m_nnEntryData_187);
     bw.WriteByte(m_nnEntryData_188);
     bw.WriteByte(m_nnEntryData_189);
     bw.WriteByte(m_nnEntryData_190);
     bw.WriteByte(m_nnEntryData_191);
     m_trackInfo.Write(s, bw);
     bw.WriteByte(m_endianCheckBuffer_0);
     bw.WriteByte(m_endianCheckBuffer_1);
     bw.WriteByte(m_endianCheckBuffer_2);
     bw.WriteByte(m_endianCheckBuffer_3);
     bw.WriteUInt32(m_version);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt16Array(bw, m_vertexIndices);
     s.WriteByteArray(bw, m_numVerticesPerFace);
 }
Beispiel #27
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteByteArray(bw, m_data);
 }