@@ -157,7 +157,9 @@ public abstract partial class NetworkedBehaviour : MonoBehaviour
157
157
public void InvokeClientRpc ( string methodName , List < uint > clientIds , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
158
158
{
159
159
SendClientRPCBoxed ( HashMethodName ( methodName ) , clientIds , channel , security ) ;
160
- } public void InvokeClientRpc ( RpcMethod method , List < uint > clientIds , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
160
+ }
161
+
162
+ public void InvokeClientRpc ( RpcMethod method , List < uint > clientIds , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
161
163
{
162
164
SendClientRPCBoxed ( HashMethodName ( method . Method . Name ) , clientIds , channel , security ) ;
163
165
}
@@ -3151,14 +3153,24 @@ public void InvokeClientRpcOnEveryoneExcept(string methodName, uint clientIdToIg
3151
3153
}
3152
3154
#endregion
3153
3155
#region PERFORMANCE SERVER RPC
3156
+ [ Obsolete ( "Use InvokeServerRpcPerformance instead" ) ]
3154
3157
public void InvokeServerRpc ( RpcDelegate method , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3155
3158
{
3156
3159
SendServerRPCPerformance ( HashMethodName ( method . Method . Name ) , stream , channel , security ) ;
3157
3160
}
3161
+ [ Obsolete ( "Use InvokeServerRpcPerformance instead" ) ]
3158
3162
public void InvokeServerRpc ( string methodName , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3159
3163
{
3160
3164
SendServerRPCPerformance ( HashMethodName ( methodName ) , stream , channel , security ) ;
3161
3165
}
3166
+ public void InvokeServerRpcPerformance ( RpcDelegate method , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3167
+ {
3168
+ SendServerRPCPerformance ( HashMethodName ( method . Method . Name ) , stream , channel , security ) ;
3169
+ }
3170
+ public void InvokeServerRpcPerformance ( string methodName , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3171
+ {
3172
+ SendServerRPCPerformance ( HashMethodName ( methodName ) , stream , channel , security ) ;
3173
+ }
3162
3174
#endregion
3163
3175
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
3164
3176
#endregion
0 commit comments