Exemplo n.º 1
0
 def _triggerDogTagFlameSound(self, active):
     if not self._isDTFlameEnabled:
         return
     if active:
         WWISE.WW_eventGlobal(backport.sound(R.sounds.dt_flame_start()))
     else:
         WWISE.WW_eventGlobal(backport.sound(R.sounds.dt_flame_stop()))
 def _finalize(self):
     SoundGroups.g_instance.playSound2D(
         backport.sound(R.sounds.bp_progress_bar_stop()))
     self.__tooltipItems = None
     self.__specialTooltipItems = None
     if self.__notifier is not None:
         self.__notifier.stopNotification()
         self.__notifier.clearNotification()
     super(BattlePassProgressionsView, self)._finalize()
     return
Exemplo n.º 3
0
 def _finalize(self):
     super(BattlePassProgressionsView, self)._finalize()
     SoundGroups.g_instance.playSound2D(
         backport.sound(R.sounds.bp_progress_bar_stop()))
     self.__removeListeners()
     self.__showDummyCallback = None
     self.__showViewCallback = None
     self.__tooltipItems = None
     if self.viewModel.getShowIntro():
         self.__setBattlePassIntroShown()
     self.__notifier.stopNotification()
     self.__notifier.clearNotification()
     return
Exemplo n.º 4
0
 def _finalize(self):
     BREvents.playSound(BREvents.BR_RESULT_PROGRESS_BAR_STOP)
     SoundGroups.g_instance.playSound2D(
         backport.sound(R.sounds.bp_progress_bar_stop()))
     self.__tooltipsData = None
     self.__tooltipParametersCreator = None
     self.__data = None
     self.__brController.onUpdated -= self.__updateBattlePass
     self.viewModel.personalResults.battlePassProgress.onSubmitClick -= self.__onBattlePassClick
     g_eventBus.handleEvent(events.LobbyHeaderMenuEvent(
         LobbyHeaderMenuEvent.TOGGLE_VISIBILITY,
         ctx={'state': HeaderMenuVisibilityState.ALL}),
                            scope=EVENT_BUS_SCOPE.LOBBY)
     super(BrBattleResultsViewInLobby, self)._finalize()
     return
 def _soundsOnExit():
     switchHangarOverlaySoundFilter(on=False)
     WWISE.WW_eventGlobal(backport.sound(R.sounds.dt_customisation_exit()))
     WWISE.WW_eventGlobal(backport.sound(R.sounds.dt_flame_stop()))
Exemplo n.º 6
0
 def onVictimDogTagInPlaySound(self):
     WWISE.WW_eventGlobal(backport.sound(R.sounds.dt_enemy()))
Exemplo n.º 7
0
 def onDogTagKillerOutPlaySound(self):
     if not BattleReplay.isPlaying():
         WWISE.WW_eventGlobal(
             backport.sound(R.sounds.dt_pc_destroyed_slide_out()))
Exemplo n.º 8
0
 def _soundsOnOpen(self):
     WWISE.WW_eventGlobal(
         backport.sound(R.sounds.gui_reward_screen_general()))
     WWISE.WW_setState(SOUNDS.OVERLAY_HANGAR_GENERAL,
                       SOUNDS.OVERLAY_HANGAR_GENERAL_ON)
Exemplo n.º 9
0
 def _dispose(self):
     WWISE.WW_eventGlobal(
         backport.sound(R.sounds.ev_cn_wotplus_tank_rental_exit()))
     super(VehicleRentalView, self)._dispose()
Exemplo n.º 10
0
 def _populate(self):
     super(VehicleRentalView, self)._populate()
     WWISE.WW_eventGlobal(
         backport.sound(R.sounds.ev_cn_wotplus_tank_rental_enter()))
Exemplo n.º 11
0
 def _dispose(self):
     WWISE.WW_eventGlobal(
         backport.sound(R.sounds.ev_cn_wotplus_infopage_exit()))
     super(WotPlusInfoView, self)._dispose()
Exemplo n.º 12
0
 def _populate(self):
     super(WotPlusInfoView, self)._populate()
     WWISE.WW_eventGlobal(
         backport.sound(R.sounds.ev_cn_wotplus_infopage_enter()))