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
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
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()))
def onVictimDogTagInPlaySound(self): WWISE.WW_eventGlobal(backport.sound(R.sounds.dt_enemy()))
def onDogTagKillerOutPlaySound(self): if not BattleReplay.isPlaying(): WWISE.WW_eventGlobal( backport.sound(R.sounds.dt_pc_destroyed_slide_out()))
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)
def _dispose(self): WWISE.WW_eventGlobal( backport.sound(R.sounds.ev_cn_wotplus_tank_rental_exit())) super(VehicleRentalView, self)._dispose()
def _populate(self): super(VehicleRentalView, self)._populate() WWISE.WW_eventGlobal( backport.sound(R.sounds.ev_cn_wotplus_tank_rental_enter()))
def _dispose(self): WWISE.WW_eventGlobal( backport.sound(R.sounds.ev_cn_wotplus_infopage_exit())) super(WotPlusInfoView, self)._dispose()
def _populate(self): super(WotPlusInfoView, self)._populate() WWISE.WW_eventGlobal( backport.sound(R.sounds.ev_cn_wotplus_infopage_enter()))