quantum-space-buddies/QSB/OrbSync/Messages/OrbDragMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
297 B
C#

using QSB.Messaging;
using QSB.OrbSync.WorldObjects;
namespace QSB.OrbSync.Messages;
public class OrbDragMessage : QSBWorldObjectMessage<QSBOrb, bool>
{
public OrbDragMessage(bool isDragging) : base(isDragging) { }
public override void OnReceiveRemote() => WorldObject.SetDragging(Data);
}