mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
# WindowSystem.cs
* Changed GetWindows() return type from Window[] to IReadOnlyList
This commit is contained in:
parent
b38894a8b1
commit
cbf9fbc8e2
1 changed files with 2 additions and 2 deletions
|
|
@ -92,10 +92,10 @@ namespace Dalamud.Interface.Windowing
|
|||
public Window? GetWindow(string windowName) => this.windows.FirstOrDefault(w => w.WindowName == windowName);
|
||||
|
||||
/// <summary>
|
||||
/// Returns an array of all currently registered windows.
|
||||
/// Returns a read only list of all currently registered windows.
|
||||
/// </summary>
|
||||
/// <returns>Returns window collection as a <see cref="Window"/> array.</returns>
|
||||
public Window[] GetWindows() => this.windows.ToArray();
|
||||
public IReadOnlyList GetWindows() => this.windows;
|
||||
|
||||
/// <summary>
|
||||
/// Draw all registered windows using ImGui.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue