mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
style: use explicit type
This commit is contained in:
parent
017b5203c0
commit
02bf5a5cf6
@ -65,7 +65,7 @@ public static MethodDefinition ProcessRpcCall(TypeDefinition td, MethodDefinitio
|
|||||||
if (!NetworkBehaviourProcessor.WriteArguments(rpcWorker, md, false))
|
if (!NetworkBehaviourProcessor.WriteArguments(rpcWorker, md, false))
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
var rpcName = md.Name;
|
string rpcName = md.Name;
|
||||||
int index = rpcName.IndexOf(RpcPrefix);
|
int index = rpcName.IndexOf(RpcPrefix);
|
||||||
if (index > -1)
|
if (index > -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user