| | |
| | | # @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
|