Item
Browse its members and the signatures that accept or return this type.
Members
11Expand a member to read its notes or open its full entry. Each overload keeps its own identity.
| Member | Signature and description |
|---|---|
| bool Item::IsValid()returns true when the handle's registry base plus subobject offset is nonzero, and false when the registry slot is empty. |
| int Item::use_count()Item::use_count resolves an Item, resolves the registry slot stored at Item [field], and returns the secondary object's dword at [field]. |
| int Item::custom_data()Item::custom_data re-resolves the Item wrapper's registered base object through [field] and returns its dword at [field]. |
| Item | str Item::id()Builds a VM string from the registered item base descriptor first string. |
| Item | str Item::name()Builds a VM string from the same descriptor string selected by Item id. |
| Item | str Item::display_name()Builds a VM string from the descriptor second string at [field]. |
| Item | void Item::Use()Resolves the registered Item base and forwards it to the immediate use helper. |
| void Item::Use(Obj)Forwards a target object handle to the targeted use helper after resolving the Item base. |
| void Item::Use(point)Clamps a point to signed map bounds and forwards it to the positional use helper. |
| Item | void Item::SetCustomData(int)Description pendingDescription pending. |
| Item | void Item::SetUseCount(int)Stores the supplied 32-bit value in a base item field. |
Return this type
3| Member | Signature and description |
|---|---|
Obj::FindItemObj | Item Obj::FindItem(str)Description pendingDescription pending. |
Obj::GetItemObj | Item Obj::GetItem(int)GetItem builds a handle from the virtual lookup result. |
GetThisGlobal | Item GetThis()Returns the item reference stored by the current item script while its registry entry remains nonnull. |
Accept this type
6| Member | Signature and description |
|---|---|
=Global | void =(Item&, Item)Description pendingDescription pending. |
Obj::GiveItemObj | bool Obj::GiveItem(Item, Obj)Transfers an owned item to another live object. If the destination cannot accept it, the transfer attempts to return it to the source. |
Obj::PutItemObj | bool Obj::PutItem(Item, ItemHolder)Moves an inventory item into the specified item holder. |
Obj::DropItemObj | bool Obj::DropItem(Item, point)Requests that a specified receiver item be dropped at a point while returning false. |
Obj::ExchangeItemObj | bool Obj::ExchangeItem(Item, str)ExchangeItem returns true after a gated replacement dispatch. |
Obj::GetItemIndexObj | int Obj::GetItemIndex(Item)GetItemIndex increments the virtual index result. |
Coverage and limits
10 / 11 members with a published description.
These lists come from published signatures. “Accept” counts explicit parameters, excluding the method receiver; reference variants (&) are included. No inheritance hierarchy is asserted. Undocumented names, units and effects remain unresolved.