Package privbot.wrappers
@PublicApi
package privbot.wrappers
PrivNPC, PrivObject, PrivItem, PrivPlayer, PrivGroundItem.
Wrappers returned by the queries. NPC, object and player wrappers hold the live client entity,
so getters can change between calls and a stale reference keeps answering; check
exists() before acting on one you kept. Item and ground-item wrappers are snapshots of a
slot or stack at query time. interact(...) returns true when the action was
dispatched, which is not proof it happened: confirm the state change with a later read.
-
ClassesClassDescriptionGround stack wrapper;
interact("Take")routes through the game client.Inventory/bank/equipment slot wrapper; interactions route through the game client.NPC wrapper returned byctx.npcs.query(); interactions route through the game client.Scene object wrapper; interactions go through the game client.Other-player wrapper.