ORK Framework  2.25.2
API Documentation
ORKFramework.CastTimeSettings Class Reference
Inheritance diagram for ORKFramework.CastTimeSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
void StartCastingEvent (Combatant combatant, SelectedDataHandler selectedData)
 
void CancelCastingEvent (Combatant combatant, SelectedDataHandler selectedData)
 
- 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 useCastTime = false
 
FloatValue castTimeValue
 
bool cancelable = false
 
bool castMove = false
 
bool castPlaySound = false
 
PlayAudioCombatant castAudioSettings
 
AssetSource< ORKGameEventstartCastingEvent
 
AssetSource< ORKGameEventcancelCastingEvent
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.