| | |
| | | #发送封包
|
| | | SendEventPack("PlayerCoinAfterCharge", dataDict, curPlayer)
|
| | | return
|
| | | |
| | | |
| | | ## 玩家商城购买物品
|
| | | # @param curPlayer: 玩家实例
|
| | | # @param buyItemID: 购买物品id
|
| | | # @param buyItemCount: 购买物品数量
|
| | | # @param buyItemGUID: GUID
|
| | | # @return: None
|
| | | def DR_PlayerSupermarket(curPlayer, buyItemID, buyItemCount, buyItemGUID):
|
| | |
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(), 'ItemID':buyItemID, 'ItemCount':buyItemCount, |
| | | 'ItemGUID':buyItemGUID}
|
| | |
|
| | | #发送封包
|
| | | SendEventPack("PlayerSupermarket", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 玩家升级
|
| | | # @param curPlayer: 玩家实例
|