public LanguageService(IGameDataRepository <XIVData.Model.Language> repository, IFFXIVACTPluginWrapper ffxivACTPluginWrapper, ACTConfig actConfig) { _repository = repository; _languages = MapToLanguages(_repository.GetAll().ToList()); _ffxivACTPluginWrapper = ffxivACTPluginWrapper; _actConfig = actConfig; }
public PlayerService(IACTWrapper actWrapper, IFFXIVACTPluginWrapper ffxivACTPluginWrapper, WorldService worldService, ClassJobService classJobService) { _worldService = worldService; _classJobService = classJobService; _actWrapper = actWrapper; _ffxivACTPluginWrapper = ffxivACTPluginWrapper; }
public LocationService(IGameDataManager gameDataManager, IFFXIVACTPluginWrapper ffxivACTPluginWrapper) { _territoryTypeRepository = new GameDataRepository <TerritoryType>(gameDataManager.TerritoryType); _placeNameRepository = new GameDataRepository <XIVData.Model.PlaceName>(gameDataManager.PlaceName); _mapRepository = new GameDataRepository <Map>(gameDataManager.Map); _ffxivACTPluginWrapper = ffxivACTPluginWrapper; }
public static void Initialize(IACTWrapper actWrapper) { if (_wrapper != null) { return; } lock (Lock) { if (_wrapper == null) { _wrapper = new FFXIVACTPluginWrapper(actWrapper); } } }
private static void InitWrappers() { _actWrapper = new ACTWrapperMock(); _ffxivACTPluginWrapper = new FFXIVACTPluginWrapperMock(); }
private static void InitWrappers() { _actWrapper = ACTWrapper.GetInstance(); FFXIVACTPluginWrapper.Initialize(_actWrapper); _ffxivACTPluginWrapper = FFXIVACTPluginWrapper.GetInstance(); }