You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Several all around fixes to visual scripting (in the process of creating demos)
This commit is contained in:
@@ -13,6 +13,7 @@ public:
|
||||
CALL_MODE_NODE_PATH,
|
||||
CALL_MODE_INSTANCE,
|
||||
CALL_MODE_BASIC_TYPE,
|
||||
CALL_MODE_SINGLETON,
|
||||
};
|
||||
|
||||
enum RPCCallMode {
|
||||
@@ -33,6 +34,7 @@ private:
|
||||
StringName function;
|
||||
int use_default_args;
|
||||
RPCCallMode rpc_call_mode;
|
||||
StringName singleton;
|
||||
|
||||
|
||||
Node *_get_base_node() const;
|
||||
@@ -78,12 +80,16 @@ public:
|
||||
void set_base_script(const String& p_path);
|
||||
String get_base_script() const;
|
||||
|
||||
void set_singleton(const StringName& p_type);
|
||||
StringName get_singleton() const;
|
||||
|
||||
void set_function(const StringName& p_type);
|
||||
StringName get_function() const;
|
||||
|
||||
void set_base_path(const NodePath& p_type);
|
||||
NodePath get_base_path() const;
|
||||
|
||||
|
||||
void set_call_mode(CallMode p_mode);
|
||||
CallMode get_call_mode() const;
|
||||
|
||||
@@ -124,8 +130,6 @@ private:
|
||||
String base_script;
|
||||
NodePath base_path;
|
||||
StringName property;
|
||||
bool use_builtin_value;
|
||||
Variant builtin_value;
|
||||
InputEvent::Type event_type;
|
||||
|
||||
Node *_get_base_node() const;
|
||||
@@ -185,11 +189,6 @@ public:
|
||||
void set_call_mode(CallMode p_mode);
|
||||
CallMode get_call_mode() const;
|
||||
|
||||
void set_use_builtin_value(bool p_use);
|
||||
bool is_using_builtin_value() const;
|
||||
|
||||
void set_builtin_value(const Variant &p_value);
|
||||
Variant get_builtin_value() const;
|
||||
|
||||
virtual VisualScriptNodeInstance* instance(VisualScriptInstance* p_instance);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user