From 8391d57f83e4ca6ad8cafe41d3a4f7009f3b2bcc Mon Sep 17 00:00:00 2001 From: RogueException Date: Thu, 31 Dec 2015 15:50:58 -0400 Subject: [PATCH] Changed Resume.LastSeq to uint --- src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs | 2 +- src/Discord.Net/Net/WebSockets/GatewaySocket.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs b/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs index 1b95b8076..f473369cf 100644 --- a/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs +++ b/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs @@ -12,6 +12,6 @@ namespace Discord.API.Client.GatewaySocket [JsonProperty("session_id")] public string SessionId { get; set; } [JsonProperty("seq")] - public int Sequence { get; set; } + public uint Sequence { get; set; } } } diff --git a/src/Discord.Net/Net/WebSockets/GatewaySocket.cs b/src/Discord.Net/Net/WebSockets/GatewaySocket.cs index 06048d59b..0250ed271 100644 --- a/src/Discord.Net/Net/WebSockets/GatewaySocket.cs +++ b/src/Discord.Net/Net/WebSockets/GatewaySocket.cs @@ -23,7 +23,7 @@ namespace Discord.Net.WebSockets public partial class GatewaySocket : WebSocket { - private int _lastSequence; + private uint _lastSequence; private string _sessionId; private string _token; private int _reconnects;