ORK Framework  2.24.0
API Documentation
ORKFramework.ActionSelection Class Reference
Inheritance diagram for ORKFramework.ActionSelection:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

BaseAction GetAction (Combatant combatant, bool checkTime, bool checkUseCosts, bool blockActionCamera)
 
bool GetAction (out BaseAction action, Combatant combatant, bool checkTime, bool checkUseCosts, bool onlyCursorOverTarget, bool cursorOverInRange, bool useCursorOverTarget, bool useAutoTarget, bool autoTargetOnly, bool noTargetSelection, bool needTargets, bool blockBattleCamera)
 
bool ShowTooltip (Combatant combatant, float autoCloseTime, bool closeOn2nd)
 
string GetInfoText ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Static Public Member Functions

static bool UseAbility (Combatant user, AbilityShortcut ability, bool checkTime, bool checkUseCosts, bool useCursorOverTarget, bool useAutoTarget, bool autoTargetOnly, bool noTargetSelection, bool needTargets, bool blockBattleCamera, out BaseAction action)
 
static bool UseItem (Combatant user, ItemShortcut item, bool checkTime, bool checkUseCosts, bool useCursorOverTarget, bool useAutoTarget, bool autoTargetOnly, bool noTargetSelection, bool needTargets, bool blockBattleCamera, out BaseAction action)
 

Public Attributes

ActionSelectType type = ActionSelectType.Attack
 
bool resetAttackIndex = false
 
BaseAttackSelection attack
 
int abilityID = 0
 
bool abilityUseHighestLevel = true
 
int abilityLevel = 1
 
int itemID = 0
 
bool isSilent = false
 
int memberIndex = 0
 
ShortcutSlot slot