| | |
| | | SendEventPack("TradeMoney", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 玩家马匹进阶
|
| | | # @param curPlayer: 玩家实例
|
| | | # @param classLV: 阶级
|
| | | # @param horseID: 新马匹id
|
| | | # @return: None
|
| | | def DR_NewHorseByClassUp(curPlayer, classLV, horseID):
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), |
| | | 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(),
|
| | | 'ClassLV':classLV,
|
| | | 'HorseID':horseID,
|
| | | }
|
| | | |
| | | SendEventPack("NewHorseByClassUp", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ## 坐骑幻化皮肤删除
|
| | | def DR_HorseSkinDel(curPlayer, skinID):
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(), 'skinID':skinID,}
|
| | | SendEventPack("HorseSkinDel", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ## 玩家进阶式系统流向记录
|
| | | # @param curPlayer
|
| | | # @param classLV 阶级
|
| | |
| | | 'NPCID':npcID}
|
| | | #发送封包
|
| | | SendEventPack("CollectNPCOK", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 领取投资回报
|
| | | # @param curPlayer: 玩家实例
|
| | | # @return: None
|
| | | def DR_GetGoldInvestReward(curPlayer, investType, rewardIndex, itemList):
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(), 'PlayerLV':curPlayer.GetLV(), 'InvestType':investType, |
| | | 'RewardIndex':rewardIndex,
|
| | | 'itemList':itemList}
|
| | | #发送封包
|
| | | SendEventPack("GetGoldInvestReward", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ## 击杀NPC流向
|