diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-08-30 03:25:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-30 03:25:32 +0200 |
commit | 9d38ebdc3ccea0ded0e7d8f3f73de9fe643e55e7 (patch) | |
tree | 13f0093b0a92176c549105b60bfcfe64e21cf806 /core/io/multiplayer_api.h | |
parent | 838a449d6466400fdf5b3a9088b850559cc64c8d (diff) | |
parent | fafddbc143878252ce34cec1f4f19d0b6507924b (diff) | |
download | redot-engine-9d38ebdc3ccea0ded0e7d8f3f73de9fe643e55e7.tar.gz |
Merge pull request #51481 from Faless/mp/4.x_no_pup
[Net] Rename RPC "puppet" to "auth", drop "master".
Diffstat (limited to 'core/io/multiplayer_api.h')
-rw-r--r-- | core/io/multiplayer_api.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/io/multiplayer_api.h b/core/io/multiplayer_api.h index 3cbc3c39cb..3c96a3eed1 100644 --- a/core/io/multiplayer_api.h +++ b/core/io/multiplayer_api.h @@ -43,9 +43,8 @@ class MultiplayerAPI : public RefCounted { public: 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 in all remote peers - RPC_MODE_MASTER, // Using rpc() on it will call method on wherever the master is, be it local or remote - RPC_MODE_PUPPET, // Using rpc() on it will call method for all puppets + RPC_MODE_ANY, // Any peer can call this rpc() + RPC_MODE_AUTHORITY, // Only the node's network authority (server by default) can call this rpc() }; struct RPCConfig { |