Ejemplo n.º 1
0
 public PartyHub(IPartyService partyService, ISpotifyHttpClient spotifyHttpClient, ILogService logService)
 {
     _partyService      = partyService;
     _spotifyHttpClient = spotifyHttpClient;
     _logService        = logService;
 }
Ejemplo n.º 2
0
 public PartyController(IPartyService partyService, ILogger logger)
 {
     PartyService = partyService;
     Logger       = logger;
 }
Ejemplo n.º 3
0
 public HomeController(IPartyService partyService)
 {
     _partyService = partyService;
 }
Ejemplo n.º 4
0
 public PartyController(IPartyService partyService)
 {
     this.partyService = partyService;
 }
Ejemplo n.º 5
0
 public LastViewedParties(IPartyService partyService)
 {
     PartyService = partyService;
 }
Ejemplo n.º 6
0
 public FidectusMappingService(IMappingService mappingService, IPartyService partyService)
 {
     this.mappingService = mappingService;
     this.partyService   = partyService;
 }
Ejemplo n.º 7
0
 public PartyController(ILogger <PartyController> logger, IPartyService party)
 {
     _logger = logger;
     _party  = party;
 }
Ejemplo n.º 8
0
 public PartyController(IConfiguration configuration, IPartyService partyservice)
 {
     _configuration = configuration;
     _partyservice  = partyservice;
 }
Ejemplo n.º 9
0
 public PartyCongressCandidatesListViewModel(List <CongressCandidate> candidates, IPartyService partyService, Entities.Party party)
     : base(candidates)
 {
     PartyRole = PartyRoleEnum.NotAMember;
     if (SessionHelper.CurrentEntity.Citizen != null)
     {
         PartyRole = partyService.GetPartyRole(SessionHelper.LoggedCitizen, party);
         if (partyService.CanAcceptCongressCandidates(SessionHelper.CurrentEntity.Citizen, party))
         {
             CanAcceptCandidates = true;
         }
     }
 }
Ejemplo n.º 10
0
 public PartyController(IMediator mediator, UserManager <User> userManager, IPartyService partyService)
 {
     _partyService = partyService;
     _userManager  = userManager;
     _mediator     = mediator;
 }
Ejemplo n.º 11
0
 public First10PartiesViewComponent(IPartyService partyService)
 {
     PartyService = partyService;
 }
 public PartyCollection(IPartyService partyService, ILogService logService) : base(logService)
 {
     PartyService = partyService;
 }
Ejemplo n.º 13
0
 public JoinController(IPartyService service)
 {
     _service = service;
 }
Ejemplo n.º 14
0
 public PartyRepository(ILogger <PartyRepository> logger, IPartyService categoryService)
 {
     this._logger         = logger;
     this.categoryService = categoryService;
 }
 public PartyListViewModel(IPartyService partyService, ICommonServices commonServices, PartyViewModel partyViewModel) : base(commonServices)
 {
     PartyService   = partyService;
     PartyViewModel = partyViewModel;
 }
Ejemplo n.º 16
0
 public HomeController(IPartyService partyService, IMapper mapper)
 {
     _partyService = partyService;
     _mapper       = mapper;
 }
 public ArrangementsController(IArrangerService arrangerService, IPartyService partyService, ITableService tableService)
 {
     this.arrangerService = arrangerService;
     this.partyService    = partyService;
     this.tableService    = tableService;
 }
Ejemplo n.º 18
0
 public PartyController(IPartyService _partyService)
 {
     partyService = _partyService;
 }
Ejemplo n.º 19
0
 public PartyHandler(ISpotifyHttpClient spotifyHttpClient, IHubContext <PartyHub> partyHubContext, ILogService logService, IPartyService partyService, IPartyGoerService partyGoerService)
 {
     _logService        = logService;
     _partyHubContext   = partyHubContext;
     _spotifyHttpClient = spotifyHttpClient;
     _partyService      = partyService;
     _partyGoerService  = partyGoerService;
 }
Ejemplo n.º 20
0
        public GameStage(
            GameStageConfig config,
            ILogger <IStage <GameStage, GameStageUser> > logger,
            IServerRegistry serverRegistry,
            ISessionRegistry sessionRegistry,
            IMigrationRegistry migrationRegistry,
            IDispatchService dispatchService,
            IInviteService inviteService,
            IGuildService guildService,
            IPartyService partyService,
            IAccountRepository accountRepository,
            IAccountWorldRepository accountWorldRepository,
            ICharacterRepository characterRepository,
            ITickerManager tickerManager,
            IPacketProcessor <GameStage, GameStageUser> packetProcessor,
            IScriptEngine scriptEngine,
            ICommandProcessor commandProcessor,
            ITemplateRepository <ItemTemplate> itemTemplates,
            ITemplateRepository <ItemStringTemplate> itemStringTemplates,
            ITemplateRepository <ItemOptionTemplate> itemOptionTemplates,
            ITemplateRepository <ItemSetTemplate> itemSetTemplates,
            ITemplateRepository <SkillTemplate> skillTemplates,
            ITemplateRepository <FieldTemplate> fieldTemplates,
            ITemplateRepository <FieldStringTemplate> fieldStringTemplates,
            ITemplateRepository <ContiMoveTemplate> contiMoveTemplates,
            ITemplateRepository <NPCTemplate> npcTemplates,
            ITemplateRepository <NPCShopTemplate> npcShopTemplates,
            ITemplateRepository <MobTemplate> mobTemplates
            ) : base(
                ServerStageType.Game,
                config,
                logger,
                serverRegistry,
                sessionRegistry,
                migrationRegistry,
                accountRepository,
                accountWorldRepository,
                characterRepository,
                tickerManager,
                packetProcessor
                )
        {
            DispatchService = dispatchService;

            dispatchService
            .Subscribe(new DispatchSubscription {
                Server = ID
            })
            .ForEachAwaitAsync(OnDispatch);

            InviteService = inviteService;
            GuildService  = guildService;
            PartyService  = partyService;

            guildService
            .Subscribe()
            .ForEachAwaitAsync(OnGuildUpdate);
            partyService
            .Subscribe()
            .ForEachAwaitAsync(OnPartyUpdate);

            ScriptEngine         = scriptEngine;
            CommandProcessor     = commandProcessor;
            ItemTemplates        = itemTemplates;
            ItemStringTemplates  = itemStringTemplates;
            ItemOptionTemplates  = itemOptionTemplates;
            ItemSetTemplates     = itemSetTemplates;
            SkillTemplates       = skillTemplates;
            FieldTemplates       = fieldTemplates;
            FieldStringTemplates = fieldStringTemplates;
            ContiMoveTemplates   = contiMoveTemplates;
            NPCTemplates         = npcTemplates;
            NPCShopTemplates     = npcShopTemplates;
            MobTemplates         = mobTemplates;

            FieldRepository     = new FieldRepository(this, FieldTemplates, tickerManager);
            FieldSetRepository  = null; // TODO;
            ContiMoveRepository = new ContiMoveRepository(this, ContiMoveTemplates, FieldRepository, tickerManager);

            packetProcessor.Register(new UserTransferChannelRequestHandler());
            packetProcessor.Register(new UserMoveHandler());
            packetProcessor.Register(new UserMeleeAttackHandler());
            packetProcessor.Register(new UserShootAttackHandler());
            packetProcessor.Register(new UserMagicAttackHandler());
            packetProcessor.Register(new UserBodyAttackHandler());
            packetProcessor.Register(new UserEmotionHandler());
            packetProcessor.Register(new UserChatHandler());
            packetProcessor.Register(new UserSelectNPCHandler());
            packetProcessor.Register(new UserScriptMessageAnswerHandler());
            packetProcessor.Register(new UserGatherItemRequestHandler());
            packetProcessor.Register(new UserSortItemRequestHandler());
            packetProcessor.Register(new UserChangeSlotPositionRequestHandler());
            packetProcessor.Register(new UserCharacterInfoRequestHandler());
            packetProcessor.Register(new UserSkillUpRequestHandler());

            packetProcessor.Register(new GroupMessageHandler());
            packetProcessor.Register(new WhisperHandler());

            packetProcessor.Register(new PartyRequestHandler());
            packetProcessor.Register(new PartyResultHandler());

            packetProcessor.Register(new FuncKeyMappedModifiedHandler());
            packetProcessor.Register(new QuickSlotKeyMappedModifiedHandler());

            packetProcessor.Register(new MobMoveHandler());

            packetProcessor.Register(new NPCMoveHandler());

            packetProcessor.Register(new ContiStateHandler());

            commandProcessor.Register(new HelpCommand(commandProcessor));
            commandProcessor.Register(new AliasCommand(commandProcessor));
            commandProcessor.Register(new DebugCommand());

            commandProcessor.Register(new SetupCommand());

            commandProcessor.Register(new StatCommand());
            commandProcessor.Register(new SecondaryStatCommand());
            commandProcessor.Register(new ForcedStatCommand());
            commandProcessor.Register(new MobStatCommand());
            commandProcessor.Register(new SkillRecordCommand());
            commandProcessor.Register(new ItemCommand(ItemStringTemplates, ItemTemplates));
            commandProcessor.Register(new FieldCommand(FieldRepository, FieldStringTemplates, FieldTemplates));
            commandProcessor.Register(new ContiMoveCommand(ContiMoveRepository));
            commandProcessor.Register(new NPCShopCommand(npcShopTemplates));
        }
Ejemplo n.º 21
0
 public ParticipantController(IPartyService partyService)
 {
     _partyService = partyService;
 }
Ejemplo n.º 22
0
 public AccountController(Domain.Contracts.IAuthenticationService authenticationService, IConfiguration configuration, IPartyService partyService,
                          ILogService logService, IPartyGoerService partyGoerService)
 {
     _authenticationService = authenticationService;
     _configuration         = configuration;
     _partyService          = partyService;
     _logService            = logService;
     _partyGoerService      = partyGoerService;
 }
Ejemplo n.º 23
0
 public PartyQueryHandler(IPartyService partyService)
 {
     _partyService = partyService;
 }
Ejemplo n.º 24
0
 public PartyController(IPartyService s)
 {
     service = s;
 }
Ejemplo n.º 25
0
 public PartyController(IHostingEnvironment env, IPartyService partyService, ILogger logger)
 {
     _env         = env;
     PartyService = partyService;
     Logger       = logger;
 }
Ejemplo n.º 26
0
 public OrderController(IOrderService orderService, IPartyService partyService)
 {
     _orderService = orderService;
     _partyService = partyService;
 }
Ejemplo n.º 27
0
 public void Initialize()
 {
     _partyService = new FakePartyRepository();
 }
Ejemplo n.º 28
0
 public HomeController(ILogger <HomeController> logger, IPartyService partyService, IPartyGoerService partyGoerService)
 {
     _logger           = logger;
     _partyService     = partyService;
     _partyGoerService = partyGoerService;
 }
Ejemplo n.º 29
0
 public PartyController(IPartyService service)
 {
     _service = service;
 }
Ejemplo n.º 30
0
 public First10Parties(IPartyService partyService)
 {
     PartyService = partyService;
 }