From acebf38b40565a700efeecddb2e3f6e2b2e183a6 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期六, 13 十二月 2025 16:28:44 +0800
Subject: [PATCH] 389 流向记录(增加GM工具命令:重读配置 GMT_ReloadConfig)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py
index 15dea17..b396ced 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py
@@ -27,6 +27,7 @@
 import os
 import GameWorld
 import md5
+import IpyGameDataPY
 import FormulaControl
 import ConfigParser
 import ShareDefine
@@ -97,6 +98,12 @@
     
     return
 
+def SetReloadConfig():
+    ## 标记重读配置
+    GameWorld.Log("=== 设置重读配置 ===")
+    GameWorld.GetGameWorld().SetGameWorldDict(ShareDefine.Def_Notify_WorldKey_ReloadConfig, 1)
+    IpyGameDataPY.IPYData.IpyDataClear()
+    return
 
 ## 重读,清除配置
 #  @param key 表名

--
Gitblit v1.8.0