quantum-space-buddies/QSB/ZeroGCaveSync/Messages/SatelliteNodeRepairTickMessage.cs

11 lines
360 B
C#
Raw Normal View History

2021-12-24 21:14:23 -08:00
using QSB.Messaging;
using QSB.ZeroGCaveSync.WorldObjects;
2022-03-02 19:46:33 -08:00
namespace QSB.ZeroGCaveSync.Messages;
2023-07-28 19:30:57 +01:00
public class SatelliteNodeRepairTickMessage : QSBWorldObjectMessage<QSBSatelliteNode, float>
2021-12-24 21:14:23 -08:00
{
2022-03-10 17:57:50 -08:00
public SatelliteNodeRepairTickMessage(float repairFraction) : base(repairFraction) { }
2021-12-24 21:14:23 -08:00
2022-03-02 19:46:33 -08:00
public override void OnReceiveRemote() => WorldObject.RepairTick(Data);
}