diff options
| author | Juan Linietsky | 2016-08-07 19:22:33 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-08-07 19:22:33 -0300 |
| commit | b77200728e7f2b2dd446a9717c83a20c9aac0ce4 (patch) | |
| tree | d5fd8da846cb1f86b68ecb6a1e0e4da5cae1a9dd /modules/visual_script/visual_script_func_nodes.h | |
| parent | 6671c6bdc78864bbe1d27c508ec9528f3b683ca2 (diff) | |
| download | godot-b77200728e7f2b2dd446a9717c83a20c9aac0ce4.tar.gz godot-b77200728e7f2b2dd446a9717c83a20c9aac0ce4.tar.zst godot-b77200728e7f2b2dd446a9717c83a20c9aac0ce4.zip | |
Diffstat (limited to 'modules/visual_script/visual_script_func_nodes.h')
| -rw-r--r-- | modules/visual_script/visual_script_func_nodes.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script_func_nodes.h b/modules/visual_script/visual_script_func_nodes.h index 7ba573564..2ccc61242 100644 --- a/modules/visual_script/visual_script_func_nodes.h +++ b/modules/visual_script/visual_script_func_nodes.h @@ -93,12 +93,13 @@ public: private: CallMode call_mode; - Variant::Type basic_type; + Variant::Type basic_type; StringName base_type; NodePath base_path; StringName property; bool use_builtin_value; Variant builtin_value; + InputEvent::Type event_type; Node *_get_base_node() const; StringName _get_base_type() const; @@ -136,6 +137,9 @@ public: void set_basic_type(Variant::Type p_type); Variant::Type get_basic_type() const; + void set_event_type(InputEvent::Type p_type); + InputEvent::Type get_event_type() const; + void set_property(const StringName& p_type); StringName get_property() const; @@ -177,6 +181,7 @@ private: StringName base_type; NodePath base_path; StringName property; + InputEvent::Type event_type; void _update_base_type(); Node *_get_base_node() const; @@ -214,6 +219,9 @@ public: void set_basic_type(Variant::Type p_type); Variant::Type get_basic_type() const; + void set_event_type(InputEvent::Type p_type); + InputEvent::Type get_event_type() const; + void set_property(const StringName& p_type); StringName get_property() const; |
