Browse Source

Removed unused enum

pull/108/head
RogueException 9 years ago
parent
commit
1a40f62249
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      src/Discord.Net/Entities/WebSocket/CachedGuild.cs

+ 0
- 7
src/Discord.Net/Entities/WebSocket/CachedGuild.cs View File

@@ -19,12 +19,6 @@ using VoiceStateModel = Discord.API.VoiceState;


namespace Discord namespace Discord
{ {
internal enum MemberDownloadState
{
Incomplete,
Synced,
Complete
}
internal class CachedGuild : Guild, ICachedEntity<ulong>, IGuild, IUserGuild internal class CachedGuild : Guild, ICachedEntity<ulong>, IGuild, IUserGuild
{ {
private readonly SemaphoreSlim _audioLock; private readonly SemaphoreSlim _audioLock;
@@ -37,7 +31,6 @@ namespace Discord
public int MemberCount { get; private set; } public int MemberCount { get; private set; }
public int DownloadedMemberCount { get; private set; } public int DownloadedMemberCount { get; private set; }
public AudioClient AudioClient { get; private set; } public AudioClient AudioClient { get; private set; }
public MemberDownloadState MemberDownloadState { get; private set; }


public bool HasAllMembers => _downloaderPromise.Task.IsCompleted; public bool HasAllMembers => _downloaderPromise.Task.IsCompleted;
public Task SyncPromise => _syncPromise.Task; public Task SyncPromise => _syncPromise.Task;


Loading…
Cancel
Save