C# Class DZAwarenessAIO.Modules.WardTracker.WardDetector

Mostrar archivo Open project: DZ191/LeagueSharp Class Usage Examples

Public Properties

Property Type Description
lastTick float

Public Methods

Method Description
OnCreate ( GameObject sender, EventArgs args ) : void

Called when an object is created.

OnDelete ( GameObject sender, EventArgs args ) : void

Called when a game object is deleted.

OnDraw ( EventArgs args ) : void

Raises the E:Draw event.

OnProcessSpellCast ( Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args ) : void

Called when an spell is processed

OnTick ( ) : void

Called when the assembly updates.

Private Methods

Method Description
GetWardColor ( DZAwarenessAIO.Modules.WardTracker.WardTypeWrapper w ) : System.Drawing.Color

Gets the color of the ward circle.

GetWardPolygon ( DZAwarenessAIO.Modules.WardTracker.Ward w ) : List

Gets the ward polygon.

GetWardsCloseTo ( DZAwarenessAIO.Modules.WardTracker.Ward w ) : List

Gets the wards close to another ward.

Method Details

OnCreate() public static method

Called when an object is created.
public static OnCreate ( GameObject sender, EventArgs args ) : void
sender GameObject The object.
args System.EventArgs The instance containing the event data.
return void

OnDelete() public static method

Called when a game object is deleted.
public static OnDelete ( GameObject sender, EventArgs args ) : void
sender GameObject The game object.
args System.EventArgs The instance containing the event data.
return void

OnDraw() public static method

Raises the E:Draw event.
public static OnDraw ( EventArgs args ) : void
args System.EventArgs The instance containing the event data.
return void

OnProcessSpellCast() public static method

Called when an spell is processed
public static OnProcessSpellCast ( Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args ) : void
sender Obj_AI_Base The sender.
args GameObjectProcessSpellCastEventArgs The instance containing the event data.
return void

OnTick() public static method

Called when the assembly updates.
public static OnTick ( ) : void
return void

Property Details

lastTick public_oe static_oe property

The last tick the OnTick cycle performed
public static float lastTick
return float