quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs
2022-03-02 19:46:33 -08:00

11 lines
323 B
C#

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