trivia questions and pokemon data will be stored in redis, instead of per-shard
This commit is contained in:
14
NadekoBot.Core/Services/ILocalDataCache.cs
Normal file
14
NadekoBot.Core/Services/ILocalDataCache.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using NadekoBot.Core.Common.Pokemon;
|
||||
using NadekoBot.Modules.Games.Common.Trivia;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Core.Services
|
||||
{
|
||||
public interface ILocalDataCache
|
||||
{
|
||||
IReadOnlyDictionary<string, SearchPokemon> Pokemons { get; }
|
||||
IReadOnlyDictionary<string, SearchPokemonAbility> PokemonAbilities { get; }
|
||||
TriviaQuestion[] TriviaQuestions { get; }
|
||||
IReadOnlyDictionary<int, string> PokemonMap { get; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user