RegisterSettingsPage Function

Registers a callback to render a settings page in the settings window.

Syntax

void RegisterSettingsPage(
const string&in title,
RenderSettingsPage@ renderCallback
)

Parameters

const string&in title
The title of the settings page. This is a unique identifier for the page.

RenderSettingsPage@ renderCallback
The render callback that draws the settings page.

Return value

None.

Remarks

Use RenderSettingsPage to render a settings page for your plugin. This maybe the place for additional settings or functionality your plugin exposes. If your plugin provides a bruteforce evaluation method, use RegisterBruteforceEvaluation or RegisterValidationHandler instead.