using QSB.Messaging; using QSB.ShipSync.WorldObjects; namespace QSB.ShipSync.Messages; public class ShipLightMessage : QSBWorldObjectMessage { public ShipLightMessage(bool on) : base(on) { } public override void OnReceiveRemote() => WorldObject.AttachedObject.SetOn(Data); }