def __sendResult(self, isSuccess, msg=''):
     if not isSuccess:
         LOG_ERROR(msg)
     if self.__writeSetting:
         writeIntroVideoSetting()
     self.fireEvent(events.GlobalSpaceEvent(
         events.GlobalSpaceEvent.GO_NEXT))
Exemplo n.º 2
0
 def __sendResult(self, isSuccess, msg = ''):
     """
     Call callback and send result of work
     @param isSuccess: is result of current component working has no errors
     @param msg: described reason of error
     """
     if not isSuccess:
         LOG_ERROR(msg)
     if self.__writeSetting:
         writeIntroVideoSetting()
     self.fireEvent(events.GlobalSpaceEvent(events.GlobalSpaceEvent.GO_NEXT))
Exemplo n.º 3
0
 def __sendResult(self, isSuccess, msg = ''):
     """
     Call callback and send result of work
     :param isSuccess: is result of current component working has no errors
     :param msg: described reason of error
     """
     if not isSuccess:
         LOG_ERROR(msg)
     if self.__writeSetting:
         writeIntroVideoSetting()
     self.fireEvent(events.GlobalSpaceEvent(events.GlobalSpaceEvent.GO_NEXT))
 def __sendResult(self, isSuccess, msg=''):
     if not isSuccess:
         LOG_ERROR(msg)
     if self.__writeSetting:
         writeIntroVideoSetting()
     self.gameplay.postStateEvent(GUIEventID.INTRO_VIDEO_FINISHED)