getExpToReachLevel

abstract fun getExpToReachLevel(level: Int): Double(source)

Returns how much experience you need to reach specified level or -1 if level can't be reached.