def init(self, clientPrb=None, ctx=None): result = super(EpicBattleTrainingIntroEntity, self).init() g_eventDispatcher.loadEpicTrainingList() result = FUNCTIONAL_FLAG.addIfNot(result, FUNCTIONAL_FLAG.LOAD_PAGE) return result
def doAction(self, action=None): g_eventDispatcher.loadEpicTrainingList() return True
def doSelectAction(self, action): if action.actionName == PREBATTLE_ACTION_NAME.EPIC_TRAINING_LIST: g_eventDispatcher.loadEpicTrainingList() return SelectResult(True) return super(EpicBattleTrainingIntroEntity, self).doSelectAction(action)