diff options
| author | Juan Linietsky | 2015-06-24 13:29:23 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-06-24 13:29:45 -0300 |
| commit | 48f1d02da4795ba9d485fe5fe2bea907be2fc467 (patch) | |
| tree | ae248e1e863bb675026c2cfb8399ac8d23f33ed0 /modules/gdscript/gd_script.h | |
| parent | 199ad16bbc50d41aaeb76c276947156dafc81481 (diff) | |
| download | godot-48f1d02da4795ba9d485fe5fe2bea907be2fc467.tar.gz godot-48f1d02da4795ba9d485fe5fe2bea907be2fc467.tar.zst godot-48f1d02da4795ba9d485fe5fe2bea907be2fc467.zip | |
Diffstat (limited to 'modules/gdscript/gd_script.h')
| -rw-r--r-- | modules/gdscript/gd_script.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/gd_script.h b/modules/gdscript/gd_script.h index f505d51ba..4672f3b8b 100644 --- a/modules/gdscript/gd_script.h +++ b/modules/gdscript/gd_script.h @@ -260,6 +260,7 @@ friend class GDScriptLanguage; Map<StringName,GDFunction> member_functions; Map<StringName,MemberInfo> member_indices; //members are just indices to the instanced script. Map<StringName,Ref<GDScript> > subclasses; + Map<StringName,Vector<StringName> > _signals; #ifdef TOOLS_ENABLED @@ -318,6 +319,9 @@ public: const Map<StringName,GDFunction>& get_member_functions() const { return member_functions; } const Ref<GDNativeClass>& get_native() const { return native; } + virtual bool has_script_signal(const StringName& p_signal) const; + virtual void get_script_signal_list(List<MethodInfo> *r_signals) const; + bool is_tool() const { return tool; } Ref<GDScript> get_base() const; |
