mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
11 lines
312 B
C#
11 lines
312 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);
|
|
} |