11 lines
312 B
C#
Raw Normal View History

2021-12-23 22:44:32 -08:00
using QSB.ElevatorSync.WorldObjects;
using QSB.Messaging;
namespace QSB.ElevatorSync.Messages;
public class ElevatorMessage : QSBWorldObjectMessage<QSBElevator, bool>
2021-12-23 22:44:32 -08:00
{
public ElevatorMessage(bool isGoingUp) => Value = isGoingUp;
2021-12-23 22:44:32 -08:00
public override void OnReceiveRemote() => WorldObject.RemoteCall(Value);
2021-12-23 22:44:32 -08:00
}