From 3ee72d70d6812d4089858ffeb933cac95679b93f Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Fri, 28 Aug 2026 18:16:10 +0200 Subject: [PATCH] Add object manager readiness check for Outline debug --- src/wow.zig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wow.zig b/src/wow.zig index 98a3dec..99d0877 100644 --- a/src/wow.zig +++ b/src/wow.zig @@ -57,6 +57,12 @@ pub fn isInGame() bool { return hook.readMem(u32, o.IS_IN_WORLD) != 0; } +/// The object manager is a more useful runtime readiness signal for the +/// standalone Outline path than IS_IN_WORLD on modified 1.12.1 clients. +pub fn hasObjectManager() bool { + return hook.readMem(u32, o.OBJECT_MANAGER_PTR) != 0; +} + pub fn objectFirst() u32 { const obj_mgr = hook.readMem(u32, o.OBJECT_MANAGER_PTR); if (obj_mgr == 0) return 0;