CharacterView
Read-only view of a Character. Returned from
AllCharacters and
GetCharacter(string). Name
is locale-resolved lazily on access.
public class CharacterView
Inheritance System.Object → CharacterView
Properties
Id
Writer’s human-readable character id (e.g. char_kim). Stable across runs; safe in expressions and analytics.
public string Id { get; }
Property Value
IsNpc
True for NPCs; false for player characters (seat-bound).
public bool IsNpc { get; }
Property Value
Name
Display name, resolved under the active locale on each access — a mid-run locale switch reflects on the next read. Serializes as its resolved string.
public string Name { get; }
Property Value
PlayerId
Seat index this character is bound to (single-player projects: 1).
public int PlayerId { get; }
Property Value
Uuid
Structural uuid — the universal cross-reference key. Use this when storing references to the character in host state.
public string Uuid { get; }