MCPcopy Create free account
hub / github.com/Norbyte/bg3se / GetSystemEntry

Method GetSystemEntry

BG3Extender/GameDefinitions/EntitySystem.cpp:1225–1238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1223}
1224
1225SystemTypeEntry* EntitySystemHelpersBase::GetSystemEntry(ExtSystemType type)
1226{
1227 auto world = GetEntityWorld();
1228 if (!world) {
1229 return nullptr;
1230 }
1231
1232 auto index = systemIndices_[(unsigned)type];
1233 if (index != UndefinedSystem) {
1234 return &world->Systems.Systems[(unsigned)index];
1235 } else {
1236 return nullptr;
1237 }
1238}
1239
1240void* EntitySystemHelpersBase::GetRawSystem(ExtSystemType type)
1241{

Callers

nothing calls this directly

Calls 1

GetEntityWorldFunction · 0.85

Tested by

no test coverage detected