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

Method OnContextUpdated

LuaDebugger/DAPMessageHandler.cs:327–338  ·  view source on GitHub ↗
(BkContextUpdated msg)

Source from the content-addressed store, hash-verified

325 }
326
327 private void OnContextUpdated(BkContextUpdated msg)
328 {
329 var ctx = msg.Context == DbgContext.Server ? ServerState : ClientState;
330 var active = msg.Status == BkContextUpdated.Types.Status.Loaded;
331
332 if (ctx.Active != active)
333 {
334 ctx.Reset();
335 }
336
337 ctx.Active = active;
338 }
339
340 private void OnModInfo(BkModInfoResponse msg)
341 {

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.45

Tested by

no test coverage detected