quantum-space-buddies/QSB/QuantumSync/Messages/QuantumShuffleMessage.cs
2022-01-27 00:32:30 -08:00

13 lines
352 B
C#

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