Пример #1
0
 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
Пример #2
0
 def doAction(self, action=None):
     g_eventDispatcher.loadEpicTrainingList()
     return True
Пример #3
0
 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)