@@ -3111,46 +3111,96 @@ public RpcResponse<TResult> InvokeServerRpc<TResult, T1, T2, T3, T4, T5, T6, T7,
3111
3111
#pragma warning restore HAA0101 // Array allocation for params parameter
3112
3112
#pragma warning restore HAA0601 // Value type to reference type conversion causing boxing allocation
3113
3113
#region PERFORMANCE CLIENT RPC
3114
+ [ Obsolete ( "Use InvokeClientRpcPerformance instead" ) ]
3114
3115
public void InvokeClientRpc ( RpcDelegate method , List < uint > clientIds , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3115
3116
{
3116
3117
SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , clientIds , stream , channel , security ) ;
3117
3118
}
3119
+ [ Obsolete ( "Use InvokeClientRpcOnOwnerPerformance instead" ) ]
3118
3120
public void InvokeClientRpcOnOwner ( RpcDelegate method , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3119
3121
{
3120
3122
SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , OwnerClientId , stream , channel , security ) ;
3121
3123
}
3124
+ [ Obsolete ( "Use InvokeClientRpcOnClientPerformance instead" ) ]
3122
3125
public void InvokeClientRpcOnClient ( RpcDelegate method , uint clientId , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3123
3126
{
3124
3127
SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , clientId , stream , channel , security ) ;
3125
3128
}
3129
+ [ Obsolete ( "Use InvokeClientRpcOnEveryonePerformance instead" ) ]
3126
3130
public void InvokeClientRpcOnEveryone ( RpcDelegate method , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3127
3131
{
3128
3132
SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , null , stream , channel , security ) ;
3129
3133
}
3134
+ [ Obsolete ( "Use InvokeClientRpcOnEveryoneExceptPerformance instead" ) ]
3130
3135
public void InvokeClientRpcOnEveryoneExcept ( RpcDelegate method , uint clientIdToIgnore , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3131
3136
{
3132
3137
SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , stream , clientIdToIgnore , channel , security ) ;
3133
3138
}
3139
+ [ Obsolete ( "Use InvokeClientRpcPerformance instead" ) ]
3134
3140
public void InvokeClientRpc ( string methodName , List < uint > clientIds , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3135
3141
{
3136
3142
SendClientRPCPerformance ( HashMethodName ( methodName ) , clientIds , stream , channel , security ) ;
3137
3143
}
3144
+ [ Obsolete ( "Use InvokeClientRpcOnClientPerformance instead" ) ]
3138
3145
public void InvokeClientRpcOnClient ( string methodName , uint clientId , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3139
3146
{
3140
3147
SendClientRPCPerformance ( HashMethodName ( methodName ) , clientId , stream , channel , security ) ;
3141
3148
}
3149
+ [ Obsolete ( "Use InvokeClientRpcOnOwnerPerformance instead" ) ]
3142
3150
public void InvokeClientRpcOnOwner ( string methodName , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3143
3151
{
3144
3152
SendClientRPCPerformance ( HashMethodName ( methodName ) , OwnerClientId , stream , channel , security ) ;
3145
3153
}
3154
+ [ Obsolete ( "Use InvokeClientRpcOnEveryonePerformance instead" ) ]
3146
3155
public void InvokeClientRpcOnEveryone ( string methodName , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3147
3156
{
3148
3157
SendClientRPCPerformance ( HashMethodName ( methodName ) , null , stream , channel , security ) ;
3149
3158
}
3159
+ [ Obsolete ( "Use InvokeClientRpcOnEveryoneExceptPerformance instead" ) ]
3150
3160
public void InvokeClientRpcOnEveryoneExcept ( string methodName , uint clientIdToIgnore , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3151
3161
{
3152
3162
SendClientRPCPerformance ( HashMethodName ( methodName ) , stream , clientIdToIgnore , channel , security ) ;
3153
3163
}
3164
+ public void InvokeClientRpcPerformance ( RpcDelegate method , List < uint > clientIds , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3165
+ {
3166
+ SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , clientIds , stream , channel , security ) ;
3167
+ }
3168
+ public void InvokeClientRpcOnOwnerPerformance ( RpcDelegate method , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3169
+ {
3170
+ SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , OwnerClientId , stream , channel , security ) ;
3171
+ }
3172
+ public void InvokeClientRpcOnClientPerformance ( RpcDelegate method , uint clientId , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3173
+ {
3174
+ SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , clientId , stream , channel , security ) ;
3175
+ }
3176
+ public void InvokeClientRpcOnEveryonePerformance ( RpcDelegate method , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3177
+ {
3178
+ SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , null , stream , channel , security ) ;
3179
+ }
3180
+ public void InvokeClientRpcOnEveryoneExceptPerformance ( RpcDelegate method , uint clientIdToIgnore , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3181
+ {
3182
+ SendClientRPCPerformance ( HashMethodName ( method . Method . Name ) , stream , clientIdToIgnore , channel , security ) ;
3183
+ }
3184
+ public void InvokeClientRpcPerformance ( string methodName , List < uint > clientIds , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3185
+ {
3186
+ SendClientRPCPerformance ( HashMethodName ( methodName ) , clientIds , stream , channel , security ) ;
3187
+ }
3188
+ public void InvokeClientRpcOnClientPerformance ( string methodName , uint clientId , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3189
+ {
3190
+ SendClientRPCPerformance ( HashMethodName ( methodName ) , clientId , stream , channel , security ) ;
3191
+ }
3192
+ public void InvokeClientRpcOnOwnerPerformance ( string methodName , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3193
+ {
3194
+ SendClientRPCPerformance ( HashMethodName ( methodName ) , OwnerClientId , stream , channel , security ) ;
3195
+ }
3196
+ public void InvokeClientRpcOnEveryonePerformance ( string methodName , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3197
+ {
3198
+ SendClientRPCPerformance ( HashMethodName ( methodName ) , null , stream , channel , security ) ;
3199
+ }
3200
+ public void InvokeClientRpcOnEveryoneExcepPerformancet ( string methodName , uint clientIdToIgnore , Stream stream , string channel = null , SecuritySendFlags security = SecuritySendFlags . None )
3201
+ {
3202
+ SendClientRPCPerformance ( HashMethodName ( methodName ) , stream , clientIdToIgnore , channel , security ) ;
3203
+ }
3154
3204
#endregion
3155
3205
#region PERFORMANCE SERVER RPC
3156
3206
[ Obsolete ( "Use InvokeServerRpcPerformance instead" ) ]
0 commit comments