def _getCostCtx(self, vehCD, xpCost): stats = g_itemsCache.items.stats return unlock.makeCostCtx(UnlockStats(stats.unlocks, stats.vehiclesXPs, stats.freeXP).getVehXP(vehCD), xpCost)
def _getCostCtx(self, vehCD, xpCost): stats = self.itemsCache.items.stats return unlock.makeCostCtx(UnlockStats(stats.unlocks, stats.vehiclesXPs, stats.freeXP).getVehXP(vehCD), xpCost)
def getCostCtx(self, vehCD, xpCost): return unlock.makeCostCtx(self._data.getUnlockStats().getVehXP(vehCD), xpCost)