13 lines
552 B
C#
13 lines
552 B
C#
namespace NeonSprawl.Server.Game.Combat;
|
|
|
|
/// <summary>Authoritative HP snapshot for a session player (NEO-95).</summary>
|
|
/// <param name="PlayerId">Normalized lowercase player id.</param>
|
|
/// <param name="MaxHp">Prototype session max HP.</param>
|
|
/// <param name="CurrentHp">Current HP after NPC damage; floored at zero.</param>
|
|
/// <param name="Defeated"><c>true</c> when <paramref name="CurrentHp"/> is zero.</param>
|
|
public readonly record struct PlayerCombatHealthSnapshot(
|
|
string PlayerId,
|
|
int MaxHp,
|
|
int CurrentHp,
|
|
bool Defeated);
|