| | |
| | | for zoneID in champMgr.GetChampPKZoneIDList():
|
| | | batPlayerList = []
|
| | | pkZoneMgr = champMgr.GetChampPKZoneMgr(zoneID)
|
| | | if syncPlayerIDList == None:
|
| | | syncPlayerIDList = pkZoneMgr.GetBatPlayerIDList()
|
| | | for playerID in syncPlayerIDList:
|
| | | playerIDList = pkZoneMgr.GetBatPlayerIDList() if syncPlayerIDList == None else syncPlayerIDList
|
| | | for playerID in playerIDList:
|
| | | batPlayer = pkZoneMgr.GetBatPlayer(playerID)
|
| | | if not batPlayer:
|
| | | continue
|
| | |
| | | if syncZonID != None and zoneID != syncZonID:
|
| | | continue
|
| | | offZoneMgr = champMgr.GetChampOfficialZoneMgr(zoneID)
|
| | | if syncOfficialIDList == None:
|
| | | syncOfficialIDList = offZoneMgr.officialInfo.keys()
|
| | | for officialID in syncOfficialIDList:
|
| | | officialIDList = offZoneMgr.officialInfo.keys() if syncOfficialIDList == None else syncOfficialIDList
|
| | | for officialID in officialIDList:
|
| | | offObj = offZoneMgr.GetOfficialObj(officialID)
|
| | | if not offObj:
|
| | | continue
|