11 lines
324 B
C#
Raw Normal View History

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