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()
Assembly: Oasys.Common.dll
Syntax
public static class TargetSelector
Methods
AttacksToKill(GameObjectBase)
Declaration
public static float AttacksToKill(GameObjectBase target)
Parameters
Returns
Type |
Description |
System.Single |
|
GetAutoTargetSelect(Func<GameObjectBase, Boolean>, GameObjectBase)
Declaration
public static GameObjectBase GetAutoTargetSelect(Func<GameObjectBase, bool> isInRange, GameObjectBase selectedHero = null)
Parameters
Returns
GetBestHeroTarget(GameObjectBase)
Declaration
public static GameObjectBase GetBestHeroTarget(GameObjectBase selectedHero = null)
Parameters
Returns
GetBestHeroTarget(GameObjectBase, Func<GameObjectBase, Boolean>)
Declaration
public static GameObjectBase GetBestHeroTarget(GameObjectBase selectedHero, Func<GameObjectBase, bool> isInRange)
Parameters
Returns
GetMixedTargets(IEnumerable<GameObjectBase>, Func<GameObjectBase, Boolean>)
Declaration
public static IEnumerable<GameObjectBase> GetMixedTargets(IEnumerable<GameObjectBase> heroes, Func<GameObjectBase, bool> isInRange)
Parameters
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
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<GameObjectBase> |
|
Initialize()
Declaration
public static void Initialize()
IsAttackable(GameObjectBase)
Declaration
public static bool IsAttackable(GameObjectBase target)
Parameters
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
Returns
Type |
Description |
System.Boolean |
|
IsInRange(GameObjectBase)
Declaration
public static bool IsInRange(GameObjectBase target)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsInvulnerable(GameObjectBase, DamageType, Boolean)
Declaration
public static bool IsInvulnerable(GameObjectBase target, DamageType damageType, bool ignoreShields = true)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsKillable(GameObjectBase, Func<GameObjectBase, Boolean>)
Declaration
public static bool IsKillable(GameObjectBase target, Func<GameObjectBase, bool> isInRange)
Parameters
Returns
Type |
Description |
System.Boolean |
|
IsTotalCCImmune(GameObjectBase)
Declaration
public static bool IsTotalCCImmune(GameObjectBase target)
Parameters
Returns
Type |
Description |
System.Boolean |
|
ShouldAttackMinion(GameObjectBase)
Declaration
public static bool ShouldAttackMinion(GameObjectBase minion)
Parameters
Returns
Type |
Description |
System.Boolean |
|