mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 12:21:25 +00:00
13 lines
363 B
C#
13 lines
363 B
C#
using QSB.Messaging;
|
|
using QSB.ShipSync.WorldObjects;
|
|
|
|
namespace QSB.ShipSync.Messages.Component
|
|
{
|
|
internal class ComponentRepairTickMessage : QSBWorldObjectMessage<QSBShipComponent, float>
|
|
{
|
|
public ComponentRepairTickMessage(float repairFraction) => Value = repairFraction;
|
|
|
|
public override void OnReceiveRemote() => WorldObject.RepairTick(Value);
|
|
}
|
|
}
|