API

From ESOUI Wiki

Jump to: navigation, search

Page up-to-date to API Version 100028 (except ESOUI API which is at 100016)




Contents

Standard Lua functions

Please Google or search on various Lua websites to know how the standard Lua functions work


These functions are defined in the Lua core of the ESO client

Remarks: It seems that the ESO Lua core is Havok Script



Plus, the available libraries :


Private Functions

These functions cannot be used in addons


Removed in 100028 * Search on ESOUI Source Code This function is private and cannot be used in addons :( GetMarketProductDisplayName(number marketProductId)

Removed in 100028 * Search on ESOUI Source Code This function is private and cannot be used in addons :( GetMarketProductUnlockedByAchievementInfo(number marketProductId)

Protected Functions

The following functions cannot be used in combat.



To call a protected function, you must use the following code :


if IsProtectedFunction("TheNameOfYourFunction") then
	CallSecureProtected("TheNameOfYourFunction", arg1, arg2, arg3)
else
	TheNameOfYourFunction(arg1, arg2, arg3)
end

Game API

Imported from API patchnotes


Removed in 100028 * Search on ESOUI Source Code CanItemBeDeconstructed(number Bag bagId, number slotIndex, number TradeskillType craftingSkillType)

Removed in 100028 * Search on ESOUI Source Code CanItemBeRefined(number Bag bagId, number slotIndex, number TradeskillType craftingSkillType)

Removed in 100028 * Search on ESOUI Source Code DoesGuildApplicationHaveAttributeValue(number GuildMetaDataAttribute attribute, number value)

Removed in 100028 * Search on ESOUI Source Code ExtractEnchantingItem(number Bag bagId, number slotIndex)

Removed in 100028 * Search on ESOUI Source Code ExtractOrRefineSmithingItem(number Bag bagId, number slotIndex)

Removed in 100028 * Search on ESOUI Source Code GetActiveDaedricArtifactId()

Removed in 100028 * Search on ESOUI Source Code GetCampaignSocialConnectionInfo(number connectionIndex)

Removed in 100028 * Search on ESOUI Source Code GetItemLinkCollectibleEvolutionDescription(string itemLink)

Removed in 100028 * Search on ESOUI Source Code GetItemLinkCollectibleEvolutionInformation(string itemLink)

Removed in 100028 * Search on ESOUI Source Code GetNumCampaignSocialConnections()