diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-09-03 18:33:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-03 18:33:55 +0200 |
commit | a00a9e868ee6c27adf90bdf2349a4fd9616ffa54 (patch) | |
tree | c26f58d99cd1d92a05ee2caf3e3e286230b66743 /core/script_language.h | |
parent | 5323d24fadadbc6c4a109a9848fd9c3ea08f4474 (diff) | |
parent | 88f79802f692c9de0fbef353c3aa7eff9ed85c6b (diff) | |
download | redot-engine-a00a9e868ee6c27adf90bdf2349a4fd9616ffa54.tar.gz |
Merge pull request #31021 from willnationsdev/script-reflection
Expose Script reflection methods to scripting API.
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index dfb2e0ad31..1b4f1eb4cd 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -109,6 +109,12 @@ protected: friend class PlaceHolderScriptInstance; virtual void _placeholder_erased(PlaceHolderScriptInstance *p_placeholder) {} + Variant _get_property_default_value(const StringName &p_property); + Array _get_script_property_list(); + Array _get_script_method_list(); + Array _get_script_signal_list(); + Dictionary _get_script_constant_map(); + public: virtual bool can_instance() const = 0; |