add /xldata

This commit is contained in:
Raymond Lynch 2021-04-09 10:56:49 -04:00
parent 107924c7e2
commit d71e0b2188
3 changed files with 55 additions and 9 deletions

View file

@ -460,6 +460,16 @@ namespace Dalamud.Interface
this.dataWindow.IsOpen ^= true;
}
/// <summary>
/// Toggle the data window and preset the dropdown.
/// </summary>
internal void ToggleData(string dataKind)
{
this.dataWindow.IsOpen ^= true;
if (this.dataWindow.IsOpen)
this.dataWindow.SetDataKind(dataKind);
}
/// <summary>
/// Toggle the credits window.
/// </summary>