From c4c18a2c588f081edcfe37a03822093c7b89c398 Mon Sep 17 00:00:00 2001 From: Emmanuel Leblond Date: Mon, 7 Dec 2020 15:08:59 +0100 Subject: Add PluginScript support for global class naming/icon path --- modules/gdnative/pluginscript/pluginscript_language.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/gdnative/pluginscript/pluginscript_language.h') diff --git a/modules/gdnative/pluginscript/pluginscript_language.h b/modules/gdnative/pluginscript/pluginscript_language.h index 53e1e3ae9b..3f08e34263 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(); -- cgit v1.2.3