quantum-space-buddies/QSB/QuantumSync/Messages/QuantumShuffleMessage.cs

11 lines
343 B
C#
Raw Normal View History

using QSB.Messaging;
2021-12-25 22:04:46 -08:00
using QSB.QuantumSync.WorldObjects;
2021-01-01 10:17:35 +00:00
2022-03-02 19:46:33 -08:00
namespace QSB.QuantumSync.Messages;
internal class QuantumShuffleMessage : QSBWorldObjectMessage<QSBQuantumShuffleObject, int[]>
2021-01-01 10:17:35 +00:00
{
2022-03-10 17:57:50 -08:00
public QuantumShuffleMessage(int[] indexArray) : base(indexArray) { }
2021-01-01 10:17:35 +00:00
2022-03-02 19:46:33 -08:00
public override void OnReceiveRemote() => WorldObject.ShuffleObjects(Data);
}