C# Класс TwitchLib.Extensions.Client.HostExt

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Host() публичный статический Метод

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.
Результат void

Host() публичный статический Метод

Sends command to host a given channel.
public static Host ( this client, string userToHost ) : void
client this
userToHost string The channel to be hosted.
Результат void

Host() публичный статический Метод

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.
Результат void

Unhost() публичный статический Метод

Sends command to unhost if a stream is being hosted.
public static Unhost ( this client ) : void
client this
Результат void

Unhost() публичный статический Метод

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.
Результат void

Unhost() публичный статический Метод

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.
Результат void