public ZsFishFormulaInitialer(
				IFormulaPlayerRecorder formula_player_recorder,
				IFormulaFarmRecorder formula_farm_recorder)
        {
            _FormulaPlayerRecorder = formula_player_recorder;
            _FormulaFarmRecorder = formula_farm_recorder;
        }
        private void _GetFarmDataLoader(IFormulaFarmRecorder obj)
        {
            _User.QueryProvider<IFormulaFarmRecorder>().Supply -= _GetFarmDataLoader;

            _FormulaFarmRecorder = obj;

            _User.QueryProvider<IFormulaPlayerRecorder>().Supply += _GetFormulaPlayerRecorder;
        }
 public ExpansionFeature(
     IAccountFinder account_finder,
     IFormulaFarmRecorder formula_stage_data_recorder,
     IFormulaPlayerRecorder formula_player_recorder) : this()
 {
     AccountFinder         = account_finder;
     FormulaFarmRecorder   = formula_stage_data_recorder;
     FormulaPlayerRecorder = formula_player_recorder;
 }
Example #4
0
        public ZsFishStage(Guid account_id, FishFarmData fish_farm_data, FormulaPlayerRecord formula_player_record, IFormulaPlayerRecorder formula_player_recorder, IFormulaFarmRecorder formula_stage_data_recorder)
        {
            _AccountId = account_id;
            _FishFarmData = fish_farm_data;

            _FormulaFarmRecorder = formula_stage_data_recorder;
            _FormulaPlayerRecorder = formula_player_recorder;

            _FormulaPlayerRecord = formula_player_record;
        }
Example #5
0
        public ExpansionFeature(
			IAccountFinder account_finder, 
			IFormulaFarmRecorder formula_stage_data_recorder, 
			IFormulaPlayerRecorder formula_player_recorder)
            : this()
        {
            AccountFinder = account_finder;
            FormulaFarmRecorder = formula_stage_data_recorder;
            FormulaPlayerRecorder = formula_player_recorder;
        }
        public StageLoadFarmData(IFormulaFarmRecorder formula_farm_recorder)
        {
            _FishFarmDatas = new List <FishFarmData>();

            _FormulaFarmRecorder = formula_farm_recorder;

            _WorkFarmIds = new List <int>
            {
                100
            };
        }
Example #7
0
        public ZsFishStage(
            Guid account_id,
            FishFarmData fish_farm_data,
            FormulaPlayerRecord formula_player_record,
            IFormulaPlayerRecorder formula_player_recorder,
            IFormulaFarmRecorder formula_stage_data_recorder)
        {
            _AccountId    = account_id;
            _FishFarmData = fish_farm_data;

            _FormulaFarmRecorder   = formula_stage_data_recorder;
            _FormulaPlayerRecorder = formula_player_recorder;

            _FormulaPlayerRecord = formula_player_record;
        }
Example #8
0
        public StageLoadFarmData(IFormulaFarmRecorder formula_farm_recorder)
        {
            _FormulaFarmRecorder = formula_farm_recorder;

            _WorkFarmIds = new List<int>
            {
                100,
                101,
                102,
                103,
                104,
                105,
                106,
                107,
                108,
                109,
                110,
                111
            };
        }
 public ZsFishFormulaInitialer(IFormulaPlayerRecorder formula_player_recorder, IFormulaFarmRecorder i_formula_farm_recorder)
 {
     _FormulaPlayerRecorder = formula_player_recorder;
     _FormulaFarmRecorder   = i_formula_farm_recorder;
 }