public static new ServerTextChannel GetCached(ulong channelId)
 {
     return(FactoryUtils.GetCached(_cache, channelId));
 }
Exemple #2
0
 public static IDirectMessageChannel GetCachedDirectMessageChannel(ulong channelId)
 {
     return((IDirectMessageChannel)FactoryUtils.GetCached(_globalCache, channelId));
 }
Exemple #3
0
 public static Server GetCached(ulong serverId)
 {
     return(FactoryUtils.GetCached(_cache, serverId));
 }
Exemple #4
0
 public static INonCatServerChannel GetCachedNonCatServerChannel(ulong channelId)
 {
     return((INonCatServerChannel)FactoryUtils.GetCached(_globalCache, channelId));
 }
Exemple #5
0
 public static IChannel GetCachedNonCatChannel(ulong channelId)
 {
     return(FactoryUtils.GetCached(_globalCache, channelId));
 }
Exemple #6
0
 public static ChannelCategory GetCached(ulong categoryId)
 {
     return(FactoryUtils.GetCached(_cache, categoryId));
 }
Exemple #7
0
 public static new DirectMessageTextChannel GetCached(ulong channelId)
 {
     return(FactoryUtils.GetCached(_cache, channelId));
 }
Exemple #8
0
 public static TextChannel GetCached(ulong channelId)
 {
     return(FactoryUtils.GetCached(DirectMessageTextChannel._cache, channelId) ?? (TextChannel)FactoryUtils.GetCached(ServerTextChannel._cache, channelId));
 }