ESODecoded

GetAPIVersion

ESO Lua API function — used by 137 of the 3,030 addons we indexed (combined 101,788,746 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

GetAPIVersion()

Returns: integer version

Real usage — from Dolgubon's Lazy Writ Crafter


	if GetAPIVersion() > currentAPIVersionOfAddon and GetWorldName()~="PTS" and not updateWarningShown then
		d("The game has loaded an old version of Writ Crafter from somewhere on your system. If you think you have updated, One Drive may be

Short excerpt from the shipping addon Dolgubon's Lazy Writ Crafterits 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
Dolgubon's Lazy Writ Crafter9,498,314
Combat Metrics7,085,289
LibLazyCrafting6,538,592
Lost Treasure6,404,899
AUI - Advanced UI5,406,091
LibCombat5,017,654