14 lines
349 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 : QSBBoolWorldObjectMessage<QSBElevator>
{
public ElevatorMessage(bool isGoingUp) => Value = isGoingUp;
public ElevatorMessage() { }
public override void OnReceiveRemote() => WorldObject.RemoteCall(Value);
}
}