示例#1
0
 void HandleUnhosted(uint channelId, WS.HostedPayload payload)
 {
     _fireEvent(nameof(MixerService.Hosted),
                new HostedEventArgs {
         ChannelId = channelId, IsHosting = false, HosterName = payload.Hoster.Name, CurrentViewers = payload.Hoster.ViewersCurrent
     });
 }
示例#2
0
 void HandleUnhosted(uint channelId, WS.HostedPayload payload)
 {
     _fireEvent(nameof(MixerClientInternal.Hosted),
                new HostedEventArgs {
         ChannelId = channelId, IsHosting = false, HosterName = payload.Hoster.Name, CurrentViewers = payload.Hoster.ViewersCurrent.GetValueOrDefault()
     });
 }