IClientHud
Interface · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll
public interface IClientHudA 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.
Properties
Section titled “Properties”ActionInvoked
Section titled “ActionInvoked”IEventSource<HudAction> ActionInvoked { get; }Methods
Section titled “Methods”void Clear();Remove
Section titled “Remove”bool Remove(string id);Parameters
idstring
Returns bool
RemovePanel
Section titled “RemovePanel”bool RemovePanel(string id);Parameters
idstring
Returns bool
SetPanel
Section titled “SetPanel”void SetPanel(string id, HudPanel panel, HudPanelOptions? options = null);Parameters
idstringpanelHudPaneloptionsHudPanelOptions?
SetText
Section titled “SetText”void SetText(string id, string text, HudTextOptions? options = null);Parameters
idstringtextstringoptionsHudTextOptions?
