Struct EarlyCallRewardPreview

Namespace
TDMaker.Core
Assembly
TDMaker.Core.dll

Allocation-free snapshot of calling the next wave now; obtaining it does not mutate the simulation or emit events.

public readonly struct EarlyCallRewardPreview
Inherited Members

Properties

CanCall

Whether a CallNextWave command can currently be accepted.

public bool CanCall { get; }

Property Value

bool

GoldGain

Actual gold gain after the wallet's integer limit.

public int GoldGain { get; }

Property Value

int

GoldReward

Authored gold award before wallet saturation.

public int GoldReward { get; }

Property Value

int

SpellCooldownCut

Maximum time cut for each eligible spell, after enable/threshold rules. Each spell is clamped by its remaining cooldown.

public double SpellCooldownCut { get; }

Property Value

double

SpellCooldownsAffected

Number of cooling spells eligible after the call starts its wave.

public int SpellCooldownsAffected { get; }

Property Value

int

TimeCredit

Rounded remaining wait in game seconds; first-wave calls have zero credit.

public double TimeCredit { get; }

Property Value

double

WaveNumber

One-based next wave number, or zero when no call is currently accepted.

public int WaveNumber { get; }

Property Value

int