public MinunDispatcher( IStartCommand startCommand, INutzerCommand nutzerCommand, IAnCommand anCommand, IAusCommand ausCommand, ICreateRaidCommand createRaidCommand, ICreateEventCommand createEventCommand, IRaidBossCommand raidBossCommand, IPokeCommand pokeCommand, IModifyRaidCommand modifyRaidCommand, ISpielCommand spielCommand, IGymsCommand gymsCommand, Commands.IHelpCommand helpCommand, Commands.ICancelCommand cancelCommand, ISpielAnswer spielAnswer ) : base() { this.commands.Add(startCommand); this.commands.Add(nutzerCommand); this.commands.Add(anCommand); this.commands.Add(ausCommand); this.commands.Add(createRaidCommand); this.commands.Add(createEventCommand); this.commands.Add(raidBossCommand); this.commands.Add(pokeCommand); this.commands.Add(modifyRaidCommand); this.commands.Add(spielCommand); this.commands.Add(gymsCommand); this.commands.Add(helpCommand); this.commands.Add(cancelCommand); helpCommand.RegisterAllCommands(this.commands.Select(x => x.Value).ToList()); this.answers.Add(spielAnswer); }
public RaidDispatcher( IStartCommand startGroupCommand, // IConfigureUserCommand startPrivatCommand, IHelpCommand helpCommand, ICancelCommand cancelCommand, IPollAnswer raidPollAnswer, ISettingsCommand settingsCommand, // ICreateRaidCommand createRaidCommand, IIvCommand ivCommand, IPokeCommand pokeCommand, IGymsCommand gymsCommand, MemberRemoved memberRemoved, MembersAdded memberAdded, IOwnerCommand ownerCommand, IUpdateRaidBossCommand updateRaidBossCommand ) { this.commands.Add(startGroupCommand); // this.commands.Add(startPrivatCommand); this.commands.Add(helpCommand); this.commands.Add(cancelCommand); this.answers.Add(raidPollAnswer); this.commands.Add(settingsCommand); // this.commands.Add(createRaidCommand); this.commands.Add(ivCommand); this.commands.Add(gymsCommand); this.commands.Add(pokeCommand); this.commands.Add(ownerCommand); this.commands.Add(updateRaidBossCommand); this.memberAdded = memberAdded; this.memberRemoved = memberRemoved; helpCommand.RegisterAllCommands(this.commands.Select(x => x.Value).ToList()); }