mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
13 lines
371 B
C#
13 lines
371 B
C#
using QSB.Messaging;
|
|
using QSB.ZeroGCaveSync.WorldObjects;
|
|
|
|
namespace QSB.ZeroGCaveSync.Messages
|
|
{
|
|
internal class SatelliteNodeRepairTickMessage : QSBWorldObjectMessage<QSBSatelliteNode, float>
|
|
{
|
|
public SatelliteNodeRepairTickMessage(float repairFraction) => Value = repairFraction;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.RepairTick(Value);
|
|
}
|
|
}
|