quantum-space-buddies/QSB/QuantumSync/Messages/SetIsQuantumMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
325 B
C#

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