quantum-space-buddies/QSB/QuantumSync/Messages/QuantumShuffleMessage.cs
2022-03-02 19:46:33 -08:00

11 lines
342 B
C#

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