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

13 lines
336 B
C#
Raw Normal View History

2021-12-25 00:47:10 +00:00
using QSB.JellyfishSync.WorldObjects;
using QSB.Messaging;
namespace QSB.JellyfishSync.Messages
{
2022-01-27 04:35:43 +00:00
public class JellyfishRisingMessage : QSBWorldObjectMessage<QSBJellyfish, bool>
2021-12-25 00:47:10 +00:00
{
public JellyfishRisingMessage(bool isRising) => Value = isRising;
public override void OnReceiveRemote() => WorldObject.SetIsRising(Value);
2021-12-25 00:47:10 +00:00
}
}