quantum-space-buddies/QSB/ZeroGCaveSync/Messages/SatelliteNodeRepairTickMessage.cs
2022-03-10 17:57:50 -08:00

11 lines
362 B
C#

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