Skip to content

HudButton

Record · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public sealed record HudButton(string Id, string Label, HudTone Tone = HudTone.Accent, bool Enabled = true)

An action rendered by the host and reported through IClientHud.ActionInvoked.

public bool Enabled { get; init; }
public string Id { get; init; }
public string Label { get; init; }
public HudTone Tone { get; init; }