| | |
| | | pid = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_PlayerFromPID)
|
| | | dataDict["pid"] = pid
|
| | | dataDict["fightPower"] = curPlayer.GetFightPower()
|
| | | dataDict["PlayerLV"] = curPlayer.GetLV()
|
| | | dataDict["IP"] = curPlayer.GetIP()
|
| | |
|
| | | dataDict["time"] = str(datetime.datetime.today()).split(".")[0]
|
| | |
|
| | |
| | | # @param familyName: 家族名
|
| | | # @param familyID: 家族ID
|
| | | # @return None
|
| | | def DR_CreateFamily(accID, playerID, playerNaem, familyName, familyID):
|
| | | def DR_CreateFamily(accID, playerID, playerNaem, familyName, familyID, creatFamilyTimes):
|
| | |
|
| | | dataDict = {'AccID':accID, 'PlayerID':playerID, "PlayerName":playerNaem, 'FamilyName':familyName,
|
| | | 'FamilyID':familyID}
|
| | | 'FamilyID':familyID, 'creatFamilyTimes':creatFamilyTimes}
|
| | |
|
| | | #发送封包
|
| | | SendEventPack("CreateFamily", dataDict)
|
| | |
| | | dataDict = {'GUID':GUID, "eventName":eventName}
|
| | | dataDict.update(addDict)
|
| | | SendEventPack("CompensationEntire", dataDict)
|
| | | return
|
| | |
|
| | | ## 发送充值排行榜特惠活动奖励邮件记录流向
|
| | | # @param curPlayerID: 玩家ID
|
| | | # @param GUID: |
| | | # @param actionID: 活动ID
|
| | | # @param actionValue: 活动编号
|
| | | # @param order: 奖励排名
|
| | | # @param rewardItemList: 奖励物品列表
|
| | | # @return None
|
| | | def DR_SendRechareRankTeHuiRewardMail(curPlayerID, GUID, actionID, actionValue, order, rewardItemList):
|
| | | |
| | | dataDict = {'PlayerID':curPlayerID, 'GUID':GUID, 'ActionID':actionID, 'ActionValue':actionValue,
|
| | | 'Order':order, 'ItemList':rewardItemList}
|
| | |
|
| | | #发送封包
|
| | | SendEventPack("SendRechareRankTeHuiRewardMail", dataDict)
|
| | | return
|
| | |
|
| | | ## 发送消费排行榜特惠活动奖励邮件记录流向
|
| | | # @param curPlayerID: 玩家ID
|
| | | # @param GUID: |
| | | # @param actionID: 活动ID
|
| | | # @param actionValue: 活动编号
|
| | | # @param order: 奖励排名
|
| | | # @param rewardItemList: 奖励物品列表
|
| | | # @return None
|
| | | def DR_SendCostRankTeHuiRewardMail(curPlayerID, GUID, actionID, actionValue, order, rewardItemList):
|
| | | |
| | | dataDict = {'PlayerID':curPlayerID, 'GUID':GUID, 'ActionID':actionID, 'ActionValue':actionValue,
|
| | | 'Order':order, 'ItemList':rewardItemList}
|
| | |
|
| | | #发送封包
|
| | | SendEventPack("SendCostRankTeHuiRewardMail", dataDict)
|
| | | return
|
| | |
|