コード例 #1
0
 def start(self):
     if self.__isStarted:
         return
     self.__isStarted = True
     g_eventDispatcher.init(self)
     result = self.__setDefault()
     self.__startListening()
     initDevFunctional()
     if result & FUNCTIONAL_FLAG.LOAD_PAGE == 0:
         g_eventDispatcher.loadHangar()
     if GUI_SETTINGS.specPrebatlesVisible and not prb_getters.areSpecBattlesHidden():
         g_eventDispatcher.addSpecBattlesToCarousel()
コード例 #2
0
 def start(self):
     """
     Start is called when dispatcher should start its job and process events.
     """
     g_eventDispatcher.init(self)
     result = self.__setDefault()
     self.__startListening()
     initDevFunctional()
     if result & FUNCTIONAL_FLAG.LOAD_PAGE == 0:
         g_eventDispatcher.loadHangar()
     if GUI_SETTINGS.specPrebatlesVisible and not prb_getters.areSpecBattlesHidden(
     ):
         g_eventDispatcher.addSpecBattlesToCarousel()