def onSpaceLoaded(self): LOG_DEBUG_DEV_BOOTCAMP('onSpaceLoaded called') if self.__spaceLoadDelayed: return False self.__spaceLoadDelayed = True g_eventDispatcher.unloadBootcampQueue() bb = BigWorld.player().arena.arenaType.boundingBox BigWorld.updateTerrainBorders((bb[0][0], bb[0][1], bb[1][0], bb[1][1])) g_bootcampEvents.onBootcampSpaceLoaded() return True
def onSpaceLoadCompleted(self): LOG_DEBUG_DEV_BOOTCAMP('onSpaceLoadCompleted called') g_eventDispatcher.unloadBootcampQueue() bb = BigWorld.player().arena.arenaType.boundingBox BigWorld.wgUpdateTerrainBorders( (bb[0][0], bb[0][1], bb[1][0], bb[1][1])) g_bootcampEvents.onIntroVideoLoaded() noSounds = BattleReplay.g_replayCtrl.isTimeWarpInProgress if not noSounds: SoundGroups.g_instance.playSound2D('bc_loading_tips') if self.__lessonId == 0 and not noSounds: SoundGroups.g_instance.playSound2D('vo_bc_welcome')
def _exitFromQueueUI(self): g_eventDispatcher.unloadBootcampQueue()