Exemplo n.º 1
0
 def _getCostCtx(self, vehCD, xpCost):
     stats = g_itemsCache.items.stats
     return unlock.makeCostCtx(UnlockStats(stats.unlocks, stats.vehiclesXPs, stats.freeXP).getVehXP(vehCD), xpCost)
Exemplo n.º 2
0
 def _getCostCtx(self, vehCD, xpCost):
     stats = self.itemsCache.items.stats
     return unlock.makeCostCtx(UnlockStats(stats.unlocks, stats.vehiclesXPs, stats.freeXP).getVehXP(vehCD), xpCost)
Exemplo n.º 3
0
 def getCostCtx(self, vehCD, xpCost):
     return unlock.makeCostCtx(self._data.getUnlockStats().getVehXP(vehCD), xpCost)