ESODecoded

GetNumChampionXPInChampionPoint

ESO Lua API function — used by 31 of the 3,030 addons we indexed (combined 5,706,313 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetNumChampionXPInChampionPoint(integer championPointsEarned)

Returns: integer:nilable maxExp

Real usage — from Azurah - Interface Enhanced

local GetPlayerChampionXP				= GetPlayerChampionXP
local GetNumChampionXPInChampionPoint	= GetNumChampionXPInChampionPoint
local GetPlayerChampionPointsEarned		= GetPlayerChampionPointsEarned

Short excerpt from the shipping addon Azurah - Interface Enhancedits 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
Azurah - Interface Enhanced1,462,318
Lootdrop, Continued (All in One)1,145,178
Foundry Tactical Combat (FTC)1,097,601
Wykkyd Toolbar567,448
Info Panel368,274
ESO-Database.com Export AddOn272,910