C# Class fBaseXtensions.Game.Hero.Hotbar

Show file Open project: herbfunk/Funky Class Usage Examples

Public Properties

Property Type Description
CurrentBuffs HotbarBuff>.Dictionary
CurrentDebuffs List
HotbarSkills List
PassivePowers HashSet

Private Properties

Property Type Description
CheckSkills void
RefreshCurrentBuffs void
RefreshCurrentDebuffs void
ReturnHotbarSkills List

Public Methods

Method Description
GetBuffStacks ( SNOPower thispower ) : int
HasBuff ( SNOPower power ) : bool
HasDebuff ( SNOPower power ) : bool
HasPower ( SNOPower power ) : bool
RefreshHotbar ( ) : void

Enumerates through the ActiveSkills and adds them to the HotbarAbilities collection.

RefreshHotbarBuffs ( ) : void
RefreshPassives ( ) : void

Enumerates through the PassiveSkills and adds them to the PassiveAbilities collection. Used to adjust repeat timers of abilities.

ReturnRuneIndex ( SNOPower power ) : int

Private Methods

Method Description
CheckSkills ( ) : void
RefreshCurrentBuffs ( ) : void

Enumerates through GetAllBuffs and adds them to the CurrentBuffs collection.

RefreshCurrentDebuffs ( ) : void

ReturnHotbarSkills ( ) : List

Method Details

GetBuffStacks() public static method

public static GetBuffStacks ( SNOPower thispower ) : int
thispower SNOPower
return int

HasBuff() public static method

public static HasBuff ( SNOPower power ) : bool
power SNOPower
return bool

HasDebuff() public static method

public static HasDebuff ( SNOPower power ) : bool
power SNOPower
return bool

HasPower() public static method

public static HasPower ( SNOPower power ) : bool
power SNOPower
return bool

RefreshHotbar() public static method

Enumerates through the ActiveSkills and adds them to the HotbarAbilities collection.
public static RefreshHotbar ( ) : void
return void

RefreshHotbarBuffs() public static method

public static RefreshHotbarBuffs ( ) : void
return void

RefreshPassives() public static method

Enumerates through the PassiveSkills and adds them to the PassiveAbilities collection. Used to adjust repeat timers of abilities.
public static RefreshPassives ( ) : void
return void

ReturnRuneIndex() public static method

public static ReturnRuneIndex ( SNOPower power ) : int
power SNOPower
return int

Property Details

CurrentBuffs public static property

public static Dictionary CurrentBuffs
return HotbarBuff>.Dictionary

CurrentDebuffs public static property

public static List CurrentDebuffs
return List

HotbarSkills public static property

public static List HotbarSkills
return List

PassivePowers public static property

public static HashSet PassivePowers
return HashSet