Exemple #1
0
        public SearchController(
            IDatabaseItemDao databaseItemDao,
            IPlayerItemDao playerItemDao,
            ItemStatService itemStatService,
            IBuddyItemDao buddyItemDao,
            IAugmentationItemDao augmentationItemRepo,
            SettingsService settings,
            IItemCollectionDao itemCollectionRepo)
        {
            _dbItemDao             = databaseItemDao;
            _playerItemDao         = playerItemDao;
            _itemStatService       = itemStatService;
            _itemPaginationService = new ItemPaginationService(TakeSize);
            _buddyItemDao          = buddyItemDao;
            _augmentationItemRepo  = augmentationItemRepo;
            _settings           = settings;
            _itemCollectionRepo = itemCollectionRepo;

            JsIntegration.OnRequestItems += JsBind_OnRequestItems;
        }