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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool KeyValid (Combatant combatant)
 
bool PerformAction (Combatant combatant)
 
- 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

int key = 0
 
bool isAxis = false
 
float triggerAt = 0
 
float axisTimeout = 0.5f
 
bool useAG = false
 
bool inAir = false
 
bool useSpeed = false
 
float minSpeed = 0
 
ControlMapKeyType type = ControlMapKeyType.Action
 
ActionSelection actionSettings
 
bool blockBattleCamera = false
 
int globalEventID = 0
 
bool showTooltip = false
 
bool closeOn2nd = true
 
bool autoCloseTooltip = false
 
float autoCloseTime = 3
 
bool onlyCursorOverTarget = false
 
bool cursorOverInRange = false
 
bool useCursorOverTarget = false
 
bool useAutoTarget = false
 
bool autoTargetOnly = false
 
bool noTargetSelection = false
 
bool needTargets = false
 
bool enableAutoAttack = false
 
bool duringTargetSelection = true
 
bool useRequirements = false
 
SimpleCombatantRequirement requirement
 
bool ownSuccessClip = false
 
AssetSource< AudioClip > successClip
 
float successVolume = 1
 

Member Function Documentation

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.