mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-28 18:25:18 +00:00
21 lines
430 B
C#
21 lines
430 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|