6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
24 lines
599 B
C#
24 lines
599 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
|
|
namespace Server.Core
|
|
{
|
|
public static class AssemblyHelper
|
|
{
|
|
public static Dictionary<string, Type> GetAssemblyTypes(params Assembly[] args)
|
|
{
|
|
Dictionary<string, Type> types = new Dictionary<string, Type>();
|
|
|
|
foreach (Assembly ass in args)
|
|
{
|
|
foreach (Type type in ass.GetTypes())
|
|
{
|
|
types[type.FullName] = type;
|
|
}
|
|
}
|
|
|
|
return types;
|
|
}
|
|
}
|
|
} |