Returns the name of a Title ID.
name, playerTitle = GetTitleName(titleId)
- number - Ranging from 1 to GetNumTitles. Not necessarily an index as there can be missing/skipped IDs in between.
- string - Name of the title.
- boolean - Seems to be true for all existing titles.
- If the name has a trailing space, then the title is prefixed, otherwise it's suffixed.
/dump GetTitleName(2) -- "Corporal " → "Corporal Bob" (prefix)
/dump GetTitleName(36) -- "Champion of the Naaru" → "Alice, Champion of the Naaru" (suffix)