Enum CommandFailure
- Namespace
- TDMaker.Core
- Assembly
- TDMaker.Core.dll
Machine-readable command failure reasons.
public enum CommandFailure
Fields
CapacityExceeded = 19A required fixed pool or input queue is full.
GameEnded = 1The game has a terminal outcome.
InsufficientGold = 6The purchase cannot be funded or its investment ledger would overflow.
InsufficientPoints = 15The required hero level or free point budget is missing.
InvalidAbility = 13The ability or skill slot does not exist.
InvalidCommand = 12The command type is not supported.
InvalidEntity = 7The required entity or component does not exist.
InvalidPoint = 16The shared placement policy rejected the point.
InvalidRallyPoint = 9The point is invalid or no lane placement exists within the rally radius.
InvalidSlot = 2The build slot index is outside the level.
InvalidUpgrade = 8The destination is not an immediate upgrade target.
None = 0No failure applies.
NotImplemented = 11The command is reserved for a later milestone.
RankLimit = 14The ability or skill has reached its rank cap.
SlotOccupied = 3The build slot is already reserved.
The spell is locked, cooling, or already cast this tick.
The tower is not available for construction in this level.
UnknownSpell = 17The spell slot has no authored definition.
UnknownTemplate = 4The requested tower template does not exist.
The next wave cannot currently be called.