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); }
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(); }
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; }