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

Method GetRawSystem

BG3Extender/GameDefinitions/EntitySystem.cpp:1240–1253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238}
1239
1240void* EntitySystemHelpersBase::GetRawSystem(ExtSystemType type)
1241{
1242 auto world = GetEntityWorld();
1243 if (!world) {
1244 return nullptr;
1245 }
1246
1247 auto index = systemIndices_[(unsigned)type];
1248 if (index != UndefinedSystem) {
1249 return world->Systems.Systems[(unsigned)index].System;
1250 } else {
1251 return nullptr;
1252 }
1253}
1254
1255void EntitySystemHelpersBase::Update()
1256{

Callers

nothing calls this directly

Calls 1

GetEntityWorldFunction · 0.85

Tested by

no test coverage detected