xdh
2018-12-04 9ba17f30e36a856861f1774567f6bd2a5114b9f0
ServerPython/CoreServerGroup/GameServer/Script/DataRecordPack.py
@@ -318,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