quantum-space-buddies/QSB/GeyserSync/Messages/GeyserMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
291 B
C#

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