| | |
| | | for itemid, cnt, isBind in itemList:
|
| | | ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere],
|
| | | event=["BuyVIPGift", False, {"VIPLV":vipLV}])
|
| | | # else:
|
| | | # __AwardToPlayerByMail(curPlayer, itemList)
|
| | | |
| | | ItemControler.NotifyGiveAwardInfo(curPlayer, itemList, "BuyVIPGift")
|
| | | openuiid = IpyGameDataPY.GetFuncEvalCfg('VIPPanel', 1, {}).get(vipLV, 0)
|
| | | PlayerControl.WorldNotify(0, 'BuyVIPGift', [curPlayer.GetName(), vipLV, itemList[0][0], openuiid])
|
| | | Sycn_VIPAwardRecord(curPlayer)
|
| | | return
|
| | |
|
| | | #发邮件
|
| | | def __AwardToPlayerByMail(curPlayer, mailItemInfoList):
|
| | | MailMessage = GetMailMessage()
|
| | | content = ShareDefine.Def_MailFormat % (MailMessage[0], '')
|
| | | getDays = MailMessage[1]
|
| | | PlayerControl.SendMail('', content, getDays, [curPlayer.GetPlayerID()], mailItemInfoList) |
| | |
|
| | | ##VIP登录处理
|
| | | # @param curPlayer
|