quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs
2022-01-26 20:35:43 -08:00

13 lines
333 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;
}
}