private void Client_OnHostingStarted(object sender, OnHostingStartedArgs e) { Utilities.Log("HostingStarted notification with HostingChannel " + e.HostingStarted.HostingChannel); Utilities.Log("HostingStarted notification with TargetChannel " + e.HostingStarted.TargetChannel); Utilities.Log("HostingStarted notification with Viewers " + e.HostingStarted.Viewers); }
private void onHostingStarted(object sender, OnHostingStartedArgs e) { MessageBox.Show($"Channel '{e.HostingChannel}' has started hosting the connected channel '{e.TargetChannel}' for {e.Viewers} viewers."); }
/// <summary> /// Called when the channel has started hosting another channel. /// </summary> private void Client_OnHostingStarted(object sender, OnHostingStartedArgs e) { Console.WriteLine($"[{e.HostingStarted.HostingChannel}] Now hosting {e.HostingStarted.TargetChannel} with {e.HostingStarted.Viewers} viewers."); client.SendMessage(e.HostingStarted.HostingChannel, $"Now hosting {e.HostingStarted.TargetChannel} with {e.HostingStarted.Viewers} viewers."); }
public static void OnHostingStarted(object sender, OnHostingStartedArgs e) { }
private async void Client_OnHostingStarted(object sender, OnHostingStartedArgs e) { await _eventProxy.PublishAsync(new TwitchHostingStartedNotification(this, e.HostingStarted)) .ConfigureAwait(false); }