Skip to content

IClientHud

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

public interface IClientHud

A resource’s text overlays and portable interactive panels. Item ids are local to the resource. Setting an existing id replaces it; items and subscriptions are removed automatically when the resource unloads.

IEventSource<HudAction> ActionInvoked { get; }
void Clear();
bool Remove(string id);

Parameters

  • id string

Returns bool

bool RemovePanel(string id);

Parameters

  • id string

Returns bool

void SetPanel(string id, HudPanel panel, HudPanelOptions? options = null);

Parameters

void SetText(string id, string text, HudTextOptions? options = null);

Parameters