| | |
| | | fblinePack = ChPyNetSendPack.tagGCFBLinePlayerCnt()
|
| | | fblinePack.MapID = tagMapID
|
| | | fblinePack.FBLineInfoList = []
|
| | | for lineID, playerCnt in fbLinePlayerCntDict.items():
|
| | | for lineID, infoList in fbLinePlayerCntDict.items():
|
| | | mapLineState = ChPyNetSendPack.tagGCFBLineInfo()
|
| | | mapLineState.Clear()
|
| | | mapLineState.FBLineID = lineID
|
| | | mapLineState.PlayerCnt = playerCnt
|
| | | mapLineState.PlayerCnt = infoList[0] if infoList else 0
|
| | | mapLineState.ExtraStr = infoList[1] if len(infoList) > 1 else ''
|
| | | mapLineState.ExtraStrLen = len(mapLineState.ExtraStr)
|
| | | fblinePack.FBLineInfoList.append(mapLineState)
|
| | |
|
| | | fblinePack.Count = len(fblinePack.FBLineInfoList)
|