diff options
| author | George Marques <george@gmarqu.es> | 2020-07-24 14:13:58 -0300 |
|---|---|---|
| committer | George Marques <george@gmarqu.es> | 2020-07-24 14:13:58 -0300 |
| commit | 2b9d9bc3644de19b291c16b2facc418f3d64d4fc (patch) | |
| tree | 667e5ef0de74573f5933a0b65bf8d5917b282fe5 /core/object.h | |
| parent | b7dc08fcf6117bc13b0b1210119e51b4c51f5086 (diff) | |
| download | redot-engine-2b9d9bc3644de19b291c16b2facc418f3d64d4fc.tar.gz | |
Remove multilevel calls
In general they are more confusing to users because they expect
inheritance to fully override parent methods. This behavior can be
enabled by script writers using a simple super() call.
Diffstat (limited to 'core/object.h')
| -rw-r--r-- | core/object.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/object.h b/core/object.h index 954be5304c..d9847d10aa 100644 --- a/core/object.h +++ b/core/object.h @@ -655,10 +655,7 @@ public: void get_method_list(List<MethodInfo> *p_list) const; Variant callv(const StringName &p_method, const Array &p_args); virtual Variant call(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error); - 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); Variant call(const StringName &p_name, VARIANT_ARG_LIST); // C++ helper - void call_multilevel(const StringName &p_name, VARIANT_ARG_LIST); // C++ helper void notification(int p_notification, bool p_reversed = false); String to_string(); |
