2022-02-25 23:18:46 -08:00

11 lines
298 B
C#

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