unreal.GameplayEffectRemovalInfo

class unreal.GameplayEffectRemovalInfo(premature_removal=False, stack_count=0, effect_context=[])

Bases: unreal.StructBase

Data struct for containing information pertinent to GameplayEffects as they are removed

C++ Source:

  • Plugin: GameplayAbilities
  • Module: GameplayAbilities
  • File: GameplayEffectTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • effect_context (GameplayEffectContextHandle): [Read-Write] Actor this gameplay effect was targeting.
  • premature_removal (bool): [Read-Write] True when the gameplay effect’s duration has not expired, meaning the gameplay effect is being forcefully removed.
  • stack_count (int32): [Read-Write] Number of Stacks this gameplay effect had before it was removed.
effect_context

(GameplayEffectContextHandle) – [Read-Write] Actor this gameplay effect was targeting.

premature_removal

(bool) – [Read-Write] True when the gameplay effect’s duration has not expired, meaning the gameplay effect is being forcefully removed.

stack_count

(int32) – [Read-Write] Number of Stacks this gameplay effect had before it was removed.