mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(object): add ClntObjMgrGetCurrent
This commit is contained in:
parent
57a92a37d9
commit
aa2f51976f
@ -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;
|
||||
|
||||
@ -4,6 +4,8 @@
|
||||
#include "object/client/ClntObjMgr.hpp"
|
||||
#include <cstdint>
|
||||
|
||||
ClntObjMgr* ClntObjMgrGetCurrent();
|
||||
|
||||
uint32_t ClntObjMgrGetMapID();
|
||||
|
||||
void ClntObjMgrInitializeStd(uint32_t mapID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user