| | |
| | |
|
| | | 活动分组编号 = 活动类型 * 10 + 不同界面编号
|
| | | '''
|
| | | if ipyData and hasattr(ipyData, "ActNum"):
|
| | | if ipyData and hasattr(ipyData, "GetActNum"):
|
| | | return ipyData.GetActNum()
|
| | |
|
| | | # 原节日活动的还是默认节日活动
|
| | |
| | |
|
| | | for ipyData in curServerActIpyDataList:
|
| | |
|
| | | platformList = [] if not hasattr(ipyData, "PlatformList") else ipyData.GetPlatformList()
|
| | | serverGroupIDList = [] if not hasattr(ipyData, "ServerGroupIDList") else ipyData.GetServerGroupIDList()
|
| | | serverGroupIDListExcept = [] if not hasattr(ipyData, "ServerGroupIDListExcept") else ipyData.GetServerGroupIDListExcept()
|
| | | platformList = [] if not hasattr(ipyData, "GetPlatformList") else ipyData.GetPlatformList()
|
| | | serverGroupIDList = [] if not hasattr(ipyData, "GetServerGroupIDList") else ipyData.GetServerGroupIDList()
|
| | | serverGroupIDListExcept = [] if not hasattr(ipyData, "GetServerGroupIDListExcept") else ipyData.GetServerGroupIDListExcept()
|
| | | cfgID = ipyData.GetCfgID()
|
| | | startDateStr = ipyData.GetStartDate()
|
| | | endDateStr = ipyData.GetEndDate()
|
| | |
| | | actCfgCount = getattr(ipyDataMgr, "Get%sCount" % actName)()
|
| | | for cfgIndex in xrange(actCfgCount):
|
| | | ipyData = getattr(ipyDataMgr, "Get%sByIndex" % actName)(cfgIndex)
|
| | | platformList = [] if not hasattr(ipyData, "PlatformList") else ipyData.GetPlatformList()
|
| | | serverGroupIDList = [] if not hasattr(ipyData, "ServerGroupIDList") else ipyData.GetServerGroupIDList()
|
| | | serverGroupIDListExcept = [] if not hasattr(ipyData, "ServerGroupIDListExcept") else ipyData.GetServerGroupIDListExcept()
|
| | | platformList = [] if not hasattr(ipyData, "GetPlatformList") else ipyData.GetPlatformList()
|
| | | serverGroupIDList = [] if not hasattr(ipyData, "GetServerGroupIDList") else ipyData.GetServerGroupIDList()
|
| | | serverGroupIDListExcept = [] if not hasattr(ipyData, "GetServerGroupIDListExcept") else ipyData.GetServerGroupIDListExcept()
|
| | |
|
| | | if platformList and platform not in platformList:
|
| | | continue
|