Class TitleScreenMenuEntry
Class representing an entry in the title screen menu.
Assembly: Dalamud.dll
View Source
public class TitleScreenMenuEntry : ITitleScreenMenuEntry, IReadOnlyTitleScreenMenuEntry, IComparable<TitleScreenMenuEntry>
Implements:
Dalamud.Interface.ITitleScreenMenuEntry, Dalamud.Interface.IReadOnlyTitleScreenMenuEntry, System.IComparable<Dalamud.Interface.TitleScreenMenuEntry>
Properties
Priority
Gets the priority of this entry.
View Source
public ulong Priority { get; init; }
Name
Gets the name of this entry.
View Source
public string Name { get; set; }
Texture
Gets the texture of this entry.
View Source
public IDalamudTextureWrap Texture { get; set; }
IsInternal
Gets or sets a value indicating whether or not this entry is internal.
View Source
public bool IsInternal { get; set; }
CallingAssembly
Gets the calling assembly of this entry.
View Source
public Assembly? CallingAssembly { get; init; }
Id
Gets the internal ID of this entry.
View Source
public Guid Id { get; init; }
ShowConditionKeys
Gets the keys that have to be pressed to show the menu.
View Source
public IReadOnlySet<VirtualKey> ShowConditionKeys { get; init; }
Methods
CompareTo(TitleScreenMenuEntry?)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
View Source
public int CompareTo(TitleScreenMenuEntry? other)
Returns
System.Int32
: A value that indicates the relative order of the objects being compared. The return value has these meanings:
<table><thead><tr><th class="term"> Value</th><th class="description"> Meaning</th></tr></thead><tbody><tr><td class="term"> Less than zero</td><td class="description"> This instance precedes <code class="paramref">other</code> in the sort order.</td></tr><tr><td class="term"> Zero</td><td class="description"> This instance occurs in the same position in the sort order as <code class="paramref">other</code>.</td></tr><tr><td class="term"> Greater than zero</td><td class="description"> This instance follows <code class="paramref">other</code> in the sort order.</td></tr></tbody></table>
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Interface.TitleScreenMenuEntry | other | An object to compare with this instance. |
IsShowConditionSatisfied()
Determines the displaying condition of this menu entry is met.
View Source
public bool IsShowConditionSatisfied()
Returns
System.Boolean
: True if met.### Trigger()
Trigger the action associated with this entry.
View Source
public void Trigger()
Implements
- Dalamud.Interface.ITitleScreenMenuEntry
- Dalamud.Interface.IReadOnlyTitleScreenMenuEntry
System.IComparable<Dalamud.Interface.TitleScreenMenuEntry>