private void _RecordQueriers(IGameRecorder obj) { this._StorageUser.QueryProvider <IGameRecorder>().Supply -= this._RecordQueriers; this._Feature.GameRecorder = obj; this.OnBuiledEvent(this._Feature); }
private void _RecordQueriers(IGameRecorder obj) { this._StorageUser.QueryProvider<IGameRecorder>().Supply -= this._RecordQueriers; this._Feature.GameRecorder = obj; this.OnBuiledEvent(this._Feature); }
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 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 Dealer(ICardDrawer cardDrawer, IGameRecorder recorder) { PlayerRegistries = new List <PlayerRegistry>(); _cardDrawer = cardDrawer; _recorder = recorder; }
public LoadRecordStage(Guid account_id, ISoulBinder binder, IGameRecorder gameRecorder) { this._AccountId = account_id; this._Binder = binder; this._GameRecorder = gameRecorder; }
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}, } }, }); }
private void _RecordQueriers(IGameRecorder obj) { _StorageUser.QueryProvider<IGameRecorder>().Supply -= _RecordQueriers; _Feature.GameRecorder = obj; _StorageUser.QueryProvider<IFormulaPlayerRecorder>().Supply += FormulaPlayerRecord; }
public LoadRecordStage(Guid account_id , ISoulBinder binder, IGameRecorder gameRecorder) { this._AccountId = account_id; this._Binder = binder; this._GameRecorder = gameRecorder; }