| 123456789101112131415161718192021222324252627 | 
							- using System.Reflection;
 
- using NetServerCore.Attribute;
 
- namespace NetServerCore.Tool;
 
- public static class ServerTool
 
- {
 
-     // public static List<Type> FindLogicAtt(int groid)
 
-     // {
 
-     //     List<Type> list = new List<Type>();
 
-     //     Assembly[] ass = AppDomain.CurrentDomain.GetAssemblies();
 
-     //     for (int i = 0; i < ass.Length; i++)
 
-     //     {
 
-     //         Assembly assembly = ass[i];
 
-     //         Type[] allType = assembly.GetTypes();
 
-     //         for (int j = 0; j < allType.Length; j++)
 
-     //         {
 
-     //             Type type = allType[j];
 
-     //             LogicEnrollAtt logicEnrollAtt = type.GetCustomAttribute<LogicEnrollAtt>();
 
-     //             if (logicEnrollAtt != null && logicEnrollAtt.group == groid)
 
-     //             {
 
-     //                 list.Add(type);
 
-     //             }
 
-     //         }
 
-     //     }
 
-     // }
 
- }
 
 
  |