From ad313097ebcb2a0c02c956fdf74a6610c3f7c9a8 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 2 Aug 2016 19:11:05 -0300 Subject: WIP visual scripting, not working yet but you can check out stuff --- core/method_bind.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/method_bind.cpp') diff --git a/core/method_bind.cpp b/core/method_bind.cpp index b41fa3388..a99d0af63 100644 --- a/core/method_bind.cpp +++ b/core/method_bind.cpp @@ -64,6 +64,12 @@ void MethodBind::_set_const(bool p_const) { _const=p_const; } +void MethodBind::_set_returns(bool p_returns) { + + _returns=p_returns; +} + + StringName MethodBind::get_name() const { return name; } @@ -118,6 +124,7 @@ MethodBind::MethodBind() { argument_types=NULL; #endif _const=false; + _returns=false; } MethodBind::~MethodBind() { -- cgit v1.2.3-70-g09d2