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

System.String

IsNpc

True for NPCs; false for player characters (seat-bound).

public bool IsNpc { get; }
Property Value

System.Boolean

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

System.String

PlayerId

Seat index this character is bound to (single-player projects: 1).

public int PlayerId { get; }
Property Value

System.Int32

Uuid

Structural uuid — the universal cross-reference key. Use this when storing references to the character in host state.

public string Uuid { get; }
Property Value

System.String

Docs last synced: 2026-07-08
Screenshot viewer