quantum-space-buddies/QSB/JellyfishSync/Messages/JellyfishRisingMessage.cs
2021-12-24 16:47:10 -08:00

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;
}
}