Class EffectInstance
실행 중인 상태 효과 인스턴스. EffectStack 이 내부적으로 생성/관리한다.
public sealed class EffectInstance
- Inheritance
-
objectEffectInstance
Constructors
EffectInstance(EffectId, EffectDuration, EffectPolicy, int)
public EffectInstance(EffectId id, EffectDuration duration, EffectPolicy policy, int maxStack = 1)
Parameters
idEffectIddurationEffectDurationpolicyEffectPolicymaxStackint
Properties
Duration
public EffectDuration Duration { get; }
Property Value
Id
public EffectId Id { get; }
Property Value
IsExpired
public bool IsExpired { get; }
Property Value
- bool
MaxStack
public int MaxStack { get; }
Property Value
- int
Policy
public EffectPolicy Policy { get; }
Property Value
RemainingTime
public float RemainingTime { get; }
Property Value
- float
StackCount
public int StackCount { get; }
Property Value
- int