C# Class fBaseXtensions.Game.Hero.Class.PlayerClass

Used to describe the Current Player -- Class, Hotbar Abilities, Passives, etc..
Exibir arquivo Open project: herbfunk/Funky

Private Properties

Property Type Description
AbilitySelector fBaseXtensions.Game.Hero.Skills.Skill
AbilitySelector fBaseXtensions.Game.Hero.Skills.Skill
AbilitySuccessfullyUsed void
CreateAbility fBaseXtensions.Game.Hero.Skills.Skill
CreateBotClass void
DebugString string
DestructibleAbility fBaseXtensions.Game.Hero.Skills.Skill
FindBuffPower bool
FindCombatBuffPower bool
FindCombatMovementPower System.Vector3
FindOutOfCombatMovementPower System.Vector3
GenerateNewZigZagPath void
HasCastableMovementAbility bool
HasSpecialMovementBuff bool
HotbarSkillsChangedHandler void
RecreateAbilities void
ReturnAllUsableAbilities List
SecondaryHotbarBuffPresent bool
ShouldGenerateNewZigZagPath bool
UpdateCastableAbilities void
UseHealthPotion void
updateLastUsedAbilities void

Protected Methods

Method Description
PlayerClass ( ) : System

Private Methods

Method Description
AbilitySelector ( CacheUnit obj, bool IgnoreOutOfRange = false ) : Skill

Sets criteria based on object given.

AbilitySelector ( ConditionCriteraTypes criteria = ConditionCriteraTypes.All, bool IgnoreOutOfRange = false, CacheUnit unit = null ) : Skill

Selects first Ability that is successful in precast and combat testing.

AbilitySuccessfullyUsed ( Skill ability, bool reorderAbilities ) : void
CreateAbility ( SNOPower P ) : Skill

Create Ability (Derieved classes override this!)

CreateBotClass ( ) : void
DebugString ( ) : string
DestructibleAbility ( ) : Skill

Returns Ability used for destructibles

FindBuffPower ( Skill &BuffAbility ) : bool

Returns a power for Buffing.

FindCombatBuffPower ( CacheUnit unit, Skill &BuffAbility ) : bool

Returns a power for Combat Buffing.

FindCombatMovementPower ( Skill &MovementAbility, System.Vector3 Destination ) : System.Vector3

Searches for any abilities that have set the Combat Movement Criteria.

FindOutOfCombatMovementPower ( Skill &MovementAbility, System.Vector3 Destination ) : System.Vector3

Searches for any abilities that have set the OutOfCombat Movement Criteria.

GenerateNewZigZagPath ( ) : void

Generates a new ZigZag location.

HasCastableMovementAbility ( bool combatOnly = true ) : bool
HasSpecialMovementBuff ( ) : bool
HotbarSkillsChangedHandler ( ) : void
RecreateAbilities ( ) : void
ReturnAllUsableAbilities ( CacheUnit obj, bool IgnoreOutOfRange = false ) : List
SecondaryHotbarBuffPresent ( ) : bool

Used to check for a secondary hotbar set. Currently only used for wizards with Archon.

ShouldGenerateNewZigZagPath ( ) : bool

Check if Bot should generate a new ZigZag location.

UpdateCastableAbilities ( ) : void
UseHealthPotion ( ) : void
updateLastUsedAbilities ( Skill lastusedskill ) : void

Method Details

PlayerClass() protected method

protected PlayerClass ( ) : System
return System