mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 12:21:25 +00:00
14 lines
353 B
C#
14 lines
353 B
C#
using QSB.Messaging;
|
|
using QSB.Patches;
|
|
using QSB.ShipSync.WorldObjects;
|
|
|
|
namespace QSB.ShipSync.Messages;
|
|
|
|
internal class ShipLightMessage : QSBWorldObjectMessage<QSBShipLight, bool>
|
|
{
|
|
public ShipLightMessage(bool on) : base(on) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetOn(Data));
|
|
}
|