-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
genshin_service.dart
42 lines (34 loc) · 1.68 KB
/
genshin_service.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import 'package:genshindb/domain/enums/enums.dart';
import 'package:genshindb/domain/models/models.dart';
abstract class GenshinService {
Future<void> init(AppLanguageType languageType);
Future<void> initCharacters();
Future<void> initWeapons();
Future<void> initArtifacts();
Future<void> initMaterials();
Future<void> initElements();
Future<void> initTranslations(AppLanguageType languageType);
List<CharacterCardModel> getCharactersForCard();
CharacterFileModel getCharacter(String key);
CharacterFileModel getCharacterByImg(String img);
List<CharacterFileModel> getCharactersForBirthday(DateTime date);
List<TierListRowModel> getDefaultCharacterTierList(List<int> colors);
List<WeaponCardModel> getWeaponsForCard();
WeaponCardModel getWeaponForCardByImg(String image);
WeaponFileModel getWeapon(String key);
WeaponFileModel getWeaponByImg(String img);
List<String> getCharactersImgUsingWeapon(String key);
List<ArtifactCardModel> getArtifactsForCard();
ArtifactCardModel getArtifactForCardByImg(String image);
ArtifactFileModel getArtifact(String key);
List<String> getCharactersImgUsingArtifact(String key);
TranslationArtifactFile getArtifactTranslation(String key);
TranslationCharacterFile getCharacterTranslation(String key);
TranslationWeaponFile getWeaponTranslation(String key);
List<TodayCharAscensionMaterialsModel> getCharacterAscensionMaterials(int day);
List<TodayWeaponAscensionMaterialModel> getWeaponAscensionMaterials(int day);
List<ElementCardModel> getElementDebuffs();
List<ElementReactionCardModel> getElementReactions();
List<ElementReactionCardModel> getElementResonances();
MaterialFileModel getMaterialByImage(String image);
}