diff options
author | George Marques <george@gmarqu.es> | 2018-05-29 23:16:57 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2018-07-20 21:55:17 -0300 |
commit | e3d72d14ff27af2b396397065ddc38f87685c694 (patch) | |
tree | 94fcdf65d7cc981042811c6c3050d81684604473 /modules/gdscript/gdscript.h | |
parent | 4b18c4e448c93fbb44c80b89e744cfacea8d8bc4 (diff) | |
download | redot-engine-e3d72d14ff27af2b396397065ddc38f87685c694.tar.gz |
Use type information to enable GDScript introspection
This makes the Script API provide accurate information when requesting
property or method info.
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 5c6cda0993..98196f0b0e 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -152,6 +152,7 @@ public: } const Map<StringName, GDScriptFunction *> &get_member_functions() const { return member_functions; } const Ref<GDScriptNativeClass> &get_native() const { return native; } + const String &get_script_class_name() const { return name; } virtual bool has_script_signal(const StringName &p_signal) const; virtual void get_script_signal_list(List<MethodInfo> *r_signals) const; |