| | |
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import CrossRealmPlayer
|
| | | import FunctionNPCCommon
|
| | | import PlayerBillboard
|
| | | import ChPyNetSendPack
|
| | | import PlayerZhanling
|
| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_ActGubaoScore % actNum, 0)
|
| | |
|
| | | if state:
|
| | | cfgID = actInfo.get(ShareDefine.ActKey_CfgID)
|
| | | ipyData = IpyGameDataPY.GetIpyGameData("ActGubao", cfgID)
|
| | | if ipyData and ipyData.GetActShopType():
|
| | | FunctionNPCCommon.ResetShopItemBuyCountByShopType(curPlayer, [ipyData.GetActShopType()])
|
| | | Sync_GubaoActionInfo(curPlayer, actNum)
|
| | | Sync_GubaoPlayerInfo(curPlayer, actNum)
|
| | | return True
|
| | |
| | | clientPack.JoinStartTime = ipyData.GetJoinStartTime()
|
| | | clientPack.JoinEndTime = ipyData.GetJoinEndTime()
|
| | | clientPack.LimitLV = ipyData.GetLVLimit()
|
| | | clientPack.ShopType = ipyData.GetActShopType()
|
| | |
|
| | | clientPack.PersonalBillboardInfoList = __GetTempRankBillPackList(personalTempIpyDataList)
|
| | | clientPack.PersonalBillCount = len(clientPack.PersonalBillboardInfoList)
|