ProtectedawaitingProtectedcursorProtectedlocalProtectedmodeProtectednavigationProtectedonProtectedrowsProtectedsettingsProtectedtextProtectedtextProtectedtitleActivate the specified setting if it is activatable.
The setting to activate.
Whether the setting was successfully activated.
Processes input from a specified button. This method handles navigation through a UI menu, including movement through menu items and handling special actions like cancellation. Each button press may adjust the cursor position or the menu scroll, and plays a sound effect if the action was successful.
The button pressed by the user.
true if the action associated with the button was successfully processed, false otherwise.
ProtectedsetSet the option cursor to the specified position.
The index of the setting or -1 to change the current setting
The cursor position to set.
Optionalsave: booleanWhether to save the setting to local storage.
true if the option cursor was set successfully.
Optionalname: stringOptionaldelay: null | numberOptionalcallback: null | FunctionOptionalcallbackDelay: null | numberOptionalprompt: null | booleanOptionalpromptDelay: null | number
Abstract class for handling UI elements related to settings.