| | |
| | | import PyGameData
|
| | | import PlayerFB
|
| | | import ChConfig
|
| | | import CommFunc
|
| | |
|
| | | import datetime
|
| | | import time
|
| | |
| | |
|
| | | # ipyData 活动时间表信息由跨服服务器同步子服,活动内容取子服自己的
|
| | | ipyDataDict = {}
|
| | | for k, v in ipyData.__dict__.items():
|
| | | if k in ["NotifyInfoStart", "NotifyInfoEnd", "NotifyInfoLoop", "ServerIDRangeList"]:
|
| | | methods = CommFunc.get_class_method(ipyData, "Get") # 获取所有Get开头的方法
|
| | | for method_name in methods:
|
| | | if method_name in ["GetNotifyInfoStart", "GetNotifyInfoEnd", "GetNotifyInfoLoop", "GetServerIDRangeList"]:
|
| | | continue
|
| | | ipyDataDict[k] = v
|
| | | ipyDataDict[method_name[3:]] = getattr(ipyData, method_name)()
|
| | | ipyDataDict.update({"StartDate":startDateStr, "EndDate":endDateStr})
|
| | | GameWorld.Log(" ipyDataDict=%s" % ipyDataDict)
|
| | |
|