mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-23 20:36:53 +01:00
Removed deprecated enum values from multiplayerPeer.
This commit is contained in:
parent
9d0c889583
commit
8809f2b963
@ -835,9 +835,7 @@ void MultiplayerAPI::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_REMOTE);
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_MASTER);
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_PUPPET);
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_SLAVE); // Deprecated.
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_REMOTESYNC);
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_SYNC); // Deprecated.
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_MASTERSYNC);
|
||||
BIND_ENUM_CONSTANT(RPC_MODE_PUPPETSYNC);
|
||||
}
|
||||
|
@ -116,9 +116,7 @@ public:
|
||||
RPC_MODE_REMOTE, // Using rpc() on it will call method / set property 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_SLAVE = RPC_MODE_PUPPET, // Deprecated, same as puppet
|
||||
RPC_MODE_REMOTESYNC, // Using rpc() on it will call method / set property in all remote peers and locally
|
||||
RPC_MODE_SYNC = RPC_MODE_REMOTESYNC, // Deprecated. Same as RPC_MODE_REMOTESYNC
|
||||
RPC_MODE_MASTERSYNC, // Using rpc() on it will call method / set property in the master peer and locally
|
||||
RPC_MODE_PUPPETSYNC, // Using rpc() on it will call method / set property in all puppets peers and locally
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user