ProjectMetadata
Static project-level facts (name, uuid, schema version, source locale, etc.). Snapshot taken once at runtime construction — does not track mid-session mutations to the underlying project.
public readonly struct ProjectMetadata
Properties
CloseOnTransition
Whether scene transitions close the previous scene by default.
public bool CloseOnTransition { get; }
Property Value
DefaultHideWhenResolved
Project-level default for StoryBonsai.Runtime.Models.Scene.HideWhenResolved when “inherit”.
public bool DefaultHideWhenResolved { get; }
Property Value
DefaultModal
Project-level default for StoryBonsai.Runtime.Models.Scene.Modal when “inherit”.
public bool DefaultModal { get; }
Property Value
EntrySceneId
Uuid of the entry scene (the scene Start activates).
public string? EntrySceneId { get; }
Property Value
Id
Writer-facing project id (human-readable).
public string Id { get; }
Property Value
Name
Project display name.
public string Name { get; }
Property Value
NumPlayers
Number of seats this project expects. 1 = single-player.
public int NumPlayers { get; }
Property Value
OutroNodeId
Optional orphan-node uuid whose events fire on completeProject.
public string? OutroNodeId { get; }
Property Value
ProjectVersion
Optional writer-set release/version tag for the content itself.
public string? ProjectVersion { get; }
Property Value
SchemaVersion
Project file schema version (e.g. “5.2.0”).
public string SchemaVersion { get; }
Property Value
SourceLocale
Locale used as the source-of-truth for authored strings.
public string SourceLocale { get; }
Property Value
StartingLocationId
Optional starting location uuid; applied during Start.
public string? StartingLocationId { get; }
Property Value
Uuid
Internal stable identifier — survives renames.
public string Uuid { get; }