See GetObjectName
if you need to retrieve a unit's localized pretty name by the type ID.
Always returns null after the game is loaded/if the game is a replay.
Do not use this in a global initialisation (on map init) as it returns null there.
Generated using TypeDoc
Example (Lua):
UnitId2String( FourCC("hfoo") ) --> "footman" (internal name, not localized)
lua