Click or drag to resize
WoWPlayerInventory Class
A WoW player inventory.
Inheritance Hierarchy
SystemObject
  Styx.WoWInternalsWoWBag
    Styx.WoWInternalsWoWPlayerInventory

Namespace: Styx.WoWInternals
Assembly: Styx (in Styx.dll) Version: 3.0.1160.0 (3.0.1160)
Syntax
C#
public class WoWPlayerInventory : WoWBag

The WoWPlayerInventory type exposes the following members.

Properties
  NameDescription
Public propertyBackpack
Gets a bag representing the backpack.
Public propertyBank
Gets a bag representing the bank.
Public propertyBankBags
Gets a bag representing the 7 bank bag slots.
Public propertyBuyback
Gets a bag representing the buyback frame.
Public propertyEquipped
Gets a bag representing all equipped items. The last 4 slots are the equipped bags.
Public propertyFirstSlotIndex
Gets the zero-based index of the first slot.
(Inherited from WoWBag.)
Public propertyFreeSlots
Gets the number of free slots in this bag.
(Inherited from WoWBag.)
Public propertyGuid
Returns the GUID of this bag.
(Inherited from WoWBag.)
Public propertyIsInventory
Returns a bool indicating whether this bag is the players inventory.
(Inherited from WoWBag.)
Public propertyItemGuids
Gets an array of item GUIDs in this bag. If an item is 0, there is no item in that slot.
(Inherited from WoWBag.)
Public propertyItems
Gets an array of items in this bag. If an item is null, there is no item in that slot.
(Inherited from WoWBag.)
Public propertyName
Returns the name of this bag.
(Inherited from WoWBag.)
Public propertyPhysicalItemGuids
Gets an array of all item GUIDs in this bag.
(Inherited from WoWBag.)
Public propertyPhysicalItems
Gets an array of all items in this bag.
(Inherited from WoWBag.)
Public propertyReagentBank
Gets the reagent bank.
Public propertySlots
Gets the slots.
(Inherited from WoWBag.)
Public propertyUsedSlots
Gets the number of used slots in this bag.
(Inherited from WoWBag.)
Top
Methods
  NameDescription
Public methodContains(WoWGuid)
Returns a bool indicating whether this bag contains an item.
(Inherited from WoWBag.)
Public methodContains(WoWItem)
Returns a bool indicating whether this bag contains an item.
(Inherited from WoWBag.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetItemBySlot
Return an item by slot. The max slot is Slots - 1. If the returned value is null, the slot is empty.
(Inherited from WoWBag.)
Public methodGetItemGuidBySlot
Returns an items GUID by slot. The max slot is Slots - 1. If the returned value is 0, the slot is empty.
(Inherited from WoWBag.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(WoWGuid)
Returns the index of an item or -1 if it's not in this bag.
(Inherited from WoWBag.)
Public methodIndexOf(WoWItem)
Returns the index of an item or -1 if it's not in this bag.
(Inherited from WoWBag.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also