Namespace Serenity.Character.Domain.ValueObjects
Classes
CharacterSnapshot
Immutable snapshot of a character's generic state. Contains only character-level data (identity, status, health). Specialized character types (e.g., Character) inherit from this class to add their own fields. Uses a class instead of a struct to support inheritance.
Structs
CharacterId
Unique identifier for a character instance. GUID-based, engine-agnostic. Designed for future migration to Serenity.
CharacterSpawnAttempt
What came of asking for one character: the spawned character's identity, or a refusal — and, for a refusal, whether the spawn service already told the author why. A caller that forfeits what was refused reads IsRefusalReported to decide whether it still has something to say: a reported refusal has its one author-facing line already, and repeating it only buries the cause.