hxp
2020-11-12 bb02af7457495978b1e4fbae0ca35fb8bff3cebb
1111 【BT】可配置屏蔽后台事件汇报事件ID;
1个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/EventReport.py
@@ -32,6 +32,7 @@
#"""Version = 2017-07-04 15:00"""
#---------------------------------------------------------------------
import IpyGameDataPY
import IPY_GameWorld
import DataRecordPack
import PlayerControl
@@ -109,6 +110,10 @@
    # 组成例子 eventParam 的格式必须是 xx=yy&zz=cc
    #  "http://192.168.0.249:12000/event_receiver?EventID=3099&OperatorID=test&PlayerCount=102&Time=2018-02-08 18:30:30&ProductID=snxxz&RegionName=s1"
    
    if eventActionID in IpyGameDataPY.GetFuncEvalCfg("EventReport", 1):
        #GameWorld.DebugLog("不需要汇报的事件! %s" % eventActionID)
        return
    if not curPlayer and not OperatorID:
        return