Просмотр исходного кода

调整代码格式
hybridclr升级到4.0.15

tanghai 2 лет назад
Родитель
Сommit
882fb1ecf0
22 измененных файлов с 284 добавлено и 216 удалено
  1. 1 1
      Share/Tool/Proto2CS/Proto2CS.cs
  2. 18 0
      Unity/Assets/Scripts/Editor/Assembly/AssemblyEditor.cs
  3. 21 0
      Unity/Assets/Scripts/Editor/Assembly/AssemblyTool.cs
  4. 6 0
      Unity/Assets/Scripts/Editor/AssetPostProcessor/OnGenerateCSProjectProcessor.cs
  5. 2 0
      Unity/Assets/Scripts/Editor/LogRedirection/LogRedirection.cs
  6. 5 0
      Unity/Assets/Scripts/Editor/RecastNavDataExporter/NavMeshExporter.cs
  7. 1 1
      Unity/Assets/Scripts/Loader/CodeLoader.cs
  8. 23 7
      Unity/Assets/Scripts/Loader/Resource/ResourcesComponent.cs
  9. 2 2
      Unity/Assets/Scripts/Model/Generate/Client/Message/ClientMessage_C_1000.cs
  10. 12 12
      Unity/Assets/Scripts/Model/Generate/Client/Message/LockStepOuter_C_11001.cs
  11. 34 34
      Unity/Assets/Scripts/Model/Generate/Client/Message/OuterMessage_C_10001.cs
  12. 2 2
      Unity/Assets/Scripts/Model/Generate/ClientServer/Message/ClientMessage_C_1000.cs
  13. 23 23
      Unity/Assets/Scripts/Model/Generate/ClientServer/Message/InnerMessage_S_20001.cs
  14. 8 8
      Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepInner_S_21001.cs
  15. 12 12
      Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepOuter_C_11001.cs
  16. 34 34
      Unity/Assets/Scripts/Model/Generate/ClientServer/Message/OuterMessage_C_10001.cs
  17. 2 2
      Unity/Assets/Scripts/Model/Generate/Server/Message/ClientMessage_C_1000.cs
  18. 23 23
      Unity/Assets/Scripts/Model/Generate/Server/Message/InnerMessage_S_20001.cs
  19. 8 8
      Unity/Assets/Scripts/Model/Generate/Server/Message/LockStepInner_S_21001.cs
  20. 12 12
      Unity/Assets/Scripts/Model/Generate/Server/Message/LockStepOuter_C_11001.cs
  21. 34 34
      Unity/Assets/Scripts/Model/Generate/Server/Message/OuterMessage_C_10001.cs
  22. 1 1
      Unity/Packages/packages-lock.json

+ 1 - 1
Share/Tool/Proto2CS/Proto2CS.cs

@@ -162,7 +162,7 @@ namespace ET
                         if (!newline.Contains("// no dispose"))
                         {
                             sb.Append(
-                                $"\t\tpublic override void Dispose() \n\t\t{{\n\t\t\tif (!this.IsFromPool) return;\n\t\t\t{sbDispose.ToString()}\n\t\t\tObjectPool.Instance.Recycle(this); \n\t\t}}\n\n");
+                                $"\t\tpublic override void Dispose() \n\t\t{{\n\t\t\tif (!this.IsFromPool) {{ return; }}\n\t\t\t{sbDispose.ToString()}\n\t\t\tObjectPool.Instance.Recycle(this); \n\t\t}}\n\n");
                         }
 
                         sb.Append("\t}\n\n");

+ 18 - 0
Unity/Assets/Scripts/Editor/Assembly/AssemblyEditor.cs

@@ -14,11 +14,15 @@ namespace ET
                 switch (change)
                 {
                     case PlayModeStateChange.ExitingEditMode:
+                    {
                         OnExitingEditMode();
                         break;
+                    }
                     case PlayModeStateChange.ExitingPlayMode:
+                    {
                         OnExitingPlayMode();
                         break;
+                    }
                 }
             };
         }
@@ -31,7 +35,9 @@ namespace ET
         {
             GlobalConfig globalConfig = Resources.Load<GlobalConfig>("GlobalConfig");
             if (!globalConfig.EnableDll)
+            {
                 return;
+            }
 
             foreach (string dll in AssemblyTool.DllNames)
             {
@@ -40,7 +46,9 @@ namespace ET
                 {
                     string dllDisableFile = $"{Application.dataPath}/../Library/ScriptAssemblies/{dll}.dll.DISABLE";
                     if (File.Exists(dllDisableFile))
+                    {
                         File.Delete(dllDisableFile);
+                    }
 
                     File.Move(dllFile, dllDisableFile);
                 }
@@ -50,7 +58,9 @@ namespace ET
                 {
                     string pdbDisableFile = $"{Application.dataPath}/../Library/ScriptAssemblies/{dll}.pdb.DISABLE";
                     if (File.Exists(pdbDisableFile))
+                    {
                         File.Delete(pdbDisableFile);
+                    }
 
                     File.Move(pdbFile, pdbDisableFile);
                 }
@@ -70,9 +80,13 @@ namespace ET
                 {
                     string dllFile = $"{Application.dataPath}/../Library/ScriptAssemblies/{dll}.dll";
                     if (File.Exists(dllFile))
+                    {
                         File.Delete(dllDisableFile);
+                    }
                     else
+                    {
                         File.Move(dllDisableFile, dllFile);
+                    }
                 }
 
                 string pdbDisableFile = $"{Application.dataPath}/../Library/ScriptAssemblies/{dll}.pdb.DISABLE";
@@ -80,9 +94,13 @@ namespace ET
                 {
                     string pdbFile = $"{Application.dataPath}/../Library/ScriptAssemblies/{dll}.pdb";
                     if (File.Exists(pdbFile))
+                    {
                         File.Delete(pdbDisableFile);
+                    }
                     else
+                    {
                         File.Move(pdbDisableFile, pdbFile);
+                    }
                 }
             }
         }

+ 21 - 0
Unity/Assets/Scripts/Editor/Assembly/AssemblyTool.cs

@@ -43,7 +43,9 @@ namespace ET
         static void MenuItemOfReload()
         {
             if (Application.isPlaying)
+            {
                 CodeLoader.Instance?.Reload();
+            }
         }
 
         /// <summary>
@@ -59,10 +61,14 @@ namespace ET
 
             bool isCompileOk = CompileDlls();
             if (!isCompileOk)
+            {
                 return;
+            }
 
             CopyHotUpdateDlls();
             BuildHelper.ReGenerateProjectFiles();
+            
+            Log.Info($"Compile Finish!");
         }
 
         /// <summary>
@@ -73,19 +79,27 @@ namespace ET
             CodeMode codeMode = CodeMode.ClientServer;
             GlobalConfig globalConfig = Resources.Load<GlobalConfig>("GlobalConfig");
             if (globalConfig)
+            {
                 codeMode = globalConfig.CodeMode;
+            }
 
             switch (codeMode)
             {
                 case CodeMode.Client:
+                {
                     EnableUnityClient();
                     break;
+                }
                 case CodeMode.Server:
+                {
                     EnableUnityServer();
                     break;
+                }
                 case CodeMode.ClientServer:
+                {
                     EnableUnityClientServer();
                     break;
+                }
             }
 
             AssetDatabase.Refresh();
@@ -99,7 +113,10 @@ namespace ET
             BuildType buildType = BuildType.Release;
             GlobalConfig globalConfig = Resources.Load<GlobalConfig>("GlobalConfig");
             if (globalConfig)
+            {
                 buildType = globalConfig.BuildType;
+            }
+
             EditorUserBuildSettings.development = buildType == BuildType.Debug;
         }
 
@@ -133,7 +150,9 @@ namespace ET
             finally
             {
                 if (lastSynchronizationContext != null)
+                {
                     SynchronizationContext.SetSynchronizationContext(lastSynchronizationContext);
+                }
             }
 
             return isCompileOk;
@@ -228,7 +247,9 @@ namespace ET
             }
 
             if (File.Exists(asmdefFile) && new FileInfo(srcFilePath).LastWriteTime == new FileInfo(asmdefFile).LastWriteTime)
+            {
                 return;
+            }
 
             File.Copy(srcFilePath, asmdefFile, true);
         }

+ 6 - 0
Unity/Assets/Scripts/Editor/AssetPostProcessor/OnGenerateCSProjectProcessor.cs

@@ -24,13 +24,19 @@ namespace ET
             }
 
             if (path.EndsWith("Unity.Core.csproj"))
+            {
                 return GenerateCustomProject(content);
+            }
 
             if (path.EndsWith("Unity.Model.csproj") || path.EndsWith("Unity.Hotfix.csproj"))
+            {
                 return AddCopyAfterBuild(GenerateCustomProject(content));
+            }
 
             if (path.EndsWith("Unity.ModelView.csproj") || path.EndsWith("Unity.HotfixView.csproj"))
+            {
                 return AddCopyAfterBuild(GenerateCustomProject(content));
+            }
 
             return content;
         }

+ 2 - 0
Unity/Assets/Scripts/Editor/LogRedirection/LogRedirection.cs

@@ -69,6 +69,7 @@ namespace ET
             {
                 var consoleInstance = fieldInfo.GetValue(null);
                 if (consoleInstance != null)
+                {
                     if (EditorWindow.focusedWindow == (EditorWindow)consoleInstance)
                     {
                         // 获取m_ActiveText成员
@@ -82,6 +83,7 @@ namespace ET
                             return activeText;
                         }
                     }
+                }
             }
 
             return null;

+ 5 - 0
Unity/Assets/Scripts/Editor/RecastNavDataExporter/NavMeshExporter.cs

@@ -664,9 +664,14 @@ namespace ETEditor
                     ObjMaterial objMaterial = new ObjMaterial();
                     objMaterial.name = nameMat;
                     if (mainTexture)
+                    {
                         objMaterial.textureName = AssetDatabase.GetAssetPath(mainTexture);
+                    }
                     else
+                    {
                         objMaterial.textureName = null;
+                    }
+
                     materialList.Add(objMaterial.name, objMaterial);
                 }
                 catch (ArgumentException)

+ 1 - 1
Unity/Assets/Scripts/Loader/CodeLoader.cs

@@ -171,7 +171,7 @@ namespace ET
             });
             codeTypes.CreateCode();
 
-            Log.Debug($"reload dll finish!");
+            Log.Info($"reload dll finish!");
         }
     }
 }

+ 23 - 7
Unity/Assets/Scripts/Loader/Resource/ResourcesComponent.cs

@@ -106,22 +106,38 @@ namespace ET
 
 #if UNITY_EDITOR
                 if (UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.Android)
+                {
                     return $"{hostServerIP}/CDN/Android/{appVersion}";
+                }
                 else if (UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.iOS)
+                {
                     return $"{hostServerIP}/CDN/IPhone/{appVersion}";
+                }
                 else if (UnityEditor.EditorUserBuildSettings.activeBuildTarget == UnityEditor.BuildTarget.WebGL)
+                {
                     return $"{hostServerIP}/CDN/WebGL/{appVersion}";
+                }
                 else
+                {
                     return $"{hostServerIP}/CDN/PC/{appVersion}";
+                }
 #else
 		        if (Application.platform == RuntimePlatform.Android)
-		        	return $"{hostServerIP}/CDN/Android/{appVersion}";
-		        else if (Application.platform == RuntimePlatform.IPhonePlayer)
-		        	return $"{hostServerIP}/CDN/IPhone/{appVersion}";
-		        else if (Application.platform == RuntimePlatform.WebGLPlayer)
-		        	return $"{hostServerIP}/CDN/WebGL/{appVersion}";
-		        else
-		        	return $"{hostServerIP}/CDN/PC/{appVersion}";
+                {
+                    return $"{hostServerIP}/CDN/Android/{appVersion}";
+                }
+                else if (Application.platform == RuntimePlatform.IPhonePlayer)
+                {
+                    return $"{hostServerIP}/CDN/IPhone/{appVersion}";
+                }
+                else if (Application.platform == RuntimePlatform.WebGLPlayer)
+                {
+                    return $"{hostServerIP}/CDN/WebGL/{appVersion}";
+                }
+                else
+                {
+                    return $"{hostServerIP}/CDN/PC/{appVersion}";
+                }
 #endif
             }
         }

+ 2 - 2
Unity/Assets/Scripts/Model/Generate/Client/Message/ClientMessage_C_1000.cs

@@ -28,7 +28,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.OwnerFiberId = default;
 			this.Account = default;
@@ -62,7 +62,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 12 - 12
Unity/Assets/Scripts/Model/Generate/Client/Message/LockStepOuter_C_11001.cs

@@ -18,7 +18,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -46,7 +46,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -75,7 +75,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.ActorId = default;
 			
@@ -99,7 +99,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -127,7 +127,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			this.Position = default;
 			this.Rotation = default;
@@ -155,7 +155,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.StartTime = default;
 			this.UnitInfo.Clear();
 			
@@ -184,7 +184,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Frame = default;
 			this.PlayerId = default;
 			this.Input = default;
@@ -208,7 +208,7 @@ namespace ET
 		public Dictionary<long, LSInput> Inputs { get; set; } = new();
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Inputs.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -230,7 +230,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.DiffTime = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -258,7 +258,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			this.Frame = default;
 			this.Hash = default;
@@ -285,7 +285,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Frame = default;
 			this.LSWorldBytes = default;
 			
@@ -314,7 +314,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.StartTime = default;
 			this.UnitInfos.Clear();
 			this.Frame = default;

+ 34 - 34
Unity/Assets/Scripts/Model/Generate/Client/Message/OuterMessage_C_10001.cs

@@ -20,7 +20,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Realms.Clear();
 			this.Routers.Clear();
 			
@@ -46,7 +46,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.ConnectId = default;
 			this.Address = default;
 			
@@ -73,7 +73,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.request = default;
 			
@@ -105,7 +105,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -131,7 +131,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -163,7 +163,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -194,7 +194,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Points.Clear();
 			this.Rotation = default;
 			this.TurnSpeed = default;
@@ -236,7 +236,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.UnitId = default;
 			this.ConfigId = default;
 			this.Type = default;
@@ -264,7 +264,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Units.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -286,7 +286,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Unit = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -311,7 +311,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.SceneInstanceId = default;
 			this.SceneName = default;
 			
@@ -334,7 +334,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Units.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -359,7 +359,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Position = default;
 			
@@ -382,7 +382,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -410,7 +410,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Id = default;
 			this.Position = default;
 			this.Points.Clear();
@@ -443,7 +443,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Error = default;
 			this.Id = default;
 			this.Position = default;
@@ -469,7 +469,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -500,7 +500,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -522,7 +522,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			
 			ObjectPool.Instance.Recycle(this); 
 		}
@@ -550,7 +550,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			this.Password = default;
@@ -580,7 +580,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -611,7 +611,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			this.Password = default;
@@ -650,7 +650,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -684,7 +684,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Key = default;
 			this.GateId = default;
@@ -717,7 +717,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -742,7 +742,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Info = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -768,7 +768,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -800,7 +800,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -828,7 +828,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -854,7 +854,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -878,7 +878,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -906,7 +906,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -931,7 +931,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -959,7 +959,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 2 - 2
Unity/Assets/Scripts/Model/Generate/ClientServer/Message/ClientMessage_C_1000.cs

@@ -28,7 +28,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.OwnerFiberId = default;
 			this.Account = default;
@@ -62,7 +62,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 23 - 23
Unity/Assets/Scripts/Model/Generate/ClientServer/Message/InnerMessage_S_20001.cs

@@ -25,7 +25,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Key = default;
 			this.InstanceId = default;
@@ -50,7 +50,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -78,7 +78,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -109,7 +109,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Id = default;
 			this.Address = default;
@@ -139,7 +139,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -170,7 +170,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Id = default;
 			this.Address = default;
@@ -200,7 +200,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -234,7 +234,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -265,7 +265,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -302,7 +302,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -334,7 +334,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -371,7 +371,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -403,7 +403,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -434,7 +434,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -464,7 +464,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -495,7 +495,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -531,7 +531,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -561,7 +561,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			
@@ -596,7 +596,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -622,7 +622,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -653,7 +653,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -688,7 +688,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.OldActorId = default;
 			this.Unit = default;
@@ -719,7 +719,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 8 - 8
Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepInner_S_21001.cs

@@ -22,7 +22,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Id = default;
 			
@@ -51,7 +51,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -79,7 +79,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.PlayerIds.Clear();
 			
@@ -112,7 +112,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -141,7 +141,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.PlayerId = default;
 			
@@ -179,7 +179,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -210,7 +210,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.PlayerIds.Clear();
 			
@@ -239,7 +239,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 12 - 12
Unity/Assets/Scripts/Model/Generate/ClientServer/Message/LockStepOuter_C_11001.cs

@@ -18,7 +18,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -46,7 +46,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -75,7 +75,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.ActorId = default;
 			
@@ -99,7 +99,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -127,7 +127,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			this.Position = default;
 			this.Rotation = default;
@@ -155,7 +155,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.StartTime = default;
 			this.UnitInfo.Clear();
 			
@@ -184,7 +184,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Frame = default;
 			this.PlayerId = default;
 			this.Input = default;
@@ -208,7 +208,7 @@ namespace ET
 		public Dictionary<long, LSInput> Inputs { get; set; } = new();
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Inputs.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -230,7 +230,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.DiffTime = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -258,7 +258,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			this.Frame = default;
 			this.Hash = default;
@@ -285,7 +285,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Frame = default;
 			this.LSWorldBytes = default;
 			
@@ -314,7 +314,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.StartTime = default;
 			this.UnitInfos.Clear();
 			this.Frame = default;

+ 34 - 34
Unity/Assets/Scripts/Model/Generate/ClientServer/Message/OuterMessage_C_10001.cs

@@ -20,7 +20,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Realms.Clear();
 			this.Routers.Clear();
 			
@@ -46,7 +46,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.ConnectId = default;
 			this.Address = default;
 			
@@ -73,7 +73,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.request = default;
 			
@@ -105,7 +105,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -131,7 +131,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -163,7 +163,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -194,7 +194,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Points.Clear();
 			this.Rotation = default;
 			this.TurnSpeed = default;
@@ -236,7 +236,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.UnitId = default;
 			this.ConfigId = default;
 			this.Type = default;
@@ -264,7 +264,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Units.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -286,7 +286,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Unit = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -311,7 +311,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.SceneInstanceId = default;
 			this.SceneName = default;
 			
@@ -334,7 +334,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Units.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -359,7 +359,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Position = default;
 			
@@ -382,7 +382,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -410,7 +410,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Id = default;
 			this.Position = default;
 			this.Points.Clear();
@@ -443,7 +443,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Error = default;
 			this.Id = default;
 			this.Position = default;
@@ -469,7 +469,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -500,7 +500,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -522,7 +522,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			
 			ObjectPool.Instance.Recycle(this); 
 		}
@@ -550,7 +550,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			this.Password = default;
@@ -580,7 +580,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -611,7 +611,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			this.Password = default;
@@ -650,7 +650,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -684,7 +684,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Key = default;
 			this.GateId = default;
@@ -717,7 +717,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -742,7 +742,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Info = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -768,7 +768,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -800,7 +800,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -828,7 +828,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -854,7 +854,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -878,7 +878,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -906,7 +906,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -931,7 +931,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -959,7 +959,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 2 - 2
Unity/Assets/Scripts/Model/Generate/Server/Message/ClientMessage_C_1000.cs

@@ -28,7 +28,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.OwnerFiberId = default;
 			this.Account = default;
@@ -62,7 +62,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 23 - 23
Unity/Assets/Scripts/Model/Generate/Server/Message/InnerMessage_S_20001.cs

@@ -25,7 +25,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Key = default;
 			this.InstanceId = default;
@@ -50,7 +50,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -78,7 +78,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -109,7 +109,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Id = default;
 			this.Address = default;
@@ -139,7 +139,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -170,7 +170,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Id = default;
 			this.Address = default;
@@ -200,7 +200,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -234,7 +234,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -265,7 +265,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -302,7 +302,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -334,7 +334,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -371,7 +371,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -403,7 +403,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -434,7 +434,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -464,7 +464,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -495,7 +495,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Type = default;
 			this.Key = default;
@@ -531,7 +531,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -561,7 +561,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			
@@ -596,7 +596,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -622,7 +622,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -653,7 +653,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -688,7 +688,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.OldActorId = default;
 			this.Unit = default;
@@ -719,7 +719,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 8 - 8
Unity/Assets/Scripts/Model/Generate/Server/Message/LockStepInner_S_21001.cs

@@ -22,7 +22,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Id = default;
 			
@@ -51,7 +51,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -79,7 +79,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.PlayerIds.Clear();
 			
@@ -112,7 +112,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -141,7 +141,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.PlayerId = default;
 			
@@ -179,7 +179,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -210,7 +210,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.PlayerIds.Clear();
 			
@@ -239,7 +239,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 12 - 12
Unity/Assets/Scripts/Model/Generate/Server/Message/LockStepOuter_C_11001.cs

@@ -18,7 +18,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -46,7 +46,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -75,7 +75,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.ActorId = default;
 			
@@ -99,7 +99,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -127,7 +127,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			this.Position = default;
 			this.Rotation = default;
@@ -155,7 +155,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.StartTime = default;
 			this.UnitInfo.Clear();
 			
@@ -184,7 +184,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Frame = default;
 			this.PlayerId = default;
 			this.Input = default;
@@ -208,7 +208,7 @@ namespace ET
 		public Dictionary<long, LSInput> Inputs { get; set; } = new();
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Inputs.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -230,7 +230,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.DiffTime = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -258,7 +258,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.PlayerId = default;
 			this.Frame = default;
 			this.Hash = default;
@@ -285,7 +285,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Frame = default;
 			this.LSWorldBytes = default;
 			
@@ -314,7 +314,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.StartTime = default;
 			this.UnitInfos.Clear();
 			this.Frame = default;

+ 34 - 34
Unity/Assets/Scripts/Model/Generate/Server/Message/OuterMessage_C_10001.cs

@@ -20,7 +20,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Realms.Clear();
 			this.Routers.Clear();
 			
@@ -46,7 +46,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.ConnectId = default;
 			this.Address = default;
 			
@@ -73,7 +73,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.request = default;
 			
@@ -105,7 +105,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -131,7 +131,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -163,7 +163,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -194,7 +194,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Points.Clear();
 			this.Rotation = default;
 			this.TurnSpeed = default;
@@ -236,7 +236,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.UnitId = default;
 			this.ConfigId = default;
 			this.Type = default;
@@ -264,7 +264,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Units.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -286,7 +286,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Unit = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -311,7 +311,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.SceneInstanceId = default;
 			this.SceneName = default;
 			
@@ -334,7 +334,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Units.Clear();
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -359,7 +359,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Position = default;
 			
@@ -382,7 +382,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -410,7 +410,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Id = default;
 			this.Position = default;
 			this.Points.Clear();
@@ -443,7 +443,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Error = default;
 			this.Id = default;
 			this.Position = default;
@@ -469,7 +469,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -500,7 +500,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -522,7 +522,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			
 			ObjectPool.Instance.Recycle(this); 
 		}
@@ -550,7 +550,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			this.Password = default;
@@ -580,7 +580,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -611,7 +611,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Account = default;
 			this.Password = default;
@@ -650,7 +650,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -684,7 +684,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Key = default;
 			this.GateId = default;
@@ -717,7 +717,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -742,7 +742,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.Info = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -768,7 +768,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -800,7 +800,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -828,7 +828,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -854,7 +854,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.N = default;
 			
@@ -878,7 +878,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -906,7 +906,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;
@@ -931,7 +931,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			
 			ObjectPool.Instance.Recycle(this); 
@@ -959,7 +959,7 @@ namespace ET
 
 		public override void Dispose() 
 		{
-			if (!this.IsFromPool) return;
+			if (!this.IsFromPool) { return; }
 			this.RpcId = default;
 			this.Error = default;
 			this.Message = default;

+ 1 - 1
Unity/Packages/packages-lock.json

@@ -5,7 +5,7 @@
       "depth": 0,
       "source": "git",
       "dependencies": {},
-      "hash": "febff1c658fa9d76726f3aa25f26ec6d35c1e2e6"
+      "hash": "51da1d4c433504f3171fff66217035b89c45d823"
     },
     "com.cysharp.memorypack": {
       "version": "https://github.com/Cysharp/MemoryPack.git?path=src/MemoryPack.Unity/Assets/Plugins/MemoryPack",