public User(ISoulBinder soul_binder,IAccountFinder account_finder , IWheelService wheel_service) { _SoulBinder = soul_binder; _AccountFinder = account_finder; _WheelService = wheel_service; _Machine = new StageMachine(); }
private void _AccountFinder(IAccountFinder obj) { this._StorageUser.QueryProvider <IAccountFinder>().Supply -= this._AccountFinder; this._Feature.AccountFinder = obj; this._StorageUser.QueryProvider <IGameRecorder>().Supply += this._RecordQueriers; }
private void _AccountFinder(IAccountFinder obj) { _StorageUser.QueryProvider<IAccountFinder>().Supply -= _AccountFinder; _Feature.AccountFinder = obj; _StorageUser.QueryProvider<ITradeNotes>().Supply += BuildCenterStage_Supply; }
public Core(IAccountFinder account_finder , IWheelService wheel_service) { _AccountFinder = account_finder; _WheelService = wheel_service; _Updater = new Updater(); _Hall = new Hall(); }
private void _AccountFinder(IAccountFinder obj) { this._StorageUser.QueryProvider<IAccountFinder>().Supply -= this._AccountFinder; this._Feature.AccountFinder = obj; this._StorageUser.QueryProvider<IGameRecorder>().Supply += this._RecordQueriers; }
public AccountController(IAccountInserter inserterService, IAccountFinder finderService, IOptions <SqlDataStoreConfigurationSettings> options) { _InserterService = inserterService; _InserterService.Initalise(options.Value); _FinderService = finderService; _FinderService.Initalise(options.Value); }
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; }
private void _GetFinder(IAccountFinder obj) { _User.QueryProvider<IAccountFinder>().Supply -= _GetFinder; _Finder = obj; _User.QueryProvider<IFormulaFarmRecorder>().Supply += _GetFarmDataLoader; }
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 User(ISoulBinder binder, IAccountFinder account_finder, IGameRecorder game_record_handler, Zone zone) { this._Machine = new StageMachine(); this._Binder = binder; this._AccountFinder = account_finder; this._GameRecorder = game_record_handler; this._Zone = zone; _Version = "0.0.0.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(); }
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; }
public Verify(IAccountFinder storage) { _Storage = storage; }
public Center(IAccountFinder account_finder, IGameRecorder game_recorder) { _AccountFinder = account_finder; _GameRecorder = game_recorder; _Hall = new Hall(); _Updater = new Updater(); _Zone = new Zone(new [] { new RealmInfomation { Name = "maze1", Maze = new MazeInfomation() { Dimension = 10, Width = 15, Height = 15, MazeUnits = new [] { new MazeUnitInfomation { Name = "enterance1", Type = LEVEL_UNIT.ENTERANCE1 }, new MazeUnitInfomation { Name = "enterance2", Type = LEVEL_UNIT.ENTERANCE2 }, new MazeUnitInfomation { Name = "enterance3", Type = LEVEL_UNIT.ENTERANCE3 }, new MazeUnitInfomation { Name = "enterance4", Type = LEVEL_UNIT.ENTERANCE4 }, new MazeUnitInfomation { Name = "wall", Type = LEVEL_UNIT.WALL }, new MazeUnitInfomation { Name = "pool", Type = LEVEL_UNIT.POOL }, new MazeUnitInfomation { Name = "field", Type = LEVEL_UNIT.FIELD }, new MazeUnitInfomation { Name = "thickwall", Type = LEVEL_UNIT.GATE }, new MazeUnitInfomation { Name = "chest", Type = LEVEL_UNIT.CHEST }, new MazeUnitInfomation { Name = "exit1", Type = LEVEL_UNIT.EXIT } } }, Town = new TownInfomation() { Name = "" }, EntityEnteranceResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 10 }, { ENTITY.ACTOR2, 20 }, { ENTITY.ACTOR3, 20 }, { ENTITY.ACTOR4, 20 }, { ENTITY.ACTOR5, 20 }, }, EntityFieldResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 10 }, { ENTITY.ACTOR2, 10 }, { ENTITY.ACTOR3, 10 }, { ENTITY.ACTOR4, 10 }, { ENTITY.ACTOR5, 10 }, } }, new RealmInfomation { Name = "maze2", Maze = new MazeInfomation() { Dimension = 5, Width = 15, Height = 15, MazeUnits = new [] { new MazeUnitInfomation { Name = "enterance1", Type = LEVEL_UNIT.ENTERANCE1 }, new MazeUnitInfomation { Name = "enterance2", Type = LEVEL_UNIT.ENTERANCE2 }, new MazeUnitInfomation { Name = "enterance3", Type = LEVEL_UNIT.ENTERANCE3 }, new MazeUnitInfomation { Name = "enterance4", Type = LEVEL_UNIT.ENTERANCE4 }, new MazeUnitInfomation { Name = "wall", Type = LEVEL_UNIT.WALL }, new MazeUnitInfomation { Name = "pool", Type = LEVEL_UNIT.POOL }, new MazeUnitInfomation { Name = "field", Type = LEVEL_UNIT.FIELD }, new MazeUnitInfomation { Name = "thickwall", Type = LEVEL_UNIT.GATE }, new MazeUnitInfomation { Name = "chest", Type = LEVEL_UNIT.CHEST }, new MazeUnitInfomation { Name = "exit2", Type = LEVEL_UNIT.EXIT } } }, Town = new TownInfomation() { Name = "" }, EntityEnteranceResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 10 }, { ENTITY.ACTOR2, 10 }, { ENTITY.ACTOR3, 10 }, { ENTITY.ACTOR4, 10 }, { ENTITY.ACTOR5, 10 }, }, EntityFieldResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 10 }, { ENTITY.ACTOR2, 10 }, { ENTITY.ACTOR3, 10 }, { ENTITY.ACTOR4, 10 }, { ENTITY.ACTOR5, 10 }, } }, new RealmInfomation { Name = "town1", Maze = new MazeInfomation() { Dimension = 0, Width = 0, Height = 0, MazeUnits = new MazeUnitInfomation[0], }, Town = new TownInfomation() { Name = "town1" }, EntityEnteranceResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 0 }, { ENTITY.ACTOR2, 0 }, { ENTITY.ACTOR3, 0 }, { ENTITY.ACTOR4, 0 }, { ENTITY.ACTOR5, 0 }, }, EntityFieldResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 0 }, { ENTITY.ACTOR2, 0 }, { ENTITY.ACTOR3, 0 }, { ENTITY.ACTOR4, 0 }, { ENTITY.ACTOR5, 0 }, } }, new RealmInfomation { Name = "town2", Maze = new MazeInfomation() { Dimension = 0, Width = 0, Height = 0, MazeUnits = new MazeUnitInfomation[0], }, Town = new TownInfomation() { Name = "town2" }, EntityEnteranceResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 0 }, { ENTITY.ACTOR2, 0 }, { ENTITY.ACTOR3, 0 }, { ENTITY.ACTOR4, 0 }, { ENTITY.ACTOR5, 0 }, }, EntityFieldResource = new Dictionary <ENTITY, int> { { ENTITY.ACTOR1, 0 }, { ENTITY.ACTOR2, 0 }, { ENTITY.ACTOR3, 0 }, { ENTITY.ACTOR4, 0 }, { ENTITY.ACTOR5, 0 }, } }, }); }
public Center(IAccountFinder account_finder, IGameRecorder game_recorder ) { _AccountFinder = account_finder; _GameRecorder = game_recorder; _Hall = new Hall(); _Updater = new Updater(); _Zone = new Zone(new [] { new RealmInfomation { Name = "maze1", Maze = new MazeInfomation() { Dimension = 10 , Width = 15 , Height = 15 , MazeUnits = new [] { new MazeUnitInfomation { Name = "enterance1" , Type = LEVEL_UNIT.ENTERANCE1 }, new MazeUnitInfomation { Name = "enterance2" , Type = LEVEL_UNIT.ENTERANCE2 }, new MazeUnitInfomation { Name = "enterance3" , Type = LEVEL_UNIT.ENTERANCE3 }, new MazeUnitInfomation { Name = "enterance4" , Type = LEVEL_UNIT.ENTERANCE4 }, new MazeUnitInfomation { Name = "wall" , Type = LEVEL_UNIT.WALL}, new MazeUnitInfomation { Name = "pool" , Type = LEVEL_UNIT.POOL}, new MazeUnitInfomation { Name = "field" , Type = LEVEL_UNIT.FIELD}, new MazeUnitInfomation { Name = "thickwall" , Type = LEVEL_UNIT.GATE}, new MazeUnitInfomation { Name = "chest" , Type = LEVEL_UNIT.CHEST}, new MazeUnitInfomation { Name = "exit1" , Type = LEVEL_UNIT.EXIT} } }, Town = new TownInfomation() {Name = ""}, EntityEnteranceResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 10}, { ENTITY.ACTOR2, 20}, { ENTITY.ACTOR3, 20}, { ENTITY.ACTOR4, 20}, { ENTITY.ACTOR5, 20}, }, EntityFieldResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 10}, { ENTITY.ACTOR2, 10}, { ENTITY.ACTOR3, 10}, { ENTITY.ACTOR4, 10}, { ENTITY.ACTOR5, 10}, } }, new RealmInfomation { Name = "maze2", Maze = new MazeInfomation() { Dimension = 5 , Width = 15 , Height = 15 , MazeUnits = new [] { new MazeUnitInfomation { Name = "enterance1" , Type = LEVEL_UNIT.ENTERANCE1 }, new MazeUnitInfomation { Name = "enterance2" , Type = LEVEL_UNIT.ENTERANCE2 }, new MazeUnitInfomation { Name = "enterance3" , Type = LEVEL_UNIT.ENTERANCE3 }, new MazeUnitInfomation { Name = "enterance4" , Type = LEVEL_UNIT.ENTERANCE4 }, new MazeUnitInfomation { Name = "wall" , Type = LEVEL_UNIT.WALL}, new MazeUnitInfomation { Name = "pool" , Type = LEVEL_UNIT.POOL}, new MazeUnitInfomation { Name = "field" , Type = LEVEL_UNIT.FIELD}, new MazeUnitInfomation { Name = "thickwall" , Type = LEVEL_UNIT.GATE}, new MazeUnitInfomation { Name = "chest" , Type = LEVEL_UNIT.CHEST}, new MazeUnitInfomation { Name = "exit2" , Type = LEVEL_UNIT.EXIT} } }, Town = new TownInfomation() {Name = ""}, EntityEnteranceResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 10}, { ENTITY.ACTOR2, 10}, { ENTITY.ACTOR3, 10}, { ENTITY.ACTOR4, 10}, { ENTITY.ACTOR5, 10}, }, EntityFieldResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 10}, { ENTITY.ACTOR2, 10}, { ENTITY.ACTOR3, 10}, { ENTITY.ACTOR4, 10}, { ENTITY.ACTOR5, 10}, } }, new RealmInfomation { Name = "town1", Maze = new MazeInfomation() { Dimension = 0 , Width = 0 , Height = 0 , MazeUnits = new MazeUnitInfomation[0], }, Town = new TownInfomation() {Name = "town1"}, EntityEnteranceResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 0}, { ENTITY.ACTOR2, 0}, { ENTITY.ACTOR3, 0}, { ENTITY.ACTOR4, 0}, { ENTITY.ACTOR5, 0}, }, EntityFieldResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 0}, { ENTITY.ACTOR2, 0}, { ENTITY.ACTOR3, 0}, { ENTITY.ACTOR4, 0}, { ENTITY.ACTOR5, 0}, } }, new RealmInfomation { Name = "town2", Maze = new MazeInfomation() { Dimension = 0 , Width = 0 , Height = 0 , MazeUnits = new MazeUnitInfomation[0], }, Town = new TownInfomation() {Name = "town2"}, EntityEnteranceResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 0}, { ENTITY.ACTOR2, 0}, { ENTITY.ACTOR3, 0}, { ENTITY.ACTOR4, 0}, { ENTITY.ACTOR5, 0}, }, EntityFieldResource = new Dictionary<ENTITY, int> { { ENTITY.ACTOR1, 0}, { ENTITY.ACTOR2, 0}, { ENTITY.ACTOR3, 0}, { ENTITY.ACTOR4, 0}, { ENTITY.ACTOR5, 0}, } }, }); }