gwnavruntime/navgraph/blobs/navgrapharray.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_NavGraphArray_H
10 #define Navigation_NavGraphArray_H
19 KY_ROOT_BLOB_CLASS(NavData, NavGraphArray, 0)
28 const BlobRef<NavGraphBlob>* navGraphs = m_navGraphs.GetValues();
29 for (
KyUInt32 graphIdx = 0; graphIdx < m_navGraphs.GetCount(); ++graphIdx)
31 count += navGraphs[graphIdx].Ptr()->GetVertexCount();
39 const BlobRef<NavGraphBlob>* navGraphs = m_navGraphs.GetValues();
40 for (
KyUInt32 graphIdx = 0; graphIdx < m_navGraphs.GetCount(); ++graphIdx)
42 count += navGraphs[graphIdx].Ptr()->GetEdgeCount();
50 const BlobRef<NavGraphBlob>* navGraphs = m_navGraphs.GetValues();
51 for (
KyUInt32 graphIdx = 0; graphIdx < m_navGraphs.GetCount(); ++graphIdx)
53 count += navGraphs[graphIdx].Ptr()->GetNavTagCount();
58 KyUInt32 ComputeVertexToConnectCount()
const
61 const BlobRef<NavGraphBlob>* navGraphs = m_navGraphs.GetValues();
62 for (
KyUInt32 graphIdx = 0; graphIdx < m_navGraphs.GetCount(); ++graphIdx)
64 count += navGraphs[graphIdx].Ptr()->GetVertexToConnectCount();
72 BlobArray<BlobRef<NavGraphBlob> > m_navGraphs;
76 SwapEndianness(e,
self.m_visualDebugId);
77 SwapEndianness(e,
self.m_databaseIndex);
78 SwapEndianness(e,
self.m_navGraphs);
84 #endif // Navigation_NavGraphArray_H
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:387
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:35
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36