def onUnitFunctionalFinished(self):
     if self.unitFunctional.getExit(
     ) == settings.FUNCTIONAL_EXIT.INTRO_UNIT:
         if self.unitFunctional.isKicked():
             self._goToNextView(closeForced=True)
     else:
         NavigationStack.clear(self.getNavigationKey())
 def onUnitFunctionalFinished(self):
     flags = self.unitFunctional.getFunctionalFlags()
     if flags & settings.FUNCTIONAL_FLAG.UNIT_INTRO > 0:
         if self.unitFunctional.isKicked():
             self._goToNextView(closeForced=True)
     else:
         NavigationStack.clear(self.getNavigationKey())
Beispiel #3
0
 def onUnitFunctionalFinished(self):
     flags = self.unitFunctional.getFunctionalFlags()
     if flags & settings.FUNCTIONAL_FLAG.UNIT_INTRO > 0:
         if self.unitFunctional.isKicked():
             self._goToNextView(closeForced=True)
     else:
         NavigationStack.clear(self.getNavigationKey())
 def onUnitFunctionalFinished(self):
     CyberSportIntroView._selectedVehicles = None
     if self.unitFunctional.getExit() == settings.FUNCTIONAL_EXIT.INTRO_UNIT:
         if self.unitFunctional.isKicked():
             self._goToNextView(closeForced=True)
     else:
         NavigationStack.clear(self.getNavigationKey())
Beispiel #5
0
 def onUnitFunctionalFinished(self):
     CyberSportIntroView._selectedVehicles = None
     flags = self.unitFunctional.getFunctionalFlags()
     if flags & settings.FUNCTIONAL_FLAG.UNIT_INTRO > 0:
         self.__isKicked = self.unitFunctional.isKicked()
     else:
         NavigationStack.clear(self.getNavigationKey())
     return
 def onUnitFunctionalFinished(self):
     CyberSportIntroView._selectedVehicles = None
     flags = self.unitFunctional.getFunctionalFlags()
     if flags & settings.FUNCTIONAL_FLAG.UNIT_INTRO > 0:
         self.__isKicked = self.unitFunctional.isKicked()
     else:
         NavigationStack.clear(self.getNavigationKey())
     return
 def __initIntroView(self):
     isListShow = self.__modeFlags & UNIT_MODE_FLAGS.SHOW_LIST > 0
     navKey = self.getNavigationKey()
     if isListShow:
         NavigationStack.clear(navKey)
         self._requestViewLoad(FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_LIST_VIEW_UI, None)
     else:
         NavigationStack.exclude(navKey, FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_VIEW_UI)
         NavigationStack.exclude(navKey, FORTIFICATION_ALIASES.FORT_CLAN_BATTLE_ROOM_VIEW_UI)
         if NavigationStack.hasHistory(navKey):
             flashAlias, _, itemID = NavigationStack.current(navKey)
             self._requestViewLoad(flashAlias, itemID)
         else:
             self._requestViewLoad(self.getIntroViewAlias(), None)
 def __initIntroView(self):
     isListShow = self.__modeFlags & UNIT_MODE_FLAGS.SHOW_LIST > 0
     navKey = self.getNavigationKey()
     if isListShow:
         NavigationStack.clear(navKey)
         self._requestViewLoad(
             FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_LIST_VIEW_UI, None)
     else:
         NavigationStack.exclude(
             navKey, FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_VIEW_UI)
         NavigationStack.exclude(
             navKey, FORTIFICATION_ALIASES.FORT_CLAN_BATTLE_ROOM_VIEW_UI)
         if NavigationStack.hasHistory(navKey):
             flashAlias, _, itemID = NavigationStack.current(navKey)
             self._requestViewLoad(flashAlias, itemID)
         else:
             self._requestViewLoad(self.getIntroViewAlias(), None)
 def onIntroUnitFunctionalFinished(self):
     flags = self.unitFunctional.getFunctionalFlags()
     if flags & settings.FUNCTIONAL_FLAG.UNIT == 0:
         NavigationStack.clear(self.getNavigationKey())
Beispiel #10
0
 def onIntroUnitFunctionalFinished(self):
     if self.unitFunctional.getExit() != settings.FUNCTIONAL_EXIT.UNIT:
         NavigationStack.clear(self.getNavigationKey())
Beispiel #11
0
 def onIntroUnitFunctionalFinished(self):
     flags = self.unitFunctional.getFunctionalFlags()
     if flags & settings.FUNCTIONAL_FLAG.UNIT == 0:
         NavigationStack.clear(self.getNavigationKey())
 def onIntroUnitFunctionalFinished(self):
     if self.unitFunctional.getExit() != settings.FUNCTIONAL_EXIT.UNIT:
         NavigationStack.clear(self.getNavigationKey())