mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
16 lines
372 B
C#
16 lines
372 B
C#
|
using QSB.JellyfishSync.WorldObjects;
|
|||
|
using QSB.Messaging;
|
|||
|
|
|||
|
namespace QSB.JellyfishSync.Messages
|
|||
|
{
|
|||
|
public class JellyfishRisingMessage : QSBBoolWorldObjectMessage<QSBJellyfish>
|
|||
|
{
|
|||
|
public JellyfishRisingMessage(bool isRising) => Value = isRising;
|
|||
|
|
|||
|
public JellyfishRisingMessage() { }
|
|||
|
|
|||
|
public override void OnReceiveRemote() => WorldObject.IsRising = Value;
|
|||
|
|
|||
|
}
|
|||
|
}
|