quantum-space-buddies/QSB/ZeroGCaveSync/Messages/SatelliteNodeRepairTickMessage.cs
2023-07-28 19:30:57 +01:00

11 lines
360 B
C#

using QSB.Messaging;
using QSB.ZeroGCaveSync.WorldObjects;
namespace QSB.ZeroGCaveSync.Messages;
public class SatelliteNodeRepairTickMessage : QSBWorldObjectMessage<QSBSatelliteNode, float>
{
public SatelliteNodeRepairTickMessage(float repairFraction) : base(repairFraction) { }
public override void OnReceiveRemote() => WorldObject.RepairTick(Data);
}