ORK Framework  2.34.0
API Documentation
ORKFramework.StatusChange Class Reference
Inheritance diagram for ORKFramework.StatusChange:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.TargetStatusChange

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void Use (Combatant user, Combatant target, GameObject flyingTextTargetObject, float damageFactor, float damageMultiplier, IStatusValueChangeSource changeSource, ActionResults results, bool isCritical, DamageType damageType, VariableHandler localVariables, SelectedDataHandler selectedData)
 
virtual bool CanUse (Combatant user, VariableHandler localVariables, SelectedDataHandler selectedData)
 
virtual string GetCostText (Combatant user, AbilityShortcut ability, float actionCost, VariableHandler localVariables, SelectedDataHandler selectedData)
 
virtual string GetCostText (Combatant user, ItemShortcut item, float actionCost, VariableHandler localVariables, SelectedDataHandler selectedData)
 
virtual bool GetChangeInfo (StatusValueChangeInformation info, Combatant user, Combatant target, VariableHandler localVariables, SelectedDataHandler selectedData)
 
virtual void GetUnmodifiedChanges (Combatant user, Combatant target, VariableHandler localVariables, SelectedDataHandler selectedData, ref int[] statusValueChanges)
 
virtual List< int > GetStatusEffectChanges (EffectCast castType)
 
virtual void GetStatusEffectChanges (EffectCast castType, ref List< int > list)
 
- 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 cancelCasts = false
 
bool blockable = false
 
AssetSource< ORKGameEventgameEvent = new AssetSource<ORKGameEvent>()
 
AssetSource< ORKGameEventblockedGameEvent
 
PlayAudioCombatant audioSetting = new PlayAudioCombatant()
 
ValueChange [] consume = new ValueChange[0]
 
bool useAttackEffects = false
 
bool useDefenceEffects = false
 
StatusEffectCast [] effect = new StatusEffectCast[0]
 

Protected Member Functions

virtual void StartGameEvent (ORKGameEvent eventAsset, Combatant user, Combatant target, SelectedDataHandler selectedData, VariableHandler localVariables)
 
virtual void ApplyEffects (Combatant user, Combatant target, VariableHandler localVariables, SelectedDataHandler selectedData)
 

Member Function Documentation

◆ SetData()

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

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.