-
Notifications
You must be signed in to change notification settings - Fork 24
Utils API
Ben edited this page Aug 16, 2022
·
1 revision
TRP3 Utilities API found here
local utils = TRP3_API.utilslocal logger = TRP3_API.utils.loglocal messaging = TRP3_API.utils.messagelocal tables = TRP3_API.utils.tablelocal 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