API reference Obsidian.API.Registries
DialogRegistration record
A registered dialog.
public sealed record DialogRegistration : IEquatable<DialogRegistration>
In Obsidian.API.
Constructors
DialogRegistration(string, DialogElement, bool, bool)
public DialogRegistration(string Id, DialogElement Dialog, bool QuickAction, bool PauseScreen);A registered dialog.
Parameters
Id- The dialog's identifier.
Dialog- The dialog.
QuickAction- Whether the quick actions key opens it.
PauseScreen- Whether the pause menu links to it.
Properties
Dialog
public DialogElement Dialog { get; init; }The dialog.
Id
public string Id { get; init; }The dialog's identifier.
PauseScreen
public bool PauseScreen { get; init; }Whether the pause menu links to it.
QuickAction
public bool QuickAction { get; init; }Whether the quick actions key opens it.