quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
324 B
C#

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