예제 #1
0
 public PlayerStatusHandler(
     IMudProvider mudProvider,
     IPlayerDomainService playerDomainService,
     ILogger <PlayerStatusHandler> logger,
     IRecurringQueue recurringQueue,
     IMudOnlineProvider mudOnlineProvider,
     IRoomItemDropDomainService roomItemDropDomainService,
     IItemDropDomainService itemDropDomainService,
     IItemDropRateDomainService itemDropRateDomainService,
     IWareDomainService wareDomainService,
     IPlayerWareDomainService playerWareDomainService,
     ISkillDomainService skillDomainService,
     IPlayerSkillDomainService playerSkillDomainService,
     INpcDomainService npcDomainService,
     IRedisDb redisDb,
     IMediatorHandler bus)
 {
     _mudProvider         = mudProvider;
     _playerDomainService = playerDomainService;
     _logger                    = logger;
     _recurringQueue            = recurringQueue;
     _bus                       = bus;
     _mudOnlineProvider         = mudOnlineProvider;
     _roomItemDropDomainService = roomItemDropDomainService;
     _itemDropDomainService     = itemDropDomainService;
     _itemDropRateDomainService = itemDropRateDomainService;
     _wareDomainService         = wareDomainService;
     _playerWareDomainService   = playerWareDomainService;
     _skillDomainService        = skillDomainService;
     _playerSkillDomainService  = playerSkillDomainService;
     _npcDomainService          = npcDomainService;
     _redisDb                   = redisDb;
 }
예제 #2
0
 public SkillCommandHandler(
     IMediatorHandler bus,
     ILogger <SkillCommandHandler> logger,
     ISkillDomainService skillDomainService,
     IWareDomainService wareDomainService,
     IHttpContextAccessor httpAccessor,
     IMapper mapper,
     IMail mail,
     IPlayerDomainService playerDomainService,
     IPlayerSkillDomainService playerSkillDomainService,
     INpcDomainService npcDomainService,
     IPlayerRelationDomainService playerRelationDomainService,
     INpcSkillDomainService npcSkillDomainService,
     IPlayerWareDomainService playerWareDomainService,
     IRedisDb redisDb,
     IMudProvider mudProvider,
     INotificationHandler <DomainNotification> notifications,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _bus                         = bus;
     _logger                      = logger;
     _skillDomainService          = skillDomainService;
     _wareDomainService           = wareDomainService;
     _httpAccessor                = httpAccessor;
     _mapper                      = mapper;
     _mail                        = mail;
     _playerDomainService         = playerDomainService;
     _playerSkillDomainService    = playerSkillDomainService;
     _npcDomainService            = npcDomainService;
     _playerRelationDomainService = playerRelationDomainService;
     _npcSkillDomainService       = npcSkillDomainService;
     _playerWareDomainService     = playerWareDomainService;
     _redisDb                     = redisDb;
     _mudProvider                 = mudProvider;
 }
예제 #3
0
 public PlayerStatusHandler(
     IMediatorHandler bus,
     ILogger <PlayerStatusHandler> logger,
     IHttpContextAccessor httpAccessor,
     IMapper mapper,
     IPlayerDomainService playerDomainService,
     INpcDomainService npcDomainService,
     IPlayerWareDomainService playerWareDomainService,
     IWareDomainService wareDomainService,
     IPlayerSkillDomainService playerSkillDomainService,
     ISkillDomainService skillDomainService,
     IAccountContext account,
     IDelayedQueue delayedQueue,
     IRecurringQueue recurringQueue,
     IMudProvider mudProvider,
     IOptionsMonitor <AppConfig> appConfig,
     IRedisDb redisDb,
     IMemoryCache cache,
     INotificationHandler <DomainNotification> notifications,
     IMudOnlineProvider mudOnlineProvider,
     IQueueHandler queueHandler,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _cache                    = cache;
     _bus                      = bus;
     _logger                   = logger;
     _httpAccessor             = httpAccessor;
     _mapper                   = mapper;
     _playerDomainService      = playerDomainService;
     _account                  = account;
     _delayedQueue             = delayedQueue;
     _recurringQueue           = recurringQueue;
     _mudProvider              = mudProvider;
     _appConfig                = appConfig.CurrentValue;
     _redisDb                  = redisDb;
     _mudOnlineProvider        = mudOnlineProvider;
     _queueHandler             = queueHandler;
     _npcDomainService         = npcDomainService;
     _playerWareDomainService  = playerWareDomainService;
     _wareDomainService        = wareDomainService;
     _playerSkillDomainService = playerSkillDomainService;
     _skillDomainService       = skillDomainService;
 }