Namespace Serenity.Character.InterfaceAdapters.ViewModels
Classes
CharacterViewModel
Runtime state for a single character instance. Extends the Domain CharacterState entity to centralize HP tracking and lifecycle logic, while implementing IViewModel for the presentation layer. Pure C# — no Unity dependencies. Identity is provided by CharacterId from Serenity.Character. Created by the Presenter from a Domain.Configuration.objectConfig at spawn time.