13 lines
334 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
{
2022-01-26 20:35:43 -08:00
public class SetIsQuantumMessage : QSBWorldObjectMessage<IQSBQuantumObject, bool>
2022-01-11 17:42:13 -08:00
{
public SetIsQuantumMessage(bool isQuantum) => Value = isQuantum;
public override void OnReceiveRemote() => WorldObject.SetIsQuantum(Value);
2022-01-11 17:42:13 -08:00
}
}