For Players
This Library is needed for almost all my addons. Please install it, as long your are using one of my addons.
For Developers
I use this addon only for my addons. I upload this "internal" version here, because ESOUI is my file management system
Functions
lua Code:
function lib:ChatMessage(message, addonName, delayMs)
Parameter: string message, string addonName, number delayMs - any number in milliseconds
Description: System Message Output for a normal Chat Message
lua Code:
function lib:ChatMessageDebug(message, addonName, isInDebugMode, delayMs)
Parameter: string message, string addonName, bool isInDebugMode, number delayMs - any number in milliseconds
Description: System Debug Message Output includes a prefix before the message
lua Code:
function lib:IsAddonVersionSameGameVersion(supportedAPIVersion, addonName)
Parameter: table supportedAPIVersion, string addonName
Returns: bool addonIsSameGameVersion
Description: With this you can check, if the current addon version API number is the same than current game API number
lua Code:
function lib:IsAddonStateEnabled(addonName)
Parameter: string addonName
Returns: bool isAddonStateEnabled
Description: This function checks, if another addon is enabled or not