示例#1
0
 def getLeagueString(self):
     return club_fmts.getLeagueString(getLeagueByDivision(self.division))
示例#2
0
 def getLeague(self):
     if self.isInLadder():
         return getLeagueByDivision(self.getDivision())
     else:
         return None
示例#3
0
 def getLeagueString(self):
     return club_fmts.getLeagueString(getLeagueByDivision(self.division))
示例#4
0
 def getLeague(self):
     if self.isInLadder():
         return getLeagueByDivision(self.getDivision())
     else:
         return None
 def getDivision(self):
     """ Returns quest's divisino and league
     """
     clubCond = self.postBattleCond.getConditions().find('clubs')
     division = clubCond.getDivision()
     return (division, getLeagueByDivision(division))
示例#6
0
 def getDivision(self):
     """ Returns quest's divisino and league
     """
     clubCond = self.postBattleCond.getConditions().find('clubs')
     division = clubCond.getDivision()
     return (division, getLeagueByDivision(division))