Example #1
0
 def showVehicleAwardWindow(self, vehicle, completedQuestIDs):
     LOG_DEBUG('Referrer has been get vehicle award', vehicle,
               completedQuestIDs)
     curXp, nextXp, isBoughtVehicle = self.__getAwardParams(
         completedQuestIDs)
     shared_events.showAwardWindow(
         VehicleAward(vehicle, isBoughtVehicle, curXp))
Example #2
0
def showOperationUnlockedAward(quest, ctx):
    shared_events.showAwardWindow(awards.OperationUnlockedAward(quest, ctx, showPersonalMissionsChain))
Example #3
0
def showAchievementsAward(achievements):
    shared_events.showAwardWindow(awards.AchievementsAward(achievements))
Example #4
0
def showResearchAward(vehiclesCount, messageNumber):
    showAwardWindow(specialAwards.ResearchAward(vehiclesCount, messageNumber))
Example #5
0
def showBattleAward(battlesCount, messageNumber):
    showAwardWindow(specialAwards.BattleAward(battlesCount, messageNumber))
Example #6
0
def showFalloutAward(lvls, isRequiredVehicle = False):
    showAwardWindow(specialAwards.FalloutAwardWindow(lvls, isRequiredVehicle))
def showTelecomAward(vehicleDesrs, hasCrew, hasBrotherhood):
    showAwardWindow(specialAwards.TelecomAward(vehicleDesrs, hasCrew, hasBrotherhood))
def showMotiveAward(quest):
    shared_events.showAwardWindow(awards.MotiveQuestAward(quest, showEventsWindow))
Example #9
0
def showVehicleCollectorOfEverythingAward(*args):
    showAwardWindow(specialAwards.VehicleCollectorOfEverythingAward())
Example #10
0
def showVehicleCollectorAward(nationID):
    showAwardWindow(specialAwards.VehicleCollectorAward(nationID))
Example #11
0
def showRecruiterAward():
    showAwardWindow(specialAwards.RecruiterAward())
Example #12
0
def showFalloutAward(lvls, isRequiredVehicle=False):
    showAwardWindow(specialAwards.FalloutAwardWindow(lvls, isRequiredVehicle))
Example #13
0
def showTankwomanAward(questID, tankmanData):
    shared_events.showAwardWindow(awards.TankwomanAward(
        questID, tankmanData, showTankwomanRecruitWindow),
                                  isUniqueName=False)
Example #14
0
def showVehicleAward(vehicle):
    shared_events.showAwardWindow(awards.VehicleAward(vehicle))
Example #15
0
 def showCreditsAwardWindow(self, creditsValue, completedQuestIDs):
     if creditsValue > 0:
         LOG_DEBUG('Referrer has been get credits award', creditsValue, completedQuestIDs)
         shared_events.showAwardWindow(CreditsAward(creditsValue))
def showTokenAward(potapovQuest, tokenID, tokensCount):
    shared_events.showAwardWindow(awards.TokenAward(potapovQuest, tokenID, tokensCount, showEventsWindow))
Example #17
0
 def showTankmanAwardWindow(self, tankman, completedQuestIDs):
     LOG_DEBUG('Referrer has been get tankman award', tankman, completedQuestIDs)
     curXp, nextXp, _ = self.__getAwardParams(completedQuestIDs)
     shared_events.showAwardWindow(TankmanAward(tankman, curXp, nextXp))
Example #18
0
def showTokenAward(potapovQuest, tokenID, tokensCount):
    shared_events.showAwardWindow(
        awards.TokenAward(potapovQuest, tokenID, tokensCount,
                          showEventsWindow))
Example #19
0
 def showVehicleAwardWindow(self, vehicle, completedQuestIDs):
     LOG_DEBUG('Referrer has been get vehicle award', vehicle, completedQuestIDs)
     curXp, nextXp, isBoughtVehicle = self.__getAwardParams(completedQuestIDs)
     shared_events.showAwardWindow(VehicleAward(vehicle, isBoughtVehicle, curXp))
Example #20
0
 def showCreditsAwardWindow(self, creditsValue, completedQuestIDs):
     if creditsValue > 0:
         LOG_DEBUG('Referrer has been get credits award', creditsValue, completedQuestIDs)
         shared_events.showAwardWindow(CreditsAward(creditsValue))
Example #21
0
def showBloggersBattleAward(awardId, blogger):
    showAwardWindow(specialAwards.BloggersBattleAward(awardId, blogger))
Example #22
0
def showRegularAward(quest, isMainReward = True, isAddReward = False):
    shared_events.showAwardWindow(awards.RegularAward(quest, isMainReward, isAddReward))
Example #23
0
def showPveBattleAward(battlesCount, messageNumber):
    showAwardWindow(specialAwards.PvEBattleAward(battlesCount, messageNumber))
Example #24
0
def showBoosterAward(booster):
    showAwardWindow(specialAwards.BoosterAward(booster))
Example #25
0
def showBoosterAward(booster):
    showAwardWindow(specialAwards.BoosterAward(booster))
Example #26
0
def showVictoryAward(victoriesCount, messageNumber):
    showAwardWindow(specialAwards.VictoryAward(victoriesCount, messageNumber))
Example #27
0
def showClanJoinAward(clanAbbrev, clanName, clanDbID):
    showAwardWindow(specialAwards.ClanJoinAward(clanAbbrev, clanName,
                                                clanDbID))
Example #28
0
def showMotiveAward(quest):
    shared_events.showAwardWindow(awards.MotiveQuestAward(quest, showMission))
Example #29
0
def showTelecomAward(vehicleDesrs, hasCrew, hasBrotherhood):
    showAwardWindow(
        specialAwards.TelecomAward(vehicleDesrs, hasCrew, hasBrotherhood))
Example #30
0
 def showTankmanAwardWindow(self, tankman, completedQuestIDs):
     LOG_DEBUG('Referrer has been get tankman award', tankman, completedQuestIDs)
     curXp, nextXp, _ = self.__getAwardParams(completedQuestIDs)
     shared_events.showAwardWindow(TankmanAward(tankman, curXp, nextXp))
Example #31
0
def showResearchAward(vehiclesCount, messageNumber):
    showAwardWindow(specialAwards.ResearchAward(vehiclesCount, messageNumber))
def showAchievementsAward(achievements):
    shared_events.showAwardWindow(awards.AchievementsAward(achievements))
Example #33
0
def showVictoryAward(victoriesCount, messageNumber):
    showAwardWindow(specialAwards.VictoryAward(victoriesCount, messageNumber))
def showVehicleAward(vehicle):
    shared_events.showAwardWindow(awards.VehicleAward(vehicle))
def showClanJoinAward(clanAbbrev, clanName, clanDbID):
    showAwardWindow(specialAwards.ClanJoinAward(clanAbbrev, clanName, clanDbID))
def showTankwomanAward(questID, tankmanData):
    shared_events.showAwardWindow(
        awards.TankwomanAward(questID, tankmanData, showTankwomanRecruitWindow), isUniqueName=False
    )
Example #37
0
def showRegularAward(quest, isMainReward=True, isAddReward=False):
    shared_events.showAwardWindow(
        awards.RegularAward(quest, showEventsWindow, isMainReward,
                            isAddReward))