MinimapApplyPing
function · ui · primitive
- Address
0x4ee330· 364 bytes, up to0x4ee49b- Signature
void __fastcall (void *guid, float *point)- Meaning
- Stores a world point as the ping and signals MINIMAP_PING with the pinger's token and the offset over the zoom diameter
- Confidence
- verified, proof one
- Finding
- ui/minimap#the-ping
- Test
ui::glue_4ea_4ee330_scale
Finding: The ping in ui: Minimap, the widget
One ping is kept, as a world point in two floats. The same routine applies a ping you click and one a
party member sends, so the two are indistinguishable. It does nothing without the active player object.
Otherwise it stores the point at once, resolves the pinger's unit token (player, party and the member's
1-based number, or raid and the number; a GUID that matches none leaves player) and signals the event
MINIMAP_PING with the token and two numbers: −dy·k and dx·k, where dx and dy are the point minus the
player's position and k is 1 over the zoom diameter. Nothing limits the rate and nothing checks that the
point lies inside the disc.
The derivation is in the doc.
Callers 2
- Script::PingLocation ui
- HandlePlayerNotice objectlayer
Callees 8
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- GetPartyGuidForToken ui
- GetRaidGuidForToken ui
- CountPartyMembers ui
- SStrPrintf storm
- GetZoomRadius minimap
- FrameScript_SignalEvent2 ui
Calls and jumps by a bare address, from tables/calls.tsv.