예제 #1
0
        public EffectsService(
            CharacterService characterService,
            StatisticsService statService,
            IRepository <Effect> effectsRepository)
        {
            _characterService = characterService;
            _statService      = statService;

            _effectsRepository = effectsRepository;
        }
예제 #2
0
        public NpcService(NpcPresetService presetService,
                          SkillsService skillsService,
                          StatisticsService statService,
                          Random random)
        {
            _presetService = presetService;
            _skillsService = skillsService;
            _statService   = statService;

            Npcs      = new List <Character>();
            NpcTimers = new Dictionary <Character, Timer>();

            _rand = random;
        }
예제 #3
0
        public CharacterService(
            ChargenOptions chargenOptions,
            RoleplayOptions roleplayOptions,
            StatisticsService statsService,
            IRepository <Character> charRepository)
        {
            _chargenOptions  = chargenOptions;
            _roleplayOptions = roleplayOptions;

            _statsService = statsService;

            _statsService.StatisticsUpdated += OnStatisticsUpdated;

            _charRepository = charRepository;
        }
예제 #4
0
        public RollService(
            EffectsService effectsService,
            RoleplayOptions roleplayOptions,
            SpecialService specService,
            SkillsService skillsService,
            StatisticsService statService,
            Random rand)
        {
            _effectsService  = effectsService;
            _roleplayOptions = roleplayOptions;
            _specService     = specService;
            _skillsService   = skillsService;
            _statService     = statService;

            _rand = rand;
        }
예제 #5
0
        public ExperienceService(
            CharacterService charService,
            StatisticsService statService,
            DiscordSocketClient client,
            ExperienceOptions expOptions,
            GeneralOptions genOptions,
            ProgressionOptions progressOptions,
            Random random)
        {
            _charService = charService;
            _statService = statService;

            _client = client;

            _expOptions       = expOptions;
            _genOptions       = genOptions;
            _progressOptions  = progressOptions;
            UseOldProgression = _progressOptions.UseOldProgression;

            _random = random;
        }
예제 #6
0
 public NpcPresetService(SkillsService skillsService, StatisticsService statsService, IRepository <NpcPreset> presetRepository)
 {
     _presetRepository = presetRepository;
     _skillsService    = skillsService;
     _statsService     = statsService;
 }