mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
12 lines
319 B
C#
12 lines
319 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);
|
|
}
|
|
} |