From 38c71e909541be1a09b30a595e15c67de332a3e2 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 13 十一月 2020 15:01:23 +0800
Subject: [PATCH] 1111 【BT】可配置屏蔽后台事件汇报货币类型;
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
index ce945ae..c150cd4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
@@ -673,6 +673,9 @@
#避免记录太多信息
if type_name in [IPY_GameWorld.TYPE_Price_Silver_Money] and abs(quantity * price) < ChConfig.Def_DRRecord_Min_Silver:
return
+ if type_name not in IpyGameDataPY.GetFuncEvalCfg("EventReport", 2):
+ #GameWorld.DebugLog("该货币类型不需要汇报! type_name=%s" % type_name)
+ return
# 标识此货币是否是一级货币(充值)
Recharged = 1 if type_name == IPY_GameWorld.TYPE_Price_Gold_Money else 0
#===========================================================================
--
Gitblit v1.8.0