Example #1
0
        private void BuildCenterStage_Supply(ITradeNotes obj)
        {
            _StorageUser.QueryProvider<ITradeNotes>().Supply -= BuildCenterStage_Supply;
            _Feature.TradeAccount = obj;

            _StorageUser.QueryProvider<IGameRecorder>().Supply += _RecordQueriers;
        }
Example #2
0
        public User(
            ISoulBinder binder,
            IAccountFinder account_finder,
            IFishStageQueryer queryer,
            IGameRecorder game_record_handler,
            ITradeNotes trade_account)
        {
            _Machine = new StageMachine();

            _Binder           = binder;
            _AccountFinder    = account_finder;
            _FishStageQueryer = queryer;
            var locks = new[]
            {
                new StageLock
                {
                    KillCount = 200,
                    Stage     = 3
                }
            };

            _StageTicketInspector = new StageTicketInspector(new StageGate(locks));

            _GameRecorder = game_record_handler;

            _TradeAccount = trade_account;
        }
Example #3
0
        public Center(
            IAccountFinder account_finder,
            IFishStageQueryer fish_stage_queryer,
            IGameRecorder rq,
            ITradeNotes trade_account)
        {
            _GameRecorder     = rq;
            _AccountFinder    = account_finder;
            _FishStageQueryer = fish_stage_queryer;
            _Tradefinder      = trade_account;

            _Updater = new Updater();
            _Hall    = new Hall();
        }
Example #4
0
        public Center(
			IAccountFinder account_finder, 
			IFishStageQueryer fish_stage_queryer, 
			IGameRecorder rq, 
			ITradeNotes trade_account)
        {
            _GameRecorder = rq;
            _AccountFinder = account_finder;
            _FishStageQueryer = fish_stage_queryer;
            _Tradefinder = trade_account;

            _Updater = new Updater();
            _Hall = new Hall();
        }
Example #5
0
        public User(ISoulBinder binder, IAccountFinder account_finder, IFishStageQueryer queryer, IGameRecorder game_record_handler, ITradeNotes trade_account)
        {
            _Machine = new StageMachine();

            _Binder = binder;
            _AccountFinder = account_finder;
            _FishStageQueryer = queryer;
            var locks = new[]
            {
                new StageLock
                {
                    KillCount = 200,
                    Stage = 3
                }
            };
            _StageTicketInspector = new StageTicketInspector(new StageGate(locks));

            _GameRecorder = game_record_handler;

            _TradeAccount = trade_account;
        }
Example #6
0
        private void _GetAllAccountRecord()
        {
            var provider = _User.QueryProvider<IGameRecorder>();
            while(provider.Ghosts.Length <= 0)
            {
                _Wait();
            }

            GameRecorder = provider.Ghosts[0];

            var p = _User.QueryProvider<ITradeNotes>();
            while(p.Ghosts.Length <= 0)
            {
                _Wait();
            }

            TradeNotes = p.Ghosts[0];
        }