unreal.GameplayEffectRemovalInfo

class unreal.GameplayEffectRemovalInfo(premature_removal: bool = False, stack_count: int = 0, effect_context: GameplayEffectContextHandle = [])

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

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

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

property effect_context: GameplayEffectContextHandle

[Read-Only] Actor this gameplay effect was targeting.

Type:

(GameplayEffectContextHandle)

property premature_removal: bool

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

Type:

(bool)

property stack_count: int

[Read-Only] Number of Stacks this gameplay effect had before it was removed.

Type:

(int32)