Skip to content
Version 2.11.0
↓ Get the launcher

WindowSpec.ShouldRender property

The single source of visibility truth (hide = !ShouldRender(), evaluated each apply ~10 Hz). Compiler-required: every WindowSpec MUST set it or the build fails. Read whatever you want — Phase, UiState, your own state — via the plugin’s captured services. Use () => true for always-on chrome, () => _services.ClientState.Phase == GamePhase.World for a gameplay window.

public Func<bool> ShouldRender { get; set; }