| | |
| | | SendEventPack("UseCurrency_%s" % moneyType, dataDict, curPlayer)
|
| | |
|
| | | #战盟贡献
|
| | | elif moneyType == ShareDefine.TYPE_Price_Family_Contribution:
|
| | | SendEventPack("UseFamilyContribution", dataDict, curPlayer)
|
| | | #elif moneyType == ShareDefine.TYPE_Price_Family_Contribution:
|
| | | # SendEventPack("UseFamilyContribution", dataDict, curPlayer)
|
| | |
|
| | | return
|
| | |
|
| | |
| | | #发送封包
|
| | | SendEventPack("OneTimeCoinGiveGold", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 增加玩家家族活跃度
|
| | | # @param curPlayer: 玩家实例
|
| | | # @param addValue: 增加值
|
| | | # @param curValue: 增加后值
|
| | | # @param reason:增加原因
|
| | | # @return |
| | | def DR_AddPlayerFamilyActiveValue(curPlayer, addValue, curValue, reason):
|
| | | return
|
| | |
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(),
|
| | | 'addValue':addValue, 'FamilyActiveValue':curValue, 'Reason':reason}
|
| | | #发送封包
|
| | | SendEventPack("AddPlayerFamilyActiveValue", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 宠物加点
|
| | | # @param curPlayer: 玩家实例
|