using DiscordRPC.Converters; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DiscordRPC.RPC.Payload { /// /// The possible commands that can be sent and received by the server. /// internal enum Command { /// /// event dispatch /// [EnumValue("DISPATCH")] Dispatch, /// /// Called to set the activity /// [EnumValue("SET_ACTIVITY")] SetActivity, /// /// used to subscribe to an RPC event /// [EnumValue("SUBSCRIBE")] Subscribe, /// /// used to unsubscribe from an RPC event /// [EnumValue("UNSUBSCRIBE")] Unsubscribe, /// /// Used to accept join requests. /// [EnumValue("SEND_ACTIVITY_JOIN_INVITE")] SendActivityJoinInvite, /// /// Used to reject join requests. /// [EnumValue("CLOSE_ACTIVITY_JOIN_REQUEST")] CloseActivityJoinRequest, /// /// used to authorize a new client with your app /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] Authorize, /// /// used to authenticate an existing client with your app /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] Authenticate, /// /// used to retrieve guild information from the client /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] GetGuild, /// /// used to retrieve a list of guilds from the client /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] GetGuilds, /// /// used to retrieve channel information from the client /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] GetChannel, /// /// used to retrieve a list of channels for a guild from the client /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] GetChannels, /// /// used to change voice settings of users in voice channels /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] SetUserVoiceSettings, /// /// used to join or leave a voice channel, group dm, or dm /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] SelectVoiceChannel, /// /// used to get the current voice channel the client is in /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] GetSelectedVoiceChannel, /// /// used to join or leave a text channel, group dm, or dm /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] SelectTextChannel, /// /// used to retrieve the client's voice settings /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] GetVoiceSettings, /// /// used to set the client's voice settings /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] SetVoiceSettings, /// /// used to capture a keyboard shortcut entered by the user RPC Events /// [Obsolete("This value is appart of the RPC API and is not supported by this library.", true)] CaptureShortcut } }