Преглед изворни кода

修复UniqueId分析器 没有覆盖Core程序集的问题 (#421)

* 修复UniqueId分析器 没有覆盖Core程序集的问题
susices пре 3 година
родитељ
комит
893dab2a08

+ 1 - 1
Share/Analyzer/Analyzer/UniqueIdAnalyzer.cs

@@ -24,7 +24,7 @@ namespace ET.Analyzer
         
         private void Analyzer(SymbolAnalysisContext context)
         {
-            if (!AnalyzerHelper.IsAssemblyNeedAnalyze(context.Compilation.AssemblyName, AnalyzeAssembly.AllModel))
+            if (!AnalyzerHelper.IsAssemblyNeedAnalyze(context.Compilation.AssemblyName, AnalyzeAssembly.All))
             {
                 return;
             }

+ 1 - 1
Unity/Assets/Scripts/Core/Module/Network/ErrorCore.cs

@@ -47,7 +47,7 @@
         
         public const int ERR_KcpRouterTimeout = 110401;
         public const int ERR_KcpRouterTooManyPackets = 110402;
-        public const int ERR_KcpRouterSame = 110402;
+        public const int ERR_KcpRouterSame = 110403;
         public const int ERR_KcpRouterConnectFail = 110404;
         public const int ERR_KcpRouterRouterSyncCountTooMuchTimes = 110405;
         public const int ERR_KcpRouterSyncCountTooMuchTimes = 110406;