benilla-re systems structs docs

s_fmtNameRealm

global · ui

Address
0x854980 · 8 bytes, up to 0x854987
Type
const char[8]
Meaning
Holds the format %s - %s that joins a unit's name and realm
Confidence
verified, proof one
Finding
ui/tooltipunit#the-name-line

Finding: The name line in ui: The unit tooltip

The first line is the name in gold. For a live unit it is the decorated name: a player with a PvP rank byte gets the rank title and a medal line, a civilian creature the civilian title, whatever the interface's rank-title option holds. When the unit's name record has a realm string the title is "%s - %s" of the name and the realm. The title is cut at 63 bytes. Without a unit the line is the name from the name cache, else the party pet's name.

The derivation is in the doc.