diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-26 17:09:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 17:09:41 +0200 |
commit | b2096ba53eb422ae2fbf8b49cf1f4806878127fb (patch) | |
tree | 4eae08b1d8ed1849e216040dddd5a4999a884907 /core/script_language.h | |
parent | 94ff5ee535ff3f20685b06e2b959e3a52b2eabbe (diff) | |
parent | 2b9d9bc3644de19b291c16b2facc418f3d64d4fc (diff) |
Merge pull request #40670 from vnen/remove-multilevel-call
Remove multilevel calls
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/script_language.h b/core/script_language.h index 6ba38399a1..aa7014ed3e 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -199,9 +199,6 @@ public: virtual bool has_method(const StringName &p_method) const = 0; virtual Variant call(const StringName &p_method, VARIANT_ARG_LIST); virtual Variant call(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) = 0; - virtual void call_multilevel(const StringName &p_method, VARIANT_ARG_LIST); - virtual void call_multilevel(const StringName &p_method, const Variant **p_args, int p_argcount); - virtual void call_multilevel_reversed(const StringName &p_method, const Variant **p_args, int p_argcount); virtual void notification(int p_notification) = 0; virtual String to_string(bool *r_valid) { if (r_valid) { @@ -428,8 +425,6 @@ public: r_error.error = Callable::CallError::CALL_ERROR_INVALID_METHOD; return Variant(); } - //virtual void call_multilevel(const StringName& p_method,VARIANT_ARG_LIST) { return Variant(); } - //virtual void call_multilevel(const StringName& p_method,const Variant** p_args,int p_argcount,Callable::CallError &r_error) { return Variant(); } virtual void notification(int p_notification) {} virtual Ref<Script> get_script() const { return script; } |