mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
13 lines
332 B
C#
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);
|
|
}
|
|
}
|