mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Retail's debug name for a region: its global name; else its parent's debug name, a dot, and the key that holds it in the parent's Lua table, or its address in hex when no key holds it; "" for an unnamed region with no parent. preferParentKey puts the key path ahead of a global name. The key comes from the parent's table, so a plain Lua assignment resolves once the region is parented, as on retail. The frame stack tooltip prints names through it, which removes the debug tools' local _DebugName. Game::Lua::ObjectName exposes the engine's GetName virtual for unnamed-aware callers.