benilla-re systems structs docs

OnCharmOrSummonChanged

function · objectlayer · primitive

Address
0x5e2660 · 262 bytes, up to 0x5e2765
Meaning
Refreshes the unit tokens of a player's charm and summon, releasing a gone one's token
Confidence
verified, proof one
Finding
objectlayer/playerfields#charm-and-summon-tokens

Finding: Charm and summon tokens in objectlayer: player fields

A change to a player's UNIT_FIELD_CHARM or UNIT_FIELD_SUMMON matters for the active player and party members: for each of the two, a live old unit and the live new unit get CGUnit_C::UpdateUnitTokenFlags, and an old GUID with no unit that differs from the new one goes to 0x493910(1, old).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

Calls and jumps by a bare address, from tables/calls.tsv.