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

Method StaticSystemUpdateHook

BG3Extender/GameDefinitions/EntitySystem.cpp:1747–1754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1745}
1746
1747void EntitySystemHelpersBase::StaticSystemUpdateHook(BaseSystem* system, EntityWorld& world, GameTime const& time)
1748{
1749 auto helpers = (&world == gExtender->GetClient().GetEntityHelpers().GetEntityWorld())
1750 ? (EntitySystemHelpersBase*)&gExtender->GetClient().GetEntityHelpers()
1751 : (EntitySystemHelpersBase*)&gExtender->GetServer().GetEntityHelpers();
1752
1753 helpers->SystemUpdateHook(system, world, time);
1754}
1755
1756void EntitySystemHelpersBase::InitSystemUpdateHooks()
1757{

Callers

nothing calls this directly

Calls 4

GetClientMethod · 0.80
GetServerMethod · 0.80
SystemUpdateHookMethod · 0.80
GetEntityWorldMethod · 0.45

Tested by

no test coverage detected