benilla-re systems structs docs

s_tokenCursor

global · ui

Address
0xbe0b80 · 4 bytes, up to 0xbe0b83
Type
const char *
Meaning
Holds the scan place of the text expanders, which share it: description, quest text, world state and chat target tokens
Confidence
verified, proof one
Finding
ui/spelltokens#the-expander

Finding: The expander in ui: Spell description tokens

0x5075f0(spell record; buffer, size, pet, level, aura, stack, unmodified) clears the buffer and copies the text up to each $, expanding every token. The text is the aura description (+0x24c) when aura is set and it is nonempty, else the description (+0x228). A level of 0 means the level the player has for the spell: the player's value in the spell's skill line over five (spell/records#caster-level). A token the dispatcher cannot expand leaves a literal $ in the output and the text after the token is copied as it stands. The return value is 1 when every token was expanded and 0 otherwise.

callerpetlevelaurastackunmodified
spell tooltip, item spell and set bonus linesthe pet flag, 0 for items0010
buff tooltip0the buff's1the stack, or 11

The derivation is in the doc.