benilla-re systems structs docs

GetFlagToken

function · ui · primitive

Address
0x4aa670 · 71 bytes, up to 0x4aa6b6
Meaning
Returns the flag token string for the carrier by the player's faction side, or null
Confidence
verified, proof one
Finding
ui/worldmapmarkers#the-flag-carrier

Finding: The flag carrier in ui: world map arrows and battleground markers

GetNumBattlefieldFlagPositions() pushes 1 when the carrier GUID is nonzero, else 0. GetBattlefieldFlagPosition(index) takes only index 1 and pushes the map fractions u and v and a token. The position is the carrier's live position or its group record's (0x4a7870) when either fraction is nonzero, else the packet's floats under the active slot's map id. The token is HordeFlag for an Alliance player and AllianceFlag for a Horde player, nil with no carrier, so it names the flag the carrier holds, not the carrier's side.

The derivation is in the doc.

Callers 1

Callees 3

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