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
Type | Name | Description |
---|---|---|
System.String | title | A user-friendly name for sorting. |
Dalamud.Game.Text.SeStringHandling.SeString | text | The 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
Type | Name | Description |
---|---|---|
System.String | title | Title of the entry to remove. |