quantum-space-buddies/QSB/JellyfishSync/Messages/JellyfishRisingMessage.cs
2021-12-26 18:55:54 -08:00

14 lines
333 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 override void OnReceiveRemote() => WorldObject.IsRising = Value;
}
}