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

Handles fishing related information. More...

Public Types

enum  AvailableMooch : byte { None = 0 , Mooch = 1 , MoochTwo = 2 , Both = Mooch | MoochTwo }

Static Public Member Functions

static bool CanHookId (uint HookSpellId)
 Checks if the given hook spell can be cast.
static void Chum ()
 Attempts to cast the Chum action.
static void Hook ()
 Attempts to cast the regular hook.
static bool CanHookSpecial (uint hookId)
 Checks if the given hook spell can be cast.
static void HookSpecial (uint hookId)
 Attempts to cast one of the hook ids.
static bool CanCastPatience (uint patienceId)
 Checks if Patience(4102) or Patience II (4106) can be cast.
static void Patience (uint patienceId)
 Attempts to cast Patience(4102) or Patience II (4106) can be cast.
static RunStatus Mooch ()
 Attempts to cast Mooch.
static RunStatus MoochTwo ()
 Attempts to cast Mooch II.
static void Cast ()
 Attempts to Cast.

Static Public Attributes

const uint RegularHook = 296
 Regular hook id.
const uint PowerfullHook = 4103
 Powerful hook id.
const uint PrecisionHook = 4179
 Precision hook id.
static int MoochLevel
 Counter indicating the current mooch level.
static readonly WaitTimer ChumLockTimer = new WaitTimer(new TimeSpan(0, 0, 0, 0, 250))
 Timer used to prevent chum from being spammed.

Properties

static IntPtr Base [get]
 Base pointer for fishing stuff might usful for information not directly provided.
static FishingState State [get]
 Gets the current FishingState
static uint SelectedBaitItemId [get]
 Gets the itemid that is currently selected as the active bait.
static bool HasPatience [get]
 Checks if the Patience Aura is currently active.
static TugType TugType [get]
 Gets the current TugType on the line.
static bool CanChum [get]
 Checks if Chum can be used.
static bool CanHook [get]
 Checks if the regular hook can be used.
static bool CanMooch [get]
 Checks if regular mooch can be done.
static AvailableMooch CanMoochAny [get]
 Checks if any level of mooching is possible.

Detailed Description

Handles fishing related information.

Member Enumeration Documentation

◆ AvailableMooch

Enumerator
None 
Mooch 
MoochTwo 
Both 

Member Function Documentation

◆ CanCastPatience()

bool ff14bot.Managers.FishingManager.CanCastPatience ( uint patienceId)
static

Checks if Patience(4102) or Patience II (4106) can be cast.

Parameters
patienceId
Returns

◆ CanHookId()

bool ff14bot.Managers.FishingManager.CanHookId ( uint HookSpellId)
static

Checks if the given hook spell can be cast.

See also
RegularHook
See also
PowerfullHook
See also
PrecisionHook
Parameters
HookSpellId
Returns

◆ CanHookSpecial()

bool ff14bot.Managers.FishingManager.CanHookSpecial ( uint hookId)
static

Checks if the given hook spell can be cast.

See also
RegularHook
See also
PowerfullHook
See also
PrecisionHook
Parameters
hookId
Returns

◆ Cast()

void ff14bot.Managers.FishingManager.Cast ( )
static

Attempts to Cast.

◆ Chum()

void ff14bot.Managers.FishingManager.Chum ( )
static

Attempts to cast the Chum action.

◆ Hook()

void ff14bot.Managers.FishingManager.Hook ( )
static

Attempts to cast the regular hook.

◆ HookSpecial()

void ff14bot.Managers.FishingManager.HookSpecial ( uint hookId)
static

Attempts to cast one of the hook ids.

See also
RegularHook
See also
PowerfullHook
See also
PrecisionHook
Parameters
hookId
Returns

◆ Mooch()

RunStatus ff14bot.Managers.FishingManager.Mooch ( )
static

Attempts to cast Mooch.

Returns

◆ MoochTwo()

RunStatus ff14bot.Managers.FishingManager.MoochTwo ( )
static

Attempts to cast Mooch II.

Returns

◆ Patience()

void ff14bot.Managers.FishingManager.Patience ( uint patienceId)
static

Attempts to cast Patience(4102) or Patience II (4106) can be cast.

Parameters
patienceId

Member Data Documentation

◆ ChumLockTimer

readonly WaitTimer ff14bot.Managers.FishingManager.ChumLockTimer = new WaitTimer(new TimeSpan(0, 0, 0, 0, 250))
static

Timer used to prevent chum from being spammed.

◆ MoochLevel

int ff14bot.Managers.FishingManager.MoochLevel
static

Counter indicating the current mooch level.

◆ PowerfullHook

const uint ff14bot.Managers.FishingManager.PowerfullHook = 4103
static

Powerful hook id.

◆ PrecisionHook

const uint ff14bot.Managers.FishingManager.PrecisionHook = 4179
static

Precision hook id.

◆ RegularHook

const uint ff14bot.Managers.FishingManager.RegularHook = 296
static

Regular hook id.

Property Documentation

◆ Base

IntPtr ff14bot.Managers.FishingManager.Base
staticget

Base pointer for fishing stuff might usful for information not directly provided.

◆ CanChum

bool ff14bot.Managers.FishingManager.CanChum
staticget

Checks if Chum can be used.

◆ CanHook

bool ff14bot.Managers.FishingManager.CanHook
staticget

Checks if the regular hook can be used.

◆ CanMooch

bool ff14bot.Managers.FishingManager.CanMooch
staticget

Checks if regular mooch can be done.

◆ CanMoochAny

AvailableMooch ff14bot.Managers.FishingManager.CanMoochAny
staticget

Checks if any level of mooching is possible.

◆ HasPatience

bool ff14bot.Managers.FishingManager.HasPatience
staticget

Checks if the Patience Aura is currently active.

◆ SelectedBaitItemId

uint ff14bot.Managers.FishingManager.SelectedBaitItemId
staticget

Gets the itemid that is currently selected as the active bait.

◆ State

FishingState ff14bot.Managers.FishingManager.State
staticget

Gets the current FishingState

◆ TugType

TugType ff14bot.Managers.FishingManager.TugType
staticget

Gets the current TugType on the line.