| | |
| | | import ChPyNetSendPack
|
| | | import PlayerFeastRedPacket
|
| | | import NetPackCommon
|
| | | import PlayerVip
|
| | | import ShareDefine
|
| | | import CommFunc
|
| | |
|
| | |
| | | wishInfo = clientData.Wish
|
| | | isAnonymous = clientData.IsAnonymous
|
| | | if not redPacketID:
|
| | | #主动发的钻石红包 vip限制
|
| | | if not PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_FamilyGoldPack):
|
| | | GameWorld.DebugLog("主动发的钻石红包 VIP权限不足")
|
| | | return
|
| | | __DoCreatRedPacket(curPlayer, ShareDefine.RedPackType_GoldPacket, IPY_GameWorld.TYPE_Price_Gold_Money, moneyNum, packetCnt, State_NoGot, wishInfo)
|
| | | else:
|
| | | # 注意:该函数发放的是已创建的红包,该操作只是把该红包开放给玩家可抢
|