mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
13 lines
306 B
C#
13 lines
306 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);
|
|
}
|
|
}
|