| | |
| | | #发送封包
|
| | | SendEventPack("CTGError", dataDict, curPlayer)
|
| | | GameWorld.ErrLog("%s. %s" % (errorInfo, addDict), curPlayer.GetPlayerID())
|
| | | |
| | | GameWorld.SendGameStateMail("CTGError:%s - %s"%(errorInfo, dataDict))
|
| | | return
|
| | |
|
| | | def DR_CTGOK(curPlayer, addDict):
|
| | |
| | |
|
| | | return
|
| | |
|
| | | ## 获得金钱失败
|
| | | def DR_GiveMoneyError(curPlayer, priceType, value, giveType, addDataDict):
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(), "GiveType":giveType, "GiveValue":value, "AddDataDict":addDataDict}
|
| | | SendEventPack("GiveMoneyError_%s" % priceType, dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ## 获得物品
|
| | | # @param curPlayer: 玩家实例
|
| | | # @param eventName: 功能事件名
|