Ejemplo n.º 1
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hclClothSetupObject>(bw, m_clothSetupDatas);
     s.WriteClassPointerArray <hclNamedSetupMesh>(bw, m_namedSetupMeshWrappers);
     s.WriteClassPointerArray <hclNamedTransformSetSetupObject>(bw, m_namedTransformSetWrappers);
 }
Ejemplo n.º 2
0
 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.WriteClassPointerArray <hkpRigidBody>(bw, m_rigidBodies);
     s.WriteClassPointerArray <hkpConstraintInstance>(bw, m_constraints);
     s.WriteInt32Array(bw, m_boneToRigidBodyMap);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(0);
     s.WriteClassPointerArray <hkMemoryResourceHandle>(bw, m_resourceHandles);
     s.WriteClassPointerArray <hkMemoryResourceContainer>(bw, m_children);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkaSkeleton>(bw, m_skeletons);
     s.WriteClassPointerArray <hkaAnimation>(bw, m_animations);
     s.WriteClassPointerArray <hkaAnimationBinding>(bw, m_bindings);
     s.WriteClassPointerArray <hkaBoneAttachment>(bw, m_attachments);
     s.WriteClassPointerArray <hkaMeshBinding>(bw, m_skins);
 }
Ejemplo n.º 6
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSingle(m_characterHeight);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     s.WriteVector4(bw, m_up);
     bw.WriteSingle(m_quantizationGridSize);
     bw.WriteSingle(m_maxWalkableSlope);
     bw.WriteByte((byte)m_triangleWinding);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_degenerateAreaThreshold);
     bw.WriteSingle(m_degenerateWidthThreshold);
     bw.WriteSingle(m_convexThreshold);
     bw.WriteInt32(m_maxNumEdgesPerFace);
     m_edgeMatchingParams.Write(s, bw);
     bw.WriteUInt32((uint)m_edgeMatchingMetric);
     bw.WriteInt32(m_edgeConnectionIterations);
     bw.WriteUInt32(0);
     m_regionPruningSettings.Write(s, bw);
     m_wallClimbingSettings.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     m_boundsAabb.Write(s, bw);
     s.WriteClassPointerArray <hkaiCarver>(bw, m_carvers);
     s.WriteClassPointerArray <hkaiMaterialPainter>(bw, m_painters);
     bw.WriteUInt64(0);
     bw.WriteUInt32(m_defaultConstructionProperties);
     bw.WriteUInt32(0);
     s.WriteClassArray <hkaiNavMeshGenerationSettingsMaterialConstructionPair>(bw, m_materialMap);
     bw.WriteBoolean(m_fixupOverlappingTriangles);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     m_overlappingTrianglesSettings.Write(s, bw);
     bw.WriteBoolean(m_weldInputVertices);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_weldThreshold);
     bw.WriteSingle(m_minCharacterWidth);
     bw.WriteByte((byte)m_characterWidthUsage);
     bw.WriteBoolean(m_enableSimplification);
     bw.WriteUInt16(0);
     m_simplificationSettings.Write(s, bw);
     bw.WriteInt32(m_carvedMaterialDeprecated);
     bw.WriteInt32(m_carvedCuttingMaterialDeprecated);
     bw.WriteBoolean(m_setBestFaceCenters);
     bw.WriteBoolean(m_checkEdgeGeometryConsistency);
     bw.WriteBoolean(m_saveInputSnapshot);
     bw.WriteUInt32(0);
     bw.WriteByte(0);
     s.WriteStringPointer(bw, m_snapshotFilename);
     s.WriteClassArray <hkaiNavMeshGenerationSettingsOverrideSettings>(bw, m_overrideSettings);
     bw.WriteUInt64(0);
 }
Ejemplo n.º 7
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassPointerArray <hclBufferSetupObject>(bw, m_bufferSetupObjects);
     s.WriteClassPointerArray <hclTransformSetSetupObject>(bw, m_transformSetSetupObjects);
     s.WriteClassPointerArray <hclSimClothSetupObject>(bw, m_simClothSetupObjects);
     s.WriteClassPointerArray <hclOperatorSetupObject>(bw, m_operatorSetupObjects);
     s.WriteClassPointerArray <hclClothStateSetupObject>(bw, m_clothStateSetupObjects);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkxVertexBuffer>(bw, m_vertexBuffer);
     s.WriteClassPointerArray <hkxIndexBuffer>(bw, m_indexBuffers);
     s.WriteClassPointer <hkxMaterial>(bw, m_material);
     s.WriteClassPointerArray <hkReferencedObject>(bw, m_userChannels);
     s.WriteClassPointerArray <hkxVertexAnimation>(bw, m_vertexAnimations);
     s.WriteSingleArray(bw, m_linearKeyFrameHints);
     s.WriteClassArray <hkMeshBoneIndexMapping>(bw, m_boneMatrixMap);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     bw.WriteByte((byte)m_callbackType);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_timestep);
     s.WriteClassPointerArray <hkaiCharacter>(bw, m_characters);
     s.WriteClassArray <hkaiLocalSteeringInput>(bw, m_localSteeringInputs);
     s.WriteClassPointerArray <hkaiObstacleGenerator>(bw, m_obstacleGenerators);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkpRigidBody>(bw, m_rigidBodies);
     s.WriteClassPointerArray <hkpConstraintInstance>(bw, m_constraints);
     s.WriteClassPointerArray <hkpAction>(bw, m_actions);
     s.WriteClassPointerArray <hkpPhantom>(bw, m_phantoms);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(m_userData);
     bw.WriteBoolean(m_active);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Ejemplo n.º 11
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hknpCompoundShape>(bw, m_shape);
     s.WriteClassPointerArray <hknpShapeKeyMask>(bw, m_instanceMasks);
     s.WriteUInt32Array(bw, m_filter);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteClassPointer <hclSetupMesh>(bw, m_parentSetupMesh);
     s.WriteVector4Array(bw, m_vertices);
     s.WriteVector4Array(bw, m_normals);
     s.WriteVector4Array(bw, m_tangents);
     s.WriteVector4Array(bw, m_bitangents);
     s.WriteClassArray <hclSetupMeshSectionTriangle>(bw, m_triangles);
     s.WriteClassPointerArray <hclStorageSetupMeshSectionSectionVertexChannel>(bw, m_sectionVertexChannels);
     s.WriteClassPointerArray <hclStorageSetupMeshSectionSectionEdgeSelectionChannel>(bw, m_sectionEdgeChannels);
     s.WriteClassPointerArray <hclStorageSetupMeshSectionSectionTriangleSelectionChannel>(bw, m_sectionTriangleChannels);
     s.WriteClassPointerArray <hclStorageSetupMeshSectionBoneInfluences>(bw, m_boneInfluences);
     s.WriteUInt16Array(bw, m_normalIDs);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteSingle(m_minTyremarkEnergy);
     bw.WriteSingle(m_maxTyremarkEnergy);
     s.WriteClassPointerArray <hknpTyremarksWheel>(bw, m_tyremarksWheel);
 }
Ejemplo n.º 14
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkpConvexShape>(bw, m_childShapes);
     s.WriteQuaternion(bw, m_rotation);
     s.WriteVector4(bw, m_translation);
 }
Ejemplo n.º 15
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt64Array(bw, m_deformableSkinIds);
     s.WriteUInt64Array(bw, m_rigidSkinIds);
     s.WriteInt16Array(bw, m_externalEventIds);
     s.WriteClassPointerArray <hkbAuxiliaryNodeInfo>(bw, m_auxiliaryInfo);
     s.WriteInt16Array(bw, m_activeEventIds);
     s.WriteInt16Array(bw, m_activeVariableIds);
     bw.WriteUInt64(m_characterId);
     s.WriteStringPointer(bw, m_instanceName);
     s.WriteStringPointer(bw, m_templateName);
     s.WriteStringPointer(bw, m_fullPathToProject);
     s.WriteStringPointer(bw, m_localScriptsPath);
     s.WriteStringPointer(bw, m_remoteScriptsPath);
     s.WriteClassPointer <hkbBehaviorGraphData>(bw, m_behaviorData);
     s.WriteClassPointer <hkbBehaviorGraphInternalState>(bw, m_behaviorInternalState);
     bw.WriteUInt64(0);
     bw.WriteBoolean(m_visible);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_elapsedSimulationTime);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
     bw.WriteUInt64(0);
     s.WriteQSTransform(bw, m_worldFromModel);
     s.WriteQSTransformArray(bw, m_poseModelSpace);
     s.WriteQSTransformArray(bw, m_rigidAttachmentTransforms);
 }
Ejemplo n.º 16
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_eventToSendWhenStateOrTransitionChanges.Write(s, bw);
     s.WriteClassPointer <hkbCustomIdSelector>(bw, m_startStateIdSelector);
     bw.WriteInt32(m_startStateId);
     bw.WriteInt32(m_returnToPreviousStateEventId);
     bw.WriteInt32(m_randomTransitionEventId);
     bw.WriteInt32(m_transitionToNextHigherStateEventId);
     bw.WriteInt32(m_transitionToNextLowerStateEventId);
     bw.WriteInt32(m_syncVariableIndex);
     bw.WriteUInt32(0);
     bw.WriteBoolean(m_wrapAroundStateId);
     bw.WriteSByte(m_maxSimultaneousTransitions);
     bw.WriteSByte((sbyte)m_startStateMode);
     bw.WriteSByte((sbyte)m_selfTransitionMode);
     bw.WriteUInt64(0);
     s.WriteClassPointerArray <hkbStateMachineStateInfo>(bw, m_states);
     s.WriteClassPointer <hkbStateMachineTransitionInfoArray>(bw, m_wildcardTransitions);
     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);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
 }
Ejemplo n.º 17
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hkbVariableValue>(bw, m_wordVariableValues);
     s.WriteVector4Array(bw, m_quadVariableValues);
     s.WriteClassPointerArray <hkReferencedObject>(bw, m_variantVariableValues);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkbGenerator>(bw, m_generators);
     bw.WriteInt32((int)m_offsetType);
     bw.WriteInt32(m_animId);
     bw.WriteInt32((int)m_animeEndEventType);
     bw.WriteBoolean(m_enableScript);
     bw.WriteBoolean(m_enableTae);
     bw.WriteByte((byte)m_changeTypeOfSelectedIndexAfterActivate);
     bw.WriteByte(0);
     s.WriteClassPointer <hkbTransitionEffect>(bw, m_generatorChangedTransitionEffect);
     bw.WriteInt32(m_checkAnimEndSlotNo);
     bw.WriteByte((byte)m_replanningAI);
     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.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkpEntity>(bw, m_chainedEntities);
     s.WriteClassPointer <hkpConstraintChainInstanceAction>(bw, m_action);
     bw.WriteUInt64(m_chainConnectedness);
 }
Ejemplo n.º 20
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkbCharacter>(bw, m_nearbyCharacters);
     bw.WriteUInt64(m_userData);
     bw.WriteInt16(m_currentLod);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteClassPointer <hkbCharacterSetup>(bw, m_setup);
     s.WriteClassPointer <hkbBehaviorGraph>(bw, m_behaviorGraph);
     s.WriteClassPointer <hkbProjectData>(bw, m_projectData);
     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.WriteInt32(m_capabilities);
     bw.WriteInt32(m_effectiveCapabilities);
     bw.WriteSingle(m_deltaTime);
     bw.WriteBoolean(m_useCharactorDeltaTime);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Ejemplo n.º 21
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hkpPoweredChainMapperLinkInfo>(bw, m_links);
     s.WriteClassArray <hkpPoweredChainMapperTarget>(bw, m_targets);
     s.WriteClassPointerArray <hkpConstraintChainInstance>(bw, m_chains);
 }
Ejemplo n.º 22
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_name);
     s.WriteClassArray <hkxMaterialTextureStage>(bw, m_stages);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_diffuseColor);
     s.WriteVector4(bw, m_ambientColor);
     s.WriteVector4(bw, m_specularColor);
     s.WriteVector4(bw, m_emissiveColor);
     s.WriteClassPointerArray <hkxMaterial>(bw, m_subMaterials);
     s.WriteClassPointer <hkReferencedObject>(bw, m_extraData);
     bw.WriteSingle(m_uvMapScale_0);
     bw.WriteSingle(m_uvMapScale_1);
     bw.WriteSingle(m_uvMapOffset_0);
     bw.WriteSingle(m_uvMapOffset_1);
     bw.WriteSingle(m_uvMapRotation);
     bw.WriteUInt32((uint)m_uvMapAlgorithm);
     bw.WriteSingle(m_specularMultiplier);
     bw.WriteSingle(m_specularExponent);
     bw.WriteByte((byte)m_transparency);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteUInt64(m_userData);
     s.WriteClassArray <hkxMaterialProperty>(bw, m_properties);
     bw.WriteUInt64(0);
 }
Ejemplo n.º 23
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteClassPointer <hkGeometry>(bw, m_geometry);
     s.WriteClassPointerArray <hkaiCarver>(bw, m_carvers);
     m_cuttingTriangles.Write(s, bw);
     m_settings.Write(s, bw);
     s.WriteClassPointer <hkaiNavMesh>(bw, m_unsimplifiedNavMesh);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_characterId);
     s.WriteClassPointer <hkbBehaviorGraphInternalState>(bw, m_internalState);
     s.WriteClassPointerArray <hkbAuxiliaryNodeInfo>(bw, m_auxiliaryNodeInfo);
     s.WriteInt16Array(bw, m_activeEventIds);
     s.WriteInt16Array(bw, m_activeVariableIds);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteTransform(bw, m_transform);
     s.WriteClassPointerArray <hkLocalFrame>(bw, m_children);
     s.WriteClassPointer <hkLocalFrame>(bw, m_parentFrame);
     s.WriteClassPointer <hkLocalFrameGroup>(bw, m_group);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt32((uint)m_stepThreading);
     bw.WriteUInt32(0);
     s.WriteClassPointerArray <hkaiSilhouetteGenerator>(bw, m_generators);
     s.WriteTransformArray(bw, m_instanceTransforms);
     s.WriteClassArray <hkaiOverlapManagerSection>(bw, m_overlapManagerSections);
     m_updatedSections.Write(s, bw);
 }
Ejemplo n.º 27
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteMatrix4(bw, m_transform);
     s.WriteClassPointer <hkIndexedTransformSet>(bw, m_transformSet);
     s.WriteClassPointer <hkMeshShape>(bw, m_shape);
     s.WriteClassPointerArray <hkMeshVertexBuffer>(bw, m_vertexBuffers);
     s.WriteStringPointer(bw, m_name);
     bw.WriteUInt64(0);
 }
Ejemplo n.º 28
0
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteVector4Array(bw, m_data);
     s.WriteInt32Array(bw, m_commands);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteClassPointerArray <hkpConstraintMotor>(bw, m_motors);
 }
Ejemplo n.º 29
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4(bw, m_up);
     s.WriteClassPointer <hkaiStreamingCollection>(bw, m_streamingCollection);
     s.WriteClassPointer <hkaiNavMeshCutter>(bw, m_cutter);
     bw.WriteBoolean(m_performValidationChecks);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteClassPointer <hkaiDynamicNavMeshQueryMediator>(bw, m_dynamicNavMeshMediator);
     s.WriteClassPointer <hkaiDynamicNavVolumeMediator>(bw, m_dynamicNavVolumeMediator);
     s.WriteClassPointer <hkaiOverlapManager>(bw, m_overlapManager);
     m_silhouetteGenerationParameters.Write(s, bw);
     bw.WriteSingle(m_silhouetteExtrusion);
     bw.WriteBoolean(m_forceSilhouetteUpdates);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     s.WriteClassPointerArray <hkaiSilhouetteGenerator>(bw, m_silhouetteGenerators);
     s.WriteClassPointerArray <hkaiObstacleGenerator>(bw, m_obstacleGenerators);
     s.WriteClassPointer <hkaiAvoidancePairProperties>(bw, m_avoidancePairProps);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
     bw.WriteInt32(m_maxRequestsPerStep);
     bw.WriteInt32(m_maxEstimatedIterationsPerStep);
     bw.WriteInt32(m_priorityThreshold);
     bw.WriteInt32(m_numPathRequestsPerTask);
     bw.WriteInt32(m_numBehaviorUpdatesPerTask);
     bw.WriteInt32(m_numCharactersPerAvoidanceTask);
     bw.WriteInt32(m_maxPathSearchEdgesOut);
     bw.WriteInt32(m_maxPathSearchPointsOut);
     bw.WriteBoolean(m_precomputeNavMeshClearance);
     bw.WriteUInt64(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     m_defaultPathfindingInput.Write(s, bw);
     m_defaultVolumePathfindingInput.Write(s, bw);
 }
Ejemplo n.º 30
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointerArray <hkReferencedObject>(bw, m_assets);
     s.WriteStringPointer(bw, m_name);
     bw.WriteSByte((sbyte)m_type);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }