13 lines
569 B
C#
13 lines
569 B
C#
namespace NeonSprawl.Server.Game.Combat;
|
|
|
|
/// <summary>Authoritative HP snapshot for a prototype combat target (NEO-80).</summary>
|
|
/// <param name="TargetId">Normalized lowercase target id.</param>
|
|
/// <param name="MaxHp">Catalog max HP for prototype dummies.</param>
|
|
/// <param name="CurrentHp">Current HP after damage; floored at zero.</param>
|
|
/// <param name="Defeated"><c>true</c> when <paramref name="CurrentHp"/> is zero.</param>
|
|
public readonly record struct CombatEntityHealthSnapshot(
|
|
string TargetId,
|
|
int MaxHp,
|
|
int CurrentHp,
|
|
bool Defeated);
|