quantum-space-buddies/QSB/ElevatorSync/Messages/ElevatorMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
311 B
C#

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