mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Weaver.ProcessSiteMethod: simplify syntax
This commit is contained in:
parent
8a31f15d64
commit
7d73e6ad5d
@ -896,10 +896,9 @@ static void ProcessSiteMethod(ModuleDefinition moduleDef, TypeDefinition td, Met
|
||||
// process all references to replaced members with properties
|
||||
//Weaver.DLog(td, " ProcessSiteMethod " + md);
|
||||
|
||||
if (md.Name == ".cctor" || md.Name == "OnUnserializeVars")
|
||||
return;
|
||||
|
||||
if (md.Name.StartsWith("UNet") ||
|
||||
if (md.Name == ".cctor" ||
|
||||
md.Name == "OnUnserializeVars" ||
|
||||
md.Name.StartsWith("UNet") ||
|
||||
md.Name.StartsWith("CallCmd") ||
|
||||
md.Name.StartsWith("InvokeCmd") ||
|
||||
md.Name.StartsWith("InvokeRpc") ||
|
||||
|
Loading…
Reference in New Issue
Block a user