14 lines
353 B
C#
Raw Normal View History

2022-04-16 21:31:01 +01:00
using QSB.Messaging;
using QSB.Patches;
2022-04-16 21:31:01 +01:00
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));
2022-04-16 21:31:01 +01:00
}