~/forever/addon-api/function/UnitClass
UnitClass
documented function · Unit
UnitClass(unit) : className, classFilename, classID──ARGUMENTS
- unit
- UnitToken
──RETURNS
- className
- cstring, conditional secret
- classFilename
- cstring
- classID
- number
──DETAILS
- May Return Nothing
- true
- Secret When Unit Identity Restricted
- true
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.