Skip to content

API reference Obsidian.API.Registry.Codecs.Dialogs

DialogElement record

public sealed record DialogElement : INbtSerializable, IEquatable<DialogElement>

In Obsidian.API.

Constructors

public DialogElement();

Properties

public DialogAction Action { get; set; }public ImmutableArray<DialogAction> Actions { get; set; }public string AfterAction { get; set; }public ImmutableArray<DialogBody> Body { get; set; }public int ButtonWidth { get; set; }public bool CanCloseWithEscape { get; set; }public int Columns { get; set; }public ImmutableArray<string> DialogIds { get; set; }public string Dialogs { get; set; }public DialogAction ExitAction { get; set; }public ChatMessage ExternalTitle { get; set; }public ImmutableArray<DialogInput> Inputs { get; set; }public DialogAction No { get; set; }public bool Pause { get; set; }public required ChatMessage Title { get; set; }public required string Type { get; init; }public DialogAction Yes { get; set; }

Methods

public void Validate();public void Write(INbtWriter writer);

On this page