aboutsummaryrefslogtreecommitdiff
path: root/core/script_language.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-06-24 13:29:23 -0300
committerJuan Linietsky2015-06-24 13:29:45 -0300
commit48f1d02da4795ba9d485fe5fe2bea907be2fc467 (patch)
treeae248e1e863bb675026c2cfb8399ac8d23f33ed0 /core/script_language.h
parent199ad16bbc50d41aaeb76c276947156dafc81481 (diff)
downloadgodot-48f1d02da4795ba9d485fe5fe2bea907be2fc467.tar.gz
godot-48f1d02da4795ba9d485fe5fe2bea907be2fc467.tar.zst
godot-48f1d02da4795ba9d485fe5fe2bea907be2fc467.zip
added ability to define signals in script
closes #2175
Diffstat (limited to 'core/script_language.h')
-rw-r--r--core/script_language.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h
index 07ad571fd..c1b906e25 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -94,6 +94,10 @@ public:
virtual ScriptLanguage *get_language() const=0;
+ virtual bool has_script_signal(const StringName& p_signal) const=0;
+ virtual void get_script_signal_list(List<MethodInfo> *r_signals) const=0;
+
+
virtual void update_exports() {} //editor tool