diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-20 22:37:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-20 22:37:01 +0200 |
commit | defd9602764c13d1b7753cf879bdbcdf56335b33 (patch) | |
tree | c387b6a7602d1a9737938cf9c3047a56f08d0244 /modules/visual_script/visual_script.h | |
parent | fdea3d48b041cff23013e7a424e57c814ddd4dbd (diff) | |
parent | f7eb426e2ebafc5598b0e43baf37d9a50cea1648 (diff) |
Merge pull request #27886 from LeonardMeagher2/obj_to_string
Allow overriding how scripted objects are converted to strings
Diffstat (limited to 'modules/visual_script/visual_script.h')
-rw-r--r-- | modules/visual_script/visual_script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/visual_script/visual_script.h b/modules/visual_script/visual_script.h index 0171b8e6f1..91748d077b 100644 --- a/modules/visual_script/visual_script.h +++ b/modules/visual_script/visual_script.h @@ -405,6 +405,7 @@ public: virtual bool has_method(const StringName &p_method) const; virtual Variant call(const StringName &p_method, const Variant **p_args, int p_argcount, Variant::CallError &r_error); virtual void notification(int p_notification); + String to_string(bool *r_valid); bool set_variable(const StringName &p_variable, const Variant &p_value) { |