summaryrefslogtreecommitdiff
path: root/src/discord
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord')
-rw-r--r--src/discord/voiceclient.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/discord/voiceclient.hpp b/src/discord/voiceclient.hpp
index 0868c79..aa1014c 100644
--- a/src/discord/voiceclient.hpp
+++ b/src/discord/voiceclient.hpp
@@ -31,7 +31,7 @@ enum class VoiceGatewayCloseCode : uint16_t {
UnknownEncryption = 4016,
};
-enum class VoiceGatewayOp : uint32_t {
+enum class VoiceGatewayOp : int {
Identify = 0,
SelectProtocol = 1,
Ready = 2,
@@ -70,7 +70,7 @@ struct VoiceGatewayMessage {
};
struct VoiceHelloData {
- uint32_t HeartbeatInterval;
+ int HeartbeatInterval;
friend void from_json(const nlohmann::json &j, VoiceHelloData &m);
};
@@ -95,10 +95,10 @@ struct VoiceIdentifyMessage {
struct VoiceReadyData {
struct VoiceStream {
bool IsActive;
- uint32_t Quality;
+ int Quality;
std::string RID;
- uint32_t RTXSSRC;
- uint32_t SSRC;
+ int RTXSSRC;
+ int SSRC;
std::string Type;
friend void from_json(const nlohmann::json &j, VoiceStream &m);