quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs
2021-12-24 16:47:10 -08:00

15 lines
371 B
C#

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