mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 18:35:34 +00:00
15 lines
371 B
C#
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;
|
|||
|
}
|
|||
|
}
|