2021-12-23 22:47:36 -08:00

14 lines
349 B
C#

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