Class ActiveGameplayEffectData
This class is used to keep track of active GameplayEffect.
Inheritance
System.Object
ActiveGameplayEffectData
Namespace: GameplayAbilitySystem
Assembly: Assembly-CSharp-firstpass.dll
Syntax
public class ActiveGameplayEffectData : object
Constructors
| Improve this Doc View SourceActiveGameplayEffectData(GameplayEffect, Single)
Declaration
public ActiveGameplayEffectData(GameplayEffect effect, float cooldownTimeElapsed = 0F)
Parameters
| Type | Name | Description |
|---|---|---|
| GameplayEffect | effect | |
| System.Single | cooldownTimeElapsed |
Properties
| Improve this Doc View SourceCooldownTimeElapsed
The cooldown time that has already elapsed for this gameplay effect
Declaration
public float CooldownTimeElapsed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | Cooldown time elapsed |
Effect
The actual GameplayEffect.
Declaration
public GameplayEffect Effect { get; }
Property Value
| Type | Description |
|---|---|
| GameplayEffect |
Stacks
The number of stacks of this GameplayEffect
Declaration
public int Stacks { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |