mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
The inverse of GetQuestIDForLogIndex: returns the 1-based quest-log index of a questID, or nil if the quest isn't in the log. Walks VAR_QUEST_LOG_ENTRIES, skips header rows via the +8 header-pointer gate, and returns the first matching entry's index. The index spans the full entry list (headers included), so it feeds straight into GetQuestLogTitle / the other index-based quest-log accessors. Verified in-game: index->ID->index and ID->index->ID both round-trip.