ExpandServerText
function · ui · primitive
- Address
0x506f70· 298 bytes, up to0x507099- Meaning
- Copies server text expanding $ macros for a GUID's unit or name record, returning whether all were known
- Confidence
- verified, proof one
- Finding
- ui/questtext#the-driver
Finding: The driver in ui: dollar macros in server text
0x506f70(src, dst, size, &guid) copies src to dst up to each $, expands the token after it through
0x5070a0, and returns whether every token was known. The subject of the tokens is resolved once: the
unit object of the GUID (mask 8) and, when there is none, its name cache record. A token the handler
refuses leaves a literal $ in the output and clears the result, and scanning goes on. Copies are bounded
by the size, and truncation is silent.
The derivation is in the doc.
Callers 10
- ChatNameArrivedCallback ui
- ShowPendingChatLines ui
- ClientChatHandler ui
- Script::GetInboxText ui
- BuildTrainerList ui
- Script::GetQuestLogQuestText ui
- PublishGossipGreeting ui
- ShowItemTextPage ui
- SetQuestPanelText ui
- SetQuestObjectiveText ui
Callees 6
- ClntObjMgrObjectPtr objectlayer
- ExpandServerToken ui
- DBCache::NameCache::GetRecord dbcache
- SStrChr storm
- SStrLen storm
- SStrPack storm
Calls and jumps by a bare address, from tables/calls.tsv.