2022-01-26 20:35:43 -08:00

12 lines
319 B
C#

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