quantum-space-buddies/QSB/JellyfishSync/Messages/JellyfishRisingMessage.cs

11 lines
327 B
C#
Raw Normal View History

2021-12-24 16:47:10 -08:00
using QSB.JellyfishSync.WorldObjects;
using QSB.Messaging;
2022-03-02 19:46:33 -08:00
namespace QSB.JellyfishSync.Messages;
public class JellyfishRisingMessage : QSBWorldObjectMessage<QSBJellyfish, bool>
2021-12-24 16:47:10 -08:00
{
2022-03-10 17:57:50 -08:00
public JellyfishRisingMessage(bool isRising) : base(isRising) { }
2021-12-24 16:47:10 -08:00
2022-03-02 19:46:33 -08:00
public override void OnReceiveRemote() => WorldObject.SetIsRising(Data);
}