benilla-re systems structs docs

Minimap::GetPingPosition

function · ui · primitive

Address
0x4eefd0 · 181 bytes, up to 0x4ef084
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Minimap method GetPingPosition, its pair in the table 0x84c538
Confidence
verified, proof one
Finding
ui/minimap#reading-the-ping
Test
ui::ping_position

Finding: Reading the ping in ui: Minimap, the widget

GetPingPosition() returns two numbers that it computes anew from the stored world point every call: −dy·k then dx·k, from the player's current position and the current zoom. The marker therefore stays on its world spot as the player moves, and a zoom change rescales it. With no player object it returns two zeros. Before any ping the stored point is (0, 0), which the function does not detect. Nothing in the client clears the stored point; its lifetime is the interface's own timer.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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