quantum-space-buddies/QSB/ElevatorSync/Messages/ElevatorMessage.cs

11 lines
311 B
C#
Raw Normal View History

2021-12-24 06:44:32 +00:00
using QSB.ElevatorSync.WorldObjects;
using QSB.Messaging;
2022-03-03 03:46:33 +00:00
namespace QSB.ElevatorSync.Messages;
public class ElevatorMessage : QSBWorldObjectMessage<QSBElevator, bool>
2021-12-24 06:44:32 +00:00
{
2022-03-11 01:57:50 +00:00
public ElevatorMessage(bool isGoingUp) : base(isGoingUp) { }
2021-12-24 06:44:32 +00:00
2022-03-03 03:46:33 +00:00
public override void OnReceiveRemote() => WorldObject.RemoteCall(Data);
2021-12-24 06:44:32 +00:00
}