diff options
| author | Rémi Verschelde | 2018-05-30 14:59:08 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-30 14:59:08 +0200 |
| commit | fc7f931d26900f70ec19f91837d1715e1a301834 (patch) | |
| tree | c5bcc314b6d62437d9eae4f768d69491e91e1d54 /modules/gdscript/gdscript_function.h | |
| parent | 3d9dffdef7d436cda779ee4a659476fa94c62a35 (diff) | |
| parent | 8e35d937a96399c7fc9dcc3b9cd7344a6a38cfd8 (diff) | |
| download | godot-fc7f931d26900f70ec19f91837d1715e1a301834.tar.gz godot-fc7f931d26900f70ec19f91837d1715e1a301834.tar.zst godot-fc7f931d26900f70ec19f91837d1715e1a301834.zip | |
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
| -rw-r--r-- | modules/gdscript/gdscript_function.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h index ea009dcd9..836325f0f 100644 --- a/modules/gdscript/gdscript_function.h +++ b/modules/gdscript/gdscript_function.h @@ -96,14 +96,6 @@ public: ADDR_TYPE_NIL = 9 }; - enum RPCMode { - RPC_DISABLED, - RPC_ENABLED, - RPC_SYNC, - RPC_SYNC_MASTER, - RPC_SYNC_SLAVE - }; - struct StackDebug { int line; @@ -135,7 +127,7 @@ private: int _call_size; int _initial_line; bool _static; - ScriptInstance::RPCMode rpc_mode; + MultiplayerAPI::RPCMode rpc_mode; GDScript *_script; @@ -230,7 +222,7 @@ public: Variant call(GDScriptInstance *p_instance, const Variant **p_args, int p_argcount, Variant::CallError &r_err, CallState *p_state = NULL); - _FORCE_INLINE_ ScriptInstance::RPCMode get_rpc_mode() const { return rpc_mode; } + _FORCE_INLINE_ MultiplayerAPI::RPCMode get_rpc_mode() const { return rpc_mode; } GDScriptFunction(); ~GDScriptFunction(); }; |
