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

DutyManager handles interacting with windows and data for duty system. More...

Classes

struct  queuestruct

Static Public Member Functions

static void LeaveActiveDuty ()
 Attempts to leave the active duty.
static void Commence ()
 Selects "Commence" on the ContentsFinderConfirm window.
static void Withdraw ()
 Selects "Withdraw" on the ContentsFinderConfirm window.
static bool Queue (params InstanceContentResult[] instances)
 Attempts to queue via the duty finder.

Properties

static QueueState QueueState [get]
 Gets the state of the queue.
static bool InQueue [get]
 Checks if the player is currently in queue.
static bool CanLeaveActiveDuty [get]
 Checks if the player can leave the current duty.
static SpellData DutyAction1 [get]
 Gets the spelldata for the spell in "Duty Action I".
static SpellData DutyAction2 [get]
 Gets the spelldata for the spell in "Duty Action II".
static Dictionary< uint, InstanceContentResultAvailableContent [get]
 Returns a dictionary of all the currently queueable instances in the duty finder.
static bool DutyReady [get]
 Check if ContentsFinderConfirm window is open.
static bool InInstance [get]
 Checks if the player is currently in a duty.

Detailed Description

DutyManager handles interacting with windows and data for duty system.

Member Function Documentation

◆ Commence()

void ff14bot.Managers.DutyManager.Commence ( )
static

Selects "Commence" on the ContentsFinderConfirm window.

◆ LeaveActiveDuty()

void ff14bot.Managers.DutyManager.LeaveActiveDuty ( )
static

Attempts to leave the active duty.

◆ Queue()

bool ff14bot.Managers.DutyManager.Queue ( params InstanceContentResult[] instances)
static

Attempts to queue via the duty finder.

Parameters
instancesWhat instances should we queue for
Exceptions
ArgumentExceptionWill throw argument exceptions if too many instances are provided, instances that cannot be queued for via the duty finder, or if multiple instances that cannot be queued with other instances are provided
Returns
True if we were able to queue successfully, false otherwise

◆ Withdraw()

void ff14bot.Managers.DutyManager.Withdraw ( )
static

Selects "Withdraw" on the ContentsFinderConfirm window.

Property Documentation

◆ AvailableContent

Dictionary<uint,InstanceContentResult> ff14bot.Managers.DutyManager.AvailableContent
staticget

Returns a dictionary of all the currently queueable instances in the duty finder.

◆ CanLeaveActiveDuty

bool ff14bot.Managers.DutyManager.CanLeaveActiveDuty
staticget

Checks if the player can leave the current duty.

◆ DutyAction1

SpellData ff14bot.Managers.DutyManager.DutyAction1
staticget

Gets the spelldata for the spell in "Duty Action I".

Returns
Null if there is no spell

◆ DutyAction2

SpellData ff14bot.Managers.DutyManager.DutyAction2
staticget

Gets the spelldata for the spell in "Duty Action II".

Returns
Null if there is no spell

◆ DutyReady

bool ff14bot.Managers.DutyManager.DutyReady
staticget

Check if ContentsFinderConfirm window is open.

◆ InInstance

bool ff14bot.Managers.DutyManager.InInstance
staticget

Checks if the player is currently in a duty.

◆ InQueue

bool ff14bot.Managers.DutyManager.InQueue
staticget

Checks if the player is currently in queue.

◆ QueueState

QueueState ff14bot.Managers.DutyManager.QueueState
staticget

Gets the state of the queue.