Class WaveEffectLease

Namespace
SurvivorsMaker.Simulation
Assembly
SurvivorsMaker.Simulation.dll

Effect definition and application state transferred across a combat boundary.

public sealed class WaveEffectLease
Inheritance
WaveEffectLease
Inherited Members

Constructors

WaveEffectLease()

public WaveEffectLease()

Fields

CarryId

public long CarryId

Field Value

long

Definition

public Effect Definition

Field Value

Effect

HandlerState

public string HandlerState

Field Value

string

HasHandlerState

public bool HasHandlerState

Field Value

bool

Owner

public WaveEffectOwner Owner

Field Value

WaveEffectOwner

OwnerKey

public string OwnerKey

Field Value

string

State

public EffectLeaseState State

Field Value

EffectLeaseState

Methods

Copy()

Returns an independent copy of this saved or reported state without running gameplay logic.

public WaveEffectLease Copy()

Returns

WaveEffectLease

CopyEffect(Effect)

Copies effect definition fields without executing a handler.

public static Effect CopyEffect(Effect e)

Parameters

e Effect

Returns

Effect

CopyState(EffectLeaseState)

Copies saved effect-lease state without reapplying the effect.

public static EffectLeaseState CopyState(EffectLeaseState state)

Parameters

state EffectLeaseState

Returns

EffectLeaseState