mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
13 lines
331 B
C#
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;
|
|||
|
}
|
|||
|
}
|