first commit

This commit is contained in:
2025-07-06 00:23:46 +02:00
commit 38f50c8819
1788 changed files with 112878 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
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; }
/// <param name="id">The Cyclops id</param>
/// <param name="repairAmount">The amount to repair the damage by. A large repair amount is passed if the point is meant to be fully repaired</param>
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}]";
}
}
}