public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_input    = des.ReadClassPointer <hkaiPathfindingUtilFindPathInput>(br);
     m_output   = des.ReadClassPointer <hkaiPathfindingUtilFindPathOutput>(br);
     m_priority = br.ReadInt32();
     br.ReadUInt64();
     br.ReadUInt32();
     m_markedForDeletion = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
 }
예제 #2
0
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_up = des.ReadVector4(br);
     m_streamingCollection = des.ReadClassPointer <hkaiStreamingCollection>(br);
     m_cutter = des.ReadClassPointer <hkaiNavMeshCutter>(br);
     m_performValidationChecks = br.ReadBoolean();
     br.ReadUInt32();
     br.ReadUInt16();
     br.ReadByte();
     m_dynamicNavMeshMediator         = des.ReadClassPointer <hkaiDynamicNavMeshQueryMediator>(br);
     m_dynamicNavVolumeMediator       = des.ReadClassPointer <hkaiDynamicNavVolumeMediator>(br);
     m_overlapManager                 = des.ReadClassPointer <hkaiOverlapManager>(br);
     m_silhouetteGenerationParameters = new hkaiSilhouetteGenerationParameters();
     m_silhouetteGenerationParameters.Read(des, br);
     m_silhouetteExtrusion    = br.ReadSingle();
     m_forceSilhouetteUpdates = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
     m_silhouetteGenerators = des.ReadClassPointerArray <hkaiSilhouetteGenerator>(br);
     m_obstacleGenerators   = des.ReadClassPointerArray <hkaiObstacleGenerator>(br);
     m_avoidancePairProps   = des.ReadClassPointer <hkaiAvoidancePairProperties>(br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt32();
     m_maxRequestsPerStep            = br.ReadInt32();
     m_maxEstimatedIterationsPerStep = br.ReadInt32();
     m_priorityThreshold             = br.ReadInt32();
     m_numPathRequestsPerTask        = br.ReadInt32();
     m_numBehaviorUpdatesPerTask     = br.ReadInt32();
     m_numCharactersPerAvoidanceTask = br.ReadInt32();
     m_maxPathSearchEdgesOut         = br.ReadInt32();
     m_maxPathSearchPointsOut        = br.ReadInt32();
     m_precomputeNavMeshClearance    = br.ReadBoolean();
     br.ReadUInt64();
     br.ReadUInt16();
     br.ReadByte();
     m_defaultPathfindingInput = new hkaiPathfindingUtilFindPathInput();
     m_defaultPathfindingInput.Read(des, br);
     m_defaultVolumePathfindingInput = new hkaiVolumePathfindingUtilFindPathInput();
     m_defaultVolumePathfindingInput.Read(des, br);
 }