C# Class TwitchLib.Extensions.Client.HostExt

Afficher le fichier Open project: swiftyspiffy/TwitchLib

Méthodes publiques

Méthode Description
Host ( this client, JoinedChannel channel, string userToHost ) : void

Sends command to host a given channel.

Host ( this client, string userToHost ) : void

Sends command to host a given channel.

Host ( this client, string channel, string userToHost ) : void

Sends command to host a given channel.

Unhost ( this client ) : void

Sends command to unhost if a stream is being hosted.

Unhost ( this client, JoinedChannel channel ) : void

Sends command to unhost if a stream is being hosted.

Unhost ( this client, string channel ) : void

Sends command to unhost if a stream is being hosted.

Method Details

Host() public static méthode

Sends command to host a given channel.
public static Host ( this client, JoinedChannel channel, string userToHost ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of which channel to send the host command to.
userToHost string The channel to be hosted.
Résultat void

Host() public static méthode

Sends command to host a given channel.
public static Host ( this client, string userToHost ) : void
client this
userToHost string The channel to be hosted.
Résultat void

Host() public static méthode

Sends command to host a given channel.
public static Host ( this client, string channel, string userToHost ) : void
client this
channel string String representation of which channel to send the host command to.
userToHost string The channel to be hosted.
Résultat void

Unhost() public static méthode

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client ) : void
client this
Résultat void

Unhost() public static méthode

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client, JoinedChannel channel ) : void
client this
channel TwitchLib.Models.Client.JoinedChannel JoinedChannel representation of the channel to send the unhost command to.
Résultat void

Unhost() public static méthode

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client, string channel ) : void
client this
channel string String representation of the channel to send the unhost command to.
Résultat void