def __hideHints(): g_eventBus.handleEvent( AmmunitionSetupViewEvent( AmmunitionSetupViewEvent.HINT_ZONE_HIDE, ctx={ 'hintName': TutorialHintConsts.BOOTCAMP_PANEL_OPT_DEVICE_MC }), EVENT_BUS_SCOPE.LOBBY) g_eventBus.handleEvent( AmmunitionSetupViewEvent( AmmunitionSetupViewEvent.HINT_ZONE_HIDE, ctx={ 'hintName': TutorialHintConsts.BOOTCAMP_PANEL_EQUIPMENT_MC }), EVENT_BUS_SCOPE.LOBBY)
def __hideHints(): g_eventBus.handleEvent( AmmunitionSetupViewEvent( AmmunitionSetupViewEvent.HINT_ZONE_HIDE, ctx={ 'hintName': TutorialHintConsts.SETUP_VIEW_SLOTS_OPT_DEVICE_MC }), EVENT_BUS_SCOPE.LOBBY)
def onEscapePress(self): g_eventBus.handleEvent( AmmunitionSetupViewEvent(AmmunitionSetupViewEvent.CLOSE_VIEW), EVENT_BUS_SCOPE.LOBBY)
def __onHintZoneClicked(self, args): g_eventBus.handleEvent(AmmunitionSetupViewEvent(AmmunitionSetupViewEvent.HINT_ZONE_CLICK, ctx=args), EVENT_BUS_SCOPE.LOBBY)
def __onHintZoneHidden(self, args): g_eventBus.handleEvent(AmmunitionSetupViewEvent(AmmunitionSetupViewEvent.HINT_ZONE_HIDE, ctx=args), EVENT_BUS_SCOPE.LOBBY)
def onEscapePress(self): if self.__isBCMessageOpen(): return g_eventBus.handleEvent( AmmunitionSetupViewEvent(AmmunitionSetupViewEvent.CLOSE_VIEW), EVENT_BUS_SCOPE.LOBBY)