mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Returns the 1-based log index of the collapsible header (zone / category) a questID sits under, or nil if the quest isn't in the log. The log is laid out header-then-its-quests, so it locates the quest's entry and walks back to the nearest preceding header row (+8 non-NULL). Pairs with GetQuestLogTitle to fetch the category name. Verified in-game: quest 60142 -> header index 1 -> GetQuestLogTitle "Dun Morogh" with isHeader true.