mirror of
https://github.com/yuzu-emu/discord-rpc
synced 2024-11-26 02:57:44 +00:00
Added enum for response codes (#207)
Makes it easier to respond to a join request via Blueprints, without having to look it up in the docs. Optional and fully backwards compatible.
This commit is contained in:
parent
a3ad6afee2
commit
dfad394be0
1 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,16 @@ struct FDiscordUserData {
|
|||
FString avatar;
|
||||
};
|
||||
|
||||
/**
|
||||
* Valid response codes for Respond function
|
||||
*/
|
||||
UENUM(BlueprintType)
|
||||
enum class EDiscordJoinResponseCodes : uint8
|
||||
{
|
||||
DISCORD_REPLY_NO UMETA(DisplayName="No"),
|
||||
DISCORD_REPLY_YES UMETA(DisplayName="Yes"),
|
||||
DISCORD_REPLY_IGNORE UMETA(DisplayName="Ignore")
|
||||
};
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(Discord, Log, All);
|
||||
|
||||
|
|
Loading…
Reference in a new issue