Enum CommandFailure

Namespace
TDMaker.Core
Assembly
TDMaker.Core.dll

Machine-readable command failure reasons.

public enum CommandFailure

Fields

CapacityExceeded = 19

A required fixed pool or input queue is full.

GameEnded = 1

The game has a terminal outcome.

InsufficientGold = 6

The purchase cannot be funded or its investment ledger would overflow.

InsufficientPoints = 15

The required hero level or free point budget is missing.

InvalidAbility = 13

The ability or skill slot does not exist.

InvalidCommand = 12

The command type is not supported.

InvalidEntity = 7

The required entity or component does not exist.

InvalidPoint = 16

The shared placement policy rejected the point.

InvalidRallyPoint = 9

The point is invalid or no lane placement exists within the rally radius.

InvalidSlot = 2

The build slot index is outside the level.

InvalidUpgrade = 8

The destination is not an immediate upgrade target.

None = 0

No failure applies.

NotImplemented = 11

The command is reserved for a later milestone.

RankLimit = 14

The ability or skill has reached its rank cap.

SlotOccupied = 3

The build slot is already reserved.

SpellUnavailable = 18

The spell is locked, cooling, or already cast this tick.

UnavailableTower = 5

The tower is not available for construction in this level.

UnknownSpell = 17

The spell slot has no authored definition.

UnknownTemplate = 4

The requested tower template does not exist.

WaveUnavailable = 10

The next wave cannot currently be called.