quantum-space-buddies/QSB/QuantumSync/Messages/QuantumShuffleMessage.cs
2023-07-28 19:30:57 +01:00

11 lines
341 B
C#

using QSB.Messaging;
using QSB.QuantumSync.WorldObjects;
namespace QSB.QuantumSync.Messages;
public class QuantumShuffleMessage : QSBWorldObjectMessage<QSBQuantumShuffleObject, int[]>
{
public QuantumShuffleMessage(int[] indexArray) : base(indexArray) { }
public override void OnReceiveRemote() => WorldObject.ShuffleObjects(Data);
}