ORK Framework  2.27.1
API Documentation
ORKFramework.TargetSettings Class Reference
Inheritance diagram for ORKFramework.TargetSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool TargetSelf ()
 
bool TargetAlly ()
 
bool TargetEnemy ()
 
bool TargetAll ()
 
bool IsNoneTarget ()
 
bool IsSingleTarget ()
 
bool IsGroupTarget ()
 
bool InUseRange (Combatant user, Combatant target, IVariableSource variableSource)
 
bool InUseRange (Combatant user, BattleGridCellComponent target, IVariableSource variableSource)
 
List< CombatantGetInUseRange (Combatant user, IVariableSource variableSource)
 
bool InUseRange (Combatant user, Vector3 position, IVariableSource variableSource)
 
void GetUseRangeCells (Combatant user, ref List< BattleGridCellComponent > list, IVariableSource variableSource, GridCellCheck check)
 
void MoveIntoUseRange (Combatant user, IVariableSource variableSource, ref bool moveIntoRange, ref bool useStopAngle)
 
Range GetMoveAIUseRange (Combatant user, IVariableSource variableSource)
 
bool CheckAffectRangeType (AffectRangeType type)
 
List< CombatantGetInAffectRange (Combatant user, List< Combatant > targets, IVariableSource variableSource)
 
void GetAffectRangeCells (Combatant user, BattleGridCellComponent originCell, IVariableSource variableSource, ref List< BattleGridCellComponent > list, GridCellCheck check)
 
void GetAffectRangeCells (Combatant user, Combatant target, IVariableSource variableSource, ref List< BattleGridCellComponent > list, GridCellCheck check)
 
bool CanTargetAny (Combatant user, List< Combatant > targets)
 
bool CanTarget (Combatant user, Combatant target)
 
void CheckTargets (Combatant user, ref List< Combatant > targets, IVariableSource variableSource)
 
List< CombatantGetPossibleTargets (Combatant user, List< Combatant > available, IVariableSource variableSource)
 
void GetPossibleTargets (ref List< Combatant > list, Combatant user, List< Combatant > available, IVariableSource variableSource)
 
bool HasPossibleTargets (Combatant user, List< Combatant > available, IVariableSource variableSource)
 
bool SetTargets (TargetRangeAction action, Combatant user, List< Combatant > targets)
 
bool SetAutoTargets (TargetRangeAction action, List< Combatant > preferredTargets, List< Combatant > allies, List< Combatant > enemies)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Static Public Member Functions

static TargetSettings Get (IShortcut shortcut)
 
static TargetSettings Get (BaseAction action)
 

Public Attributes

TargetType targetType = TargetType.Enemy
 
TargetRange targetRange = TargetRange.Single
 
Consider isDead = Consider.No
 
bool targetRangeToggle = false
 
bool notSelf = false
 
bool noneSelectGridCell = false
 
TargetRaycast targetRaycast
 
TargetUseRangeSettings useRange = new TargetUseRangeSettings()
 
TargetAffectRangeSettings affectRange = new TargetAffectRangeSettings()
 
TargetRequirementSettings requirement = new TargetRequirementSettings()
 
TargetOrientationSettings orientation = new TargetOrientationSettings()
 
AutoTargetSettings autoTarget = new AutoTargetSettings()
 

Properties

Consider ConsiderTargetType [get]
 

Member Function Documentation

◆ SetData()

override void ORKFramework.TargetSettings.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.