mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
13 lines
341 B
C#
13 lines
341 B
C#
|
using QSB.Messaging;
|
|||
|
using QSB.ShipSync.WorldObjects;
|
|||
|
|
|||
|
namespace QSB.ShipSync.Messages.Hull
|
|||
|
{
|
|||
|
internal class HullRepairTickMessage : QSBFloatWorldObjectMessage<QSBShipHull>
|
|||
|
{
|
|||
|
public HullRepairTickMessage(float repairFraction) => Value = repairFraction;
|
|||
|
|
|||
|
public override void OnReceiveRemote() => WorldObject.RepairTick(Value);
|
|||
|
}
|
|||
|
}
|