parameters: (self)
return_statement: return self.__nextlevels
docstring: Returns the next level for each class.
docstring_summary: Returns the next level for each class.
docstring_tokens: Returns the next level for each class .
function: def NextLevels (self):
  		"""Returns the next level for each class."""
  
  		if self.__nextlevels != None:
  			return self.__nextlevels
  
  		xp = GemRB.GetPlayerStat (self.pc, IE_XP) // self.NumClasses()
  
  		self.__nextlevels = []
  		for name, level in zip(self.ClassNames(), self.Levels() ):
  			nextLevel = level
  
  			#we only want the current level for the old part of a dual-class
  			if len(self.__nextlevels) < self.__numclasses:
  				for current in range(level+1, CommonTables.NextLevel.GetColumnCount () ):
  					if CommonTables.NextLevel.GetValue (name, str(current)) <= xp:
  						nextLevel = current
  					else:
  						break
  			self.__nextlevels.append(nextLevel)
  
  		return self.__nextlevels
function_tokens: def NextLevels ( self ) : if self . __nextlevels != None : return self . __nextlevels xp = GemRB . GetPlayerStat ( self . pc , IE_XP ) // self . NumClasses ( ) self . __nextlevels = [ ] for name , level in zip ( self . ClassNames ( ) , self . Levels ( ) ) : nextLevel = level #we only want the current level for the old part of a dual-class if len ( self . __nextlevels ) < self . __numclasses : for current in range ( level + 1 , CommonTables . NextLevel . GetColumnCount ( ) ) : if CommonTables . NextLevel . GetValue ( name , str ( current ) ) <= xp : nextLevel = current else : break self . __nextlevels . append ( nextLevel ) return self . __nextlevels