gwnavruntime/database/activecell.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_ActiveCell_H
10 #define Navigation_ActiveCell_H
33 KyUInt32 GetActiveNavFloorsCount()
const;
34 NavFloor** GetActiveNavFloorBuffer()
const;
37 ActiveNavFloorCollection m_activeNavFloors;
42 KY_INLINE ActiveCell::ActiveCell() : m_navDataChangeIdx(0) {}
43 KY_INLINE ActiveCell::~ActiveCell()
48 KY_INLINE
KyUInt32 ActiveCell::GetActiveNavFloorsCount()
const {
return m_activeNavFloors.GetCount(); }
49 KY_INLINE NavFloor** ActiveCell::GetActiveNavFloorBuffer()
const {
return m_activeNavFloors.GetNavFloors(); }
51 KY_INLINE
void ActiveCell::CopyFrom(ActiveCell& other)
53 m_navDataChangeIdx = other.m_navDataChangeIdx;
54 m_activeNavFloors.GetOwnershipOfData(other.m_activeNavFloors);
57 KY_INLINE
void ActiveCell::Clear()
59 m_activeNavFloors.ForceClear();
60 m_navDataChangeIdx = 0;
65 #endif //Navigation_ActiveCell_H
This class is a runtime wrapper of a NavFloorBlob, it gathers all the runtime information associated ...
Definition: navfloor.h:40
This object gathers all the active NavFloors at a CellPos.
Definition: activecell.h:23
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36