ORK Framework  2.29.0
API Documentation
ORKFramework.Combatants.CombatantEffects Class Reference
Inheritance diagram for ORKFramework.Combatants.CombatantEffects:
ORKFramework.ISaveData

Public Member Functions

 CombatantEffects (Combatant owner)
 
List< StatusEffectGetEffects ()
 
void SetEffects (List< StatusEffect > list)
 
StatusEffect Get (string guid)
 
void MarkStartEffectCheck ()
 
void MarkAutoEffectCheck ()
 
void FireChecks ()
 
void AddComponents ()
 
void EndBattle ()
 
void ResetChange ()
 
void GetStatusChanges (ref StatusPreviewInformation info)
 
int [] GetAttackAttributes ()
 
void GetAttackAttributes (ref int[] atkAttr)
 
int GetHUDEffectsCount ()
 
List< StatusEffectGetHUDEffects (bool combineStacked, List< int > types)
 
void SetStartEffects ()
 
bool CanApplyEffect (int effectID)
 
bool CanRemoveEffect (int effectID)
 
void UseAttackEffects (Combatant target)
 
void UseDefenceEffects (Combatant target)
 
void Add (int effectID, Combatant user, StatusEffectCast cast, bool force, bool isAutoEffect, object source)
 
void Add (StatusEffect se)
 
void RecastStack (StatusEffect se, Combatant user)
 
void Remove (int effectID, bool force, bool single, object source)
 
void RemoveType (int typeID, EffectTypeRemoveType removeType, bool force, object source)
 
void Remove (StatusEffect se, bool showFlyingText, bool showConsole)
 
bool IsApplied (int effectID)
 
bool IsTypeApplied (int effectTypeID)
 
int GetTypeAppliedCount (int effectTypeID)
 
bool IsStackable (int effectID, Combatant user, object source)
 
int GetStackedCount (int effectID)
 
void CheckTime (float t)
 
void CheckTurn (bool turnStart)
 
void CheckEndAttack ()
 
void CheckEndAbility (int abilityID, int abilityTypeID)
 
void CheckEndItem (int itemID, int itemTypeID)
 
void CheckEndDeath ()
 
void ChangeCounters (StatusEffectSetting setting, int change)
 
void ChangeStopMovement (int add)
 
bool CanChangeStatusValue (int index, int change)
 
float GetAbsorb (int index, int change)
 
bool IsAbilityTypeBlocked (int abilityTypeID)
 
bool IsAbilityUseBlocked (int abilityID, int abilityTypeID)
 
bool IsItemTypeBlocked (int itemTypeID)
 
bool IsItemUseBlocked (int itemID, int itemTypeID)
 
bool IsAttackChangesBlocked ()
 
bool IsAbilityChangesBlocked (int abilityID, int abilityTypeID)
 
bool IsItemChangesBlocked (int itemID, int itemTypeID)
 
void GetAnimationSettings (ref List< AnimationSetting > list)
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Properties

Notify Changed
 
NotifyCombatantStatusEffect Added
 
NotifyCombatantStatusEffect Removed
 
StatusEffect this[int index] [get]
 
int Count [get]
 
bool Reflect [get]
 
bool NoTurnOrderChange [get]
 
bool NoTurnRemove [get]
 
bool ForceAIControlled [get]
 
bool BlockAllActions [get]
 
bool StopMovement [get]
 
bool AutoAttack [get]
 
bool AttackAllies [get]
 
bool BlockAttack [get]
 
bool BlockAbilities [get]
 
bool BlockItems [get]
 
bool BlockDefend [get]
 
bool BlockEscape [get]
 
bool BlockEquipmentChange [get]
 
bool BlockCommand [get]
 
bool UpdateAnimations [get, set]
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.Combatants.CombatantEffects.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

◆ SaveGame()

DataObject ORKFramework.Combatants.CombatantEffects.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.