C# 클래스 Discord.Audio.AudioClient

상속: IAudioClient
파일 보기 프로젝트 열기: RogueException/Discord.Net 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BeginGatewayConnect Task
Cleanup Task
EndGatewayConnect void
OnReceivedEvent void

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
BeginGatewayConnect ( ) : Task
Cleanup ( ) : Task
EndGatewayConnect ( ) : void
OnReceivedEvent ( Discord.Net.WebSockets.WebSocketEventEventArgs e ) : void

메소드 상세

AudioClient() 공개 메소드

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

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( ) : Task
리턴 Task

Disconnect() 공개 메소드

public Disconnect ( ) : Task
리턴 Task

Join() 공개 메소드

public Join ( Channel channel ) : Task
channel Channel
리턴 Task

Send() 공개 메소드

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

SendVoiceUpdate() 공개 메소드

public SendVoiceUpdate ( ulong serverId, ulong channelId ) : void
serverId ulong
channelId ulong
리턴 void

Wait() 공개 메소드

public Wait ( ) : void
리턴 void