mirror of
https://github.com/yuzu-emu/discord-rpc.git
synced 2024-12-22 19:25:40 +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
|
@ -24,6 +24,16 @@ struct FDiscordUserData {
|
||||||
FString avatar;
|
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);
|
DECLARE_LOG_CATEGORY_EXTERN(Discord, Log, All);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue