Documentation ¶
Index ¶
- Constants
- func GetGenshinCharactersJson() []byte
- func GetGenshinNameCardJson() []byte
- func GetGenshinProfileIdentifiersJson() []byte
- func GetStarRailAvatarJson() []byte
- func GetStarRailCharacterJson() []byte
- func GetStarRailLightconesJson() []byte
- func GetStarRailRelicJson() []byte
- func NewMemoryCache(logger *slog.Logger) (*memoryCache, error)
- type EnkaData
- type GenshinData
- type StarRailData
Constants ¶
View Source
const MATERIAL_URL = "https://gitlab.com/Dimbreath/AnimeGameData/-/raw/master/ExcelBinOutput/MaterialExcelConfigData.json"
Variables ¶
This section is empty.
Functions ¶
func GetGenshinCharactersJson ¶
func GetGenshinCharactersJson() []byte
func GetGenshinNameCardJson ¶
func GetGenshinNameCardJson() []byte
func GetGenshinProfileIdentifiersJson ¶
func GetGenshinProfileIdentifiersJson() []byte
func GetStarRailAvatarJson ¶
func GetStarRailAvatarJson() []byte
func GetStarRailCharacterJson ¶
func GetStarRailCharacterJson() []byte
func GetStarRailLightconesJson ¶
func GetStarRailLightconesJson() []byte
func GetStarRailRelicJson ¶
func GetStarRailRelicJson() []byte
func NewMemoryCache ¶
Types ¶
type EnkaData ¶
type EnkaData interface { StarRailData() StarRailData GenshinData() GenshinData }
type GenshinData ¶
type GenshinData interface { HasNameCard(int) bool NameCardName(int) *string ProfileIcon(string) string CharacterData(string) *genshin.CharacterData Characters() []*genshin.CharacterData Material(int) *genshin.RawMaterial }
type StarRailData ¶
type StarRailData interface { CharacterData(string) *starrail.CharacterData Characters() []*starrail.CharacterData AvatarKey(string) string RelicData(string) *starrail.RelicData LightConeData(string) *starrail.LightConeData }
Click to show internal directories.
Click to hide internal directories.