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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool CheckTarget (Combatant user, Combatant target)
 
bool CheckTargetRequirements (Combatant target)
 
void Tick (Combatant user, bool inMenu, int index, SelectedTargets selectedTargets)
 
void AddCursor (Combatant target)
 
bool UseAutoAttackTarget (Combatant user)
 
bool CanUseAbility (int abilityID, int typeID)
 
bool CanUseItem (int itemID, int typeID)
 
- 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...
 

Public Attributes

bool noActionOnly = false
 
bool inMenus = false
 
bool autoSelect = false
 
bool onlyInBattleRange = true
 
Range range
 
Consider selectEnemies = Consider.Yes
 
Consider selectDead = Consider.No
 
bool onlyVisible = false
 
bool field = false
 
BattleSystemCheck battleSystemCheck = new BattleSystemCheck()
 
int nextKey = 0
 
int previousKey = 0
 
int nearestKey = 0
 
int removeKey = 0
 
bool distanceSortOffset = false
 
MouseTouchControl clickControl = new MouseTouchControl()
 
bool allowClickRemove = false
 
float clickRaycastDistance = 100.0f
 
LayerMask clickLayerMask = -1
 
bool useRaycastTargeting = false
 
float raycastTargetingSelectAfter = 0
 
bool raycastTargetingRemove = false
 
float raycastTargetingRemoveAfter = 0
 
bool raycastTargetingRemoveBlockedByInput = false
 
RaycastUseSettings raycastTargeting
 
RaycastLOS lineOfSight = new RaycastLOS()
 
bool useTargetCursor = false
 
AssetSource< GameObject > cursorPrefab
 
MountSettings cursorMount = new MountSettings()
 
bool autoAttackTarget = false
 
bool aaPlayerOnly = false
 
bool limitAbilityUse = false
 
LimitAbility limitAbility
 
bool limitItemUse = false
 
LimitItem limitItem
 
bool useTargetRequirements = false
 
SimpleCombatantRequirement targetRequirement
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.