Example #1
0
 public NpcStatusHandler(
     IMudProvider mudProvider,
     IPlayerDomainService playerDomainService,
     ILogger <NpcStatusHandler> 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;
 }
Example #2
0
 public PlayerEventHandler(IRoomDomainService roomDomainService,
                           INpcDomainService npcDomainService,
                           IPlayerDomainService playerDomainService,
                           IMudProvider mudProvider,
                           IMudOnlineProvider chatOnlineProvider,
                           IMapper mapper,
                           IOptionsMonitor <AppConfig> appConfig,
                           IChatLogDomainService chatLogDomainService,
                           IQuestDomainService questDomainService,
                           ILogger <PlayerEventHandler> logger,
                           IPlayerQuestDomainService playerQuestDomainService,
                           IQueueHandler queueHandler,
                           IUnitOfWork uow)
     : base(uow, mudProvider)
 {
     _roomDomainService   = roomDomainService;
     _npcDomainService    = npcDomainService;
     _playerDomainService = playerDomainService;
     _mudProvider         = mudProvider;
     _chatOnlineProvider  = chatOnlineProvider;
     _mapper                   = mapper;
     _appConfig                = appConfig.CurrentValue;
     _chatLogDomainService     = chatLogDomainService;
     _questDomainService       = questDomainService;
     _logger                   = logger;
     _playerQuestDomainService = playerQuestDomainService;
     _queueHandler             = queueHandler;
 }
Example #3
0
 public PlayerStatusHandler(
     IMudProvider mudProvider,
     IPlayerDomainService playerDomainService,
     ILogger <PlayerStatusHandler> logger,
     IRecurringQueue recurringQueue,
     IMudOnlineProvider mudOnlineProvider,
     IRoomItemDropDomainService roomItemDropDomainService,
     IItemDropDomainService itemDropDomainService,
     IItemDropRateDomainService itemDropRateDomainService,
     IWareDomainService wareDomainService,
     IPlayerWareDomainService playerWareDomainService,
     IMediatorHandler bus)
 {
     _mudProvider         = mudProvider;
     _playerDomainService = playerDomainService;
     _logger                    = logger;
     _recurringQueue            = recurringQueue;
     _bus                       = bus;
     _mudOnlineProvider         = mudOnlineProvider;
     _roomItemDropDomainService = roomItemDropDomainService;
     _itemDropDomainService     = itemDropDomainService;
     _itemDropRateDomainService = itemDropRateDomainService;
     _wareDomainService         = wareDomainService;
     _playerWareDomainService   = playerWareDomainService;
 }
Example #4
0
 public QuestCommandHandler(
     IMediatorHandler bus,
     ILogger <QuestCommandHandler> logger,
     IQuestDomainService questDomainService,
     IHttpContextAccessor httpAccessor,
     IMapper mapper,
     IMail mail,
     IPlayerDomainService playerDomainService,
     IPlayerQuestDomainService playerQuestDomainService,
     IRedisDb redisDb,
     IMudProvider mudProvider,
     INotificationHandler <DomainNotification> notifications,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _bus                      = bus;
     _logger                   = logger;
     _questDomainService       = questDomainService;
     _httpAccessor             = httpAccessor;
     _mapper                   = mapper;
     _mail                     = mail;
     _playerDomainService      = playerDomainService;
     _playerQuestDomainService = playerQuestDomainService;
     _redisDb                  = redisDb;
     _mudProvider              = mudProvider;
 }
Example #5
0
 public WareCommandHandler(
     IMediatorHandler bus,
     ILogger <WareCommandHandler> logger,
     INpcDomainService npcDomainService,
     IPlayerDomainService playerDomainService,
     IWareDomainService wareDomainService,
     IPlayerWareDomainService playerWareDomainService,
     IMapper mapper,
     IMemoryCache cache,
     IRedisDb redisDb,
     IMudProvider mudProvider,
     INotificationHandler <DomainNotification> notifications,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _bus                     = bus;
     _logger                  = logger;
     _npcDomainService        = npcDomainService;
     _mapper                  = mapper;
     _cache                   = cache;
     _playerDomainService     = playerDomainService;
     _wareDomainService       = wareDomainService;
     _playerWareDomainService = playerWareDomainService;
     _redisDb                 = redisDb;
     _mudProvider             = mudProvider;
 }
Example #6
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;
 }
Example #7
0
 public RelationCommandHandler(
     IMediatorHandler bus,
     ILogger <RelationCommandHandler> logger,
     IPlayerRelationDomainService playerRelationDomainService,
     INpcDomainService npcDomainService,
     IPlayerDomainService playerDomainService,
     IMapper mapper,
     IMemoryCache cache,
     IRedisDb redisDb,
     IMudProvider mudProvider,
     INotificationHandler <DomainNotification> notifications,
     IEmailDomainService emailDomainService,
     IQueueHandler queueHandler,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _bus    = bus;
     _logger = logger;
     _playerRelationDomainService = playerRelationDomainService;
     _mapper = mapper;
     _cache  = cache;
     _playerDomainService = playerDomainService;
     _npcDomainService    = npcDomainService;
     _emailDomainService  = emailDomainService;
     _redisDb             = redisDb;
     _mudProvider         = mudProvider;
     _queueHandler        = queueHandler;
 }
Example #8
0
 public SkillEventHandler(ILogger <SkillEventHandler> logger,
                          IMudProvider mudProvider,
                          IMemoryCache cache,
                          IRedisDb redisDb)
 {
     _logger      = logger;
     _mudProvider = mudProvider;
     _redisDb     = redisDb;
     _cache       = cache;
 }
Example #9
0
 public EmailEventHandler(IMemoryCache cache,
                          IPlayerEmailDomainService playerEmailDomainService,
                          IRedisDb redisDb,
                          IMudProvider mudProvider)
 {
     _cache = cache;
     _playerEmailDomainService = playerEmailDomainService;
     _mudProvider = mudProvider;
     _redisDb     = redisDb;
 }
Example #10
0
 public NpcStatusConsumer(
     INpcStatusHandler npcStatusHandler,
     ILogger <NpcStatusConsumer> logger,
     IUnitOfWork uow,
     IMudProvider mudProvider,
     IRedisDb redisDb) : base(uow, redisDb)
 {
     _logger           = logger;
     _npcStatusHandler = npcStatusHandler;
     _mudProvider      = mudProvider;
 }
Example #11
0
 public QuestConsumer(
     IPlayerQuestDomainService playerQuestDomainService,
     IQuestDomainService questDomainService,
     IMudProvider mudProvider,
     ILogger <ChatConsumer> logger, IUnitOfWork uow, IRedisDb redisDb) : base(uow, redisDb)
 {
     _logger = logger;
     _playerQuestDomainService = playerQuestDomainService;
     _questDomainService       = questDomainService;
     _mudProvider = mudProvider;
 }
Example #12
0
 public PlayerStatusConsumer(
     IPlayerStatusHandler playerStatusHandler,
     ILogger <ChatConsumer> logger,
     IUnitOfWork uow,
     IMudProvider mudProvider,
     IRedisDb redisDb) : base(uow, redisDb)
 {
     _logger = logger;
     _playerStatusHandler = playerStatusHandler;
     _mudProvider         = mudProvider;
 }
Example #13
0
 public NpcEventHandler(ILogger <NpcEventHandler> logger,
                        IMudProvider mudProvider,
                        IQuestDomainService questDomainService,
                        IPlayerQuestDomainService playerQuestDomainService,
                        IMemoryCache cache,
                        IRedisDb redisDb)
 {
     _logger                   = logger;
     _mudProvider              = mudProvider;
     _questDomainService       = questDomainService;
     _playerQuestDomainService = playerQuestDomainService;
     _redisDb                  = redisDb;
     _cache = cache;
 }
Example #14
0
 public EmailConsumer(
     IEmailDomainService emailDomainService,
     IPlayerEmailDomainService playerEmailDomainService,
     IMediatorHandler bus,
     ILogger <ChatConsumer> logger,
     IUnitOfWork uow,
     IMudProvider mudProvider,
     IRedisDb redisDb) : base(uow, redisDb)
 {
     _logger                   = logger;
     _emailDomainService       = emailDomainService;
     _playerEmailDomainService = playerEmailDomainService;
     _bus         = bus;
     _mudProvider = mudProvider;
 }
Example #15
0
 public PlayerLevelUpHandler(
     IMudProvider mudProvider,
     IPlayerDomainService playerDomainService,
     ILogger <PlayerLevelUpHandler> logger,
     IRecurringQueue recurringQueue,
     IMudOnlineProvider mudOnlineProvider,
     IMediatorHandler bus)
 {
     _mudProvider         = mudProvider;
     _playerDomainService = playerDomainService;
     _logger            = logger;
     _recurringQueue    = recurringQueue;
     _bus               = bus;
     _mudOnlineProvider = mudOnlineProvider;
 }
Example #16
0
 public NpcAppService(IMediatorHandler bus, IMapper mapper, INpcDomainService npcDomainService, IPlayerDomainService playerDomainService, IAccountContext account, IScriptDomainService scriptDomainService, INpcScriptDomainService npcScriptDomainService, IMudProvider mudProvider, ILogger <NpcAppService> logger,
                      IUnitOfWork uow,
                      IOperatorLogDomainService operatorLogDomainService)
     : base(uow)
 {
     _bus                      = bus;
     _mapper                   = mapper;
     _npcDomainService         = npcDomainService;
     _playerDomainService      = playerDomainService;
     _account                  = account;
     _scriptDomainService      = scriptDomainService;
     _npcScriptDomainService   = npcScriptDomainService;
     _mudProvider              = mudProvider;
     _logger                   = logger;
     _operatorLogDomainService = operatorLogDomainService;
 }
Example #17
0
 public PlayerAppService(
     IMapper mapper,
     IPlayerDomainService playerDomainService,
     IUserDomainService userDomainService,
     IOperatorLogDomainService operatorLogDomainService,
     IMudProvider mudProvider,
     IUnitOfWork uow,
     ILogger <PlayerAppService> logger)
     : base(uow)
 {
     _mapper = mapper;
     _playerDomainService      = playerDomainService;
     _userDomainService        = userDomainService;
     _operatorLogDomainService = operatorLogDomainService;
     _logger      = logger;
     _mudProvider = mudProvider;
 }
Example #18
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;
 }
Example #19
0
 public NpcCommandHandler(
     IMediatorHandler bus,
     ILogger <NpcCommandHandler> logger,
     INpcDomainService npcDomainService,
     IPlayerDomainService playerDomainService,
     IScriptDomainService scriptDomainService,
     INpcScriptDomainService npcScriptDomainService,
     IScriptCommandDomainService scriptCommandDomainService,
     IWareDomainService wareDomainService,
     IPlayerWareDomainService playerWareDomainService,
     IQuestDomainService questDomainService,
     IPlayerQuestDomainService playerQuestDomainService,
     INpcLikingDomainService npcLikingDomainService,
     IPlayerRelationDomainService playerRelationDomainService,
     IMapper mapper,
     IMemoryCache cache,
     IRedisDb redisDb,
     IMudProvider mudProvider,
     INotificationHandler <DomainNotification> notifications,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _bus                         = bus;
     _logger                      = logger;
     _npcDomainService            = npcDomainService;
     _mapper                      = mapper;
     _cache                       = cache;
     _playerDomainService         = playerDomainService;
     _scriptDomainService         = scriptDomainService;
     _npcScriptDomainService      = npcScriptDomainService;
     _scriptCommandDomainService  = scriptCommandDomainService;
     _wareDomainService           = wareDomainService;
     _playerWareDomainService     = playerWareDomainService;
     _questDomainService          = questDomainService;
     _playerQuestDomainService    = playerQuestDomainService;
     _npcLikingDomainService      = npcLikingDomainService;
     _playerRelationDomainService = playerRelationDomainService;
     _redisDb                     = redisDb;
     _mudProvider                 = mudProvider;
 }
Example #20
0
 /// <summary>
 /// 构造函数注入
 /// </summary>
 /// <param name="uow"></param>
 /// <param name="bus"></param>
 /// <param name="cache"></param>
 public MudEventHandler(IUnitOfWork uow, IMudProvider mudProvider)
 {
     _uow         = uow;
     _mudProvider = mudProvider;
 }
Example #21
0
 public UserEventHandler(IMudProvider mudProvider,
                         IUnitOfWork uow) : base(uow, mudProvider)
 {
 }