diff options
| author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-17 23:47:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-17 23:47:59 +0800 |
| commit | 364caae9b6e47b8d5e1bab950aebc5b35bc4baad (patch) | |
| tree | e554b5859e0135b8f644986768306d5f3ee5683e /src/features/featureBase | |
| parent | eb8bc77bf2d790e97fe793eb96ad77e1b4d2bbbf (diff) | |
| parent | 12f3a81cf12c6ffc24a7f2a0e8102dfba3fddf82 (diff) | |
| download | SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.tar.gz SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.tar.bz2 SoopyV2-364caae9b6e47b8d5e1bab950aebc5b35bc4baad.zip | |
Merge pull request #71 from Soopyboo32/Babel
Diffstat (limited to 'src/features/featureBase')
| -rw-r--r-- | src/features/featureBase/index.js | 24 | ||||
| -rw-r--r-- | src/features/featureBase/metadata.json | 8 |
2 files changed, 32 insertions, 0 deletions
diff --git a/src/features/featureBase/index.js b/src/features/featureBase/index.js new file mode 100644 index 0000000..2a96a7f --- /dev/null +++ b/src/features/featureBase/index.js @@ -0,0 +1,24 @@ +/// <reference types="../../../../CTAutocomplete" /> +/// <reference lib="es2015" /> +import Feature from "../../featureClass/class"; + +class FeatureBase extends Feature { + constructor() { + super() + } + + onEnable() { + this.initVariables() + } + + initVariables() { + } + + onDisable() { + this.initVariables() + } +} + +module.exports = { + class: new FeatureBase() +}
\ No newline at end of file diff --git a/src/features/featureBase/metadata.json b/src/features/featureBase/metadata.json new file mode 100644 index 0000000..a6b411d --- /dev/null +++ b/src/features/featureBase/metadata.json @@ -0,0 +1,8 @@ +{ + "name": "Feature Base", + "description": "Copy paste and edit this to create a new feature", + "isHidden": true, + "isTogglable": false, + "defaultEnabled": false, + "sortA": 1 +}
\ No newline at end of file |
