Exemple #1
0
		public PostGuildInviteResponseToChatBoxEventListener(IGuildInviteResponseEventSubscribable subscriptionService,
			[NotNull] IEntityNameQueryable entityNameQueryable,
			[NotNull] IChatTextMessageRecievedEventPublisher textChatPublisher) 
			: base(subscriptionService)
		{
			EntityNameQueryable = entityNameQueryable ?? throw new ArgumentNullException(nameof(entityNameQueryable));
			TextChatPublisher = textChatPublisher ?? throw new ArgumentNullException(nameof(textChatPublisher));
		}
Exemple #2
0
 public OnLocalPlayerCreatedInitializeVoiceServiceClientEventListener(ILocalPlayerSpawnedEventSubscribable subscriptionService,
                                                                      [NotNull] ILog logger,
                                                                      [NotNull] IChatTextMessageRecievedEventPublisher textChatPublisher)
     : base(subscriptionService)
 {
     Logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     TextChatPublisher = textChatPublisher ?? throw new ArgumentNullException(nameof(textChatPublisher));
 }
Exemple #3
0
 public ChatMessageRecievedDispatcherEventListener(IChatChannelJoinedEventSubscribable subscriptionService,
                                                   [NotNull] IChatTextMessageRecievedEventPublisher messageRecievedPublisher,
                                                   [NotNull] ITextChatEventFactory textDataFactory,
                                                   [NotNull] IEntityNameQueryable nameQueryService)
     : base(subscriptionService)
 {
     MessageRecievedPublisher = messageRecievedPublisher ?? throw new ArgumentNullException(nameof(messageRecievedPublisher));
     TextDataFactory          = textDataFactory ?? throw new ArgumentNullException(nameof(textDataFactory));
     NameQueryService         = nameQueryService ?? throw new ArgumentNullException(nameof(nameQueryService));
 }