コード例 #1
0
 public ImpactManaExecutor(FormulaLogic logic, ExplorerAccessor explorer, ScorersAccessor scorers, BattleAccessor battle, SettingsAccessor settings)
 {
     _logic    = logic;
     _scorers  = scorers;
     _battle   = battle;
     _explorer = explorer;
     _settings = settings;
 }
コード例 #2
0
 public void InitData(IScorersStateClient client, ScorersAccessor accessor, ChangeStorage storage)
 {
     _storage  = storage;
     _accessor = accessor;
     LD_Values.Init(client.Values, storage);
     LD_BattleValues.Init(client.BattleValues, storage);
     LD_ImpactValues.Init(client.ImpactValues, storage);
 }
コード例 #3
0
 public static StorageModule CreateClient(ScorersAccessor _scorers, InventoryAccessor _resources)
 {
     return(new StorageModule
     {
         _scorers = _scorers,
         _resources = _resources,
     }
            );
 }
コード例 #4
0
 public void InitData(string root, ChangeStorage storage, ScorersAccessor accessor)
 {
     _accessor = accessor;
     _storage  = storage;
     DataId    = root;
     LD_Values?.Init($"{DataId}.global_scorers", storage, _Values);
     LD_BattleValues?.Init($"{DataId}.battle_scorers", storage, _BattleValues);
     LD_ImpactValues?.Init($"{DataId}.impact_scorers", storage, _ImpactValues);
 }
コード例 #5
0
 public static SettingsModule CreateClient(SettingsAccessor _settings, ScorersAccessor _scorers, ImpactController _impactLogic)
 {
     return(new SettingsModule
     {
         _settings = _settings,
         _scorers = _scorers,
         _impactLogic = _impactLogic,
     }
            );
 }
コード例 #6
0
 public static ScorersLogic CreateClient(BattleAccessor _battle, ScorersAccessor _scorers, ExplorerAccessor _explorer)
 {
     return(new ScorersLogic
     {
         _battle = _battle,
         _scorers = _scorers,
         _explorer = _explorer,
     }
            );
 }
コード例 #7
0
 public static EquipmentModule CreateClient(InventoryAccessor _resources, ScorersAccessor _scorers, UnitsAccessor _units, ImpactController _impact, FormulaLogic _formula)
 {
     return(new EquipmentModule
     {
         _resources = _resources,
         _scorers = _scorers,
         _units = _units,
         _impact = _impact,
         _formula = _formula,
     }
            );
 }
コード例 #8
0
 public static DropLogic CreateClient(ScorersAccessor _scorers, InventoryAccessor _inventory, UnitsAccessor _units, ExplorerAccessor _explorer, FormulaController _formula, ImpactController _impact)
 {
     return(new DropLogic
     {
         _scorers = _scorers,
         _inventory = _inventory,
         _units = _units,
         _explorer = _explorer,
         _formula = _formula,
         _impact = _impact,
     }
            );
 }
コード例 #9
0
 public static UnitProgressModule CreateClient(UnitsAccessor _units, ScorersAccessor _scorers, BattleAccessor _battle, FormulaLogic _formuls, PlayerAccessor _player, ImpactController _impact)
 {
     return(new UnitProgressModule
     {
         _units = _units,
         _scorers = _scorers,
         _battle = _battle,
         _formuls = _formuls,
         _player = _player,
         _impact = _impact,
     }
            );
 }
コード例 #10
0
 public static ShopModule CreateClient(ScorersAccessor _scorers, ShopAccessor _shop, FormulaLogic _formula, ImpactController _impacts, ShopLogic _shopLogic, DropLogic _dropLogic)
 {
     return(new ShopModule
     {
         _scorers = _scorers,
         _shop = _shop,
         _formula = _formula,
         _impacts = _impacts,
         _shopLogic = _shopLogic,
         _dropLogic = _dropLogic,
     }
            );
 }
コード例 #11
0
 public static GachaModule CreateClient(ImpactController _impactLogic, ScorersAccessor _scorers, InventoryAccessor _resources, UnitsAccessor _units, ExplorerAccessor _explorer, DropLogic _dropLogic, ConditionController _condition, FormulaLogic _formuls)
 {
     return(new GachaModule
     {
         _impactLogic = _impactLogic,
         _scorers = _scorers,
         _resources = _resources,
         _units = _units,
         _explorer = _explorer,
         _dropLogic = _dropLogic,
         _condition = _condition,
         _formuls = _formuls,
     }
            );
 }
コード例 #12
0
 public static ExplorerLogic CreateClient(ScorersAccessor _scorers, ExplorerAccessor _explorer, UnitsAccessor _units, FormulaController _formula, ScorersLogic _scorersLogic, ContextLogic _context, DropLogic _drop, ImpactController _impact)
 {
     return(new ExplorerLogic
     {
         _scorers = _scorers,
         _explorer = _explorer,
         _units = _units,
         _formula = _formula,
         _scorersLogic = _scorersLogic,
         _context = _context,
         _drop = _drop,
         _impact = _impact,
     }
            );
 }
コード例 #13
0
 public static FormulaLogic CreateClient(ContextLogic _contextLogic, ScorersAccessor _scorers, UnitsAccessor _units, BattleAccessor _battle, ExplorerAccessor _explorer, LogicData _data, PlayerAccessor _player, SettingsAccessor _settings, ConditionController _controller, FormulaController _formula, ScorersLogic _scorerLogic)
 {
     return(new FormulaLogic
     {
         _contextLogic = _contextLogic,
         _scorers = _scorers,
         _units = _units,
         _battle = _battle,
         _explorer = _explorer,
         _data = _data,
         _player = _player,
         _settings = _settings,
         _controller = _controller,
         _formula = _formula,
         _scorerLogic = _scorerLogic,
     }
            );
 }
コード例 #14
0
 public InternalAccessors(LogicData LogicData, IStateFactory factory)
 {
     Factory             = factory;
     ConditionController = new ConditionController();
     FormulaController   = new FormulaController();
     AchievementAccessor = new AchievementAccessor();
     BattleAccessor      = new BattleAccessor();
     CutSceneAccessor    = new CutSceneAccessor();
     ExplorerAccessor    = new ExplorerAccessor();
     InventoryAccessor   = new InventoryAccessor();
     LogAccessor         = new LogAccessor();
     LogAccessor.Data    = LogicData;
     PlayerAccessor      = new PlayerAccessor();
     ScorersAccessor     = new ScorersAccessor();
     SettingsAccessor    = new SettingsAccessor();
     ShopAccessor        = new ShopAccessor();
     UnitsAccessor       = new UnitsAccessor();
 }
コード例 #15
0
 public static ImpactLogic CreateClient(ScorersAccessor _scorers, PlayerAccessor _player, InventoryAccessor _inventory, ExplorerAccessor _explorer, UnitsAccessor _units, BattleAccessor _battle, SettingsAccessor _settings, AchievementAccessor _achievement, BattleLogic _battleLogic, FormulaLogic _formulaLogic, ConditionController _condition, ApplyChangeLogic _applyChangeLogic, BuffLogic _buff, ScorersLogic _scorersLogic, ContextLogic _contextLogic, ImpactController _impactController, LogicData _data)
 {
     return(new ImpactLogic
     {
         _scorers = _scorers,
         _player = _player,
         _inventory = _inventory,
         _explorer = _explorer,
         _units = _units,
         _battle = _battle,
         _settings = _settings,
         _achievement = _achievement,
         _battleLogic = _battleLogic,
         _formulaLogic = _formulaLogic,
         _condition = _condition,
         _applyChangeLogic = _applyChangeLogic,
         _buff = _buff,
         _scorersLogic = _scorersLogic,
         _contextLogic = _contextLogic,
         _impactController = _impactController,
         _data = _data,
     }
            );
 }
コード例 #16
0
 public FormulaConstantCalculator(FormulaLogic logic, ScorersAccessor scorer)
 {
     _logic  = logic;
     _scorer = scorer;
 }
コード例 #17
0
 public static ExplorerProgressModule CreateClient(ExplorerAccessor _explorer, InventoryAccessor _inventory, UnitsAccessor _units, SettingsAccessor _settings, ScorersAccessor _scorers, BattleAccessor _battle, ExplorerLogic _explorerLogic, FormulaLogic _formula, ImpactController _impactLogic)
 {
     return(new ExplorerProgressModule
     {
         _explorer = _explorer,
         _inventory = _inventory,
         _units = _units,
         _settings = _settings,
         _scorers = _scorers,
         _battle = _battle,
         _explorerLogic = _explorerLogic,
         _formula = _formula,
         _impactLogic = _impactLogic,
     }
            );
 }
コード例 #18
0
 public static ConditionLogic CreateClient(InventoryAccessor _inventoryAccessor, ScorersAccessor _scorersAccessor, PlayerAccessor _profileAccessor, UnitsAccessor _unitAccessor, BattleAccessor _battleAccessor, ExplorerAccessor _explorerAccessor, SettingsAccessor _settingsAccessor, AchievementAccessor _achievementAccessor, FormulaLogic _formulaLogic, ContextLogic _contextLogic, ScorersLogic _scorerLogic, LogicData _data, ConditionController _controller)
 {
     return(new ConditionLogic
     {
         _inventoryAccessor = _inventoryAccessor,
         _scorersAccessor = _scorersAccessor,
         _profileAccessor = _profileAccessor,
         _unitAccessor = _unitAccessor,
         _battleAccessor = _battleAccessor,
         _explorerAccessor = _explorerAccessor,
         _settingsAccessor = _settingsAccessor,
         _achievementAccessor = _achievementAccessor,
         _formulaLogic = _formulaLogic,
         _contextLogic = _contextLogic,
         _scorerLogic = _scorerLogic,
         _data = _data,
         _controller = _controller,
     }
            );
 }
コード例 #19
0
 public ImpactStaminaExecutor(FormulaLogic logic, ExplorerAccessor explorer, ScorersAccessor scorers)
 {
     _logic    = logic;
     _scorers  = scorers;
     _explorer = explorer;
 }
コード例 #20
0
 public static BattleLogic CreateClient(ApplyChangeLogic _manager, ContextLogic _context, ConditionLogic _condition, FormulaController _formula, BattleAccessor _battle, ScorersAccessor _scorers, UnitsAccessor _units, ExplorerAccessor _explorer, SettingsAccessor _settings)
 {
     return(new BattleLogic
     {
         _manager = _manager,
         _context = _context,
         _condition = _condition,
         _formula = _formula,
         _battle = _battle,
         _scorers = _scorers,
         _units = _units,
         _explorer = _explorer,
         _settings = _settings,
     }
            );
 }
コード例 #21
0
 public static ActivationModule CreateClient(FormulaController _formulaLogic, ImpactController _impactLogic, ExplorerAccessor _explorer, ScorersAccessor _scorers, PlayerAccessor Player, UnitsAccessor _units, ApplyChangeLogic _changeLogic)
 {
     return(new ActivationModule
     {
         _formulaLogic = _formulaLogic,
         _impactLogic = _impactLogic,
         _explorer = _explorer,
         _scorers = _scorers,
         Player = Player,
         _units = _units,
         _changeLogic = _changeLogic,
     }
            );
 }
コード例 #22
0
 public static AutowinModule CreateClient(ImpactController Impact, ExplorerAccessor _explorer, ScorersAccessor Scorers, FormulaLogic Formula, ExplorerLogic _explorerLogic)
 {
     return(new AutowinModule
     {
         Impact = Impact,
         _explorer = _explorer,
         Scorers = Scorers,
         Formula = Formula,
         _explorerLogic = _explorerLogic,
     }
            );
 }
コード例 #23
0
 public ImpactChangeMoneyExecutor(FormulaLogic logic, ScorersAccessor scorers, ExplorerAccessor explorer)
 {
     _scorers  = scorers;
     _logic    = logic;
     _explorer = explorer;
 }