Class TrapBinding
- Namespace
- TDMaker.Core
- Assembly
- TDMaker.Core.dll
Pooled deployment state, valid only while present in Simulation.Traps; retain Id across removals.
public sealed class TrapBinding
- Inheritance
-
TrapBinding
- Inherited Members
Properties
ArmsAt
Time detection can begin.
public double ArmsAt { get; }
Property Value
CreatedAt
Creation-time lifetime origin.
public double CreatedAt { get; }
Property Value
Definition
Immutable authored behavior.
public TrapDef Definition { get; }
Property Value
DeploymentOrigin
Captured launch position, retained after source loss.
public Vec2 DeploymentOrigin { get; }
Property Value
ExpiresAt
Lifetime end in fixed game time.
public double ExpiresAt { get; }
Property Value
Id
Monotonically assigned deployment identifier.
public int Id { get; }
Property Value
IsArmed
Whether the arming event has been processed.
public bool IsArmed { get; }
Property Value
IsRemoving
Whether explicit removal is pending.
public bool IsRemoving { get; }
Property Value
Phase
Observable automatic-placement phase.
public DeploymentPhase Phase { get; }
Property Value
Plan
Automatic production plan, or null for legacy/manual traps.
public DeploymentPlanDef Plan { get; }
Property Value
Position
Fixed world position.
public Vec2 Position { get; }
Property Value
RemainingTriggers
Unconsumed activations.
public int RemainingTriggers { get; }
Property Value
SettleEndsAt
Landing preparation completion time, before the trap's arming delay.
public double SettleEndsAt { get; }
Property Value
SourceId
Optional owner/source entity.
public int SourceId { get; }
Property Value
TransitEndsAt
Flight completion time.
public double TransitEndsAt { get; }