quantum-space-buddies/QSB/QuantumSync/Messages/SetIsQuantumMessage.cs
2022-01-11 19:21:45 -08:00

13 lines
332 B
C#

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