C# Class Discord.Audio.AudioClient

Inheritance: IAudioClient
ファイルを表示 Open project: RogueException/Discord.Net Class Usage Examples

Private Properties

Property Type Description
BeginGatewayConnect Task
Cleanup Task
EndGatewayConnect void
OnReceivedEvent void

Public Methods

Method Description
AudioClient ( DiscordClient client, Server server, int id ) : Discord.API.Client.GatewaySocket
Clear ( ) : void
Connect ( ) : Task
Disconnect ( ) : Task
Join ( Channel channel ) : Task
Send ( byte data, int offset, int count ) : void
SendVoiceUpdate ( ulong serverId, ulong channelId ) : void
Wait ( ) : void

Private Methods

Method Description
BeginGatewayConnect ( ) : Task
Cleanup ( ) : Task
EndGatewayConnect ( ) : void
OnReceivedEvent ( Discord.Net.WebSockets.WebSocketEventEventArgs e ) : void

Method Details

AudioClient() public method

public AudioClient ( DiscordClient client, Server server, int id ) : Discord.API.Client.GatewaySocket
client DiscordClient
server Server
id int
return Discord.API.Client.GatewaySocket

Clear() public method

public Clear ( ) : void
return void

Connect() public method

public Connect ( ) : Task
return Task

Disconnect() public method

public Disconnect ( ) : Task
return Task

Join() public method

public Join ( Channel channel ) : Task
channel Channel
return Task

Send() public method

public Send ( byte data, int offset, int count ) : void
data byte
offset int
count int
return void

SendVoiceUpdate() public method

public SendVoiceUpdate ( ulong serverId, ulong channelId ) : void
serverId ulong
channelId ulong
return void

Wait() public method

public Wait ( ) : void
return void