From bfa19aaa68cfa16d0ca33eb53e4200f902f4069e Mon Sep 17 00:00:00 2001 From: Nikita <61884745+dakln@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:08:39 +0500 Subject: [PATCH] Create type.js --- addon_base/plugin/type.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 addon_base/plugin/type.js diff --git a/addon_base/plugin/type.js b/addon_base/plugin/type.js new file mode 100644 index 0000000..6e623ba --- /dev/null +++ b/addon_base/plugin/type.js @@ -0,0 +1,9 @@ +const ADDON_ID = ""; +const SDK = globalThis.SDK; +const PLUGIN_CLASS = SDK.Plugins[ADDON_ID]; +PLUGIN_CLASS.Type = class LostPluginType extends SDK.ITypeBase { + constructor(sdkPlugin, iObjectType) { + super(sdkPlugin, iObjectType); + } +}; +export {};