Example #1
0
        public BossService(UserService userService, PokemonService pokemonService, ChatOutputService chatOutputService, SettingsService settingsService)
        {
            this.userService       = userService;
            this.pokemonService    = pokemonService;
            this.chatOutputService = chatOutputService;
            this.settingsService   = settingsService;

            bossOutputFormatter = new BossOutputFormatter();
            cooldownTime        = new TimeSpan(0, 0, 0);
        }
Example #2
0
        public UserfightService(UserService userService, ChatOutputService chatOutputService)
        {
            this.userService       = userService;
            this.chatOutputService = chatOutputService;

            onGoingFights = new List <UserfightRound>();
            expiredFights = new List <UserfightRound>();

            //Start timeout check thread
            new Thread(() => { CheckForTimeouts(); }).Start();
        }
Example #3
0
 public ChatInputService(
     UserService userService,
     ChatOutputService chatOutputService,
     BossService bossService,
     UserfightService userfightService,
     AchievementService achievementService)
 {
     this.userService        = userService;
     this.chatOutputService  = chatOutputService;
     this.bossService        = bossService;
     this.userfightService   = userfightService;
     this.achievementService = achievementService;
 }