1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Revert "RPCMode refactor, more sync modes"

This commit is contained in:
Max Hilbrunner
2018-05-29 11:47:52 +02:00
committed by GitHub
parent d0b62ce155
commit 4c69a495c9
30 changed files with 333 additions and 319 deletions

View File

@@ -89,7 +89,7 @@ public:
StringName getter;
int line;
Node *expression;
MultiplayerAPI::RPCMode rpc_mode;
ScriptInstance::RPCMode rpc_mode;
};
struct Constant {
StringName identifier;
@@ -125,7 +125,7 @@ public:
struct FunctionNode : public Node {
bool _static;
MultiplayerAPI::RPCMode rpc_mode;
ScriptInstance::RPCMode rpc_mode;
StringName name;
Vector<StringName> arguments;
Vector<Node *> default_values;
@@ -134,7 +134,7 @@ public:
FunctionNode() {
type = TYPE_FUNCTION;
_static = false;
rpc_mode = MultiplayerAPI::RPC_MODE_DISABLED;
rpc_mode = ScriptInstance::RPC_MODE_DISABLED;
}
};
@@ -493,7 +493,7 @@ private:
PropertyInfo current_export;
MultiplayerAPI::RPCMode rpc_mode;
ScriptInstance::RPCMode rpc_mode;
void _set_error(const String &p_error, int p_line = -1, int p_column = -1);
bool _recover_from_completion();