diff --git a/Source/Contents/NavigationManager.h b/Source/Contents/NavigationManager.h index 8d156bc8..7c0fcc02 100644 --- a/Source/Contents/NavigationManager.h +++ b/Source/Contents/NavigationManager.h @@ -116,6 +116,12 @@ public: void SetVisited(bool visited); std::vector::iterator LinksBegin(); std::vector::iterator LinksEnd(); + int GetCellY() const; + int GetIndex() const; + CNavi_Link* FindLink(unsigned int key, bool byId); + CNavi_Object* FindNpc(unsigned int key, bool byId); + CNavi_Object* FindNpcAt(int cellX, int cellY); + std::vector* Npcs(); /* 0000 */ int index; /* 0004 */ int type; diff --git a/Source/Contents/NavigationRequest.cpp b/Source/Contents/NavigationRequest.cpp index 8de3c40e..ac760094 100644 --- a/Source/Contents/NavigationRequest.cpp +++ b/Source/Contents/NavigationRequest.cpp @@ -117,3 +117,27 @@ void CNaviInfo::SetVisited(bool visited) { this->visited = visited; } } + +// OFFSET: 0x00B8DF20 +// FUNCTION: fn_19462 +int CNaviInfo::GetCellY() const { + return this->cellY; +} + +// OFFSET: 0x00B8DF30 +// FUNCTION: fn_19463 +int CNaviInfo::GetIndex() const { + return this->index; +} + +// OFFSET: 0x00B8DF40 + +// OFFSET: 0x00B8E640 + +// OFFSET: 0x00B8E6F0 + +// OFFSET: 0x00B8E750 +// FUNCTION: fn_19480 +std::vector* CNaviInfo::Npcs() { + return &this->npcs; +}