From bd23e0c210ff4c849301410ee2829747a90b236b Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期一, 04 八月 2025 11:25:56 +0800 Subject: [PATCH] 18 子 2D卡牌客户端搭建 / 2D卡牌客户端搭建 给所有配置新增静态构造函数 --- Main/Config/Configs/NPCExConfig.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/Main/Config/Configs/NPCExConfig.cs b/Main/Config/Configs/NPCExConfig.cs index 4c74a4c..c2aef14 100644 --- a/Main/Config/Configs/NPCExConfig.cs +++ b/Main/Config/Configs/NPCExConfig.cs @@ -1,6 +1,6 @@ 锘�//-------------------------------------------------------- // [Author]: YYL -// [ Date ]: 2025骞�7鏈�26鏃� +// [ Date ]: 2025骞�8鏈�4鏃� //-------------------------------------------------------- using System.Collections.Generic; @@ -10,6 +10,14 @@ public partial class NPCExConfig : ConfigBase<int, NPCExConfig> { + static NPCExConfig() + { + if (isInit) + { + return; + } + LazyInit(); + } public int NPCID; public long SuppressFightPower; -- Gitblit v1.8.0