#pragma warning disable CS1591 namespace Discord.API.Gateway { internal enum GatewayOpCode : byte { /// C←S - Used to send most events. Dispatch = 0, /// C↔S - Used to keep the connection alive and measure latency. Heartbeat = 1, /// C→S - Used to associate a connection with a token and specify configuration. Identify = 2, /// C→S - Used to update client's status and current game id. StatusUpdate = 3, /// C→S - Used to join a particular voice channel. VoiceStateUpdate = 4, /// C→S - Used to ensure the guild's voice server is alive. VoiceServerPing = 5, /// C→S - Used to resume a connection after a redirect occurs. Resume = 6, /// C←S - Used to notify a client that they must reconnect to another gateway. Reconnect = 7, /// C→S - Used to request members that were withheld by large_threshold RequestGuildMembers = 8, /// C←S - Used to notify the client that their session has expired and cannot be resumed. InvalidSession = 9, /// C←S - Used to provide information to the client immediately on connection. Hello = 10, /// C←S - Used to reply to a client's heartbeat. HeartbeatAck = 11, /// C→S - Used to request presence updates from particular guilds. GuildSync = 12 } }