コード例 #1
0
ファイル: NpcStatusHandler.cs プロジェクト: csecong/emud
 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;
 }
コード例 #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;
 }
コード例 #3
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;
 }
コード例 #4
0
ファイル: RoomAppService.cs プロジェクト: yescent/emud
 public RoomAppService(IMediatorHandler bus, IMapper mapper, IPlayerDomainService playerDomainService, IRoomDomainService roomDomainService)
 {
     _bus    = bus;
     _mapper = mapper;
     _playerDomainService = playerDomainService;
     _roomDomainService   = roomDomainService;
 }
コード例 #5
0
ファイル: QuestCommandHandler.cs プロジェクト: yescent/emud
 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;
 }
コード例 #6
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;
 }
コード例 #7
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;
 }
コード例 #8
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;
 }
コード例 #9
0
 public UserAppService(
     IMapper mapper,
     IUserDomainService userDomainService,
     IPlayerDomainService playerDomainService,
     IUnitOfWork uow,
     IOperatorLogDomainService operatorLogDomainService)
     : base(uow)
 {
     _mapper                   = mapper;
     _userDomainService        = userDomainService;
     _playerDomainService      = playerDomainService;
     _operatorLogDomainService = operatorLogDomainService;
 }
コード例 #10
0
ファイル: PlayerLevelUpHandler.cs プロジェクト: xuebai5/emud
 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;
 }
コード例 #11
0
 public QuestConsumer(
     IPlayerQuestDomainService playerQuestDomainService,
     IQuestDomainService questDomainService,
     IPlayerDomainService playerDomainService,
     IWareDomainService wareDomainService,
     IMudProvider mudProvider,
     ILogger <ChatConsumer> logger, IUnitOfWork uow, IRedisDb redisDb) : base(uow, redisDb)
 {
     _logger = logger;
     _playerQuestDomainService = playerQuestDomainService;
     _questDomainService       = questDomainService;
     _playerDomainService      = playerDomainService;
     _wareDomainService        = wareDomainService;
     _mudProvider = mudProvider;
 }
コード例 #12
0
 public RoomAppService(IMediatorHandler bus,
                       IMapper mapper,
                       IPlayerDomainService playerDomainService,
                       IRoomDomainService roomDomainService,
                       IMapDomainService mapDomainService,
                       IOperatorLogDomainService operatorLogDomainService,
                       IUnitOfWork uow)
     : base(uow)
 {
     _bus    = bus;
     _mapper = mapper;
     _playerDomainService      = playerDomainService;
     _roomDomainService        = roomDomainService;
     _mapDomainService         = mapDomainService;
     _operatorLogDomainService = operatorLogDomainService;
 }
コード例 #13
0
ファイル: NpcAppService.cs プロジェクト: yescent/emud
 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;
 }
コード例 #14
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;
 }
コード例 #15
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;
 }
コード例 #16
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;
 }
コード例 #17
0
 public PlayerApplicationService(IPlayerDomainService domainServiceBase, IMapper mapper) : base(domainServiceBase, mapper)
 {
 }