diff --git a/Dalamud/Interface/Windowing/WindowSystem.cs b/Dalamud/Interface/Windowing/WindowSystem.cs index 0cb1a1514..21c94d2d4 100644 --- a/Dalamud/Interface/Windowing/WindowSystem.cs +++ b/Dalamud/Interface/Windowing/WindowSystem.cs @@ -91,6 +91,12 @@ namespace Dalamud.Interface.Windowing /// The object with matching name or null. public Window? GetWindow(string windowName) => this.windows.FirstOrDefault(w => w.WindowName == windowName); + /// + /// Returns an array of all currently registered windows. + /// + /// Returns window collection as a array. + public Window[] GetWindows() => this.windows.ToArray(); + /// /// Draw all registered windows using ImGui. ///