tanghai 8 лет назад
Родитель
Сommit
652a8e9c86
29 измененных файлов с 8 добавлено и 67 удалено
  1. 1 5
      Unity/Hotfix/Handler/R2C_ServerLogHandler.cs
  2. 0 1
      Unity/Hotfix/Model/Component/BenchmarkComponent.cs
  3. 0 1
      Unity/Hotfix/Model/Component/ClientConfigComponent.cs
  4. 0 1
      Unity/Hotfix/Model/Component/EventComponent.cs
  5. 0 1
      Unity/Hotfix/Model/Component/MessageDispatherComponent.cs
  6. 0 1
      Unity/Hotfix/Model/Component/NetInnerComponent.cs
  7. 1 3
      Unity/Hotfix/Model/Component/NetOuterComponent.cs
  8. 0 1
      Unity/Hotfix/Model/Component/NetworkComponent.cs
  9. 0 1
      Unity/Hotfix/Model/Component/ResourcesComponent.cs
  10. 1 3
      Unity/Hotfix/Model/Component/TimeComponent.cs
  11. 0 1
      Unity/Hotfix/Model/Component/TimerComponent.cs
  12. 0 1
      Unity/Hotfix/Model/Component/UIComponent.cs
  13. 0 1
      Unity/Hotfix/Model/Config/ACategory.cs
  14. 0 1
      Unity/Hotfix/Model/DllHelper.cs
  15. 0 1
      Unity/Hotfix/Model/Entity/Game.cs
  16. 1 6
      Unity/Hotfix/Model/Entity/Message/Opcode.cs
  17. 0 1
      Unity/Hotfix/Model/Entity/Message/OuterMessage.cs
  18. 0 1
      Unity/Hotfix/Model/Entity/Session.cs
  19. 0 1
      Unity/Hotfix/Model/Message/AMHandler.cs
  20. 1 4
      Unity/Hotfix/Model/Object/Disposer.cs
  21. 0 1
      Unity/Hotfix/Model/Object/Entity.cs
  22. 0 2
      Unity/Hotfix/Model/Object/EntityEventManager.cs
  23. 0 1
      Unity/Hotfix/Model/Object/Object.cs
  24. 0 22
      Unity/Hotfix/Model/Other/IEvent.cs
  25. 0 1
      Unity/Hotfix/Model/Other/Options.cs
  26. 0 1
      Unity/Hotfix/Properties/AssemblyInfo.cs
  27. 0 1
      Unity/Hotfix/UI/UILobby/Component/UILobbyComponent.cs
  28. 0 1
      Unity/Hotfix/Unity.Hotfix.csproj
  29. 3 1
      Unity/Unity.sln

+ 1 - 5
Unity/Hotfix/Handler/R2C_ServerLogHandler.cs

@@ -1,8 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Model;
+using Model;
 
 namespace Hotfix
 {

+ 0 - 1
Unity/Hotfix/Model/Component/BenchmarkComponent.cs

@@ -1,5 +1,4 @@
 using System;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/Component/ClientConfigComponent.cs

@@ -1,5 +1,4 @@
 using System.IO;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/Component/EventComponent.cs

@@ -1,6 +1,5 @@
 using System;
 using System.Collections.Generic;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/Component/MessageDispatherComponent.cs

@@ -1,6 +1,5 @@
 using System;
 using System.Collections.Generic;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/Component/NetInnerComponent.cs

@@ -1,5 +1,4 @@
 using System.Collections.Generic;
-using Model;
 
 namespace Model
 {

+ 1 - 3
Unity/Hotfix/Model/Component/NetOuterComponent.cs

@@ -1,6 +1,4 @@
-using Model;
-
-namespace Model
+namespace Model
 {
 	[EntityEvent(EntityEventId.NetOuterComponent)]
 	public class NetOuterComponent: NetworkComponent

+ 0 - 1
Unity/Hotfix/Model/Component/NetworkComponent.cs

@@ -2,7 +2,6 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading.Tasks;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/Component/ResourcesComponent.cs

@@ -1,7 +1,6 @@
 using System;
 using System.Collections.Generic;
 using System.Threading.Tasks;
-using Model;
 using UnityEngine;
 
 namespace Model

+ 1 - 3
Unity/Hotfix/Model/Component/TimeComponent.cs

@@ -1,6 +1,4 @@
-using Model;
-
-namespace Model
+namespace Model
 {
 	/// <summary>
 	/// 用于同步服务端和客户端时间

+ 0 - 1
Unity/Hotfix/Model/Component/TimerComponent.cs

@@ -1,7 +1,6 @@
 using System.Collections.Generic;
 using System.Threading;
 using System.Threading.Tasks;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/Component/UIComponent.cs

@@ -1,7 +1,6 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using Model;
 using ILRuntime.CLR.Method;
 using UnityEngine;
 

+ 0 - 1
Unity/Hotfix/Model/Config/ACategory.cs

@@ -1,7 +1,6 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using Model;
 
 namespace Model
 {

+ 0 - 1
Unity/Hotfix/Model/DllHelper.cs

@@ -2,7 +2,6 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Reflection;
-using Hotfix;
 using ILRuntime.CLR.Method;
 using ILRuntime.CLR.TypeSystem;
 using UnityEngine;

+ 0 - 1
Unity/Hotfix/Model/Entity/Game.cs

@@ -1,7 +1,6 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text;
-using Model;
 
 namespace Model
 {

+ 1 - 6
Unity/Hotfix/Model/Entity/Message/Opcode.cs

@@ -1,9 +1,4 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace Model
+namespace Model
 {
 	public static class Opcode
 	{

+ 0 - 1
Unity/Hotfix/Model/Entity/Message/OuterMessage.cs

@@ -1,4 +1,3 @@
-using Model;
 using MongoDB.Bson.Serialization.Attributes;
 
 // 服务器与客户端之间的消息 Opcode从1-9999

+ 0 - 1
Unity/Hotfix/Model/Entity/Session.cs

@@ -2,7 +2,6 @@
 using System.Collections.Generic;
 using System.Threading;
 using System.Threading.Tasks;
-using Model;
 using MongoDB.Bson;
 
 namespace Model

+ 0 - 1
Unity/Hotfix/Model/Message/AMHandler.cs

@@ -1,5 +1,4 @@
 using System;
-using Model;
 
 namespace Model
 {

+ 1 - 4
Unity/Hotfix/Model/Object/Disposer.cs

@@ -1,7 +1,4 @@
-using System;
-using Model;
-
-namespace Model
+namespace Model
 {
 	public abstract class Disposer: Object
 	{

+ 0 - 1
Unity/Hotfix/Model/Object/Entity.cs

@@ -1,7 +1,6 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using Model;
 using MongoDB.Bson.Serialization.Attributes;
 
 namespace Model

+ 0 - 2
Unity/Hotfix/Model/Object/EntityEventManager.cs

@@ -1,9 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using System.Reflection;
 using System.Text;
-using Model;
 using ILRuntime.CLR.Method;
 
 namespace Model

+ 0 - 1
Unity/Hotfix/Model/Object/Object.cs

@@ -1,5 +1,4 @@
 using System;
-using Model;
 using MongoDB.Bson;
 using MongoDB.Bson.Serialization.Attributes;
 

+ 0 - 22
Unity/Hotfix/Model/Other/IEvent.cs

@@ -1,22 +0,0 @@
-namespace Hotfix
-{
-	public interface IEvent
-	{
-		void Run();
-	}
-
-	public interface IEvent<in A>
-	{
-		void Run(A a);
-	}
-
-	public interface IEvent<in A, in B>
-	{
-		void Run(A a, B b);
-	}
-
-	public interface IEvent<in A, in B, in C>
-	{
-		void Run(A a, B b, C c);
-	}
-}

+ 0 - 1
Unity/Hotfix/Model/Other/Options.cs

@@ -1,5 +1,4 @@
 using System;
-using Model;
 using MongoDB.Bson;
 
 #if SERVER

+ 0 - 1
Unity/Hotfix/Properties/AssemblyInfo.cs

@@ -1,5 +1,4 @@
 using System.Reflection;
-using System.Runtime.CompilerServices;
 using System.Runtime.InteropServices;
 
 // 有关程序集的一般信息由以下

+ 0 - 1
Unity/Hotfix/UI/UILobby/Component/UILobbyComponent.cs

@@ -1,5 +1,4 @@
 using System;
-using Model;
 using UnityEngine;
 using UnityEngine.UI;
 

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

@@ -122,7 +122,6 @@
     <Compile Include="Model\Object\EntityType.cs" />
     <Compile Include="Model\Object\Object.cs" />
     <Compile Include="Model\Other\EntityEventId.cs" />
-    <Compile Include="Model\Other\IEvent.cs" />
     <Compile Include="Model\Other\ILBindingAttribute.cs" />
     <Compile Include="Model\Other\IUIFactory.cs" />
     <Compile Include="Model\Other\LayerNames.cs" />

+ 3 - 1
Unity/Unity.sln

@@ -1,6 +1,8 @@
 
 Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2017
+# Visual Studio 15
+VisualStudioVersion = 15.0.26430.6
+MinimumVisualStudioVersion = 10.0.40219.1
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity.Plugins", "Unity.Plugins.csproj", "{D1FDB199-0FB7-099D-3771-C6A942E4E326}"
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Unity", "Unity.csproj", "{CF118143-7E37-744F-BE45-3F55345FEC40}"