gwnavruntime/database/activeguids.h Source File
Go to the documentation of this file.
22 void AddActiveKyGuid(const KyGuid& kyGuid);
23 void RemoveActiveKyGuid(const KyGuid& kyGuid);
26 KY_INLINE
bool IsGuidCompoundCompatible(const GuidCompound& guidCompound)
const
28 if (guidCompound.GetKyGuidCount() == 1)
32 return IsNotMainGuidCompoundCompatible(guidCompound);
35 void Clear() { m_activeGuids.ClearAndRelease(); }
38 bool IsNotMainGuidCompoundCompatible(
const GuidCompound& guidCompound)
const;
41 KyArray<KyGuid, MemStat_NavData> m_activeGuids;
44 class GuidCompoundUpdater
50 GuidCompoundUpdater() {}
52 void AddNavMeshElement(NavMeshElement* navMeshElement);
53 void RemoveNavMeshElement(NavMeshElement* navMeshElement);
59 void UpdateNavMeshAccordingToGuidCompound(
const ActiveGuids& activeGuids,
CellBox& activenessChangeCellBox,
bool forceActiveIfAlone =
false);
62 KyArray<NavMeshElement*, MemStat_NavData> m_elements;
Box2i CellBox
A type that represents a bounding box around cells in a 2D grid.
Definition: navmeshtypes.h:31
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17