|
override InventoryBagId | BagId [get] |
override uint | Count [get] |
override uint | RawItemId [get] |
override byte | HqFlag [get] |
override float | Condition [get] |
override uint | Collectability [get] |
override float | SpiritBond [get] |
override ushort | Slot [get] |
override bool | IsValid [get] |
| Gets a value indicating whether the current object is valid. This property determines if the corresponding memory reference or data associated with the object is still accurate and usable within the context of the game's framelock or memory structure.
|
virtual uint | Count [get] |
| Represents the quantity of items in the current bag slot.
|
virtual uint | RawItemId [get] |
| This returns the raw unmodified id of the item in the slot.
|
uint | TrueItemId [get] |
| This returns the ID of the item in the slot, modified if it is a HQ item or collectable.
|
ActionType | ActionType [get] |
| Gets the associated ActionType of the current BagSlot item. This property determines whether the item is classified as a general item, key item, or any other predefined action type, based on its TrueItemId value.
|
virtual InventoryBagId | BagId [get] |
| Gets the bag identifier associated with the current inventory slot. This property represents the specific inventory bag or storage location that the item resides in, such as a player's main inventory, a retainer's storage, or an armory chest.
|
virtual ushort | Slot [get] |
| Gets the slot index of the item within its corresponding inventory bag. This property identifies the specific position of the item in the inventory structure, which is used for various inventory management operations such as moving, using, or interacting with the item.
|
virtual byte | HqFlag [get] |
| Gets the high-quality flag associated with the bag slot item. This property determines specific attributes of the item, such as whether it is high-quality or collectable, based on its flag state.
|
bool | IsSellable [get] |
| Checks if the slot contains an item that isn't collectable and has a value > 0.
|
bool | IsReducable [get] |
| This returns true if the item can be reduced, but does not check if the player has the correct skills, use 'CanReduce' for that.
|
bool | IsDesynthesizable [get] |
| This returns true if the item can be desynthesized, but does not check if the player has the correct skill level.
|
bool | CanReduce [get] |
| Returns true if the item is reduaceable and the player has the correct skill level.
|
bool | CanDesynthesize [get] |
| Returns true if the item is desynthesizable and the player has the correct skill level This does not check if the item has a greater than 0 percent chance to be desynthesized.
|
long | Value [get] |
| Return the slots item value.
|
virtual float | Condition [get] |
| Returns the slots condition.
|
virtual uint | Collectability [get] |
| Returns the slots collectability.
|
virtual float | SpiritBond [get] |
| Returns the slots spiritbond percentage.
|
bool | IsFilled [get] |
| Does the current slot contain a item.
|
bool | IsHighQuality [get] |
| Does the slot contain a high quality item.
|
bool | IsCollectable [get] |
| Does the slot contain a collectable item.
|
Item | Item [get] |
| Get the item data of the slot.
|
string | EnglishName [get] |
| Get the english name of an item.
|
string | Name [get] |
| Get the localized name of an item.
|
virtual bool | IsValid [get] |
| Indicates whether the instance is valid and points to a valid reference or object.
|
IntPtr | VTable [get] |
| Gets the virtual function table (VTable) pointer for the remote object.
|
IntPtr | Pointer [get, set] |
| Gets or sets the memory pointer for the associated object or entity.
|
|
void | Handover () |
| Tries to hand over the item in the given slot to the currently active npc.
|
bool | CanUse (GameObject target=null) |
| Checks if we can use the provided item.
|
bool | UseItem (GameObject target=null) |
| Attempts to use the item.
|
bool | UseItem (Vector3 location) |
| Attempts to use the item.
|
bool | Move (BagSlot destination) |
| Attempts to move the contents of the current bagslot to the destination.
|
override string | ToString () |
| Returns a string representation of the bag slot, including the item name and raw item ID.
|
void | UpdatePointer (IntPtr newptr) |
| Updates the pointer to a new value and triggers any necessary update mechanisms.
|
| RemoteObject (IntPtr pointer) |
| Represents the base class for objects that manage pointers to external memory in the game or application.
|
virtual void | OnUpdatePointer (IntPtr ptr) |
| Invoked when the pointer to external memory is updated.
|
Cosmic exploration bag slot.