namespace Maki.Gateway
{
///
/// Gateway OPcodes
///
enum GatewayOPCode
{
///
/// dispatches an event
///
Dispatch = 0,
///
/// used for ping checking
///
Heartbeat = 1,
///
/// used for client handshake
///
Identify = 2,
///
/// used to update the client status
///
StatusUpdate = 3,
///
/// used to join/move/leave voice channels
///
VoiceStateUpdate = 4,
///
/// used for voice ping checking
///
VoiceServerPing = 5,
///
/// used to resume a closed connection
///
Resume = 6,
///
/// used to tell client to reconnect to the gateway
///
Reconnect = 7,
///
/// used to request guild members
///
RequestGuildMembers = 8,
///
/// used to notify client they have an invalid session id
///
InvalidSession = 9,
///
/// sent immediately after connecting, contains heartbeat and server debug information
///
Hello = 10,
///
/// sent immediately following a client heartbeat that was received
///
HeartbeatACK = 11
}
}