Class UnitManager
Inheritance
System.Object
UnitManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Oasys.SDK.dll
Syntax
Fields
MyChampion
Simply the champion the player is playing as.
Declaration
public static AIHeroClient MyChampion
Field Value
Properties
Allies
Gets all the ally game objects. This includes champions, minions, jungle mobs, towers and inhibitors.
Declaration
public static List<GameObjectBase> Allies { get; }
Property Value
AllNativeObjects
Gets all native objects collected from OnCreateObject and OnDeleteObject.
To actively use this list, please refer to Common.Settings.Core.UseNativeObjectManagerCaching (It is disabled by default).
Declaration
public static List<AIBaseClient> AllNativeObjects { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<AIBaseClient> |
|
AllyChampions
Gets all the ally champions, including the player champion.
Declaration
public static List<Hero> AllyChampions { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Hero> |
|
AllyInhibitors
Gets all the ally inhibitors.
Declaration
public static List<Inhibitor> AllyInhibitors { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Inhibitor> |
|
AllyJungleMobs
Gets all the ally jungle mobs.
Declaration
public static List<JungleMob> AllyJungleMobs { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<JungleMob> |
|
AllyMinions
Gets all the ally minions.
Declaration
public static List<Minion> AllyMinions { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Minion> |
|
AllyNexus
Gets ally nexus if UseNativeObjectManagerCaching is enabled
Declaration
public static Nexus AllyNexus { get; }
Property Value
AllyTowers
Gets all the ally towers.
Declaration
public static List<Turret> AllyTowers { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Turret> |
|
Enemies
Gets all the enemy game objects. This includes champions, minions, jungle mobs, towers and inhibitors.
Declaration
public static List<GameObjectBase> Enemies { get; }
Property Value
EnemyChampions
Gets all the enemy champions.
Declaration
public static List<Hero> EnemyChampions { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Hero> |
|
EnemyInhibitors
Gets all the enemy inhibitors.
Declaration
public static List<Inhibitor> EnemyInhibitors { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Inhibitor> |
|
EnemyJungleMobs
Gets all the enemy jungle mobs.
Declaration
public static List<JungleMob> EnemyJungleMobs { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<JungleMob> |
|
EnemyMinions
Gets all the enemy minions.
Declaration
public static List<Minion> EnemyMinions { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Minion> |
|
EnemyNexus
Gets enemy nexus if UseNativeObjectManagerCaching is enabled
Declaration
public static Nexus EnemyNexus { get; }
Property Value
EnemyTowers
Gets all the enemy towers.
Declaration
public static List<Turret> EnemyTowers { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Turret> |
|
Nexuses
Gets all nexuses in game if UseNativeObjectManagerCaching is enabled
Declaration
public static List<Nexus> Nexuses { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Nexus> |
|
PlacementObjects
Declaration
public static List<AIPlacementClient> PlacementObjects { get; }
Property Value
Wards
Gets all the wards present in game.
Declaration
public static List<AIPlacementClient> Wards { get; }
Property Value
Methods
GetEnemies(ObjectTypeFlag[])
Declaration
public static List<GameObjectBase> GetEnemies(params ObjectTypeFlag[] objectTypes)
Parameters
Returns
Extension Methods