ESODecoded

GetPlayerChampionPointsEarned

ESO Lua API function — used by 45 of the 3,030 addons we indexed (combined 6,045,620 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetPlayerChampionPointsEarned()

Returns: integer points

Real usage — from Azurah - Interface Enhanced

local GetNumChampionXPInChampionPoint	= GetNumChampionXPInChampionPoint
local GetPlayerChampionPointsEarned		= GetPlayerChampionPointsEarned
local strformat							= string.format

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
Foundry Tactical Combat (FTC)1,097,601
AlphaGear 2 (Builds, Gear, Skills, Banking)848,683
Wykkyd Toolbar567,448
Info Panel368,274
Dynamic CP (Champion Points 2.0)319,248