using QSB.Messaging; using QSB.ShipSync.WorldObjects; namespace QSB.ShipSync.Messages.Component { internal class ComponentRepairTickMessage : QSBFloatWorldObjectMessage { public ComponentRepairTickMessage(float repairFraction) => Value = repairFraction; public ComponentRepairTickMessage() { } public override void OnReceiveRemote() => WorldObject.RepairTick(Value); } }