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

Method PreUpdate

BG3Extender/Extender/Server/ScriptExtenderServer.cpp:189–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void ScriptExtender::PreUpdate(void* self, GameTime* time)
190{
191 network_.Update();
192 RunPendingTasks();
193 if (extensionState_) {
194 extensionState_->OnUpdate(*time);
195 if (gExtender->GetLuaDebugger()) {
196 gExtender->GetLuaDebugger()->ServerTick();
197 }
198 }
199}
200
201void ScriptExtender::PostUpdate(void* self, GameTime* time)
202{

Callers

nothing calls this directly

Calls 4

GetLuaDebuggerMethod · 0.80
ServerTickMethod · 0.80
UpdateMethod · 0.45
OnUpdateMethod · 0.45

Tested by

no test coverage detected