11 lines
326 B
C#
Raw Normal View History

2022-01-11 17:42:13 -08:00
using QSB.Messaging;
using QSB.QuantumSync.WorldObjects;
namespace QSB.QuantumSync.Messages;
public class SetIsQuantumMessage : QSBWorldObjectMessage<IQSBQuantumObject, bool>
2022-01-11 17:42:13 -08:00
{
public SetIsQuantumMessage(bool isQuantum) => Value = isQuantum;
2022-01-11 17:42:13 -08:00
public override void OnReceiveRemote() => WorldObject.SetIsQuantum(Value);
}