MCPcopy Create free account
hub / github.com/Norbyte/ositools / OnAfterOsirisLoad

Method OnAfterOsirisLoad

OsiInterface/OsirisProxy.cpp:342–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void OsirisProxy::OnAfterOsirisLoad(void * Osiris, void * Buf, int retval)
343{
344#if !defined(OSI_NO_DEBUGGER)
345 if (DebuggerThread != nullptr && !ResolvedNodeVMTs) {
346 ResolveNodeVMTs(*Wrappers.Globals.Nodes);
347 ResolvedNodeVMTs = true;
348 HookNodeVMTs();
349 }
350#endif
351
352 StoryLoaded = true;
353 Debug("OsirisProxy::OnAfterOsirisLoad: %d nodes", (*Wrappers.Globals.Nodes)->Db.Size);
354
355#if !defined(OSI_NO_DEBUGGER)
356 if (DebuggerThread != nullptr && gNodeVMTWrappers) {
357 debugger_.reset();
358 debugger_ = std::make_unique<Debugger>(Wrappers.Globals, std::ref(*debugMsgHandler_));
359 debugger_->StoryLoaded();
360 }
361#endif
362}
363
364void OsirisProxy::OnInitNetworkFixedStrings(void * self, void * arg1)
365{

Callers

nothing calls this directly

Calls 2

DebugFunction · 0.85
StoryLoadedMethod · 0.80

Tested by

no test coverage detected