Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.Bag Class Reference

This class holds a grid of slots. More...

Inheritance diagram for ff14bot.Managers.Bag:
ff14bot.Objects.RemoteObject ff14bot.Managers.WorkshopBag

Public Member Functions

IEnumerator< BagSlotGetEnumerator ()
 Returns all the slots within the bag.
Public Member Functions inherited from ff14bot.Objects.RemoteObject
void UpdatePointer (IntPtr newptr)
 Updates the pointer to a new value and triggers any necessary update mechanisms.

Protected Attributes

List< BagSlot_slots = new List<BagSlot>()

Properties

override bool IsValid [get]
 Check if the bag is still in a valid state.
virtual uint BagId [get]
 Get the id of the bag.
BagSlot this[int i] [get]
 Returns the bagslot at the given index.
BagSlot this[EquipmentSlot i] [get]
 Returns the bagslot at the given index.
uint FreeSlots [get]
 Get how many free slots are left inside the bag.
virtual uint TotalSlots [get]
 Get how many slots the bag has.
uint UsedSlots [get]
 Get how many slots are current used.
List< BagSlotFilledSlots [get]
 Returns all the filled slots within the bag.
Properties inherited from ff14bot.Objects.RemoteObject
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.

Additional Inherited Members

Protected Member Functions inherited from ff14bot.Objects.RemoteObject
 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.

Detailed Description

This class holds a grid of slots.

Member Function Documentation

◆ GetEnumerator()

IEnumerator< BagSlot > ff14bot.Managers.Bag.GetEnumerator ( )

Returns all the slots within the bag.

Member Data Documentation

◆ _slots

List<BagSlot> ff14bot.Managers.Bag._slots = new List<BagSlot>()
protected

Property Documentation

◆ BagId

virtual uint ff14bot.Managers.Bag.BagId
get

Get the id of the bag.

◆ FilledSlots

List<BagSlot> ff14bot.Managers.Bag.FilledSlots
get

Returns all the filled slots within the bag.

◆ FreeSlots

uint ff14bot.Managers.Bag.FreeSlots
get

Get how many free slots are left inside the bag.

◆ IsValid

override bool ff14bot.Managers.Bag.IsValid
get

Check if the bag is still in a valid state.

◆ this[EquipmentSlot i]

BagSlot ff14bot.Managers.Bag.this[EquipmentSlot i]
get

Returns the bagslot at the given index.

◆ this[int i]

BagSlot ff14bot.Managers.Bag.this[int i]
get

Returns the bagslot at the given index.

◆ TotalSlots

virtual uint ff14bot.Managers.Bag.TotalSlots
get

Get how many slots the bag has.

◆ UsedSlots

uint ff14bot.Managers.Bag.UsedSlots
get

Get how many slots are current used.