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

修复UIType无法热更的问题,现在可以热更增加UIType了

tanghai 8 лет назад
Родитель
Сommit
d30f82339d
22 измененных файлов с 233 добавлено и 108 удалено
  1. 2 2
      Unity/Assets/Scripts/Module/UI/IUIFactory.cs
  2. 12 12
      Unity/Assets/Scripts/Module/UI/UIComponent.cs
  3. 25 6
      Unity/Assets/Scripts/Module/UI/UIType.cs
  4. 2 2
      Unity/Assets/Scripts/UI/UILoading/Factory/UILoadingFactory.cs
  5. 2 2
      Unity/Assets/ThirdParty/ILRuntime/Generated/.cs.meta
  6. 4 3
      Unity/Assets/ThirdParty/ILRuntime/Generated/CLRBindings.cs
  7. 27 32
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_B_t.cs
  8. 2 2
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_B_t.cs.meta
  9. 53 0
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_String_Binding.cs
  10. 12 0
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_String_Binding.cs.meta
  11. 5 5
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_Int32_Binding.cs
  12. 12 0
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_Int32_Binding.cs.meta
  13. 1 1
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_UnitInfo_Binding_Enumerator__t.cs.meta
  14. 3 3
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Linq_Enumerable_Binding.cs
  15. 1 1
      Unity/Assets/ThirdParty/ILRuntime/Generated/System_Linq_Enumerable_Binding.cs.meta
  16. 3 4
      Unity/Hotfix/Module/UI/IUIFactory.cs
  17. 12 12
      Unity/Hotfix/Module/UI/UIComponent.cs
  18. 31 0
      Unity/Hotfix/Module/UI/UIType.cs
  19. 7 5
      Unity/Hotfix/UI/UILobby/Factory/UILobbyFactory.cs
  20. 8 6
      Unity/Hotfix/UI/UILogin/Factory/UILoginFactory.cs
  21. 1 0
      Unity/Hotfix/Unity.Hotfix.csproj
  22. 8 10
      Unity/Unity.csproj

+ 2 - 2
Unity/Assets/Scripts/Module/UI/IUIFactory.cs

@@ -4,7 +4,7 @@ namespace ETModel
 {
 	public interface IUIFactory
 	{
-		UI Create(Scene scene, UIType type, GameObject parent);
-		void Remove(UIType type);
+		UI Create(Scene scene, int type, GameObject parent);
+		void Remove(int type);
 	}
 }

+ 12 - 12
Unity/Assets/Scripts/Module/UI/UIComponent.cs

@@ -29,8 +29,8 @@ namespace ETModel
 	public class UIComponent: Component
 	{
 		private GameObject Root;
-		private readonly Dictionary<UIType, IUIFactory> UiTypes = new Dictionary<UIType, IUIFactory>();
-		private readonly Dictionary<UIType, UI> uis = new Dictionary<UIType, UI>();
+		private readonly Dictionary<int, IUIFactory> UiTypes = new Dictionary<int, IUIFactory>();
+		private readonly Dictionary<int, UI> uis = new Dictionary<int, UI>();
 
 		public override void Dispose()
 		{
@@ -41,7 +41,7 @@ namespace ETModel
 
 			base.Dispose();
 
-			foreach (UIType type in uis.Keys.ToArray())
+			foreach (int type in uis.Keys.ToArray())
 			{
 				UI ui;
 				if (!uis.TryGetValue(type, out ui))
@@ -77,7 +77,7 @@ namespace ETModel
 				}
 
 				UIFactoryAttribute attribute = attrs[0] as UIFactoryAttribute;
-				if (UiTypes.ContainsKey((UIType)attribute.Type))
+				if (UiTypes.ContainsKey(attribute.Type))
 				{
                     Log.Debug($"已经存在同类UI Factory: {attribute.Type}");
 					throw new Exception($"已经存在同类UI Factory: {attribute.Type}");
@@ -89,11 +89,11 @@ namespace ETModel
 					Log.Error($"{o.GetType().FullName} 没有继承 IUIFactory");
 					continue;
 				}
-				this.UiTypes.Add((UIType)attribute.Type, factory);
+				this.UiTypes.Add(attribute.Type, factory);
 			}
 		}
 
-		public UI Create(UIType type)
+		public UI Create(int type)
 		{
 			try
 			{
@@ -111,12 +111,12 @@ namespace ETModel
 			}
 		}
 
-		public void Add(UIType type, UI ui)
+		public void Add(int type, UI ui)
 		{
 			this.uis.Add(type, ui);
 		}
 
-		public void Remove(UIType type)
+		public void Remove(int type)
 		{
 			UI ui;
 			if (!uis.TryGetValue(type, out ui))
@@ -129,7 +129,7 @@ namespace ETModel
 
 		public void RemoveAll()
 		{
-			foreach (UIType type in this.uis.Keys.ToArray())
+			foreach (int type in this.uis.Keys.ToArray())
 			{
 				UI ui;
 				if (!this.uis.TryGetValue(type, out ui))
@@ -141,16 +141,16 @@ namespace ETModel
 			}
 		}
 
-		public UI Get(UIType type)
+		public UI Get(int type)
 		{
 			UI ui;
 			this.uis.TryGetValue(type, out ui);
 			return ui;
 		}
 
-		public List<UIType> GetUITypeList()
+		public List<int> GetUITypeList()
 		{
-			return new List<UIType>(this.uis.Keys);
+			return new List<int>(this.uis.Keys);
 		}
 	}
 }

+ 25 - 6
Unity/Assets/Scripts/Module/UI/UIType.cs

@@ -1,10 +1,29 @@
-namespace ETModel
+using System;
+using System.Collections.Generic;
+
+namespace ETModel
 {
-    public enum UIType
+    public static class UIType
     {
-        Root = 0,
-        UILogin,
-		UILobby,
-	    UILoading,
+	    public const int Root = 0;
+	    public const int UILoading = 10000;
+
+	    public static Dictionary<int, string> UIName = new Dictionary<int, string>()
+	    {
+			{Root,              "Root" },
+			{UILoading,         "UILoading" },
+	    };
+
+	    public static string GetUIName(int type)
+	    {
+		    try
+		    {
+			    return UIName[type];
+		    }
+		    catch (Exception e)
+		    {
+			    throw new Exception($"not found ui: {type}", e);
+		    }
+	    }
 	}
 }

+ 2 - 2
Unity/Assets/Scripts/UI/UILoading/Factory/UILoadingFactory.cs

@@ -6,7 +6,7 @@ namespace ETModel
     [UIFactory((int)UIType.UILoading)]
     public class UILoadingFactory : IUIFactory
     {
-        public UI Create(Scene scene, UIType type, GameObject gameObject)
+        public UI Create(Scene scene, int type, GameObject gameObject)
         {
 	        try
 	        {
@@ -25,7 +25,7 @@ namespace ETModel
 	        }
 		}
 
-	    public void Remove(UIType type)
+	    public void Remove(int type)
 	    {
 	    }
     }

+ 2 - 2
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_UIType_ILTypeInstance__t.cs.meta → Unity/Assets/ThirdParty/ILRuntime/Generated/.cs.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
-guid: e35dd8ce79592de47a0e8cb604d4d927
-timeCreated: 1520320314
+guid: aa1ea563f0a32fe43b85c03cc902e65e
+timeCreated: 1520320313
 licenseType: Free
 MonoImporter:
   serializedVersion: 2

+ 4 - 3
Unity/Assets/ThirdParty/ILRuntime/Generated/CLRBindings.cs

@@ -56,7 +56,7 @@ namespace ILRuntime.Runtime.Generated
             System_Activator_Binding.Register(app);
             ETModel_GameObjectHelper_Binding.Register(app);
             UnityEngine_TextAsset_Binding.Register(app);
-            //UnityEngine_Resources_Binding.Register(app);
+            UnityEngine_Resources_Binding.Register(app);
             ETModel_PacketInfo_Binding.Register(app);
             ETModel_ProtobufHelper_Binding.Register(app);
             ETModel_MessageInfo_Binding.Register(app);
@@ -81,12 +81,12 @@ namespace ILRuntime.Runtime.Generated
             ETModel_MessageAttribute_Binding.Register(app);
             ETModel_DoubleMap_2_UInt16_Type_Binding.Register(app);
             ProtoBuf_PType_Binding.Register(app);
-            System_Collections_Generic_Dictionary_2_UIType_ILTypeInstance_Binding.Register(app);
+            System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_Binding.Register(app);
             UnityEngine_GameObject_Binding.Register(app);
             ETModel_UIFactoryAttribute_Binding.Register(app);
             ETModel_CanvasConfig_Binding.Register(app);
             UnityEngine_Transform_Binding.Register(app);
-            System_Collections_Generic_List_1_UIType_Binding.Register(app);
+            System_Collections_Generic_List_1_Int32_Binding.Register(app);
             ETModel_Disposer_Binding.Register(app);
             ETModel_Scene_Binding.Register(app);
             System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_ILTypeInstance_Binding.Register(app);
@@ -99,6 +99,7 @@ namespace ILRuntime.Runtime.Generated
             UnityEngine_Component_Binding.Register(app);
             ETModel_ClientDispatcher_Binding.Register(app);
             ETModel_NetworkComponent_Binding.Register(app);
+            System_Collections_Generic_Dictionary_2_Int32_String_Binding.Register(app);
             ReferenceCollector_Binding.Register(app);
             UnityEngine_UI_Button_Binding.Register(app);
             ETModel_ActionHelper_Binding.Register(app);

+ 27 - 32
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_UIType_ILTypeInstance__t.cs → Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_B_t.cs

@@ -13,7 +13,7 @@ using ILRuntime.CLR.Utils;
 
 namespace ILRuntime.Runtime.Generated
 {
-    unsafe class System_Collections_Generic_Dictionary_2_UIType_ILTypeInstance_Binding
+    unsafe class System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_Binding
     {
         public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
         {
@@ -21,26 +21,26 @@ namespace ILRuntime.Runtime.Generated
             MethodBase method;
             FieldInfo field;
             Type[] args;
-            Type type = typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>);
+            Type type = typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>);
             args = new Type[]{};
             method = type.GetMethod("get_Keys", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, get_Keys_0);
-            args = new Type[]{typeof(ETModel.UIType), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).MakeByRefType()};
+            args = new Type[]{typeof(System.Int32), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).MakeByRefType()};
             method = type.GetMethod("TryGetValue", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, TryGetValue_1);
-            args = new Type[]{typeof(ETModel.UIType)};
+            args = new Type[]{typeof(System.Int32)};
             method = type.GetMethod("Remove", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, Remove_2);
             args = new Type[]{};
             method = type.GetMethod("Clear", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, Clear_3);
-            args = new Type[]{typeof(ETModel.UIType)};
+            args = new Type[]{typeof(System.Int32)};
             method = type.GetMethod("ContainsKey", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, ContainsKey_4);
-            args = new Type[]{typeof(ETModel.UIType), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance)};
+            args = new Type[]{typeof(System.Int32), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance)};
             method = type.GetMethod("Add", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, Add_5);
-            args = new Type[]{typeof(ETModel.UIType)};
+            args = new Type[]{typeof(System.Int32)};
             method = type.GetMethod("get_Item", flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, get_Item_6);
 
@@ -57,8 +57,8 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 1);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             var result_of_this_method = instance_of_this_method.Keys;
@@ -75,11 +75,10 @@ namespace ILRuntime.Runtime.Generated
             ptr_of_this_method = ILIntepreter.GetObjectAndResolveReference(ptr_of_this_method);
             ILRuntime.Runtime.Intepreter.ILTypeInstance value = (ILRuntime.Runtime.Intepreter.ILTypeInstance)typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
-            ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
-            __intp.Free(ptr_of_this_method);
+            System.Int32 key = ptr_of_this_method->Value;
             ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             var result_of_this_method = instance_of_this_method.TryGetValue(key, out value);
@@ -149,11 +148,10 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 2);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
-            __intp.Free(ptr_of_this_method);
+            System.Int32 key = ptr_of_this_method->Value;
             ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             var result_of_this_method = instance_of_this_method.Remove(key);
@@ -169,8 +167,8 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 1);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             instance_of_this_method.Clear();
@@ -184,11 +182,10 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 2);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
-            __intp.Free(ptr_of_this_method);
+            System.Int32 key = ptr_of_this_method->Value;
             ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             var result_of_this_method = instance_of_this_method.ContainsKey(key);
@@ -207,11 +204,10 @@ namespace ILRuntime.Runtime.Generated
             ILRuntime.Runtime.Intepreter.ILTypeInstance value = (ILRuntime.Runtime.Intepreter.ILTypeInstance)typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
-            ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
-            __intp.Free(ptr_of_this_method);
+            System.Int32 key = ptr_of_this_method->Value;
             ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             instance_of_this_method.Add(key, value);
@@ -225,11 +221,10 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 2);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            ETModel.UIType key = (ETModel.UIType)typeof(ETModel.UIType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
-            __intp.Free(ptr_of_this_method);
+            System.Int32 key = ptr_of_this_method->Value;
             ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
-            System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
-            instance_of_this_method = (System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>)typeof(System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
             var result_of_this_method = instance_of_this_method[key];
@@ -244,7 +239,7 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 0);
 
-            var result_of_this_method = new System.Collections.Generic.Dictionary<ETModel.UIType, ILRuntime.Runtime.Intepreter.ILTypeInstance>();
+            var result_of_this_method = new System.Collections.Generic.Dictionary<System.Int32, ILRuntime.Runtime.Intepreter.ILTypeInstance>();
 
             return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
         }

+ 2 - 2
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_UIType_Binding.cs.meta → Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_B_t.cs.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
-guid: e6602763368d61a448b470234535875c
-timeCreated: 1520320314
+guid: 6ec6a94f35e4f2148a36c59f8b081b3d
+timeCreated: 1520500082
 licenseType: Free
 MonoImporter:
   serializedVersion: 2

+ 53 - 0
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_String_Binding.cs

@@ -0,0 +1,53 @@
+using System;
+using System.Collections.Generic;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+using ILRuntime.CLR.TypeSystem;
+using ILRuntime.CLR.Method;
+using ILRuntime.Runtime.Enviorment;
+using ILRuntime.Runtime.Intepreter;
+using ILRuntime.Runtime.Stack;
+using ILRuntime.Reflection;
+using ILRuntime.CLR.Utils;
+
+namespace ILRuntime.Runtime.Generated
+{
+    unsafe class System_Collections_Generic_Dictionary_2_Int32_String_Binding
+    {
+        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
+        {
+            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
+            MethodBase method;
+            FieldInfo field;
+            Type[] args;
+            Type type = typeof(System.Collections.Generic.Dictionary<System.Int32, System.String>);
+            args = new Type[]{typeof(System.Int32)};
+            method = type.GetMethod("get_Item", flag, null, args, null);
+            app.RegisterCLRMethodRedirection(method, get_Item_0);
+
+
+        }
+
+
+        static StackObject* get_Item_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
+        {
+            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
+            StackObject* ptr_of_this_method;
+            StackObject* __ret = ILIntepreter.Minus(__esp, 2);
+            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
+            System.Int32 key = ptr_of_this_method->Value;
+            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
+            System.Collections.Generic.Dictionary<System.Int32, System.String> instance_of_this_method;
+            instance_of_this_method = (System.Collections.Generic.Dictionary<System.Int32, System.String>)typeof(System.Collections.Generic.Dictionary<System.Int32, System.String>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            __intp.Free(ptr_of_this_method);
+
+            var result_of_this_method = instance_of_this_method[key];
+
+            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
+        }
+
+
+
+    }
+}

+ 12 - 0
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_Dictionary_2_Int32_String_Binding.cs.meta

@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: a8a8dd5bf54951a4d939fc07c2b1829f
+timeCreated: 1520500082
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 5 - 5
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_UIType_Binding.cs → Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_Int32_Binding.cs

@@ -13,7 +13,7 @@ using ILRuntime.CLR.Utils;
 
 namespace ILRuntime.Runtime.Generated
 {
-    unsafe class System_Collections_Generic_List_1_UIType_Binding
+    unsafe class System_Collections_Generic_List_1_Int32_Binding
     {
         public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
         {
@@ -21,9 +21,9 @@ namespace ILRuntime.Runtime.Generated
             MethodBase method;
             FieldInfo field;
             Type[] args;
-            Type type = typeof(System.Collections.Generic.List<ETModel.UIType>);
+            Type type = typeof(System.Collections.Generic.List<System.Int32>);
 
-            args = new Type[]{typeof(System.Collections.Generic.IEnumerable<ETModel.UIType>)};
+            args = new Type[]{typeof(System.Collections.Generic.IEnumerable<System.Int32>)};
             method = type.GetConstructor(flag, null, args, null);
             app.RegisterCLRMethodRedirection(method, Ctor_0);
 
@@ -37,10 +37,10 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 1);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            System.Collections.Generic.IEnumerable<ETModel.UIType> collection = (System.Collections.Generic.IEnumerable<ETModel.UIType>)typeof(System.Collections.Generic.IEnumerable<ETModel.UIType>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.IEnumerable<System.Int32> collection = (System.Collections.Generic.IEnumerable<System.Int32>)typeof(System.Collections.Generic.IEnumerable<System.Int32>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
-            var result_of_this_method = new System.Collections.Generic.List<ETModel.UIType>(collection);
+            var result_of_this_method = new System.Collections.Generic.List<System.Int32>(collection);
 
             return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
         }

+ 12 - 0
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_Int32_Binding.cs.meta

@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 009e205ccfabcc34a975283fffec5bfb
+timeCreated: 1520500082
+licenseType: Free
+MonoImporter:
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 1 - 1
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Collections_Generic_List_1_UnitInfo_Binding_Enumerator__t.cs.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
 guid: aa1ea563f0a32fe43b85c03cc902e65e
-timeCreated: 1520320313
+timeCreated: 1520500082
 licenseType: Free
 MonoImporter:
   serializedVersion: 2

+ 3 - 3
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Linq_Enumerable_Binding.cs

@@ -50,7 +50,7 @@ namespace ILRuntime.Runtime.Generated
                     }
                 }
             }
-            args = new Type[]{typeof(ETModel.UIType)};
+            args = new Type[]{typeof(System.Int32)};
             if (genericMethods.TryGetValue("ToArray", out lst))
             {
                 foreach(var m in lst)
@@ -103,10 +103,10 @@ namespace ILRuntime.Runtime.Generated
             StackObject* ptr_of_this_method;
             StackObject* __ret = ILIntepreter.Minus(__esp, 1);
             ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
-            System.Collections.Generic.IEnumerable<ETModel.UIType> source = (System.Collections.Generic.IEnumerable<ETModel.UIType>)typeof(System.Collections.Generic.IEnumerable<ETModel.UIType>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
+            System.Collections.Generic.IEnumerable<System.Int32> source = (System.Collections.Generic.IEnumerable<System.Int32>)typeof(System.Collections.Generic.IEnumerable<System.Int32>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
             __intp.Free(ptr_of_this_method);
 
-            var result_of_this_method = System.Linq.Enumerable.ToArray<ETModel.UIType>(source);
+            var result_of_this_method = System.Linq.Enumerable.ToArray<System.Int32>(source);
 
             return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
         }

+ 1 - 1
Unity/Assets/ThirdParty/ILRuntime/Generated/System_Linq_Enumerable_Binding.cs.meta

@@ -1,6 +1,6 @@
 fileFormatVersion: 2
 guid: 66a5d51665a3cca4993271e08f4590be
-timeCreated: 1520320313
+timeCreated: 1520500082
 licenseType: Free
 MonoImporter:
   serializedVersion: 2

+ 3 - 4
Unity/Hotfix/Module/UI/IUIFactory.cs

@@ -1,11 +1,10 @@
-using ETModel;
-using UnityEngine;
+using UnityEngine;
 
 namespace ETHotfix
 {
 	public interface IUIFactory
 	{
-		UI Create(Scene scene, UIType type, GameObject parent);
-		void Remove(UIType type);
+		UI Create(Scene scene, int type, GameObject parent);
+		void Remove(int type);
 	}
 }

+ 12 - 12
Unity/Hotfix/Module/UI/UIComponent.cs

@@ -30,8 +30,8 @@ namespace ETHotfix
 	public class UIComponent: Component
 	{
 		private GameObject Root;
-		private readonly Dictionary<UIType, IUIFactory> UiTypes = new Dictionary<UIType, IUIFactory>();
-		private readonly Dictionary<UIType, UI> uis = new Dictionary<UIType, UI>();
+		private readonly Dictionary<int, IUIFactory> UiTypes = new Dictionary<int, IUIFactory>();
+		private readonly Dictionary<int, UI> uis = new Dictionary<int, UI>();
 
 		public override void Dispose()
 		{
@@ -42,7 +42,7 @@ namespace ETHotfix
 
 			base.Dispose();
 
-			foreach (UIType type in uis.Keys.ToArray())
+			foreach (int type in uis.Keys.ToArray())
 			{
 				UI ui;
 				if (!uis.TryGetValue(type, out ui))
@@ -78,7 +78,7 @@ namespace ETHotfix
 				}
 
 				UIFactoryAttribute attribute = attrs[0] as UIFactoryAttribute;
-				if (UiTypes.ContainsKey((UIType)attribute.Type))
+				if (UiTypes.ContainsKey(attribute.Type))
 				{
                     Log.Debug($"已经存在同类UI Factory: {attribute.Type}");
 					throw new Exception($"已经存在同类UI Factory: {attribute.Type}");
@@ -90,11 +90,11 @@ namespace ETHotfix
 					Log.Error($"{o.GetType().FullName} 没有继承 IUIFactory");
 					continue;
 				}
-				this.UiTypes.Add((UIType)attribute.Type, factory);
+				this.UiTypes.Add(attribute.Type, factory);
 			}
 		}
 
-		public UI Create(UIType type)
+		public UI Create(int type)
 		{
 			try
 			{
@@ -112,12 +112,12 @@ namespace ETHotfix
 			}
 		}
 
-		public void Add(UIType type, UI ui)
+		public void Add(int type, UI ui)
 		{
 			this.uis.Add(type, ui);
 		}
 
-		public void Remove(UIType type)
+		public void Remove(int type)
 		{
 			UI ui;
 			if (!uis.TryGetValue(type, out ui))
@@ -131,7 +131,7 @@ namespace ETHotfix
 
 		public void RemoveAll()
 		{
-			foreach (UIType type in this.uis.Keys.ToArray())
+			foreach (int type in this.uis.Keys.ToArray())
 			{
 				UI ui;
 				if (!this.uis.TryGetValue(type, out ui))
@@ -143,16 +143,16 @@ namespace ETHotfix
 			}
 		}
 
-		public UI Get(UIType type)
+		public UI Get(int type)
 		{
 			UI ui;
 			this.uis.TryGetValue(type, out ui);
 			return ui;
 		}
 
-		public List<UIType> GetUITypeList()
+		public List<int> GetUITypeList()
 		{
-			return new List<UIType>(this.uis.Keys);
+			return new List<int>(this.uis.Keys);
 		}
 	}
 }

+ 31 - 0
Unity/Hotfix/Module/UI/UIType.cs

@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+
+namespace ETHotfix
+{
+    public static class UIType
+    {
+	    public const int Root = 0;
+	    public const int UILogin = 1;
+	    public const int UILobby = 2;
+
+	    public static Dictionary<int, string> UIName = new Dictionary<int, string>()
+	    {
+			{Root,            "Root" },
+			{UILogin,         "UILogin" },
+			{UILobby,         "UILobby" },
+		};
+
+	    public static string GetUIName(int type)
+	    {
+		    try
+		    {
+			    return UIName[type];
+		    }
+		    catch (Exception e)
+		    {
+			    throw new Exception($"not found ui: {type}", e);
+		    }
+	    }
+	}
+}

+ 7 - 5
Unity/Hotfix/UI/UILobby/Factory/UILobbyFactory.cs

@@ -7,13 +7,14 @@ namespace ETHotfix
     [UIFactory((int)UIType.UILobby)]
     public class UILobbyFactory : IUIFactory
     {
-        public UI Create(Scene scene, UIType type, GameObject gameObject)
+        public UI Create(Scene scene, int type, GameObject gameObject)
         {
 	        try
 	        {
+		        string uiName = UIType.GetUIName(type);
 				ResourcesComponent resourcesComponent = ETModel.Game.Scene.GetComponent<ResourcesComponent>();
-		        resourcesComponent.LoadBundle($"{type}.unity3d");
-				GameObject bundleGameObject = resourcesComponent.GetAsset<GameObject>($"{type}.unity3d", $"{type}");
+		        resourcesComponent.LoadBundle($"{uiName}.unity3d");
+				GameObject bundleGameObject = resourcesComponent.GetAsset<GameObject>($"{uiName}.unity3d", $"{uiName}");
 				GameObject lobby = UnityEngine.Object.Instantiate(bundleGameObject);
 				lobby.layer = LayerMask.NameToLayer(LayerNames.UI);
 				UI ui = ComponentFactory.Create<UI, GameObject>(lobby);
@@ -28,9 +29,10 @@ namespace ETHotfix
 	        }
 		}
 
-	    public void Remove(UIType type)
+	    public void Remove(int type)
 	    {
-		    ETModel.Game.Scene.GetComponent<ResourcesComponent>().UnloadBundle($"{type}.unity3d");
+		    string uiName = UIType.GetUIName(type);
+			ETModel.Game.Scene.GetComponent<ResourcesComponent>().UnloadBundle($"{uiName}.unity3d");
 		}
     }
 }

+ 8 - 6
Unity/Hotfix/UI/UILogin/Factory/UILoginFactory.cs

@@ -7,13 +7,14 @@ namespace ETHotfix
     [UIFactory((int)UIType.UILogin)]
     public class UILoginFactory : IUIFactory
     {
-        public UI Create(Scene scene, UIType type, GameObject gameObject)
+        public UI Create(Scene scene, int type, GameObject gameObject)
         {
 	        try
-			{
+	        {
+		        string uiName = UIType.GetUIName(type);
 				ResourcesComponent resourcesComponent = ETModel.Game.Scene.GetComponent<ResourcesComponent>();
-				resourcesComponent.LoadBundle($"{type}.unity3d");
-				GameObject bundleGameObject = resourcesComponent.GetAsset<GameObject>($"{type}.unity3d", $"{type}");
+				resourcesComponent.LoadBundle($"{uiName}.unity3d");
+				GameObject bundleGameObject = resourcesComponent.GetAsset<GameObject>($"{uiName}.unity3d", $"{uiName}");
 				GameObject login = UnityEngine.Object.Instantiate(bundleGameObject);
 				login.layer = LayerMask.NameToLayer(LayerNames.UI);
 		        UI ui = ComponentFactory.Create<UI, GameObject>(login);
@@ -28,9 +29,10 @@ namespace ETHotfix
 	        }
 		}
 
-	    public void Remove(UIType type)
+	    public void Remove(int type)
 	    {
-			ETModel.Game.Scene.GetComponent<ResourcesComponent>().UnloadBundle($"{type}.unity3d");
+		    string uiName = UIType.GetUIName(type);
+			ETModel.Game.Scene.GetComponent<ResourcesComponent>().UnloadBundle($"{uiName}.unity3d");
 	    }
     }
 }

+ 1 - 0
Unity/Hotfix/Unity.Hotfix.csproj

@@ -96,6 +96,7 @@
     <Compile Include="Module\UI\UI.cs" />
     <Compile Include="Init.cs" />
     <Compile Include="Module\Message\HotfixOpcode.cs" />
+    <Compile Include="Module\UI\UIType.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
     <Compile Include="UI\UILobby\Component\UILobbyComponent.cs" />
     <Compile Include="UI\UILobby\Factory\UILobbyFactory.cs" />

+ 8 - 10
Unity/Unity.csproj

@@ -12,15 +12,12 @@
     <ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
     <TargetFrameworkIdentifier>.NETFramework</TargetFrameworkIdentifier>
     <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
-    <TargetFrameworkProfile>
-    </TargetFrameworkProfile>
-    <CompilerResponseFile>
-    </CompilerResponseFile>
+    <TargetFrameworkProfile></TargetFrameworkProfile>
+    <CompilerResponseFile></CompilerResponseFile>
     <UnityProjectType>Game:1</UnityProjectType>
     <UnityBuildTarget>Android:13</UnityBuildTarget>
     <UnityVersion>2017.1.1p4</UnityVersion>
-    <RootNamespace>
-    </RootNamespace>
+    <RootNamespace></RootNamespace>
     <LangVersion>6</LangVersion>
   </PropertyGroup>
   <PropertyGroup>
@@ -268,11 +265,11 @@
     <Compile Include="Assets\Scripts\Module\BehaviorTree\NodeProto.cs" />
     <Compile Include="Assets\Scripts\Module\BehaviorTree\TypeHelper.cs" />
     <Compile Include="Assets\Scripts\Module\Config\ACategory.cs" />
-    <Compile Include="Assets\Scripts\Module\Config\IConfig.cs" />
     <Compile Include="Assets\Scripts\Module\Config\AConfigComponent.cs" />
     <Compile Include="Assets\Scripts\Module\Config\ConfigAttribute.cs" />
     <Compile Include="Assets\Scripts\Module\Config\ConfigComponent.cs" />
     <Compile Include="Assets\Scripts\Module\Config\ConfigHelper.cs" />
+    <Compile Include="Assets\Scripts\Module\Config\IConfig.cs" />
     <Compile Include="Assets\Scripts\Module\FrameSync\AnimatorComponent.cs" />
     <Compile Include="Assets\Scripts\Module\FrameSync\CameraComponent.cs" />
     <Compile Include="Assets\Scripts\Module\FrameSync\ClientFrameComponent.cs" />
@@ -396,7 +393,9 @@
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\ProtoBuf_PType_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\ReferenceCollector_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Activator_Binding.cs" />
+    <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_Int32_ILTypeInstance_B_t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_Int32_List_1_ILTypeIns_t.cs" />
+    <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_Int32_String_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_Int64_ILTypeInstance_B_t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_String_ILTypeInstance__t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_String_ILTypeInstance__t_t.cs" />
@@ -404,13 +403,12 @@
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_Type_ILTypeInstance_Bi_t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_Type_Queue_1_ILTypeIns_t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_UInt16_List_1_ILTypeIn_t.cs" />
-    <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Dictionary_2_UIType_ILTypeInstance__t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_HashSet_1_ILTypeInstance_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_HashSet_1_ILTypeInstance_Binding_En_t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_ILTypeInstance_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_ILTypeInstance_Binding_Enume_t.cs" />
+    <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_Int32_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_Object_Binding.cs" />
-    <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_UIType_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_UnitInfo_Binding.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_List_1_UnitInfo_Binding_Enumerator__t.cs" />
     <Compile Include="Assets\ThirdParty\ILRuntime\Generated\System_Collections_Generic_Queue_1_ILTypeInstance_Binding.cs" />
@@ -784,4 +782,4 @@
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <Target Name="GenerateTargetFrameworkMonikerAttribute" />
-</Project>
+</Project>