#pragma warning disable CS1591 namespace Discord.API.Voice { internal enum VoiceOpCode : byte { /// C→S - Used to associate a connection with a token. Identify = 0, /// C→S - Used to specify configuration. SelectProtocol = 1, /// C←S - Used to notify that the voice connection was successful and informs the client of available protocols. Ready = 2, /// C→S - Used to keep the connection alive and measure latency. Heartbeat = 3, /// C←S - Used to provide an encryption key to the client. SessionDescription = 4, /// C↔S - Used to inform that a certain user is speaking. Speaking = 5, /// C←S - Used to reply to a client's heartbeat. HeartbeatAck = 6, /// C→S - Used to resume a connection. Resume = 7, /// C←S - Used to inform the client the heartbeat interval. Hello = 8, /// C←S - Used to acknowledge a resumed connection. Resumed = 9, /// C←S - Used to notify that a client has disconnected. ClientDisconnect = 13, } }