Esempio n. 1
0
 public virtual void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     m_desiredFacesPerCluster = br.ReadInt32();
     br.ReadUInt64();
     br.ReadUInt32();
     m_searchParameters = new hkaiNavMeshPathSearchParameters();
     m_searchParameters.Read(des, br);
     m_agentInfo = new hkaiAgentTraversalInfo();
     m_agentInfo.Read(des, br);
     br.ReadUInt64();
 }
 public override void Read(PackFileDeserializer des, BinaryReaderEx br)
 {
     base.Read(des, br);
     m_startPoint   = des.ReadVector4(br);
     m_goalPoints   = des.ReadVector4Array(br);
     m_startFaceKey = br.ReadUInt32();
     br.ReadUInt32();
     m_goalFaceKeys          = des.ReadUInt32Array(br);
     m_maxNumberOfIterations = br.ReadInt32();
     m_agentInfo             = new hkaiAgentTraversalInfo();
     m_agentInfo.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt32();
     m_searchParameters = new hkaiNavMeshPathSearchParameters();
     m_searchParameters.Read(des, br);
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
     br.ReadUInt64();
 }