#include <activedata.h>
This class gathers all the navigation data that are currently active in a Database.
This is comprised of a grid of NavFloors and a set of NavGraph.
You may not need to use the ActiveData directly in your code. However, if you do, you can retrieve it by calling Database::GetActiveData() at runtime
Public Member Functions | |
const CellBox & | GetCellBox () const |
KyUInt32 | GetNavGraphCount () const |
NavGraph * | GetNavGraph (NavGraphIdxInActiveData idx) const |
CellIdxInActiveData | GetCellIdxInActiveDataFromCellPos (const CellPos &cellPos) const |
CellIdxInActiveData | GetCellIdxInActiveDataFromCellPos_Unsafe (const CellPos &cellPos) const |
bool | IsActiveNavFloorAtThisCellPos (const CellPos &cellPos) const |
ActiveCell * | GetActiveCellFromCellPos (const CellPos &cellPos) const |
ActiveCell & | GetActiveCellFromCellPos_Unsafe (const CellPos &cellPos) const |
ActiveCell & | GetActiveCellFromIndex_Unsafe (CellIdxInActiveData idxInActiveData) const |
|
inline |
Retrieves a CellBox that encloses all the navigation data in this ActiveData.
That does not mean that in all the CellPos of this CellBox there is activeData.
|
inline |
Return the index in the buffer of ActiveCell of this CellPos Returns CellIdxInActiveData_Invalid if GetCellBox().IsInside(cellPos) == false.
|
inline |
Returns the index in the buffer of ActiveCell of this CellPos.
|
inline |
Returns true if at least one NavFloor is active at the input CellPos.