quantum-space-buddies/QSB/TornadoSync/Messages/TornadoFormStateMessage.cs

13 lines
331 B
C#
Raw Normal View History

2021-12-25 00:47:10 +00:00
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;
}
}