mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +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);
|
|
}
|
|
}
|