feat(object): add ClntObjMgrGetCurrent

This commit is contained in:
fallenoak committed 2026-01-06 22:50:11 -06:00
1 parent 57a92a37d9
commit aa2f51976f
2 files changed
+6

No files matched your search

+4
View File
@@ -11,6 +11,10 @@ static ClntObjMgr* s_curMgr;
static ClntObjMgr* s_savMgr;
ClntObjMgr* ClntObjMgrGetCurrent() {
return s_curMgr;
}
uint32_t ClntObjMgrGetMapID() {
if (!s_curMgr) {
return 0;
+2
View File
@@ -4,6 +4,8 @@
#include "object/client/ClntObjMgr.hpp"
#include <cstdint>
ClntObjMgr* ClntObjMgrGetCurrent();
uint32_t ClntObjMgrGetMapID();
void ClntObjMgrInitializeStd(uint32_t mapID);