diff options
author | willnationsdev <willnationsdev@gmail.com> | 2019-08-01 14:13:40 -0500 |
---|---|---|
committer | willnationsdev <willnationsdev@gmail.com> | 2019-08-01 14:13:40 -0500 |
commit | 88f79802f692c9de0fbef353c3aa7eff9ed85c6b (patch) | |
tree | ac54e23a4f266d069b932f255f4f131143b6e266 /core/script_language.h | |
parent | 3a6102a6f716904bb158819146e3fed7590b8106 (diff) | |
download | redot-engine-88f79802f692c9de0fbef353c3aa7eff9ed85c6b.tar.gz |
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 87f103bb33..360b775cbd 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -113,6 +113,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; |