Class EffectBinding

Namespace
TDMaker.Core.Effects
Assembly
TDMaker.Core.dll

A pooled accepted effect; references are valid only while the binding remains in Bindings.

public sealed class EffectBinding
Inheritance
EffectBinding
Inherited Members

Constructors

EffectBinding()

public EffectBinding()

Properties

AppliedAt

Current lifetime origin in game seconds.

public double AppliedAt { get; }

Property Value

double

Definition

Immutable attachment data.

public StatusEffectDef Definition { get; }

Property Value

StatusEffectDef

Id

Monotonically increasing binding identifier.

public long Id { get; }

Property Value

long

IsPending

Accepted but not yet attached by the effect stage.

public bool IsPending { get; }

Property Value

bool

IsRemoving

Removal is scheduled; the binding no longer participates in conflicts.

public bool IsRemoving { get; }

Property Value

bool

NextPeriodicAt

Next periodic due time; refresh does not reset it.

public double NextPeriodicAt { get; }

Property Value

double

Removal

Removal cause, meaningful once IsRemoving is true.

public EffectRemoval Removal { get; }

Property Value

EffectRemoval

ShieldRemaining

Unused capacity of this accepted shield binding; pending bindings do not absorb damage.

public float ShieldRemaining { get; }

Property Value

float

SourceId

Originating entity, or zero.

public int SourceId { get; }

Property Value

int

TargetId

Recipient entity.

public int TargetId { get; }

Property Value

int