Add new function PE.getResourceTypeByNumber . It will be in 0.90