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 }); }
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() }); }