quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs
2021-12-26 18:55:54 -08:00

13 lines
331 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 override void OnReceiveRemote() => WorldObject.FormState = Value;
}
}