diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-29 12:41:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-29 12:41:03 +0200 |
commit | 91c5273ec58aafd3b86e9a1e21640b0949842a78 (patch) | |
tree | 10848c3b63f19f27d184e958cfcd6dfb640a6cf1 /modules/gdscript/gdscript.h | |
parent | 31cfa603a552c11c397c48500b1af3f0e77049c9 (diff) | |
parent | 2c77f07aaa4c04c6f439a4636156ba234f6d2e13 (diff) | |
download | redot-engine-91c5273ec58aafd3b86e9a1e21640b0949842a78.tar.gz |
Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index c41b1a0def..1fb0f01c1d 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -144,6 +144,7 @@ class GDScript : public Script { String path; String name; String fully_qualified_name; + String simplified_icon_path; SelfList<GDScript> script_list; SelfList<GDScriptFunctionState>::List pending_func_states; @@ -250,6 +251,7 @@ public: virtual Vector<DocData::ClassDoc> get_documentation() const override { return docs; } + virtual String get_class_icon_path() const override; #endif // TOOLS_ENABLED virtual Error reload(bool p_keep_state = false) override; |