コード例 #1
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;
 }
コード例 #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
ファイル: NpcCommandHandler.cs プロジェクト: xuebai5/emud
 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;
 }
コード例 #4
0
ファイル: PlayerCommandHandler.cs プロジェクト: xuebai5/emud
 public PlayerCommandHandler(
     IMediatorHandler bus,
     ILogger <PlayerCommandHandler> logger,
     IHttpContextAccessor httpAccessor,
     IMapper mapper,
     IPlayerDomainService playerDomainService,
     IRoomDomainService roomDomainService,
     IAccountContext account,
     IDelayedQueue delayedQueue,
     IRecurringQueue recurringQueue,
     IMudProvider mudProvider,
     IOptionsMonitor <AppConfig> appConfig,
     IRedisDb redisDb,
     IMemoryCache cache,
     INotificationHandler <DomainNotification> notifications,
     IMudOnlineProvider mudOnlineProvider,
     IQueueHandler queueHandler,
     IPlayerRelationDomainService playerRelationDomainService,
     IUnitOfWork uow) : base(uow, bus, notifications)
 {
     _cache                       = cache;
     _bus                         = bus;
     _logger                      = logger;
     _httpAccessor                = httpAccessor;
     _mapper                      = mapper;
     _playerDomainService         = playerDomainService;
     _roomDomainService           = roomDomainService;
     _account                     = account;
     _delayedQueue                = delayedQueue;
     _recurringQueue              = recurringQueue;
     _mudProvider                 = mudProvider;
     _appConfig                   = appConfig.CurrentValue;
     _redisDb                     = redisDb;
     _mudOnlineProvider           = mudOnlineProvider;
     _queueHandler                = queueHandler;
     _playerRelationDomainService = playerRelationDomainService;
 }