Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Core/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ namespace LeagueSharp.SDK.Core
{
using System;
using System.IO;

using LeagueSharp.SDK.Core.Utils;

using SharpDX.Direct3D9;
using Utils;

/// <summary>
/// Constant values of LeagueSharp.SDK
Expand Down
34 changes: 17 additions & 17 deletions Core/Enumerations/CastTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,83 +18,83 @@
namespace LeagueSharp.SDK.Core.Enumerations
{
/// <summary>
/// Indicates how a spell can be casted
/// Indicates how a spell can be casted
/// </summary>
public enum CastType
{
/// <summary>
/// The spell can be casted on an enemy champion
/// The spell can be casted on an enemy champion
/// </summary>
EnemyChampions,

/// <summary>
/// The spell can be casted on an enemy minion
/// The spell can be casted on an enemy minion
/// </summary>
EnemyMinions,

/// <summary>
/// The spell can be casted on an enemy tower
/// The spell can be casted on an enemy tower
/// </summary>
EnemyTurrets,

/// <summary>
/// The spell can be casted on an ally champion
/// The spell can be casted on an ally champion
/// </summary>
AllyChampions,

/// <summary>
/// The spell can be casted on an ally minion
/// The spell can be casted on an ally minion
/// </summary>
AllyMinions,

/// <summary>
/// The spell can be casted on an ally turret
/// The spell can be casted on an ally turret
/// </summary>
AllyTurrets,

/// <summary>
/// The spell can be casted only on pets.
/// The spell can be casted only on pets.
/// </summary>
HeroPets,

/// <summary>
/// The spell can be casted on a position
/// The spell can be casted on a position
/// </summary>
Position,

/// <summary>
/// The spell can be casted in a direction
/// The spell can be casted in a direction
/// </summary>
Direction,

/// <summary>
/// The spell can be casted on self
/// The spell can be casted on self
/// </summary>
Self,

/// <summary>
/// The spell is a charging spell
/// The spell is a charging spell
/// </summary>
Charging,

/// <summary>
/// The spell is a toggleable spell
/// The spell is a toggleable spell
/// </summary>
Toggle,

/// <summary>
/// The spell is a channel
/// The spell is a channel
/// </summary>
Channel,

/// <summary>
/// The spell is activable
/// The spell is activable
/// </summary>
Activate,

/// <summary>
/// The spell can't be casted
/// The spell can't be casted
/// </summary>
ImpossibleToCast
}
}
}
12 changes: 6 additions & 6 deletions Core/Enumerations/CenteredFlags.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,32 +28,32 @@ public enum CenteredFlags
/// <summary>
/// None Flag
/// </summary>
None = 0,
None = 0,

/// <summary>
/// Center Horizontally Left.
/// </summary>
HorizontalLeft = 1 << 0,
HorizontalLeft = 1 << 0,

/// <summary>
/// Center Horizontally.
/// </summary>
HorizontalCenter = 1 << 1,
HorizontalCenter = 1 << 1,

/// <summary>
/// Center Horizontally Right.
/// </summary>
HorizontalRight = 1 << 2,
HorizontalRight = 1 << 2,

/// <summary>
/// Center Vertically Up.
/// </summary>
VerticalUp = 1 << 3,
VerticalUp = 1 << 3,

/// <summary>
/// Center Vertically.
/// </summary>
VerticalCenter = 1 << 4,
VerticalCenter = 1 << 4,

/// <summary>
/// Center Vertically Down.
Expand Down
4 changes: 2 additions & 2 deletions Core/Enumerations/DangerLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public enum DangerLevel
/// <summary>
/// Low danger level
/// </summary>
Low,
Low,

/// <summary>
/// Medium danger level, should be interrupted
/// </summary>
Medium,
Medium,

/// <summary>
/// High danger level, definitely should be interrupted
Expand Down
4 changes: 2 additions & 2 deletions Core/Enumerations/DrawType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public enum DrawType
/// <summary>
/// The OnBeginScene drawing type.
/// </summary>
OnBeginScene,
OnBeginScene,

/// <summary>
/// The OnDraw drawing type.
/// </summary>
OnDraw,
OnDraw,

/// <summary>
/// The OnEndScene drawing type.
Expand Down
2 changes: 1 addition & 1 deletion Core/Enumerations/GapcloserType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum GapcloserType
/// <summary>
/// <c>Skillshot</c> Spell
/// </summary>
Skillshot,
Skillshot,

/// <summary>
/// Targeted Spell
Expand Down
2 changes: 1 addition & 1 deletion Core/Enumerations/HealthPredictionType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum HealthPredictionType
/// <summary>
/// Default Prediction
/// </summary>
Default,
Default,

/// <summary>
/// Simulated Prediction
Expand Down
18 changes: 9 additions & 9 deletions Core/Enumerations/HitChance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,47 +25,47 @@ public enum HitChance
/// <summary>
/// Target is immobile, <c>skillshot</c> will hit.
/// </summary>
Immobile = 8,
Immobile = 8,

/// <summary>
/// Target is dashing to a known location, <c>skillshot</c> will hit.
/// </summary>
Dashing = 7,
Dashing = 7,

/// <summary>
/// Very High Prediction output, <c>skillshot</c> will probably hit.
/// </summary>
VeryHigh = 6,
VeryHigh = 6,

/// <summary>
/// High Prediction output, <c>skillshot</c> will probably hit.
/// </summary>
High = 5,
High = 5,

/// <summary>
/// Medium Prediction output, accuracy considered low.
/// </summary>
Medium = 4,
Medium = 4,

/// <summary>
/// Low Prediction output, accuracy considered low.
/// </summary>
Low = 3,
Low = 3,

/// <summary>
/// Impossible Hit.
/// </summary>
Impossible = 2,
Impossible = 2,

/// <summary>
/// <c>skillshot</c> is out of range.
/// </summary>
OutOfRange = 1,
OutOfRange = 1,

/// <summary>
/// Collision before hit onto target.
/// </summary>
Collision = 0,
Collision = 0,

/// <summary>
/// No HitChance.
Expand Down
6 changes: 3 additions & 3 deletions Core/Enumerations/JungleType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ public enum JungleType
/// <summary>
/// The unknown type.
/// </summary>
Unknown,
Unknown,

/// <summary>
/// The small type.
/// </summary>
Small,
Small,

/// <summary>
/// The large type.
/// </summary>
Large,
Large,

/// <summary>
/// The legendary type.
Expand Down
2 changes: 1 addition & 1 deletion Core/Enumerations/KeyBindType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum KeyBindType
/// <summary>
/// Toggle Key Bind.
/// </summary>
Toggle,
Toggle,

/// <summary>
/// Press Key Bind
Expand Down
10 changes: 5 additions & 5 deletions Core/Enumerations/LogLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,27 @@ public enum LogLevel
/// <summary>
/// Debug Information
/// </summary>
Debug = 2,
Debug = 2,

/// <summary>
/// An error occurred somewhere in the code (exception)
/// </summary>
Error = 5,
Error = 5,

/// <summary>
/// An error occurred and the program is unable to proceed
/// </summary>
Fatal = 6,
Fatal = 6,

/// <summary>
/// General information
/// </summary>
Info = 1,
Info = 1,

/// <summary>
/// Current location of the program
/// </summary>
Trace = 3,
Trace = 3,

/// <summary>
/// Warning level
Expand Down
8 changes: 4 additions & 4 deletions Core/Enumerations/NotificationIconType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ public enum NotificationIconType
/// <summary>
/// No Icon.
/// </summary>
None = 0,
None = 0,

/// <summary>
/// Error Icon.
/// </summary>
Error = 1,
Error = 1,

/// <summary>
/// Warning Icon.
/// </summary>
Warning = 2,
Warning = 2,

/// <summary>
/// Check Icon.
/// </summary>
Check = 3,
Check = 3,

/// <summary>
/// Select Icon.
Expand Down
4 changes: 2 additions & 2 deletions Core/Enumerations/PerformanceType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public enum PerformanceType
/// <summary>
/// Logs the Tick Count(CPU Ticks).
/// </summary>
TickCount,
TickCount,

/// <summary>
/// Logs the number of milliseconds.
/// </summary>
Milliseconds,
Milliseconds,

/// <summary>
/// Logs the time spanned in TimeSpam format.
Expand Down
4 changes: 2 additions & 2 deletions Core/Enumerations/SkillshotType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ public enum SkillshotType
/// <summary>
/// Determines that the <c>skillshot</c> is a linear <c>skillshot</c>.
/// </summary>
SkillshotLine,
SkillshotLine,

/// <summary>
/// Determines that the <c>skillshot</c> is a circle <c>skillshot</c>.
/// </summary>
SkillshotCircle,
SkillshotCircle,

/// <summary>
/// Determines that the <c>skillshot</c> is a cone <c>skillshot</c>.
Expand Down
6 changes: 3 additions & 3 deletions Core/Enumerations/TeleportStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ public enum TeleportStatus
/// <summary>
/// The start status.
/// </summary>
Start,
Start,

/// <summary>
/// The abort status.
/// </summary>
Abort,
Abort,

/// <summary>
/// The finish status.
/// </summary>
Finish,
Finish,

/// <summary>
/// The unknown status.
Expand Down
Loading