Skip to main content
Version: 15.x (API 15) [Current]

Struct ImGuiId

Represents any type of ImGui ID.

Assembly: Dalamud.dll​
Declaration
public readonly ref struct ImGuiId

Fields​

IdType​

Type of the ID.

Declaration
public readonly ImGuiId.Type IdType

Numeric​

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

Declaration
public readonly nint Numeric

U16​

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

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.

Declaration
public readonly ReadOnlySpan<byte> U8

Methods​

IsEmpty()​

Determines if no ID is stored.

Declaration
public bool IsEmpty()
Returns​

System.Boolean: true if no ID is stored.

PushId()​

Pushes ID if any is stored.

Declaration
public bool PushId()
Returns​

System.Boolean: true if any ID is pushed.