MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / ExitMapInstance

Method ExitMapInstance

src/plugin/kernel/src/AFCMapModule.cpp:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294bool AFCMapModule::ExitMapInstance(const int map_id, const int inst_id)
295{
296 auto pMapInfo = map_infos_.find_value(map_id);
297 if (pMapInfo == nullptr)
298 {
299 return false;
300 }
301
302 auto pMapInstance = pMapInfo->GetInstance(inst_id);
303 return (pMapInstance != nullptr);
304}
305
306bool AFCMapModule::GetInstEntityList(const int map_id, const int inst_id, AFIDataList& list)
307{

Callers

nothing calls this directly

Calls 2

GetInstanceMethod · 0.80
find_valueMethod · 0.45

Tested by

no test coverage detected