public StatefulCommand( IStateUpdateCommand stateUpdateCommand, IStatePushCommand statePushCommand, IStatePopCommand statePopCommand, Queries.StatePeakQuery statePeakQuery ) { this.stateUpdateCommand = stateUpdateCommand; this.statePopCommand = statePopCommand; this.statePushCommand = statePushCommand; this.statePeakQuery = statePeakQuery; }
public SpielCommand( IStateUpdateCommand stateUpdateCommand, IStatePushCommand statePushCommand, IStatePopCommand statePopCommand, StatePeakQuery statePeakQuery, IGetPokeBaseValuesQuery getPokeBaseValuesQuery, IGameCreateCommand gameCreateCommand ) : base(stateUpdateCommand, statePushCommand, statePopCommand, statePeakQuery) { this.getPokeBaseValuesQuery = getPokeBaseValuesQuery; this.gameCreateCommand = gameCreateCommand; base.Steps.Add(0, this.Step0); base.Steps.Add(1, this.Step1); }
public ModifyRaidCommand( IStateUpdateCommand stateUpdateCommand, IStatePushCommand statePushCommand, IStatePopCommand statePopCommand, StatePeakQuery statePeakQuery, IGetActiveUserRaids getActiveUserRaids, ISetRaidIdToUpdateCommand setRaidIdToUpdateCommand, IDeletePollsByIdsCommand deletePollsByIdsCommand, IGetCurrentManualRaidQuery getCurrentManualRaidQuery, IGetActivePollByRaidId getActivePollByRaidId, IGetActivePogoGroups getActivePogoGroups, ISetPokeIdForRaidCommand setPokeIdForRaidCommand, TelegramProxies.NimRaidBot nimRaidBot ) : base(stateUpdateCommand, statePushCommand, statePopCommand, statePeakQuery) { this.getActiveUserRaids = getActiveUserRaids; this.setRaidIdToUpdateCommand = setRaidIdToUpdateCommand; this.deletePollsByIdsCommand = deletePollsByIdsCommand; this.getCurrentManualRaidQuery = getCurrentManualRaidQuery; this.getActivePollByRaidId = getActivePollByRaidId; this.getActivePogoGroups = getActivePogoGroups; this.setPokeIdForRaidCommand = setPokeIdForRaidCommand; this.nimRaidBot = nimRaidBot; base.Steps.Add(0, Step0); base.Steps.Add(1, Step1); base.Steps.Add(2, Step2); base.Steps.Add(3, Step3); base.Steps.Add(4, Step4); base.Steps.Add(5, Step5); base.Steps.Add(6, Step6); base.Steps.Add(7, Step7); }
public GymsCommand( TelegramProxies.NimRaidBot nimRaidBot, IGetActiveChatsForUser getActiveChatsForUser, IGetNotifyLocationsByChatIdQuery getNotifyLocationsByChatIdQuery, IGetActiveGymsForChatQuery getActiveGymsForChatQuery, IRemoveNotifyLocationCommand removeNotifyLocationCommand, IAddNotifyLocationCommand addNotifyLocationCommand, IStateUpdateCommand stateUpdateCommand, IStatePushCommand statePushCommand, IStatePopCommand statePopCommand, StatePeakQuery statePeakQuery) : base(stateUpdateCommand, statePushCommand, statePopCommand, statePeakQuery) { base.Steps.Add(0, Step0); base.Steps.Add(1, Step1); this.nimRaidBot = nimRaidBot; this.getActiveChatsForUser = getActiveChatsForUser; this.getNotifyLocationsByChatIdQuery = getNotifyLocationsByChatIdQuery; this.getActiveGymsForChatQuery = getActiveGymsForChatQuery; this.removeNotifyLocationCommand = removeNotifyLocationCommand; this.addNotifyLocationCommand = addNotifyLocationCommand; }