|
Window Framework for UI Toolkit v2.0.x
|
Owns a bounded discovery snapshot of valid player theme folders. More...


Data Structures | |
| class | RejectedEntry |
| One rejected folder and its fatal validation explanation. More... | |
Public Member Functions | |
| void | Dispose () |
| Releases owned themes after all consumers have released their UI references. | |
| bool | TryGet (string id, out PlayerThemeFolder theme) |
| Looks up a stable player ID, without using display names or indices. | |
Static Public Member Functions | |
| static bool | TryDiscover (string root, out PlayerThemeCatalog catalog, out string error, PlayerThemeExtensionRegistry extensions=null) |
| Discovers immediate folders; missing root is a valid empty catalog. | |
Static Public Attributes | |
| const int | MaximumFolders = 100 |
| Maximum immediate folders considered in one discovery operation. | |
| const int | MaximumLoadedThemes = 100 |
| Maximum successfully retained themes per catalog (bounds aggregate texture memory). | |
Properties | |
| IReadOnlyList< string > | Diagnostics [get, private set] |
| Gets bounded diagnostics for skipped entries. | |
| bool | IsDisposed [get, private set] |
| Gets whether all owned folders have been released. | |
| IReadOnlyList< RejectedEntry > | Rejected [get] |
| Unavailable folders with bounded fatal reports; never selectable. | |
| IReadOnlyList< PlayerThemeFolder > | Themes [get] |
| Gets owned valid themesin ordinal folder-name order. | |
Private Attributes | |
| readonly List< RejectedEntry > | _rejected = new List<RejectedEntry>() |
| readonly List< PlayerThemeFolder > | _themes = new List<PlayerThemeFolder>() |
Owns a bounded discovery snapshot of valid player theme folders.
Does not modify built-in theme assets or the selected theme. Owners create a new snapshot, resolve selection, release old UI bindings, then dispose the previous snapshot. Duplicate IDs reject every ambiguous entry, independent of directory enumeration order. Discovery is explicitly requested, never polled each frame.
|
inline |
Releases owned themes after all consumers have released their UI references.

|
inlinestatic |
Discovers immediate folders; missing root is a valid empty catalog.
| root | Configured player-theme root; no directory is created here. |
| catalog | Owned snapshot on success. |
| error | Root-level failure. |
| extensions | Same compiled registry used by application/exports, or null for opaque unregistered sections. |
Null or nonexistent root succeeds as an empty catalog without creating directories. Existing roots are validated for unsafe reparse/link access. Discovery eagerly loads valid folders and enforces immediate-folder/aggregate-image limits; this is not a lazy-on-selection loader. A root/budget failure returns false and disposes the pending snapshot; the caller must retain its previous active catalog. Individual invalid folders appear in Rejected.


|
inline |
Looks up a stable player ID, without using display names or indices.
| id | Validated stable ID. |
| theme | Matching owned folder. |

|
private |
|
private |
|
static |
Maximum immediate folders considered in one discovery operation.
|
static |
Maximum successfully retained themes per catalog (bounds aggregate texture memory).
|
getprivate set |
Gets bounded diagnostics for skipped entries.
|
getprivate set |
Gets whether all owned folders have been released.
|
get |
Unavailable folders with bounded fatal reports; never selectable.
|
get |
Gets owned valid themesin ordinal folder-name order.