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