ESODecoded

GetNumJournalQuests

ESO Lua API function — used by 61 of the 3,030 addons we indexed (combined 18,912,041 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetNumJournalQuests()

Returns: integer numQuests

Real usage — from Map Pins

	local function AddQuest()
		for i=GetNumJournalQuests(),1,-1 do
			local _questName,_,_,_,_,_,_,_,_,_questType=GetJournalQuestInfo(i)

Short excerpt from the shipping addon Map Pinsits ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Map Pins8,061,548
LibQuestData4,916,044
Quest Map3,746,568
Event Tracker249,931
CookeryWiz239,380
FCM Quest Tracker199,980