mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 04:10:36 +00:00
13 lines
363 B
C#
13 lines
363 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() => ((QuantumObject)WorldObject.ReturnObject())._isQuantum = Value;
|
|||
|
}
|
|||
|
}
|