Browse Source

Changed Resume.LastSeq to uint

tags/docs-0.9
RogueException 9 years ago
parent
commit
8391d57f83
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs
  2. +1
    -1
      src/Discord.Net/Net/WebSockets/GatewaySocket.cs

+ 1
- 1
src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs View File

@@ -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; }
}
}

+ 1
- 1
src/Discord.Net/Net/WebSockets/GatewaySocket.cs View File

@@ -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;


Loading…
Cancel
Save