2022-01-27 00:32:30 -08:00
|
|
|
|
using QSB.Messaging;
|
2021-12-25 22:04:46 -08:00
|
|
|
|
using QSB.QuantumSync.WorldObjects;
|
2021-01-01 10:17:35 +00:00
|
|
|
|
|
2022-02-27 04:40:44 -08:00
|
|
|
|
namespace QSB.QuantumSync.Messages
|
2021-01-01 10:17:35 +00:00
|
|
|
|
{
|
2022-02-27 04:40:44 -08:00
|
|
|
|
internal class QuantumShuffleMessage : QSBWorldObjectMessage<QSBQuantumShuffleObject, int[]>
|
|
|
|
|
{
|
2022-03-02 19:34:18 -08:00
|
|
|
|
public QuantumShuffleMessage(int[] indexArray) => Data = indexArray;
|
2021-01-01 10:17:35 +00:00
|
|
|
|
|
2022-03-02 19:34:18 -08:00
|
|
|
|
public override void OnReceiveRemote() => WorldObject.ShuffleObjects(Data);
|
2022-02-27 04:40:44 -08:00
|
|
|
|
}
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|