C# Class FFACETools.FFACE.TimerTools

Class wrapper to consume timer methods
Mostra file Open project: golfandsurf/Campah

Public Properties

Property Type Description
MAX_ABILITY_INDEX byte

Private Properties

Property Type Description

Public Methods

Method Description
GetAbilityID ( byte index ) : AbilityList

Gets the ID of an ability by the index

GetAbilityRecast ( AbilityList abil ) : int

Gets the time left in seconds before being able to reuse an ability (use sparingly)

GetAbilityRecast ( byte index ) : int

Gets the time left in seconds before being able to reuse an ability

GetSpellRecast ( SpellList spell ) : short

Will get the time left in seconds before being able to recast a spell

GetSpellRecast ( short id ) : short

Will get the time left in seconds before being able to recast a spell

GetVanaTime ( ) : VanaTime

Gets the current Vana'Diel time information

TimerTools ( int instanceID ) : System

Constructor

Method Details

GetAbilityID() public method

Gets the ID of an ability by the index
public GetAbilityID ( byte index ) : AbilityList
index byte Index of the ability
return AbilityList

GetAbilityRecast() public method

Gets the time left in seconds before being able to reuse an ability (use sparingly)
public GetAbilityRecast ( AbilityList abil ) : int
abil AbilityList Ability List
return int

GetAbilityRecast() public method

Gets the time left in seconds before being able to reuse an ability
public GetAbilityRecast ( byte index ) : int
index byte Index of the ability
return int

GetSpellRecast() public method

Will get the time left in seconds before being able to recast a spell
public GetSpellRecast ( SpellList spell ) : short
spell SpellList Spell to check recast timer on
return short

GetSpellRecast() public method

Will get the time left in seconds before being able to recast a spell
public GetSpellRecast ( short id ) : short
id short
return short

GetVanaTime() public method

Gets the current Vana'Diel time information
public GetVanaTime ( ) : VanaTime
return VanaTime

TimerTools() public method

Constructor
public TimerTools ( int instanceID ) : System
instanceID int Instance ID generated by FFACE
return System

Property Details

MAX_ABILITY_INDEX public_oe static_oe property

Maximum Ability Index for use with GetAbilityRecast/GetAbilityID
public static byte MAX_ABILITY_INDEX
return byte