public PlayerHandbookManager(ITableStorage tableStorage, CloudStorageAccount cloudStorageAccount, GlobalSearchTermRepository globalSearchTermRepository, ILocalization localization)
        {
            _tableStorage = tableStorage;

            _playerHandbookEquipmentProcessor    = new PlayerHandbookEquipmentProcessor();
            _playerHandbookBackgroundsProcessor  = new PlayerHandbookBackgroundsProcessor();
            _playerHandbookChapterRulesProcessor = new PlayerHandbookChapterRulesProcessor(globalSearchTermRepository);
            _playerHandbookFeatProcessor         = new PlayerHandbookFeatProcessor(localization);
            _globalSearchTermRepository          = globalSearchTermRepository;
            _localization = localization;

            _weaponPropertyProcessor = new WeaponPropertyProcessor(ContentType.Core, _localization.PlayerHandbookWeaponProperties);

            _armorPropertyProcessor = new ArmorPropertyProcessor(ContentType.Core, _localization.PlayerHandbookArmorProperties);

            var cloudBlobClient = cloudStorageAccount.CreateCloudBlobClient();

            _cloudBlobContainer = cloudBlobClient.GetContainerReference($"player-handbook-rules-{_localization.Language}");
        }
Ejemplo n.º 2
0
 public ExpandedContentArchetypesManager(ITableStorage tableStorage, GlobalSearchTermRepository globalSearchTermRepository, ILocalization localization)
 {
     _tableStorage = tableStorage;
     _globalSearchTermRepository = globalSearchTermRepository;
     _localization = localization;
 }
        public ExpandedContentManager(CloudStorageAccount cloudStorageAccount, ILocalization localization, GlobalSearchTermRepository globalSearchTermRepository)
        {
            _localization = localization;
            _globalSearchTermRepository = globalSearchTermRepository;
            _expandedContentProcessor   = new ExpandedContentProcessor();

            var cloudBlobClient = cloudStorageAccount.CreateCloudBlobClient();

            _cloudBlobContainer = cloudBlobClient.GetContainerReference($"expanded-content-{_localization.Language}");
        }
Ejemplo n.º 4
0
 public ExpandedContentForcePowersManager(IAzureTableStorage tableStorage, GlobalSearchTermRepository globalSearchTermRepository, ILocalization localization)
 {
     _tableStorage = tableStorage;
     _globalSearchTermRepository = globalSearchTermRepository;
     _localization = localization;
 }
 public SearchManager(ITableStorage tableStorage, GlobalSearchTermRepository globalSearchTermRepository)
 {
     _tableStorage = tableStorage;
     _globalSearchTermRepository = globalSearchTermRepository;
 }
 public StarshipChapterRulesProcessor(GlobalSearchTermRepository globalSearchTermRepository)
 {
     _globalSearchTermRepository = globalSearchTermRepository;
 }
Ejemplo n.º 7
0
 public PlayerHandbookChapterRulesProcessor(GlobalSearchTermRepository globalSearchTermRepository)
 {
     _globalSearchTermRepository = globalSearchTermRepository;
 }
 public WretchedHivesChapterRulesProcessor(GlobalSearchTermRepository globalSearchTermRepository)
 {
     _globalSearchTermRepository = globalSearchTermRepository;
 }