s_keyPlayer
global · ui
- Address
0x85496c· 7 bytes, up to0x854972- Type
const char[7]- Meaning
- Holds the global string key PLAYER of the type word of a player
- Confidence
- verified, proof one
- Finding
- ui/tooltipunit#the-level-line-type-and-template
Finding: The level line, type and template in ui: The unit tooltip
The type text is PLAYER for a player, and otherwise the word of the creature's rank: elite for ranks 1 and
2, boss for 3, nothing for 0 and 4. The template depends on which of the class and type texts are nonempty.
The line is white. Nothing in the builder marks a unit tapped; a tapped colour is the interface's.
| class text | type text | key |
|---|---|---|
| empty | empty | TOOLTIP_UNIT_LEVEL |
| empty | set | TOOLTIP_UNIT_LEVEL_TYPE |
| set | empty | TOOLTIP_UNIT_LEVEL_CLASS |
| set | set | TOOLTIP_UNIT_LEVEL_CLASS_TYPE |
The derivation is in the doc.