mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 09:35:26 +00:00
14 lines
349 B
C#
14 lines
349 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|