Esempio n. 1
0
 public static AchievementModule CreateClient(AchievementAccessor _accessor, ScorersLogic _scorersLogic, DropLogic _dropLogic, FormulaController _formula, ImpactController _impacts)
 {
     return(new AchievementModule
     {
         _accessor = _accessor,
         _scorersLogic = _scorersLogic,
         _dropLogic = _dropLogic,
         _formula = _formula,
         _impacts = _impacts,
     }
            );
 }
Esempio n. 2
0
 public InternalAdditionalLogics(InternalAccessors accessors, IApplyManager storage, LogicData data, IServerAPI api)
 {
     ImpactController = new ImpactController(data.IsEmulate);
     ContextLogic     = ContextLogic.CreateClient(accessors.BattleAccessor, accessors.UnitsAccessor);
     DropLogic        = DropLogic.CreateClient(accessors.ScorersAccessor, accessors.InventoryAccessor, accessors.UnitsAccessor, accessors.ExplorerAccessor, accessors.FormulaController, ImpactController);
     ScorersLogic     = ScorersLogic.CreateClient(accessors.BattleAccessor, accessors.ScorersAccessor, accessors.ExplorerAccessor);
     ShopLogic        = ShopLogic.CreateClient(accessors.SettingsAccessor, accessors.ShopAccessor, accessors.FormulaController);
     ApplyChangeLogic = ApplyChangeLogic.CreateClient(storage, ContextLogic);
     FormulaLogic     = FormulaLogic.CreateClient(ContextLogic, accessors.ScorersAccessor, accessors.UnitsAccessor, accessors.BattleAccessor, accessors.ExplorerAccessor, data, accessors.PlayerAccessor, accessors.SettingsAccessor, accessors.ConditionController, accessors.FormulaController, ScorersLogic);
     BuffLogic        = BuffLogic.CreateClient(accessors.BattleAccessor, ContextLogic, ApplyChangeLogic);
     ExplorerLogic    = ExplorerLogic.CreateClient(accessors.ScorersAccessor, accessors.ExplorerAccessor, accessors.UnitsAccessor, accessors.FormulaController, ScorersLogic, ContextLogic, DropLogic, ImpactController);
     TriggerLogic     = TriggerLogic.CreateClient(accessors.BattleAccessor, FormulaLogic);
     ConditionLogic   = ConditionLogic.CreateClient(accessors.InventoryAccessor, accessors.ScorersAccessor, accessors.PlayerAccessor, accessors.UnitsAccessor, accessors.BattleAccessor, accessors.ExplorerAccessor, accessors.SettingsAccessor, accessors.AchievementAccessor, FormulaLogic, ContextLogic, ScorersLogic, data, accessors.ConditionController);
     BattleLogic      = BattleLogic.CreateClient(ApplyChangeLogic, ContextLogic, ConditionLogic, accessors.FormulaController, accessors.BattleAccessor, accessors.ScorersAccessor, accessors.UnitsAccessor, accessors.ExplorerAccessor, accessors.SettingsAccessor);
     ImpactLogic      = ImpactLogic.CreateClient(accessors.ScorersAccessor, accessors.PlayerAccessor, accessors.InventoryAccessor, accessors.ExplorerAccessor, accessors.UnitsAccessor, accessors.BattleAccessor, accessors.SettingsAccessor, accessors.AchievementAccessor, BattleLogic, FormulaLogic, accessors.ConditionController, ApplyChangeLogic, BuffLogic, ScorersLogic, ContextLogic, ImpactController, data);
 }
Esempio n. 3
0
 public static CheatModule CreateClient(UnitsAccessor _units, ScorersAccessor _scorers, BattleAccessor _battle, InventoryAccessor _inventory, PlayerAccessor _player, ExplorerAccessor _explorer, LogAccessor _accessor, SettingsAccessor _settings, ExplorerLogic _explorerLogic, BattleLogic _battleLogic, ContextLogic _contextLogic, ImpactController _logic, DropLogic _drop, ScorersLogic _scorerLogic)
 {
     return(new CheatModule
     {
         _units = _units,
         _scorers = _scorers,
         _battle = _battle,
         _inventory = _inventory,
         _player = _player,
         _explorer = _explorer,
         _accessor = _accessor,
         _settings = _settings,
         _explorerLogic = _explorerLogic,
         _battleLogic = _battleLogic,
         _contextLogic = _contextLogic,
         _logic = _logic,
         _drop = _drop,
         _scorerLogic = _scorerLogic,
     }
            );
 }
 public ConditionScorerChecker(FormulaLogic logic, ScorersLogic scorers)
 {
     _scorers = scorers;
     _logic   = logic;
 }
 public FormulaScorerCalculator(ScorersLogic scorers)
 {
     _scorers = scorers;
 }
 public ImpactScorerDataExecutor(FormulaLogic logic, ScorersLogic scorers, ExplorerAccessor explorer)
 {
     _scorers  = scorers;
     _logic    = logic;
     _explorer = explorer;
 }