Static eventReadonly flippedWhether this switch is flipped.
Readonly messageThe message that this event originated from.
Readonly playerThe player that flipped the switch. Only available if the client is the host.
Readonly roomThe room or client that the event came from.
Readonly switchThe ID of the switch that was flipped (from left-to-right, starting at 0).
Readonly switchsystemThe electrical system that the event is for.
The alternate value of the switch, if changed.
The ID of the alternate switch to flip, if changed.
The player that flipped the switch. Only available if the client is the host.
The ID of the switch that was flipped (from left-to-right, starting at 0).
Whether this switch is flipped.
Generated using TypeDoc
Emitted when a player flips a switch while Electrical is sabotaged.