2022-01-26 20:35:43 -08:00

12 lines
299 B
C#

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