Browse Source

Improved internal websocket interfaces

tags/1.0-rc
RogueException 9 years ago
parent
commit
2fd7f59153
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Entities/WebSocket/ICachedEntity.cs
  2. +1
    -0
      src/Discord.Net/Entities/WebSocket/ICachedGuildChannel.cs

+ 1
- 1
src/Discord.Net/Entities/WebSocket/ICachedEntity.cs View File

@@ -1,6 +1,6 @@
namespace Discord namespace Discord
{ {
interface ICachedEntity<T> : IEntity<T>
internal interface ICachedEntity<T> : IEntity<T>
{ {
DiscordSocketClient Discord { get; } DiscordSocketClient Discord { get; }
} }


+ 1
- 0
src/Discord.Net/Entities/WebSocket/ICachedGuildChannel.cs View File

@@ -2,5 +2,6 @@
{ {
internal interface ICachedGuildChannel : ICachedChannel, IGuildChannel internal interface ICachedGuildChannel : ICachedChannel, IGuildChannel
{ {
new CachedGuild Guild { get; }
} }
} }

Loading…
Cancel
Save