12 lines
299 B
C#
Raw Normal View History

2021-12-24 21:23:40 -08:00
using QSB.GeyserSync.WorldObjects;
using QSB.Messaging;
namespace QSB.GeyserSync.Messages
{
2022-01-26 20:35:43 -08:00
public class GeyserMessage : QSBWorldObjectMessage<QSBGeyser, bool>
2021-12-24 21:23:40 -08:00
{
public GeyserMessage(bool state) => Value = state;
public override void OnReceiveRemote() => WorldObject.SetState(Value);
}
}