hxp
9 天以前 6147d46800b735eedf348f7b7b80038b1a5efe7c
16 卡牌服务端(增加广告领奖流向记录;)
2个文件已修改
9 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -263,6 +263,13 @@
    SendEventPack("FixVersion_%s" % fixName, dataDict, curPlayer)
    return
def DR_ADAward(curPlayer, adID):
    ## 广告奖励流向
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(),
                'AccID':curPlayer.GetAccID(), 'ADID':adID}
    SendEventPack("ADAward", dataDict)
    return
## 玩家升级
#  @param curPlayer: 玩家实例
#  @param playerLV: 玩家等级
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py
@@ -3261,6 +3261,8 @@
    # 游历体力
    elif adAwardType == 4:
        PlayerTravel.AddTravelEnergy(curPlayer, adAwardValue)
    DataRecordPack.DR_ADAward(curPlayer, adID)
    return
def ADCntOnDay(curPlayer):