diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-08 13:51:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 13:51:06 +0100 |
commit | 360cfeedacba971b255c68f7e061f2356bdb3135 (patch) | |
tree | 664b7575174d6a90f6f51f20e70eb5fb134d8a33 /modules/gdnative/pluginscript/pluginscript_language.h | |
parent | 3846a3703a109a0a9ae2aa7ec69c3b6c1db06f7b (diff) | |
parent | c4c18a2c588f081edcfe37a03822093c7b89c398 (diff) | |
download | redot-engine-360cfeedacba971b255c68f7e061f2356bdb3135.tar.gz |
Merge pull request #44176 from touilleMan/global_class_naming-for-pluginscript
Add PluginScript support for global class naming/icon path
Diffstat (limited to 'modules/gdnative/pluginscript/pluginscript_language.h')
-rw-r--r-- | modules/gdnative/pluginscript/pluginscript_language.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdnative/pluginscript/pluginscript_language.h b/modules/gdnative/pluginscript/pluginscript_language.h index feccef3e81..bc9bbdea07 100644 --- a/modules/gdnative/pluginscript/pluginscript_language.h +++ b/modules/gdnative/pluginscript/pluginscript_language.h @@ -122,6 +122,11 @@ public: virtual void frame(); + /* GLOBAL CLASSES */ + + virtual bool handles_global_class_type(const String &p_type) const; + virtual String get_global_class_name(const String &p_path, String *r_base_type = nullptr, String *r_icon_path = nullptr) const; + void lock(); void unlock(); |