mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-28 14:53:55 +00:00
13 lines
332 B
C#
13 lines
332 B
C#
using QSB.Messaging;
|
|
using QSB.QuantumSync.WorldObjects;
|
|
|
|
namespace QSB.QuantumSync.Messages
|
|
{
|
|
internal class MoveSkeletonMessage : QSBWorldObjectMessage<QSBQuantumSkeletonTower, int>
|
|
{
|
|
public MoveSkeletonMessage(int index) => Value = index;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.MoveSkeleton(Value);
|
|
}
|
|
}
|