mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-08 09:41:07 +00:00
11 lines
296 B
C#
11 lines
296 B
C#
using QSB.Messaging;
|
|
using QSB.OrbSync.WorldObjects;
|
|
|
|
namespace QSB.OrbSync.Messages;
|
|
|
|
public class OrbDragMessage : QSBWorldObjectMessage<QSBOrb, bool>
|
|
{
|
|
public OrbDragMessage(bool isDragging) => Data = isDragging;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.SetDragging(Data);
|
|
} |