unreal.GameplayEffectRemovalInfo¶
- class unreal.GameplayEffectRemovalInfo(premature_removal: bool = False, prediction_rejected: bool = False, stack_count: int = 0, effect_context: GameplayEffectContextHandle = [])¶
Bases:
StructBaseData 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.prediction_rejected(bool): [Read-Only] True when the effect is being removed due to prediction rejectionpremature_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:
- property prediction_rejected: bool¶
[Read-Only] True when the effect is being removed due to prediction rejection
- Type:
(bool)