C# Class AdEvade.SpellDetector

Show file Open project: coman3/EloBuddy.Addons Class Usage Examples

Public Properties

Property Type Description
ChampionPlugins IChampionPlugin>.Dictionary
ChanneledSpells string>.Dictionary
DetectedSpells Spell>.Dictionary
DrawSpells Spell>.Dictionary
LastCheckSpellCollisionTime float
LastCheckTime float
OnMissileSpells SpellData>.Dictionary
OnProcessSpells SpellData>.Dictionary
SpellMenu Menu
Spells Spell>.Dictionary
WindupSpells SpellData>.Dictionary

Private Properties

Property Type Description
AddDetectedSpells void
CheckSpellCollision void
CheckSpellEndTime void
CreateSpell int
Game_OnGameUpdate void
Game_ProcessSpell void
LoadSpecialSpell void
LoadSpecialSpellPlugins void
Loading_OnLoadingComplete void
SpellMissile_OnCreate void
SpellMissile_OnDelete void

Public Methods

Method Description
CanHeroWalkIntoSpell ( AdEvade.Data.Spells.Spell spell ) : bool
CreateSpellData ( Obj_AI_Base hero, System.Vector3 spellStartPos, System.Vector3 spellEndPos, AdEvade.Data.Spells.SpellData spellData, GameObject obj = null, float extraEndTick = 0.0f, bool processSpell = true, SpellType spellType = SpellType.None, bool checkEndExplosion = true, float spellRadius ) : void
DeleteSpell ( int spellId ) : void
GetCurrentSpellId ( ) : int
GetHighestDetectedSpellId ( ) : int
GetLowestEvadeTime ( AdEvade.Data.Spells.Spell &lowestSpell ) : float
GetMostDangerousSpell ( bool hasProjectile = false ) : AdEvade.Data.Spells.Spell
GetSpellList ( ) : List
InitChannelSpells ( ) : void
LoadSpellDictionary ( ) : void
NewInstance ( Type type ) : object
RemoveNonDangerousSpells ( ) : void
SpellDetector ( Menu mainMenu ) : System
UpdateSpells ( ) : void

Private Methods

Method Description
AddDetectedSpells ( ) : void
CheckSpellCollision ( ) : void
CheckSpellEndTime ( ) : void
CreateSpell ( AdEvade.Data.Spells.Spell newSpell, bool processSpell = true ) : int
Game_OnGameUpdate ( EventArgs args ) : void
Game_ProcessSpell ( Obj_AI_Base hero, GameObjectProcessSpellCastEventArgs args ) : void
LoadSpecialSpell ( AdEvade.Data.Spells.SpellData spell ) : void
LoadSpecialSpellPlugins ( ) : void
Loading_OnLoadingComplete ( EventArgs args ) : void
SpellMissile_OnCreate ( GameObject obj, EventArgs args ) : void
SpellMissile_OnDelete ( GameObject obj, EventArgs args ) : void

Method Details

CanHeroWalkIntoSpell() public static method

public static CanHeroWalkIntoSpell ( AdEvade.Data.Spells.Spell spell ) : bool
spell AdEvade.Data.Spells.Spell
return bool

CreateSpellData() public static method

public static CreateSpellData ( Obj_AI_Base hero, System.Vector3 spellStartPos, System.Vector3 spellEndPos, AdEvade.Data.Spells.SpellData spellData, GameObject obj = null, float extraEndTick = 0.0f, bool processSpell = true, SpellType spellType = SpellType.None, bool checkEndExplosion = true, float spellRadius ) : void
hero Obj_AI_Base
spellStartPos System.Vector3
spellEndPos System.Vector3
spellData AdEvade.Data.Spells.SpellData
obj GameObject
extraEndTick float
processSpell bool
spellType SpellType
checkEndExplosion bool
spellRadius float
return void

DeleteSpell() public static method

public static DeleteSpell ( int spellId ) : void
spellId int
return void

GetCurrentSpellId() public static method

public static GetCurrentSpellId ( ) : int
return int

GetHighestDetectedSpellId() public static method

public static GetHighestDetectedSpellId ( ) : int
return int

GetLowestEvadeTime() public static method

public static GetLowestEvadeTime ( AdEvade.Data.Spells.Spell &lowestSpell ) : float
lowestSpell AdEvade.Data.Spells.Spell
return float

GetMostDangerousSpell() public static method

public static GetMostDangerousSpell ( bool hasProjectile = false ) : AdEvade.Data.Spells.Spell
hasProjectile bool
return AdEvade.Data.Spells.Spell

GetSpellList() public static method

public static GetSpellList ( ) : List
return List

InitChannelSpells() public static method

public static InitChannelSpells ( ) : void
return void

LoadSpellDictionary() public method

public LoadSpellDictionary ( ) : void
return void

NewInstance() public static method

public static NewInstance ( Type type ) : object
type System.Type
return object

RemoveNonDangerousSpells() public method

public RemoveNonDangerousSpells ( ) : void
return void

SpellDetector() public method

public SpellDetector ( Menu mainMenu ) : System
mainMenu Menu
return System

UpdateSpells() public static method

public static UpdateSpells ( ) : void
return void

Property Details

ChampionPlugins public static property

public static Dictionary ChampionPlugins
return IChampionPlugin>.Dictionary

ChanneledSpells public static property

public static Dictionary ChanneledSpells
return string>.Dictionary

DetectedSpells public static property

public static Dictionary DetectedSpells
return Spell>.Dictionary

DrawSpells public static property

public static Dictionary DrawSpells
return Spell>.Dictionary

LastCheckSpellCollisionTime public static property

public static float LastCheckSpellCollisionTime
return float

LastCheckTime public static property

public static float LastCheckTime
return float

OnMissileSpells public static property

public static Dictionary OnMissileSpells
return SpellData>.Dictionary

OnProcessSpells public static property

public static Dictionary OnProcessSpells
return SpellData>.Dictionary

SpellMenu public static property

public static Menu SpellMenu
return Menu

Spells public static property

public static Dictionary Spells
return Spell>.Dictionary

WindupSpells public static property

public static Dictionary WindupSpells
return SpellData>.Dictionary