quantum-space-buddies/QSB/JellyfishSync/Messages/JellyfishRisingMessage.cs
2022-01-26 20:35:43 -08:00

13 lines
336 B
C#

using QSB.JellyfishSync.WorldObjects;
using QSB.Messaging;
namespace QSB.JellyfishSync.Messages
{
public class JellyfishRisingMessage : QSBWorldObjectMessage<QSBJellyfish, bool>
{
public JellyfishRisingMessage(bool isRising) => Value = isRising;
public override void OnReceiveRemote() => WorldObject.SetIsRising(Value);
}
}