Tweak class
Base tweak class.
Classes that extend Tweak
Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the tweak used for setting. |
name | string | User friendly name for this setting. |
author | string | The user who created this tweak. |
description | string | Description of this setting. |
category | string | The category in settings. |
condition | string | Conditions to match to show this tweak. |
Methods
delete
Delete this tweak with its setting and deleteables.
disable
Disable this tweak.
enable
Enable this tweak.
install
Install this tweak.
WARNING
Do not override! You should override onInstall instead.
load
Load this tweak.
onInstall
Called when this plugin is installed.
onLoad
Called when this tweak is loaded.
onUninstall
Called when this plugin is uninstalled.
onUnload
Called when this tweak is unloaded.
uninstall
Uninstall this tweak.
WARNING
Do not override! You should override onUninstall instead.
unload
Unload this tweak.
setup
Called when this tweak is created.