Exemplo n.º 1
0
 public DbSeeder(
     IWorldService worldService,
     IFactionService factionService,
     IItemService itemService,
     IItemCategoryService itemCategoryService,
     IZoneService zoneService,
     IProfileService profileService,
     ILoadoutService loadoutService,
     IScrimRulesetManager rulesetManager,
     IFacilityService facilityService,
     IFacilityTypeService facilityTypeService,
     IVehicleService vehicleService,
     IVehicleTypeService vehicleTypeService,
     IDeathEventTypeService deathTypeService,
     ISqlScriptRunner sqlScriptRunner,
     ILogger <DbSeeder> logger
     )
 {
     _worldService        = worldService;
     _factionService      = factionService;
     _itemService         = itemService;
     _itemCategoryService = itemCategoryService;
     _zoneService         = zoneService;
     _profileService      = profileService;
     _loadoutService      = loadoutService;
     _rulesetManager      = rulesetManager;
     _facilityService     = facilityService;
     _facilityTypeService = facilityTypeService;
     _vehicleService      = vehicleService;
     _vehicleTypeService  = vehicleTypeService;
     _deathTypeService    = deathTypeService;
     _sqlScriptRunner     = sqlScriptRunner;
     _logger = logger;
 }
Exemplo n.º 2
0
 public VMFacade(IFactionPlayerService factionPlayerService, IFactionService factionService, IPlayerService playerService)
 {
     _factionPlayerService = factionPlayerService;
     _factionService       = factionService;
     _playerService        = playerService;
     _userConverter        = new UserConverter();
 }
Exemplo n.º 3
0
 public PlayerHourlyLoadoutsController(IDbContextHelper dbContextHelper, IProfileService profileService, ICharacterService characterService, IFactionService factionService)
 {
     _dbContextHelper  = dbContextHelper;
     _profileService   = profileService;
     _characterService = characterService;
     _factionService   = factionService;
 }
 public PlayerVmFacade(IFactionPlayerService fps, IFactionService fs, IPlayerService ps)
 {
     _factionPlayerService = fps;
     _factionService       = fs;
     _playerService        = ps;
     _playerConverter      = new PlayerConverter();
     //_playerConverter = playerConverter;
 }
Exemplo n.º 5
0
 public FactionVmFacade(IFactionPlayerService fps, IFactionService fs, IPlayerService ps)//, Model.Converter.Converter<Faction, FactionDto> factionConverter)
 {
     _factionPlayerService = fps;
     _factionService       = fs;
     _playerService        = ps;
     //_factionConverter = factionConverter;
     _factionConverter = new FactionConverter();
     _playerConverter  = new PlayerConverter();
 }
Exemplo n.º 6
0
 public LanceDefObjectDefinition(
     ObjectType objectType,
     IObjectDefinitionDescription objectDescription,
     dynamic jsonObject,
     string filePath,
     IReferenceFinderService referenceFinderService,
     IFactionService factionService)
     : base(objectType, objectDescription, (JObject)jsonObject, filePath, referenceFinderService)
 {
     this.factionService = factionService;
 }
Exemplo n.º 7
0
        public LanceSlotModel(
            LanceSlotDefinition lanceSlotDefinition,
            LanceDefNode lanceNode,
            IFactionService factionService)
        {
            this.lanceNode           = lanceNode;
            this.factionService      = factionService;
            this.LanceSlotDefinition = lanceSlotDefinition;

            this.factionService.GetFactions().ForEach(faction => this.factionUnitDictionary.Add(faction, 0));

            this.CheckObjectStatusChanged();
        }
Exemplo n.º 8
0
        public DatabaseMaintenanceService(
            IFacilityTypeService facilityTypeService,
            IFacilityService facilityService,
            IItemService itemService,
            IItemCategoryService itemCategoryService,
            IProfileService profileService,
            ILoadoutService loadoutService,
            IZoneService zoneService,
            IWorldService worldService,
            IFactionService factionService,
            IVehicleService vehicleService,
            ISqlScriptRunner adhocScriptRunner,
            IWebHostEnvironment env
            )
        {
            _facilityService     = facilityService;
            _facilityTypeService = facilityTypeService;
            _itemService         = itemService;
            _itemCategoryService = itemCategoryService;
            _profileService      = profileService;
            _loadoutService      = loadoutService;
            _zoneService         = zoneService;
            _worldService        = worldService;
            _factionService      = factionService;
            _vehicleService      = vehicleService;
            _adhocScriptRunner   = adhocScriptRunner;
            _env = env;

            _mapRegions     = new CensusStoreDataComparisonRow("Map Regions", _facilityService);
            _facilityTypes  = new CensusStoreDataComparisonRow("Facility Types", _facilityTypeService);
            _items          = new CensusStoreDataComparisonRow("Items", _itemService);
            _itemCategories = new CensusStoreDataComparisonRow("Item Categories", _itemCategoryService);
            _profiles       = new CensusStoreDataComparisonRow("Profiles", _profileService);
            _loadouts       = new CensusStoreDataComparisonRow("Loadouts", _loadoutService);
            _zones          = new CensusStoreDataComparisonRow("Zones", _zoneService);
            _worlds         = new CensusStoreDataComparisonRow("Worlds", _worldService);
            _factions       = new CensusStoreDataComparisonRow("Factions", _factionService);
            _vehicles       = new CensusStoreDataComparisonRow("Vehicles", _vehicleService);

            Comparisons.Add(_mapRegions);
            Comparisons.Add(_facilityTypes);
            Comparisons.Add(_items);
            Comparisons.Add(_itemCategories);
            Comparisons.Add(_profiles);
            Comparisons.Add(_loadouts);
            Comparisons.Add(_zones);
            Comparisons.Add(_worlds);
            Comparisons.Add(_factions);
            Comparisons.Add(_vehicles);
        }
Exemplo n.º 9
0
 public DbSeeder(
     IWorldService worldService,
     IFactionService factionService,
     IItemService itemService,
     IZoneService zoneService,
     ITitleService titleService,
     IProfileService profileService
     )
 {
     _worldService   = worldService;
     _factionService = factionService;
     _itemService    = itemService;
     _zoneService    = zoneService;
     _titleService   = titleService;
     _profileService = profileService;
 }
Exemplo n.º 10
0
 public LanceSlotDefinition(
     ObjectType objectType,
     IObjectDefinitionDescription objectDescription,
     dynamic jsonObject,
     string filePath,
     long lanceSlotNumber,
     IReferenceFinderService referenceFinderService,
     LanceDefObjectDefinition lanceDefObjectDefinition,
     IFactionService factionService)
     : base(objectType, objectDescription, jsonObject as JObject, filePath, referenceFinderService)
 {
     this.LanceSlotNumber          = lanceSlotNumber;
     this.LanceDefObjectDefinition = lanceDefObjectDefinition;
     this.factionService           = factionService;
     this.factionService.GetFactions().ForEach(faction => this.factionUnitDictionary.Add(faction, 0));
 }
 public FactionController(IFactionService factionService)
 {
     this.factionService = factionService;
 }