diff options
| author | Max Hilbrunner | 2018-05-29 11:47:52 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-29 11:47:52 +0200 |
| commit | 4c69a495c948b1698a1634b506bf660bd49cdd76 (patch) | |
| tree | 76f810cefb7542fc4e3040d52810899a5e4ea40c /core/io/multiplayer_api.h | |
| parent | d0b62ce1558766134ea2fc6bcf912e837d0ae40b (diff) | |
| download | godot-4c69a495c948b1698a1634b506bf660bd49cdd76.tar.gz godot-4c69a495c948b1698a1634b506bf660bd49cdd76.tar.zst godot-4c69a495c948b1698a1634b506bf660bd49cdd76.zip | |
Diffstat (limited to 'core/io/multiplayer_api.h')
| -rw-r--r-- | core/io/multiplayer_api.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/io/multiplayer_api.h b/core/io/multiplayer_api.h index ef56c4c7f..64f59d32d 100644 --- a/core/io/multiplayer_api.h +++ b/core/io/multiplayer_api.h @@ -87,18 +87,6 @@ public: NETWORK_COMMAND_RAW, }; - enum RPCMode { - - RPC_MODE_DISABLED, // No rpc for this method, calls to this will be blocked (default) - RPC_MODE_REMOTE, // Using rpc() on it will call method / set property in all remote peers - RPC_MODE_SYNC, // Using rpc() on it will call method / set property in all remote peers and locally - RPC_MODE_MASTER, // Using rpc() on it will call method on wherever the master is, be it local or remote - RPC_MODE_SLAVE, // Using rpc() on it will call method for all slaves - RPC_MODE_REMOTESYNC, // Same as RPC_MODE_SYNC, compatibility - RPC_MODE_MASTERSYNC, // Using rpc() on it will call method / set property in the master peer and locally - RPC_MODE_SLAVESYNC, // Using rpc() on it will call method / set property in all slave peers and locally - }; - void poll(); void clear(); void set_root_node(Node *p_node); @@ -129,6 +117,4 @@ public: ~MultiplayerAPI(); }; -VARIANT_ENUM_CAST(MultiplayerAPI::RPCMode); - #endif // MULTIPLAYER_PROTOCOL_H |
