benilla-re systems structs docs

GameTooltip::SetOwner

function · ui · primitive

Address
0x5310d0 · 781 bytes, up to 0x5313dc
Signature
int __fastcall (lua_State *L)
Meaning
Implements the GameTooltip method SetOwner, its pair in the table 0x854198
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/tooltip#setowner-and-the-anchor-modes
Test
ui::luabind_530_setters

Finding: SetOwner and the anchor modes in ui: GameTooltip, the widget

SetOwner(owner, anchor, x, y) clears the tooltip, restores full alpha and stores the owner, the mode and the offsets, which it converts from script units. The anchor names give the modes and the point of the tooltip set to a point of the owner, offset by x and y:

namemodetooltip pointowner point
ANCHOR_LEFT, and an absent or unknown name0BOTTOMRIGHTTOPLEFT
ANCHOR_RIGHT1BOTTOMLEFTTOPRIGHT
ANCHOR_BOTTOMLEFT2TOPRIGHTBOTTOMLEFT
ANCHOR_BOTTOMRIGHT3TOPLEFTBOTTOMRIGHT
ANCHOR_TOPLEFT4BOTTOMLEFTTOPLEFT
ANCHOR_TOPRIGHT5BOTTOMRIGHTTOPRIGHT
ANCHOR_CURSOR6(next entry)
ANCHOR_NONE7all points cleared
ANCHOR_PRESERVE8points kept

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 15

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