2022-02-25 23:18:46 -08:00

11 lines
292 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);
}