Search Results for

    Show / Hide Table of Contents

    Class UnitManager

    Manages the units.

    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()
    Namespace: Oasys.SDK
    Assembly: Oasys.SDK.dll
    Syntax
    public class UnitManager

    Fields

    MyChampion

    Simply the champion the player is playing as.

    Declaration
    public static AIHeroClient MyChampion
    Field Value
    Type Description
    AIHeroClient

    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
    Type Description
    System.Collections.Generic.List<GameObjectBase>

    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
    Type Description
    Nexus

    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
    Type Description
    System.Collections.Generic.List<GameObjectBase>

    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
    Type Description
    Nexus

    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
    Type Description
    System.Collections.Generic.List<AIPlacementClient>

    Wards

    Gets all the wards present in game.

    Declaration
    public static List<AIPlacementClient> Wards { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<AIPlacementClient>

    Methods

    GetEnemies(ObjectTypeFlag[])

    Get objects by types.

    Declaration
    public static List<GameObjectBase> GetEnemies(params ObjectTypeFlag[] objectTypes)
    Parameters
    Type Name Description
    ObjectTypeFlag[] objectTypes
    Returns
    Type Description
    System.Collections.Generic.List<GameObjectBase>

    Extension Methods

    Extensions.In<T>(T, T[])
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾