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] Effect Context: Actor this gameplay effect was targeting.

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

  • stack_count (int32): [Read-Write] Stack Count: Number of Stacks this gameplay effect had before it was removed.

property effect_context

[Read-Write] Effect Context: Actor this gameplay effect was targeting.

Type

(GameplayEffectContextHandle)

property premature_removal

[Read-Write] Premature Removal: True when the gameplay effect’s duration has not expired, meaning the gameplay effect is being forcefully removed.

Type

(bool)

property stack_count

[Read-Write] Stack Count: Number of Stacks this gameplay effect had before it was removed.

Type

(int32)