GameTooltip::SetMerchantCompareItem
function · ui · primitive
- Address
0x536080· 629 bytes, up to0x5362f4- Signature
int __fastcall (lua_State *L)- Meaning
- Fills the tooltip with the equipped item a merchant row compares against, returning 1 or nil
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/merchant#shopping-tooltips
- Test
ui::luabind_536080_set_merchant_compare_item
Finding: Shopping tooltips in ui: buy-back, shopping tooltips and repair
GameTooltip:SetMerchantCompareItem(slot [, offset]) is 0x536080. It resolves the receiver like every tooltip
method (three errors for a non-table, a non-framescript object and a wrong type), and slot must be a number or numeric
string (Usage: SetMerchantCompareItem("slot" [, offset])). It returns the number 1 when a tooltip was filled and nil
otherwise, never raising for data. It fills the tooltip with the equipped item chosen below, using the item builder
with p4 0 and p5 1: the full tooltip of that item, headed by the gray CURRENTLY_EQUIPPED line. No delta is
computed. The call does not clear the tooltip when it returns nil.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 16
- __ftol crt
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- CGTooltip::BuildItem ui
- DBCache_ItemStats_C_int_HASHKEY_INT_::GetRecord dbcache
- GetItemClass objectlayer
- GetItemInSlot objectlayer
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_touserdata lua
- lua_pushnil lua
- lua_pushnumber lua
- lua_rawgeti lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.