using QSB.ElevatorSync.WorldObjects; using QSB.Messaging; namespace QSB.ElevatorSync.Messages; public class ElevatorMessage : QSBWorldObjectMessage { public ElevatorMessage(bool isGoingUp) => Value = isGoingUp; public override void OnReceiveRemote() => WorldObject.RemoteCall(Value); }