Struct SwitchStateBroadcast
Server → Client broadcast when a switch is toggled. Communicates the new state.
public struct SwitchStateBroadcast : IBroadcast
- Implements
-
IBroadcast
- Inherited Members
Fields
Activated
True if the switch target is now activated.
public bool Activated
Field Value
ChangeTick
The server tick the change began at, for a target that plays it out (ITimedSwitchTarget).
public uint ChangeTick
Field Value
ChangeTravel
How far along its travel that target stood when the change began, 0..1.
public float ChangeTravel
Field Value
InteractableID
ID of the switch interactable.
public long InteractableID
Field Value
SolidTick
The server tick its resting pose turns solid from (SolidTick; 0: not yet).
public uint SolidTick