Skip to content

Commit a88af44

Browse files
committed
refactor(Launcher): 移除未使用的程序集引用并简化消息协议初始化
MessageProtoHelper.Init 现在仅需要 MessageProtoHandler 程序集,移除了对 MessageProtoBuildInTag 程序集的依赖
1 parent ec7b852 commit a88af44

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

GameFrameX.Launcher/Program.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
// Official Documentation: https://gameframex.doc.alianblank.com/
3030
// ==========================================================================================
3131

32-
using System.Reflection;
3332
using GameFrameX.NetWork.Abstractions;
34-
using GameFrameX.Proto.BuiltIn;
3533

3634
namespace GameFrameX.Launcher;
3735

@@ -42,7 +40,7 @@ private static async Task Main(string[] args)
4240
await GameApp.Entry(args, () =>
4341
{
4442
CacheStateTypeManager.Init();
45-
MessageProtoHelper.Init(typeof(MessageProtoBuildInTag).Assembly, typeof(MessageProtoHandler).Assembly);
43+
MessageProtoHelper.Init(typeof(MessageProtoHandler).Assembly);
4644
}, LogConfiguration);
4745
}
4846

0 commit comments

Comments
 (0)