namespace Cthangover.Core.Events
{
///
/// Published when a character dies in combat. Payload copies data
/// as strings — does not pass a live Node (may be freed by the time
/// deferred subscribers are called).
///
[EventKey("character_died")]
public class CharacterDiedEvent : ModEvent
{
/// Template id of the character that died.
public string CharacterId { get; init; }
/// Display name at time of death (resolved locale string).
public string CharacterName { get; init; }
/// Free-form id of the reporting battle system.
public string Source { get; init; }
}
}