mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 04:10:36 +00:00
13 lines
333 B
C#
13 lines
333 B
C#
using QSB.Messaging;
|
|
using QSB.TornadoSync.WorldObjects;
|
|
|
|
namespace QSB.TornadoSync.Messages
|
|
{
|
|
public class TornadoFormStateMessage : QSBWorldObjectMessage<QSBTornado, bool>
|
|
{
|
|
public TornadoFormStateMessage(bool formState) => Value = formState;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.FormState = Value;
|
|
}
|
|
}
|