Example #1
0
        public ExperienceService(
            CharacterService charService,
            SkillsService skillsService,
            DiscordSocketClient client,
            IConfiguration config)
        {
            _charService   = charService;
            _skillsService = skillsService;
            _client        = client;
            _config        = config;

            cooldownTimers = new Dictionary <ulong, Timer>();
            LoadExperienceEnabledChannels();
            random = new Random();
        }
Example #2
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;
        }
Example #3
0
 public SkillsService(CharacterService charService, SpecialService specService)
 {
     _charService = charService;
     _specService = specService;
 }
Example #4
0
 public SpecialService(CharacterService charService)
 {
     _charService = charService;
 }