diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-07-20 13:55:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 13:55:54 +0200 |
commit | de4ad63e6fa4c9f5d740d54b025fa15487915b50 (patch) | |
tree | d1cea50b67243c8cd5b090a7bf6b9fbdff6adc2a /modules/mono/csharp_script.cpp | |
parent | 1117c2c9f2e5782d6fc09cadaa5754caaacf9d27 (diff) | |
parent | ddb68f76ffc9505a179ee52cc2f4ee99ac571b04 (diff) |
Merge pull request #49882 from Faless/mp/4.x_rpc_gd
[Net] New `@rpc` annotation, "sync" is no longer part of mode.
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r-- | modules/mono/csharp_script.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index ff6a47f59b..80675feb3b 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -3472,15 +3472,6 @@ MultiplayerAPI::RPCMode CSharpScript::_member_get_rpc_mode(IMonoClassMember *p_m if (p_member->has_attribute(CACHED_CLASS(PuppetAttribute))) { return MultiplayerAPI::RPC_MODE_PUPPET; } - if (p_member->has_attribute(CACHED_CLASS(RemoteSyncAttribute))) { - return MultiplayerAPI::RPC_MODE_REMOTESYNC; - } - if (p_member->has_attribute(CACHED_CLASS(MasterSyncAttribute))) { - return MultiplayerAPI::RPC_MODE_MASTERSYNC; - } - if (p_member->has_attribute(CACHED_CLASS(PuppetSyncAttribute))) { - return MultiplayerAPI::RPC_MODE_PUPPETSYNC; - } return MultiplayerAPI::RPC_MODE_DISABLED; } |