OnBattlefieldNameJoined
function · ui · primitive
- Address
0x4aaef0· 226 bytes, up to0x4aafd1- Meaning
- Shows ERR_BG_PLAYER_JOINED_SS with the name and its realm without spaces and tabs
- Confidence
- verified, proof one
- Finding
- ui/battlefield#player-notices
Finding: Player notices in ui: battlegrounds
The handlers of the battleground join and leave packets ask the name cache for the player and pass 0x4aaef0 (joined) or 0x4aafe0 (left) as the callback. A joined notice shows ERR_BG_PLAYER_JOINED_SS (message 444) and a left notice ERR_BG_PLAYER_LEFT_S (445) with the player's name; when the cache record has a realm name (the byte at +0x30), the left notice reads name-realm and the joined notice appends - and the realm with its spaces and tabs removed.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- CGGameUI::DisplayError ui
- DBCache::NameCache::GetRecord dbcache
- SStrCopy storm
- SStrLen storm
- SStrPack storm
Calls and jumps by a bare address, from tables/calls.tsv.