quantum-space-buddies/QSB/ShipSync/Messages/ShipLightMessage.cs

21 lines
430 B
C#
Raw Normal View History

2022-04-16 20:31:01 +00:00
using QSB.Messaging;
using QSB.ShipSync.WorldObjects;
using QSB.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QSB.ShipSync.Messages;
internal class ShipLightMessage : QSBWorldObjectMessage<QSBShipLight, bool>
{
public ShipLightMessage(bool on) : base(on) { }
public override void OnReceiveRemote()
{
WorldObject.SetOn(Data);
}
}