示例#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)
示例#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)
示例#3
0
 def getCostCtx(self, vehCD, xpCost):
     return unlock.makeCostCtx(self._data.getUnlockStats().getVehXP(vehCD), xpCost)