-
Notifications
You must be signed in to change notification settings - Fork 18
Utils API
Ben edited this page Aug 16, 2022
·
1 revision
TRP3 Utilities API found here
local utils = TRP3_API.utils
local logger = TRP3_API.utils.log
local messaging = TRP3_API.utils.message
local tables = TRP3_API.utils.table
local stringUtils = TRP3_API.utils.str
- match
- generateID
- unitInfoToID
- unitIDtoInfo
- companionIDtoInfo
- getUnitID
- getUnitDataFromGUIDDirect
- getUnitDataFromGUID
- getUnitNPCID
- getGuildName
- getGuildRank
- getRace
- getClass
- getFaction
- texture
- icon
- getIconTexture
- color
- emptyToNil
- nilToEmpty
- buildZoneText
- safeMatch
- sanitize
- crop
- convertSpecialChars
local guidUtils = TRP3_API.utils.guid
- GUID_TYPES - constants
- getUnitType
- isAPlayerGUID
local mathUtils = TRP3_API.utils.math