using System;
using NitroxModel.DataStructures;
using NitroxModel.Packets;
namespace NitroxModel_Subnautica.Packets
{
[Serializable]
public class CyclopsDamagePointRepaired : Packet
{
public NitroxId Id { get; }
public int DamagePointIndex { get; }
public float RepairAmount { get; }
/// The Cyclops id
/// The amount to repair the damage by. A large repair amount is passed if the point is meant to be fully repaired
public CyclopsDamagePointRepaired(NitroxId id, int damagePointIndex, float repairAmount)
{
Id = id;
DamagePointIndex = damagePointIndex;
RepairAmount = repairAmount;
}
public override string ToString()
{
return $"[CyclopsDamagePointRepaired - Id: {Id}, DamagePointIndex: {DamagePointIndex}, RepairAmount: {RepairAmount}]";
}
}
}