Пример #1
0
 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);
 }
Пример #2
0
 private void onHostingStarted(object sender, OnHostingStartedArgs e)
 {
     MessageBox.Show($"Channel '{e.HostingChannel}' has started hosting the connected channel '{e.TargetChannel}' for {e.Viewers} viewers.");
 }
Пример #3
0
 /// <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.");
 }
Пример #4
0
 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);
 }