mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
Add interfaces to non public/sealed classes referenced in public interfaces (#1808)
* Add interfaces to non public/sealed classes referenced in public interfaces * Fixed inheritdocs + made most classes internal * Add missing properties to IFate and Fate, fix documentation --------- Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
This commit is contained in:
parent
3994f528b8
commit
7947b896ea
55 changed files with 1466 additions and 584 deletions
|
|
@ -56,8 +56,8 @@ internal class CommandWidget : IDataWindowWidget
|
|||
? commands.OrderBy(kv => kv.Key).ToArray()
|
||||
: commands.OrderByDescending(kv => kv.Key).ToArray(),
|
||||
1 => sortSpecs.Specs.SortDirection == ImGuiSortDirection.Ascending
|
||||
? commands.OrderBy(kv => kv.Value.LoaderAssemblyName).ToArray()
|
||||
: commands.OrderByDescending(kv => kv.Value.LoaderAssemblyName).ToArray(),
|
||||
? commands.OrderBy(kv => commandManager.GetHandlerAssemblyName(kv.Key, kv.Value)).ToArray()
|
||||
: commands.OrderByDescending(kv => commandManager.GetHandlerAssemblyName(kv.Key, kv.Value)).ToArray(),
|
||||
_ => commands,
|
||||
};
|
||||
}
|
||||
|
|
@ -70,7 +70,7 @@ internal class CommandWidget : IDataWindowWidget
|
|||
ImGui.Text(command.Key);
|
||||
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.Text(command.Value.LoaderAssemblyName);
|
||||
ImGui.Text(commandManager.GetHandlerAssemblyName(command.Key, command.Value));
|
||||
|
||||
ImGui.TableNextColumn();
|
||||
ImGui.TextWrapped(command.Value.HelpMessage);
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ namespace Dalamud.Interface.Internal.Windows.Data.Widgets;
|
|||
/// </summary>
|
||||
internal class DtrBarWidget : IDataWindowWidget
|
||||
{
|
||||
private DtrBarEntry? dtrTest1;
|
||||
private DtrBarEntry? dtrTest2;
|
||||
private DtrBarEntry? dtrTest3;
|
||||
private IDtrBarEntry? dtrTest1;
|
||||
private IDtrBarEntry? dtrTest2;
|
||||
private IDtrBarEntry? dtrTest3;
|
||||
|
||||
/// <inheritdoc/>
|
||||
public string[]? CommandShortcuts { get; init; } = { "dtr", "dtrbar" };
|
||||
|
|
@ -51,7 +51,7 @@ internal class DtrBarWidget : IDataWindowWidget
|
|||
}
|
||||
}
|
||||
|
||||
private void DrawDtrTestEntry(ref DtrBarEntry? entry, string title)
|
||||
private void DrawDtrTestEntry(ref IDtrBarEntry? entry, string title)
|
||||
{
|
||||
var dtrBar = Service<DtrBar>.Get();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue