| 340 | } |
| 341 | |
| 342 | void 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 | |
| 364 | void OsirisProxy::OnInitNetworkFixedStrings(void * self, void * arg1) |
| 365 | { |
nothing calls this directly
no test coverage detected