Script::BuybackItem
function · ui · primitive
- Address
0x4fb950· 295 bytes, up to0x4fba76- Signature
int __fastcall (lua_State *L)- Meaning
- Sends CMSG_BUYBACK_ITEM with the vendor and the absolute slot of a buy-back index
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/merchant#buying-back
Finding: Buying back in ui: buy-back, shopping tooltips and repair
BuybackItem(index) raises BuybackItem(index) usage text for a non-number, and otherwise does nothing without a
vendor, a player, a cached slot or an item in it. It sends CMSG_BUYBACK_ITEM (0x290): the vendor GUID (u64) and
the absolute inventory slot (u32, 69 to 80, with no re-basing). It returns nothing.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- __ftol crt
- CDataStore::PutUInt32 base
- CDataStore::PutUInt32_3 base
- CDataStore::PutGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- ClientServices::Send net
- lua_isnumber lua
- lua_tonumber lua
- luaL_error lua
Calls and jumps by a bare address, from tables/calls.tsv.