| | |
| | | playerID = curPackData.PlayerID
|
| | | teamID = curPackData.TeamID
|
| | | teamLV = curPackData.TeamLV
|
| | | memCnt = curPackData.MemCnt
|
| | | dataDict = {"playerID":playerID, "teamLV":teamLV}
|
| | |
|
| | | GameWorld.DebugLog("GameServer_TeamInfo playerID=%s,teamID=%s,teamLV=%s" % (playerID, teamID, teamLV), playerID)
|
| | | GameWorld.DebugLog("GameServer_TeamInfo playerID=%s,teamID=%s,teamLV=%s,memCnt=%s" % (playerID, teamID, teamLV, memCnt), playerID)
|
| | | curPlayer = GameWorld.GetPlayerManager().FindPlayerByID(playerID)
|
| | | if not curPlayer or curPlayer.IsEmpty():
|
| | | DR_Team("TeamInfo", teamID, dataDict, "curPlayer is None or empty")
|
| | |
| | |
|
| | | RefreshPlayerTeamID(curPlayer, teamID, teamLV, tick)
|
| | |
|
| | | curPlayer.SetDict(ChConfig.Def_PlayerKey_TeamMemCount, memCnt)
|
| | | |
| | | sameMapMemCount = 0 # 同地图队员数
|
| | | sameMapVIPLV = 0 # 同地图VIP加成等级
|
| | | mapID = curPlayer.GetMapID()
|