xdh
2019-03-22 3b45b8cfa4cb24ad084c4fadf5d31430d0de5d21
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -551,18 +551,6 @@
    SendEventPack("LVAward", dataDict, curPlayer)
    return
##合服登陆奖励
def DR_MixLoginDayAward(curPlayer, getState):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(),
                'PlayerName':curPlayer.GetPlayerName(),
                'AccID':curPlayer.GetAccID(),
                "rewardState":getState
                }
    SendEventPack("MixLoginDayAward", dataDict, curPlayer)
    return
## 使用新手媒体卡
#  @param curPlayer: 玩家实例
#  @param cardStr: 卡号
@@ -606,18 +594,6 @@
    dataDict["PlayerName"] = curPlayer.GetPlayerName()
    
    SendEventPack("OpenServerAward", dataDict, curPlayer)
    return
## 合服活动奖励领取情况
#  @param curPlayer: 玩家实例
#  @param dataDict: 记录信息字典
#  @return: None
def DR_MixServerAward(curPlayer, dataDict):
    dataDict["PlayerID"] = curPlayer.GetPlayerID()
    dataDict["AccID"] = curPlayer.GetAccID()
    dataDict["PlayerName"] = curPlayer.GetPlayerName()
    SendEventPack("MixServerAward", dataDict, curPlayer)
    return
## GM执行命令操作
@@ -1438,26 +1414,6 @@
    SendEventPack("CollectNPCOK", dataDict, curPlayer)
    return
## 玩家领取充值特惠活动奖励
#  @param curPlayer: 玩家实例
#  @param actionID: 活动id
#  @param actionNum: 活动编号
#  @param itemID: 物品id
#  @param itemCnt: 物品数量
#  @param isPutIn: 是否放入
#  @param prizeIndex: 奖励中的第x种奖励
#  @return
def DR_PlayerTeHuiRechargePrize(curPlayer, actionID, actionNum, itemID, itemCnt, isPutIn, prizeIndex):
    #MySql不识别 True False,改成1和0
    isPutIn = 1 if isPutIn else 0
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(),
                'AccID':curPlayer.GetAccID(), 'ActionID':actionID, 'ActionNum':actionNum,
                'IsPutIn':isPutIn, "ItemID":itemID, "ItemCount":itemCnt, 'PrizeIndex':prizeIndex}
    SendEventPack("TeHuiRechargePrize", dataDict, curPlayer)
    return
## 领取投资回报
#  @param curPlayer: 玩家实例
@@ -1585,9 +1541,9 @@
## 玩家境界升级
#  @return
def DR_RealmLVUp(curPlayer, realmlv, realmPoint, needRealmPoint):
def DR_RealmLVUp(curPlayer, realmlv):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
                'AccID':curPlayer.GetAccID(), 'realmlv':realmlv, 'curRealmPoint':realmPoint, 'costRealmPoint':needRealmPoint,
                'AccID':curPlayer.GetAccID(), 'realmlv':realmlv,
                'playerlv':curPlayer.GetLV(), 'power':curPlayer.GetFightPower()}
    
    #发送封包
@@ -1628,4 +1584,11 @@
    
    #发送封包
    SendEventPack("WeekPartyPoint", dataDict, curPlayer)
    return
def DR_FeastWeekPartyPoint(curPlayer, dayIndex, point):
    ##节日巡礼
    dataDict = {'PlayerID':curPlayer.GetPlayerID(),
                'AccID':curPlayer.GetAccID(), 'dayIndex':dayIndex, 'point':point}
    #发送封包
    SendEventPack("FeastWeekPartyPoint", dataDict, curPlayer)
    return