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

Manager that handles interacting with the remote gathering system. More...

Static Public Member Functions

static bool ShouldPause (SpellData spell)
 Returns true if we cannot cast a gathering spell because we are mid swing or just after opening the window.
static GatheringItem GetGatheringItemByIndex (uint index)
 Gets the item for the given index.

Properties

static IntPtr CallbackOffset [get]
 Gets the memory address offset for the gathering callback handler.
static IEnumerable< GatheringLocationBonusGatheringLocationBonuses [get]
 Gets a collection of bonuses associated with the current gathering location.
static byte GatheringCombo [get]
 Gets the number of regular swings in a row.
static byte HqGatheringCombo [get]
 Gets the number of hq swings in a row.
static byte MaxSwings [get]
 Gets the max swings for the current node.
static byte SwingsRemaining [get]
 Gets the remaining swings for the current node.
static bool WindowOpen [get]
 Checks if the gathering window is open.
static bool QuickGathering [get, set]
 Gets and sets the status of QuickGathering Returns false if the window is not open.
static List< GatheringItemGatheringWindowItems [get]
 Gets the items in the gathering window.

Detailed Description

Manager that handles interacting with the remote gathering system.

Member Function Documentation

◆ GetGatheringItemByIndex()

GatheringItem ff14bot.Managers.GatheringManager.GetGatheringItemByIndex ( uint index)
static

Gets the item for the given index.

Parameters
index
Returns
null if window is open, otherwise item for the index

◆ ShouldPause()

bool ff14bot.Managers.GatheringManager.ShouldPause ( SpellData spell)
static

Returns true if we cannot cast a gathering spell because we are mid swing or just after opening the window.

Parameters
spell
Returns

Property Documentation

◆ CallbackOffset

IntPtr ff14bot.Managers.GatheringManager.CallbackOffset
staticget

Gets the memory address offset for the gathering callback handler.

This property reads the memory address of the gathering event handler from the game's memory using the Core.Memory API. It serves as a base offset for other gathering-related operations.

An IntPtr representing the memory address of the gathering callback handler.

◆ GatheringCombo

byte ff14bot.Managers.GatheringManager.GatheringCombo
staticget

Gets the number of regular swings in a row.

◆ GatheringLocationBonuses

IEnumerable<GatheringLocationBonus> ff14bot.Managers.GatheringManager.GatheringLocationBonuses
staticget

Gets a collection of bonuses associated with the current gathering location.

This property retrieves a sequence of GatheringLocationBonus objects, each representing a specific bonus available at the current gathering location. Bonuses are filtered to include only those with a condition value greater than zero.

Returns
An IEnumerable<T> of GatheringLocationBonus objects.

◆ GatheringWindowItems

List<GatheringItem> ff14bot.Managers.GatheringManager.GatheringWindowItems
staticget

Gets the items in the gathering window.

◆ HqGatheringCombo

byte ff14bot.Managers.GatheringManager.HqGatheringCombo
staticget

Gets the number of hq swings in a row.

◆ MaxSwings

byte ff14bot.Managers.GatheringManager.MaxSwings
staticget

Gets the max swings for the current node.

◆ QuickGathering

bool ff14bot.Managers.GatheringManager.QuickGathering
staticgetset

Gets and sets the status of QuickGathering Returns false if the window is not open.

◆ SwingsRemaining

byte ff14bot.Managers.GatheringManager.SwingsRemaining
staticget

Gets the remaining swings for the current node.

◆ WindowOpen

bool ff14bot.Managers.GatheringManager.WindowOpen
staticget

Checks if the gathering window is open.