mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
11 lines
342 B
C#
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);
|
|
} |