C# Class OverlayInformation.Helper

Show file Open project: JumpAttacker/EnsageSharp

Private Properties

Property Type Description

Public Methods

Method Description
CheckForPercents ( Hero x, bool checkForHealth = true ) : bool

FindRet ( System.Vector3 first, System.Vector3 second ) : double
FindVector ( System.Vector3 first, double ret, float distance ) : System.Vector3
GenerateSideMessage ( string hero, string spellName ) : void
GetHeroTextureMinimap ( string heroName ) : DotaTexture
GetTopPanelPosition ( Hero v ) : System.Vector2
HandleEffect ( Unit unit ) : void
WorldToMinimap ( System.Vector3 pos ) : System.Vector2

Method Details

CheckForPercents() public static method

public static CheckForPercents ( Hero x, bool checkForHealth = true ) : bool
x Hero
checkForHealth bool true -> health; false -> mana
return bool

FindRet() public static method

public static FindRet ( System.Vector3 first, System.Vector3 second ) : double
first System.Vector3
second System.Vector3
return double

FindVector() public static method

public static FindVector ( System.Vector3 first, double ret, float distance ) : System.Vector3
first System.Vector3
ret double
distance float
return System.Vector3

GenerateSideMessage() public static method

public static GenerateSideMessage ( string hero, string spellName ) : void
hero string
spellName string
return void

GetHeroTextureMinimap() public static method

public static GetHeroTextureMinimap ( string heroName ) : DotaTexture
heroName string
return DotaTexture

GetTopPanelPosition() public static method

public static GetTopPanelPosition ( Hero v ) : System.Vector2
v Hero
return System.Vector2

HandleEffect() public static method

public static HandleEffect ( Unit unit ) : void
unit Unit
return void

WorldToMinimap() public static method

public static WorldToMinimap ( System.Vector3 pos ) : System.Vector2
pos System.Vector3
return System.Vector2