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

Functions involving the control of the players pet. More...

Static Public Member Functions

static void Place (Vector3 location)
 Command your pet to move to the specified location.
static bool CanCast (string spellName, GameObject targetObject)
 Returns true if within range, not on cooldown and within los.
static bool DoAction (string actionName, GameObject targetObject)
 Returns true if we attempted to do the action, returns false if we did not attempt to cast the spell due to action rate limiting or if the cast failed for some reason.
static bool CanCast (PetSpellData cache, GameObject targetObject)
 Returns true if within range, not on cooldown and within los.
static void ClearActionCache ()

Static Public Attributes

static WaitTimer LockTimer = new WaitTimer(new TimeSpan(0, 0, 1, 0))
 Timer that controls the caching of CurrentActions.

Properties

static PetMovement PetMovement [get]
 Current PetMovement.
static PetStance PetStance [get]
 Current Stance.
static PetMode PetMode [get]
 Current Mode.
static PetType ActivePetType [get]
 Gets the type of the currently active pet as a value from the PetType enumeration.
static LocalizedDictionary< uint, PetSpellDataCurrentActions [get]
 Returns list of current known skills Value is cached for 1 minute.

Detailed Description

Functions involving the control of the players pet.

Member Function Documentation

◆ CanCast() [1/2]

bool ff14bot.Managers.PetManager.CanCast ( PetSpellData cache,
GameObject targetObject )
static

Returns true if within range, not on cooldown and within los.

Parameters
cache
targetObject
Returns

◆ CanCast() [2/2]

bool ff14bot.Managers.PetManager.CanCast ( string spellName,
GameObject targetObject )
static

Returns true if within range, not on cooldown and within los.

Parameters
spellName
targetObject
Returns

◆ ClearActionCache()

void ff14bot.Managers.PetManager.ClearActionCache ( )
static

◆ DoAction()

bool ff14bot.Managers.PetManager.DoAction ( string actionName,
GameObject targetObject )
static

Returns true if we attempted to do the action, returns false if we did not attempt to cast the spell due to action rate limiting or if the cast failed for some reason.

Parameters
actionName
targetObject
Returns

◆ Place()

void ff14bot.Managers.PetManager.Place ( Vector3 location)
static

Command your pet to move to the specified location.

Parameters
location

Member Data Documentation

◆ LockTimer

WaitTimer ff14bot.Managers.PetManager.LockTimer = new WaitTimer(new TimeSpan(0, 0, 1, 0))
static

Timer that controls the caching of CurrentActions.

Property Documentation

◆ ActivePetType

PetType ff14bot.Managers.PetManager.ActivePetType
staticget

Gets the type of the currently active pet as a value from the PetType enumeration.

◆ CurrentActions

LocalizedDictionary<uint, PetSpellData> ff14bot.Managers.PetManager.CurrentActions
staticget

Returns list of current known skills Value is cached for 1 minute.

◆ PetMode

PetMode ff14bot.Managers.PetManager.PetMode
staticget

Current Mode.

◆ PetMovement

PetMovement ff14bot.Managers.PetManager.PetMovement
staticget

Current PetMovement.

◆ PetStance

PetStance ff14bot.Managers.PetManager.PetStance
staticget

Current Stance.