C# Class SDKAIO.Champions.ChampionBase

The Base class for Champions in the AIO
显示文件 Open project: DZ191/LeagueSharp

Public Methods

Method Description
GetSpells ( ) : Spell>.Dictionary

Gets the spells dictionary for the champion.

OnLoad ( ) : void

Called when the Champion Module gets loaded.

Protected Methods

Method Description
GetMenuGenerator ( ) : IMenuGenerator

Gets the MenuGenerator instance for the current champion.

OnAfterAttack ( Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args ) : void

Called when the unit finishes the windup time for the AutoAttack.

OnChampLoad ( ) : void

Called when the Champion Module is loaded.

OnCombo ( ) : void

Called when the Active mode of the Orbwalker is OrbwalkingMode.Combo.

OnHybrid ( ) : void

Called when the Active mode of the Orbwalker is OrbwalkingMode.Hybrid.

OnLaneClear ( ) : void

Called when the Active mode of the Orbwalker is OrbwalkingMode.LaneClear.

OnLastHit ( ) : void

Called when the Active mode of the Orbwalker is OrbwalkingMode.LastHit.

OnTick ( ) : void

Called every tick of the Game.

Private Methods

Method Description
AfterAttack ( Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args ) : void

Delegate to the OnDoCast event

LoadSpells ( ) : void

Loads the dictionary of the spells using informations from the spell database.

OnStealth ( object sender, LeagueSharp.SDK.Events e ) : void

Called when an unit goes into stealth.

OnUpdate ( EventArgs args ) : void

Raises the E:Update event.

Method Details

GetMenuGenerator() protected abstract method

Gets the MenuGenerator instance for the current champion.
protected abstract GetMenuGenerator ( ) : IMenuGenerator
return IMenuGenerator

GetSpells() public method

Gets the spells dictionary for the champion.
public GetSpells ( ) : Spell>.Dictionary
return Spell>.Dictionary

OnAfterAttack() protected abstract method

Called when the unit finishes the windup time for the AutoAttack.
protected abstract OnAfterAttack ( Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args ) : void
sender Obj_AI_Base The sender.
args GameObjectProcessSpellCastEventArgs The instance containing the event data.
return void

OnChampLoad() protected abstract method

Called when the Champion Module is loaded.
protected abstract OnChampLoad ( ) : void
return void

OnCombo() protected abstract method

Called when the Active mode of the Orbwalker is OrbwalkingMode.Combo.
protected abstract OnCombo ( ) : void
return void

OnHybrid() protected abstract method

Called when the Active mode of the Orbwalker is OrbwalkingMode.Hybrid.
protected abstract OnHybrid ( ) : void
return void

OnLaneClear() protected abstract method

Called when the Active mode of the Orbwalker is OrbwalkingMode.LaneClear.
protected abstract OnLaneClear ( ) : void
return void

OnLastHit() protected abstract method

Called when the Active mode of the Orbwalker is OrbwalkingMode.LastHit.
protected abstract OnLastHit ( ) : void
return void

OnLoad() public method

Called when the Champion Module gets loaded.
public OnLoad ( ) : void
return void

OnTick() protected abstract method

Called every tick of the Game.
protected abstract OnTick ( ) : void
return void