quantum-space-buddies/QSB/QuantumSync/Messages/SetIsQuantumMessage.cs

11 lines
325 B
C#
Raw Normal View History

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