Search Results for

    Show / Hide Table of Contents

    Class TargetSelector

    Inheritance
    System.Object
    TargetSelector
    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.Common.Logic
    Assembly: Oasys.Common.dll
    Syntax
    public static class TargetSelector

    Methods

    AttacksToKill(GameObjectBase)

    Declaration
    public static float AttacksToKill(GameObjectBase target)
    Parameters
    Type Name Description
    GameObjectBase target
    Returns
    Type Description
    System.Single

    GetAutoTargetSelect(Func<GameObjectBase, Boolean>, GameObjectBase)

    Declaration
    public static GameObjectBase GetAutoTargetSelect(Func<GameObjectBase, bool> isInRange, GameObjectBase selectedHero = null)
    Parameters
    Type Name Description
    System.Func<GameObjectBase, System.Boolean> isInRange
    GameObjectBase selectedHero
    Returns
    Type Description
    GameObjectBase

    GetBestHeroTarget(GameObjectBase)

    Declaration
    public static GameObjectBase GetBestHeroTarget(GameObjectBase selectedHero = null)
    Parameters
    Type Name Description
    GameObjectBase selectedHero
    Returns
    Type Description
    GameObjectBase

    GetBestHeroTarget(GameObjectBase, Func<GameObjectBase, Boolean>)

    Declaration
    public static GameObjectBase GetBestHeroTarget(GameObjectBase selectedHero, Func<GameObjectBase, bool> isInRange)
    Parameters
    Type Name Description
    GameObjectBase selectedHero
    System.Func<GameObjectBase, System.Boolean> isInRange
    Returns
    Type Description
    GameObjectBase

    GetMixedTargets(IEnumerable<GameObjectBase>, Func<GameObjectBase, Boolean>)

    Declaration
    public static IEnumerable<GameObjectBase> GetMixedTargets(IEnumerable<GameObjectBase> heroes, Func<GameObjectBase, bool> isInRange)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<GameObjectBase> heroes
    System.Func<GameObjectBase, System.Boolean> isInRange
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<GameObjectBase>

    GetPrioritizationTargets(IEnumerable<GameObjectBase>, Func<GameObjectBase, Boolean>)

    Declaration
    public static IEnumerable<GameObjectBase> GetPrioritizationTargets(IEnumerable<GameObjectBase> heroes, Func<GameObjectBase, bool> isInRange)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<GameObjectBase> heroes
    System.Func<GameObjectBase, System.Boolean> isInRange
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<GameObjectBase>

    Initialize()

    Declaration
    public static void Initialize()

    IsAttackable(GameObjectBase)

    Declaration
    public static bool IsAttackable(GameObjectBase target)
    Parameters
    Type Name Description
    GameObjectBase target
    Returns
    Type Description
    System.Boolean

    IsAttackable(GameObjectBase, Boolean, Boolean)

    Declaration
    public static bool IsAttackable(GameObjectBase target, bool teamCheck = true, bool checkOnScreen = true)
    Parameters
    Type Name Description
    GameObjectBase target
    System.Boolean teamCheck
    System.Boolean checkOnScreen
    Returns
    Type Description
    System.Boolean

    IsDisplacementImmune(GameObjectBase)

    Declaration
    public static bool IsDisplacementImmune(GameObjectBase target)
    Parameters
    Type Name Description
    GameObjectBase target
    Returns
    Type Description
    System.Boolean

    IsInRange(GameObjectBase)

    Declaration
    public static bool IsInRange(GameObjectBase target)
    Parameters
    Type Name Description
    GameObjectBase target
    Returns
    Type Description
    System.Boolean

    IsInvulnerable(GameObjectBase, DamageType, Boolean)

    Declaration
    public static bool IsInvulnerable(GameObjectBase target, DamageType damageType, bool ignoreShields = true)
    Parameters
    Type Name Description
    GameObjectBase target
    DamageType damageType
    System.Boolean ignoreShields
    Returns
    Type Description
    System.Boolean

    IsKillable(GameObjectBase, Func<GameObjectBase, Boolean>)

    Declaration
    public static bool IsKillable(GameObjectBase target, Func<GameObjectBase, bool> isInRange)
    Parameters
    Type Name Description
    GameObjectBase target
    System.Func<GameObjectBase, System.Boolean> isInRange
    Returns
    Type Description
    System.Boolean

    IsTotalCCImmune(GameObjectBase)

    Declaration
    public static bool IsTotalCCImmune(GameObjectBase target)
    Parameters
    Type Name Description
    GameObjectBase target
    Returns
    Type Description
    System.Boolean

    ShouldAttackMinion(GameObjectBase)

    Declaration
    public static bool ShouldAttackMinion(GameObjectBase minion)
    Parameters
    Type Name Description
    GameObjectBase minion
    Returns
    Type Description
    System.Boolean
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾