Exemple #1
0
 private void ParseUserJoin(WS.User user)
 {
     _fireEvent(nameof(MixerClientInternal.UserJoined), new ChatUserInfoEventArgs {
         ChannelId  = user.OriginatingChannel,
         UserId     = user.Id,
         UserName   = user.Username,
         Properties =
         {
             { "MixerRoles", user.Roles }
         }
     });
 }
Exemple #2
0
 private void ParseUserJoin(WS.User user)
 {
     _fireEvent(nameof(MixerService.UserJoined), new ChatUserInfoEventArgs {
         ServiceName = MixerService.SERVICE_NAME,
         ChannelId   = user.OriginatingChannel,
         UserId      = user.Id,
         UserName    = user.Username,
         Properties  =
         {
             { "MixerRoles", user.Roles }
         }
     });
 }