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

11 lines
362 B
C#
Raw Normal View History

2021-12-25 05:14:23 +00:00
using QSB.Messaging;
using QSB.ZeroGCaveSync.WorldObjects;
2022-03-03 03:46:33 +00:00
namespace QSB.ZeroGCaveSync.Messages;
internal class SatelliteNodeRepairTickMessage : QSBWorldObjectMessage<QSBSatelliteNode, float>
2021-12-25 05:14:23 +00:00
{
2022-03-11 01:57:50 +00:00
public SatelliteNodeRepairTickMessage(float repairFraction) : base(repairFraction) { }
2021-12-25 05:14:23 +00:00
2022-03-03 03:46:33 +00:00
public override void OnReceiveRemote() => WorldObject.RepairTick(Data);
}