mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
11 lines
353 B
C#
11 lines
353 B
C#
using QSB.Messaging;
|
|
using QSB.ShipSync.WorldObjects;
|
|
|
|
namespace QSB.ShipSync.Messages.Component;
|
|
|
|
internal class ComponentRepairTickMessage : QSBWorldObjectMessage<QSBShipComponent, float>
|
|
{
|
|
public ComponentRepairTickMessage(float repairFraction) => Data = repairFraction;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.RepairTick(Data);
|
|
} |