xdh
2018-12-25 a3b3032cd671876a1b0995fb88bf10246dfb8330
ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py
@@ -76,6 +76,7 @@
    if curPlayer:
        pid = curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_PlayerFromPID)
        dataDict["pid"] = pid
        dataDict["fightPower"] = curPlayer.GetFightPower()
        
    dataDict["time"] = str(datetime.datetime.today()).split(".")[0]
    
@@ -317,13 +318,13 @@
#  @param tagFamilyLV: 被踢者职位
#  @return:  
def DR_PlayerLeaveFamily(curPlayer, familyID, familyName, familyCnt, familyLV, 
                         tagPlayerID, tagPlayerName, tagFamilyLV):
                         tagPlayerID, tagPlayerName, tagFamilyLV, leaveFamilyTime=0):
    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'AccID':curPlayer.GetAccID(), 
                "PlayerName":curPlayer.GetName(), 
                "FamilyID":familyID, "FamilyName":familyName, "Count":familyCnt, "FamilyJob":familyLV, 
                "tagPlayerID":tagPlayerID, "tagPlayerName":tagPlayerName, "tagFamilyJob":tagFamilyLV}
    if leaveFamilyTime:
        dataDict['leaveFamilyTime'] = leaveFamilyTime
    #发送封包
    SendEventPack("PlayerLeaveFamily", dataDict, curPlayer)
    return