quantum-space-buddies/QSB/GeyserSync/Messages/GeyserMessage.cs
2021-12-26 18:55:54 -08:00

12 lines
297 B
C#

using QSB.GeyserSync.WorldObjects;
using QSB.Messaging;
namespace QSB.GeyserSync.Messages
{
public class GeyserMessage : QSBBoolWorldObjectMessage<QSBGeyser>
{
public GeyserMessage(bool state) => Value = state;
public override void OnReceiveRemote() => WorldObject.SetState(Value);
}
}