quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs
2022-02-25 23:18:46 -08:00

11 lines
325 B
C#

using QSB.Messaging;
using QSB.TornadoSync.WorldObjects;
namespace QSB.TornadoSync.Messages;
public class TornadoFormStateMessage : QSBWorldObjectMessage<QSBTornado, bool>
{
public TornadoFormStateMessage(bool formState) => Value = formState;
public override void OnReceiveRemote() => WorldObject.FormState = Value;
}