Skip to main content

Struct ImGuiId

Represents any type of ImGui ID.

Assembly: Dalamud.dll
View Source
Declaration
public readonly ref struct ImGuiId

Fields

IdType

Type of the ID.

View Source
Declaration
public readonly ImGuiId.Type IdType

Numeric

Numeric ID. Valid if Dalamud.Interface.Utility.ImGuiId.IdType is Dalamud.Interface.Utility.ImGuiId.Type.Numeric.

View Source
Declaration
public readonly nint Numeric

U16

UTF-16 string ID. Valid if Dalamud.Interface.Utility.ImGuiId.IdType is Dalamud.Interface.Utility.ImGuiId.Type.U16.

View Source
Declaration
public readonly ReadOnlySpan<char> U16

U8

UTF-8 string ID. Valid if Dalamud.Interface.Utility.ImGuiId.IdType is Dalamud.Interface.Utility.ImGuiId.Type.U8.

View Source
Declaration
public readonly ReadOnlySpan<byte> U8

Methods

IsEmpty()

Determines if no ID is stored.

View Source
Declaration
public bool IsEmpty()
Returns

System.Boolean: true if no ID is stored.### PushId() Pushes ID if any is stored.

View Source
Declaration
public bool PushId()
Returns

System.Boolean: true if any ID is pushed.