Эх сурвалжийг харах

加了EntitySystemOf或者LSEntitySystemOf标签后,不用再加FriendOf

tanghai 1 жил өмнө
parent
commit
8505175c01
49 өөрчлөгдсөн 12 нэмэгдсэн , 53 устгасан
  1. 1 1
      Share/Analyzer/Analyzer/EntityFiledAccessAnalyzer.cs
  2. 10 1
      Share/Analyzer/Config/Definition.cs
  3. 0 1
      Unity/Assets/Scripts/Core/Fiber/MailBoxComponent.cs
  4. 0 1
      Unity/Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs
  5. 0 1
      Unity/Assets/Scripts/Core/Fiber/Module/CoroutineLock/CoroutineLockQueueType.cs
  6. 0 1
      Unity/Assets/Scripts/Hotfix/Client/Demo/Main/ClientSenderComponentSystem.cs
  7. 0 1
      Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Router/RouterAddressComponentSystem.cs
  8. 0 1
      Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Router/RouterConnectorSystem.cs
  9. 0 1
      Unity/Assets/Scripts/Hotfix/Client/LockStep/LSClientUpdaterSystem.cs
  10. 0 1
      Unity/Assets/Scripts/Hotfix/Client/LockStep/LSReplayUpdaterSystem.cs
  11. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/PlayerSystem.cs
  12. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/RobotManagerComponentSystem.cs
  13. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Demo/Watcher/WatcherComponentSystem.cs
  14. 0 1
      Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/RoomServerComponentSystem.cs
  15. 0 1
      Unity/Assets/Scripts/Hotfix/Server/LockStep/Room/LSServerUpdaterSystem.cs
  16. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOIEntitySystem.cs
  17. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/AOI/CellSystem.cs
  18. 0 3
      Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/LocationOneTypeSystem.cs
  19. 0 2
      Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationSenderComponentSystem.cs
  20. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationSenderSystem.cs
  21. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/DB/DBComponentSystem.cs
  22. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/Http/HttpComponentSystem.cs
  23. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/Message/ProcessOuterSenderSystem.cs
  24. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterComponentSystem.cs
  25. 0 1
      Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterNodeSystem.cs
  26. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/AI/AIComponentSystem.cs
  27. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/Console/ConsoleComponentSystem.cs
  28. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/Message/NetComponentSystem.cs
  29. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/Message/SessionAcceptTimeoutComponentSystem.cs
  30. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/Message/SessionIdleCheckerComponentSystem.cs
  31. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/Move/MoveComponentSystem.cs
  32. 0 1
      Unity/Assets/Scripts/Hotfix/Share/Module/Recast/PathfindingComponentSystem.cs
  33. 0 1
      Unity/Assets/Scripts/HotfixView/Client/Demo/Opera/OperaComponentSystem.cs
  34. 0 1
      Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILobby/UILobbyComponentSystem.cs
  35. 0 1
      Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILogin/UILoginComponentSystem.cs
  36. 0 1
      Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/AnimatorComponentSystem.cs
  37. 0 1
      Unity/Assets/Scripts/HotfixView/Client/LockStep/Camera/LSCameraComponentSystem.cs
  38. 0 1
      Unity/Assets/Scripts/HotfixView/Client/LockStep/LSAnimatorComponentSystem.cs
  39. 0 1
      Unity/Assets/Scripts/HotfixView/Client/LockStep/LSUnitViewSystem.cs
  40. 0 1
      Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLobby/UILSLobbyComponentSystem.cs
  41. 1 2
      Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLogin/UILoginComponentSystem.cs
  42. 0 1
      Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomComponentSystem.cs
  43. 0 1
      Unity/Assets/Scripts/HotfixView/Client/Module/UI/UIComponentSystem.cs
  44. 0 1
      Unity/Assets/Scripts/HotfixView/Client/Module/UI/UIGlobalComponentSystem.cs
  45. 0 1
      Unity/Assets/Scripts/Model/Share/Module/Console/ModeContex.cs
  46. 0 1
      Unity/Assets/Scripts/Model/Share/Module/Message/Session.cs
  47. 0 1
      Unity/Assets/Scripts/Model/Share/Module/ObjectWait/ObjectWait.cs
  48. 0 1
      Unity/Assets/Scripts/ModelView/Client/Module/Resource/ResourcesLoaderComponent.cs
  49. 0 1
      Unity/Assets/Scripts/ModelView/Client/Module/UI/UI.cs

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

@@ -117,7 +117,7 @@ namespace ET.Analyzer
             var attributes = accessFieldTypeSymbol.GetAttributes();
             foreach (AttributeData? attributeData in attributes)
             {
-                if (attributeData.AttributeClass?.ToString() != Definition.FriendOfAttribute)
+                if (!Definition.FriendAttributes.Contains(attributeData.AttributeClass?.ToString()))
                 {
                     continue;
                 }

+ 10 - 1
Share/Analyzer/Config/Definition.cs

@@ -1,4 +1,6 @@
-namespace ET.Analyzer
+using System.Collections.Generic;
+
+namespace ET.Analyzer
 {
     public static class Definition
     {
@@ -48,6 +50,13 @@
         public const string EntitySystemOfAttribute = "ET.EntitySystemOfAttribute";
         public const string EntitySystemInterfaceSequence = "EntitySystemInterfaceSequence";
 
+        public static string[] FriendAttributes =
+        [
+            FriendOfAttribute,
+            EntitySystemOfAttribute,
+            LSEntitySystemOfAttribute
+        ];   
+
         public const string IAwakeInterface = "ET.IAwake";
         public const string AwakeMethod = "Awake";
 

+ 0 - 1
Unity/Assets/Scripts/Core/Fiber/MailBoxComponent.cs

@@ -1,7 +1,6 @@
 namespace ET
 {
     [EntitySystemOf(typeof(MailBoxComponent))]
-    [FriendOf(typeof(MailBoxComponent))]
     public static partial class MailBoxComponentSystem
     {
         [EntitySystem]       

+ 0 - 1
Unity/Assets/Scripts/Core/Fiber/Module/Actor/ProcessInnerSenderSystem.cs

@@ -5,7 +5,6 @@ using System.IO;
 namespace ET
 {
     [EntitySystemOf(typeof(ProcessInnerSender))]
-    [FriendOf(typeof(ProcessInnerSender))]
     public static partial class ProcessInnerSenderSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Core/Fiber/Module/CoroutineLock/CoroutineLockQueueType.cs

@@ -3,7 +3,6 @@
 namespace ET
 {
     [EntitySystemOf(typeof(CoroutineLockQueueType))]
-    [FriendOf(typeof(CoroutineLockQueueType))]
     public static partial class CoroutineLockQueueTypeSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Client/Demo/Main/ClientSenderComponentSystem.cs

@@ -3,7 +3,6 @@
 namespace ET.Client
 {
     [EntitySystemOf(typeof(ClientSenderComponent))]
-    [FriendOf(typeof(ClientSenderComponent))]
     public static partial class ClientSenderComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Router/RouterAddressComponentSystem.cs

@@ -6,7 +6,6 @@ using System.Net.Sockets;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(RouterAddressComponent))]
-    [FriendOf(typeof(RouterAddressComponent))]
     public static partial class RouterAddressComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Client/Demo/NetClient/Router/RouterConnectorSystem.cs

@@ -3,7 +3,6 @@ using System.Net;
 
 namespace ET.Client
 {
-    [FriendOf(typeof(RouterConnector))]
     [EntitySystemOf(typeof(RouterConnector))]
     public static partial class RouterConnectorSystem
     {

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Client/LockStep/LSClientUpdaterSystem.cs

@@ -4,7 +4,6 @@ using System.IO;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(LSClientUpdater))]
-    [FriendOf(typeof (LSClientUpdater))]
     public static partial class LSClientUpdaterSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Client/LockStep/LSReplayUpdaterSystem.cs

@@ -3,7 +3,6 @@ using System;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(LSReplayUpdater))]
-    [FriendOf(typeof(LSReplayUpdater))]
     public static partial class LSReplayUpdaterSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Demo/Gate/PlayerSystem.cs

@@ -1,7 +1,6 @@
 namespace ET.Server
 {
     [EntitySystemOf(typeof(Player))]
-    [FriendOf(typeof(Player))]
     public static partial class PlayerSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Demo/Robot/RobotManagerComponentSystem.cs

@@ -1,7 +1,6 @@
 namespace ET.Server
 {
     [EntitySystemOf(typeof(RobotManagerComponent))]
-    [FriendOf(typeof(RobotManagerComponent))]
     public static partial class RobotManagerComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Demo/Watcher/WatcherComponentSystem.cs

@@ -4,7 +4,6 @@ using System.Diagnostics;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(WatcherComponent))]
-    [FriendOf(typeof(WatcherComponent))]
     public static partial class WatcherComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/LockStep/Map/RoomServerComponentSystem.cs

@@ -4,7 +4,6 @@ using System.Collections.Generic;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(RoomServerComponent))]
-    [FriendOf(typeof(RoomServerComponent))]
     public static partial class RoomServerComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/LockStep/Room/LSServerUpdaterSystem.cs

@@ -4,7 +4,6 @@ using System.Collections.Generic;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(LSServerUpdater))]
-    [FriendOf(typeof(LSServerUpdater))]
     public static partial class LSServerUpdaterSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/AOI/AOIEntitySystem.cs

@@ -4,7 +4,6 @@ using Unity.Mathematics;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(AOIEntity))]
-    [FriendOf(typeof(AOIEntity))]
     public static partial class AOIEntitySystem2
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/AOI/CellSystem.cs

@@ -4,7 +4,6 @@ using System.Text;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(Cell))]
-    [FriendOf(typeof(Cell))]
     public static partial class CellSystem
     {
         [EntitySystem]

+ 0 - 3
Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/LocationOneTypeSystem.cs

@@ -3,7 +3,6 @@
 namespace ET.Server
 {
     [EntitySystemOf(typeof(LockInfo))]
-    [FriendOf(typeof(LockInfo))]
     public static partial class LockInfoSystem
     {
         [EntitySystem]
@@ -23,7 +22,6 @@ namespace ET.Server
     
 
     [EntitySystemOf(typeof(LocationOneType))]
-    [FriendOf(typeof(LocationOneType))]
     [FriendOf(typeof(LockInfo))]
     public static partial class LocationOneTypeSystem
     {
@@ -118,7 +116,6 @@ namespace ET.Server
     }
 
     [EntitySystemOf(typeof(LocationManagerComoponent))]
-    [FriendOf(typeof (LocationManagerComoponent))]
     public static partial class LocationComoponentSystem
     {
         [EntitySystem]

+ 0 - 2
Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationSenderComponentSystem.cs

@@ -5,7 +5,6 @@ using MongoDB.Bson;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(MessageLocationSenderOneType))]
-    [FriendOf(typeof(MessageLocationSenderOneType))]
     [FriendOf(typeof(MessageLocationSender))]
     public static partial class MessageLocationSenderComponentSystem
     {
@@ -281,7 +280,6 @@ namespace ET.Server
     }
 
     [EntitySystemOf(typeof(MessageLocationSenderComponent))]
-    [FriendOf(typeof (MessageLocationSenderComponent))]
     public static partial class MessageLocationSenderManagerComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/ActorLocation/MessageLocationSenderSystem.cs

@@ -3,7 +3,6 @@ using System;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(MessageLocationSender))]
-    [FriendOf(typeof(MessageLocationSender))]
     public static partial class MessageLocationSenderSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/DB/DBComponentSystem.cs

@@ -6,7 +6,6 @@ using MongoDB.Driver;
 namespace ET.Server
 {
 	[EntitySystemOf(typeof(DBComponent))]
-	[FriendOf(typeof(DBComponent))]
     public static partial class DBComponentSystem
     {
 	    [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/Http/HttpComponentSystem.cs

@@ -5,7 +5,6 @@ using System.Net;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(HttpComponent))]
-    [FriendOf(typeof(HttpComponent))]
     public static partial class HttpComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/Message/ProcessOuterSenderSystem.cs

@@ -4,7 +4,6 @@ using System.Net;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(ProcessOuterSender))]
-    [FriendOf(typeof(ProcessOuterSender))]
     public static partial class ProcessOuterSenderSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterComponentSystem.cs

@@ -6,7 +6,6 @@ using System.Runtime.InteropServices;
 namespace ET.Server
 {
     [EntitySystemOf(typeof(RouterComponent))]
-    [FriendOf(typeof (RouterComponent))]
     [FriendOf(typeof (RouterNode))]
     public static partial class RouterComponentSystem
     {

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Server/Module/Router/RouterNodeSystem.cs

@@ -1,7 +1,6 @@
 namespace ET.Server
 {
     [EntitySystemOf(typeof(RouterNode))]
-    [FriendOf(typeof(RouterNode))]
     public static partial class RouterNodeSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/AI/AIComponentSystem.cs

@@ -3,7 +3,6 @@ using System;
 namespace ET
 {
     [EntitySystemOf(typeof(AIComponent))]
-    [FriendOf(typeof(AIComponent))]
     [FriendOf(typeof(AIDispatcherComponent))]
     public static partial class AIComponentSystem
     {

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/Console/ConsoleComponentSystem.cs

@@ -6,7 +6,6 @@ using System.Threading.Tasks;
 namespace ET
 {
     [EntitySystemOf(typeof(ConsoleComponent))]
-    [FriendOf(typeof(ConsoleComponent))]
     [FriendOf(typeof(ModeContex))]
     public static partial class ConsoleComponentSystem
     {

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/Message/NetComponentSystem.cs

@@ -4,7 +4,6 @@ using System.Net.Sockets;
 namespace ET
 {
     [EntitySystemOf(typeof(NetComponent))]
-    [FriendOf(typeof(NetComponent))]
     public static partial class NetComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/Message/SessionAcceptTimeoutComponentSystem.cs

@@ -3,7 +3,6 @@
 namespace ET
 {
     [EntitySystemOf(typeof(SessionAcceptTimeoutComponent))]
-    [FriendOf(typeof(SessionAcceptTimeoutComponent))]
     public static partial class SessionAcceptTimeoutComponentHelper
     {
         [Invoke(TimerInvokeType.SessionAcceptTimeout)]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/Message/SessionIdleCheckerComponentSystem.cs

@@ -3,7 +3,6 @@ using System;
 namespace ET
 {
     [EntitySystemOf(typeof(SessionIdleCheckerComponent))]
-    [FriendOf(typeof(SessionIdleCheckerComponent))]
     public static partial class SessionIdleCheckerComponentSystem
     {
         [Invoke(TimerInvokeType.SessionIdleChecker)]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/Move/MoveComponentSystem.cs

@@ -5,7 +5,6 @@ using Unity.Mathematics;
 namespace ET
 {
     [EntitySystemOf(typeof(MoveComponent))]
-    [FriendOf(typeof(MoveComponent))]
     public static partial class MoveComponentSystem
     {
         [Invoke(TimerInvokeType.MoveTimer)]

+ 0 - 1
Unity/Assets/Scripts/Hotfix/Share/Module/Recast/PathfindingComponentSystem.cs

@@ -9,7 +9,6 @@ using Unity.Mathematics;
 namespace ET
 {
     [EntitySystemOf(typeof(PathfindingComponent))]
-    [FriendOf(typeof(PathfindingComponent))]
     public static partial class PathfindingComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/Demo/Opera/OperaComponentSystem.cs

@@ -3,7 +3,6 @@ using UnityEngine;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(OperaComponent))]
-    [FriendOf(typeof(OperaComponent))]
     public static partial class OperaComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILobby/UILobbyComponentSystem.cs

@@ -4,7 +4,6 @@ using UnityEngine.UI;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(UILobbyComponent))]
-    [FriendOf(typeof(UILobbyComponent))]
     public static partial class UILobbyComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/Demo/UI/UILogin/UILoginComponentSystem.cs

@@ -4,7 +4,6 @@ using UnityEngine.UI;
 namespace ET.Client
 {
 	[EntitySystemOf(typeof(UILoginComponent))]
-	[FriendOf(typeof(UILoginComponent))]
 	public static partial class UILoginComponentSystem
 	{
 		[EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/Demo/Unit/AnimatorComponentSystem.cs

@@ -4,7 +4,6 @@ using UnityEngine;
 namespace ET.Client
 {
 	[EntitySystemOf(typeof(AnimatorComponent))]
-	[FriendOf(typeof(AnimatorComponent))]
 	public static partial class AnimatorComponentSystem
 	{
 		[EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/LockStep/Camera/LSCameraComponentSystem.cs

@@ -3,7 +3,6 @@
 namespace ET.Client
 {
 	[EntitySystemOf(typeof(LSCameraComponent))]
-	[FriendOf(typeof(LSCameraComponent))]
 	public static partial class LSCameraComponentSystem
 	{
 		[EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/LockStep/LSAnimatorComponentSystem.cs

@@ -4,7 +4,6 @@ using UnityEngine;
 namespace ET.Client
 {
 	[EntitySystemOf(typeof(LSAnimatorComponent))]
-	[FriendOf(typeof(LSAnimatorComponent))]
 	public static partial class LSAnimatorComponentSystem
 	{
 		[EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/LockStep/LSUnitViewSystem.cs

@@ -6,7 +6,6 @@ namespace ET.Client
 {
     [EntitySystemOf(typeof(LSUnitView))]
     [LSEntitySystemOf(typeof(LSUnitView))]
-    [FriendOf(typeof(LSUnitView))]
     public static partial class LSUnitViewSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLobby/UILSLobbyComponentSystem.cs

@@ -5,7 +5,6 @@ using UnityEngine.UI;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(UILSLobbyComponent))]
-    [FriendOf(typeof(UILSLobbyComponent))]
     public static partial class UILSLobbyComponentSystem
     {
         [EntitySystem]

+ 1 - 2
Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSLogin/UILoginComponentSystem.cs

@@ -4,8 +4,7 @@ using UnityEngine.UI;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(UILSLoginComponent))]
-    [FriendOf(typeof(UILoginComponent))]
-    [FriendOfAttribute(typeof(ET.Client.UILSLoginComponent))]
+    [FriendOf(typeof(UILSLoginComponent))]
     public static partial class UILSLoginComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/LockStep/UI/UILSRoom/UILSRoomComponentSystem.cs

@@ -5,7 +5,6 @@ using UnityEngine.UI;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(UILSRoomComponent))]
-    [FriendOf(typeof (UILSRoomComponent))]
     public static partial class UILSRoomComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/Module/UI/UIComponentSystem.cs

@@ -6,7 +6,6 @@ namespace ET.Client
 	/// 管理Scene上的UI
 	/// </summary>
 	[EntitySystemOf(typeof(UIComponent))]
-	[FriendOf(typeof(UIComponent))]
 	public static partial class UIComponentSystem
 	{
 		[EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/HotfixView/Client/Module/UI/UIGlobalComponentSystem.cs

@@ -4,7 +4,6 @@ using UnityEngine;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(UIGlobalComponent))]
-    [FriendOf(typeof(UIGlobalComponent))]
     public static partial class UIGlobalComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Model/Share/Module/Console/ModeContex.cs

@@ -1,7 +1,6 @@
 namespace ET
 {
     [EntitySystemOf(typeof(ModeContex))]
-    [FriendOf(typeof(ModeContex))]
     public static partial class ModeContexSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Model/Share/Module/Message/Session.cs

@@ -35,7 +35,6 @@ namespace ET
     }
     
     [EntitySystemOf(typeof(Session))]
-    [FriendOf(typeof(Session))]
     public static partial class SessionSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/Model/Share/Module/ObjectWait/ObjectWait.cs

@@ -22,7 +22,6 @@ namespace ET
     }
 
     [EntitySystemOf(typeof(ObjectWait))]
-    [FriendOf(typeof(ObjectWait))]
     public static partial class ObjectWaitSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/ModelView/Client/Module/Resource/ResourcesLoaderComponent.cs

@@ -5,7 +5,6 @@ using YooAsset;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(ResourcesLoaderComponent))]
-    [FriendOf(typeof(ResourcesLoaderComponent))]
     public static partial class ResourcesLoaderComponentSystem
     {
         [EntitySystem]

+ 0 - 1
Unity/Assets/Scripts/ModelView/Client/Module/UI/UI.cs

@@ -4,7 +4,6 @@ using UnityEngine;
 namespace ET.Client
 {
     [EntitySystemOf(typeof(UI))]
-    [FriendOf(typeof(UI))]
     public static partial class UISystem
     {
         [EntitySystem]