コード例 #1
0
 def __init__(self):
     effects = {GUI_EFFECT_NAME.SHOW_HINT: effects_player.ShowChainHint(),
      GUI_EFFECT_NAME.SHOW_WINDOW: effects_player.ShowWindowEffect(settings.WINDOW_ALIAS_MAP),
      GUI_EFFECT_NAME.SET_CRITERIA: effects_player.SetCriteriaEffect(),
      GUI_EFFECT_NAME.SET_TRIGGER: effects_player.SetTriggerEffect()}
     super(SfChainsProxy, self).__init__(effects_player.EffectsPlayer(effects))
     self._commands = GUICommandsFactory()
コード例 #2
0
ファイル: proxy.py プロジェクト: mahmoudimus/WOT-0.9.20.0
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_HINT: effects_player.ShowChainHint(),
         GUI_EFFECT_NAME.SET_CRITERIA: effects_player.SetCriteriaEffect(),
         GUI_EFFECT_NAME.SET_TRIGGER: effects_player.SetTriggerEffect()
     }
     super(SfSalesProxy,
           self).__init__(effects_player.EffectsPlayer(effects))
コード例 #3
0
ファイル: hintsproxy.py プロジェクト: Difrex/wotsdk
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_HINT: effects_player.ShowOnceOnlyHint(),
         GUI_EFFECT_NAME.SET_TRIGGER: effects_player.SetTriggerEffect()
     }
     super(HintsProxy, self).__init__(effects_player.EffectsPlayer(effects))
     self.__eManager = Event.EventManager()
     self.onHintClicked = Event.Event(self.__eManager)
     self.onHintItemFound = Event.Event(self.__eManager)
     self.onHintItemLost = Event.Event(self.__eManager)
コード例 #4
0
ファイル: proxy.py プロジェクト: webiumsk/WOT-0.9.17-CT
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_DIALOG:
         effects_player.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
         GUI_EFFECT_NAME.SHOW_WINDOW:
         effects_player.ShowWindowEffect(settings.WINDOW_ALIAS_MAP),
         GUI_EFFECT_NAME.UPDATE_CONTENT:
         effects_player.UpdateContentEffect()
     }
     super(SfOffbattleProxy,
           self).__init__(effects_player.EffectsPlayer(effects))
コード例 #5
0
ファイル: proxy.py プロジェクト: kusaku/wot_scripts
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_WINDOW:
         effects_player.ShowWindowEffect(settings.WINDOW_ALIAS_MAP),
         GUI_EFFECT_NAME.UPDATE_CONTENT:
         effects_player.UpdateContentEffect(),
         GUI_EFFECT_NAME.SHOW_HINT:
         effects_player.ShowChainHint()
     }
     super(SfQuestsProxy,
           self).__init__(effects_player.EffectsPlayer(effects))
コード例 #6
0
 def __init__(self):
     super(SfBattleProxy, self).__init__()
     self.__config = None
     self.__effects = _shared_player.EffectsPlayer({GUI_EFFECT_NAME.SHOW_DIALOG: _shared_player.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
      GUI_EFFECT_NAME.SHOW_GREETING: effects.ShowGreetingEffect(),
      GUI_EFFECT_NAME.SHOW_HINT: effects.ShowHintEffect(),
      GUI_EFFECT_NAME.NEXT_TASK: effects.NextTaskEffect()})
     self.__tutorial = None
     self.__minimap = None
     self.__markers2D = None
     self.__registered = set()
     self.__isGuiLoaded = False
     return
コード例 #7
0
 def __init__(self):
     super(SfBattleProxy, self).__init__()
     self.__config = None
     self.__effects = _shared_player.EffectsPlayer({
         GUI_EFFECT_NAME.SHOW_DIALOG:
         _shared_player.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
         GUI_EFFECT_NAME.SHOW_GREETING:
         effects.ShowGreetingEffect(),
         GUI_EFFECT_NAME.SHOW_HINT:
         effects.ShowHintEffect(),
         GUI_EFFECT_NAME.NEXT_TASK:
         effects.NextTaskEffect()
     })
     self.__tutorial = None
     self.__minimap = None
     self.__markersManager = None
     self.__commands = _BattleCommandsFactory()
     return
コード例 #8
0
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_DIALOG:
         shared_effects.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
         GUI_EFFECT_NAME.SET_CRITERIA:
         shared_effects.SetCriteriaEffect(),
         GUI_EFFECT_NAME.SET_VIEW_CRITERIA:
         shared_effects.SetViewCriteriaEffect(),
         GUI_EFFECT_NAME.SET_TRIGGER:
         shared_effects.SetTriggerEffect(),
         GUI_EFFECT_NAME.SET_ITEM_PROPS:
         shared_effects.SetItemPropsEffect(),
         GUI_EFFECT_NAME.PLAY_ANIMATION:
         shared_effects.PlayAnimationEffect(),
         GUI_EFFECT_NAME.SHOW_HINT:
         bc_effects.ShowHint()
     }
     super(SfBootcampLobbyProxy,
           self).__init__(shared_effects.EffectsPlayer(effects))