11 lines
291 B
C#
Raw Normal View History

2021-12-24 21:23:40 -08:00
using QSB.GeyserSync.WorldObjects;
using QSB.Messaging;
2022-03-02 19:46:33 -08:00
namespace QSB.GeyserSync.Messages;
public class GeyserMessage : QSBWorldObjectMessage<QSBGeyser, bool>
2021-12-24 21:23:40 -08:00
{
2022-03-10 17:57:50 -08:00
public GeyserMessage(bool state) : base(state) { }
2021-12-24 21:23:40 -08:00
2022-03-02 19:46:33 -08:00
public override void OnReceiveRemote() => WorldObject.SetState(Data);
2021-12-24 21:23:40 -08:00
}