| | |
| | |
|
| | | lastDayOnlyExchange = ipyData.GetLastDayOnlyExchange()
|
| | | if lastDayOnlyExchange:
|
| | | openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
|
| | | endDateStr = GameWorld.GetOperationActionDateStr(ipyData.GetEndDate(), openServerDay)
|
| | | _, endDateStr = GameWorld.GetOperationActionDateStr(ipyData)
|
| | | curDate = GameWorld.GetCurrentTime()
|
| | | curDateStr = "%d-%s-%s" % (curDate.year, curDate.month, curDate.day)
|
| | | if curDateStr == endDateStr:
|
| | |
| | | if not templateID:
|
| | | return
|
| | |
|
| | | openServerDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
|
| | | startDateStr, endDateStr = GameWorld.GetOperationActionDateStr(ipyData)
|
| | | clientPack = ChPyNetSendPack.tagMCActCollectWordsInfo()
|
| | | clientPack.ActNum = actNum
|
| | | clientPack.StartDate = GameWorld.GetOperationActionDateStr(ipyData.GetStartDate(), openServerDay)
|
| | | clientPack.EndtDate = GameWorld.GetOperationActionDateStr(ipyData.GetEndDate(), openServerDay)
|
| | | clientPack.StartDate = startDateStr
|
| | | clientPack.EndtDate = endDateStr
|
| | | clientPack.LimitLV = ipyData.GetLVLimit()
|
| | | clientPack.LastDayOnlyExchange = ipyData.GetLastDayOnlyExchange()
|
| | | clientPack.ExchangeItemList = []
|