public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteByte((byte)m_mergeType); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); m_mergeParams.Write(s, bw); }
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); }