Skip to main content

Interface IDtrBar

Class used to interface with the server info bar.

Assembly: Dalamud.dll
View Source
Declaration
public interface IDtrBar

Properties

Entries

Gets a read-only copy of the list of all DTR bar entries.

View Source
Declaration
IReadOnlyList<IReadOnlyDtrBarEntry> Entries { get; }

Methods

Get(string, SeString?)

Get a DTR bar entry. This allows you to add your own text, and users to sort it.

View Source
Declaration
IDtrBarEntry Get(string title, SeString? text = null)
Returns

Dalamud.Game.Gui.Dtr.IDtrBarEntry: The entry object used to update, hide and remove the entry.

Parameters
TypeNameDescription
System.StringtitleA user-friendly name for sorting.
Dalamud.Game.Text.SeStringHandling.SeStringtextThe text the entry shows.
Exceptions

System.ArgumentException
Thrown when an entry with the specified title exists.

Remove(string)

Removes a DTR bar entry from the system.

View Source
Declaration
void Remove(string title)
Parameters
TypeNameDescription
System.StringtitleTitle of the entry to remove.