2022-02-25 23:18:46 -08:00

11 lines
326 B
C#

using QSB.Messaging;
using QSB.QuantumSync.WorldObjects;
namespace QSB.QuantumSync.Messages;
public class SetIsQuantumMessage : QSBWorldObjectMessage<IQSBQuantumObject, bool>
{
public SetIsQuantumMessage(bool isQuantum) => Value = isQuantum;
public override void OnReceiveRemote() => WorldObject.SetIsQuantum(Value);
}