| | |
| | | playerManager = GameWorld.GetPlayerManager()
|
| | | for i in xrange(playerManager.OnlineCount()):
|
| | | curPlayer = playerManager.OnlineAt(i)
|
| | | if curPlayer == None or not curPlayer.GetInitOK():
|
| | | if not GameWorld.IsNormalPlayer(curPlayer):
|
| | | continue
|
| | | __CheckPlayerFeastRedPacketAction(curPlayer)
|
| | |
|
| | |
| | | ipyData = ipyDataMgr.GetActFeastRedPacketSuccByIndex(index)
|
| | | feastDay = ipyData.GetFeastDay()
|
| | | feastDayIndex = feastDay - 1
|
| | | if feastDayIndex == 0 or feastDayIndex == dayIndex:
|
| | | if dayIndex == 0 or feastDayIndex == dayIndex:
|
| | | for succID in ipyData.GetFeastSuccIDList():
|
| | | if succID not in resetSuccIDList:
|
| | | resetSuccIDList.append(succID)
|