-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
material_file_service.dart
38 lines (23 loc) · 1.2 KB
/
material_file_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
import 'package:shiori/domain/enums/enums.dart';
import 'package:shiori/domain/models/models.dart';
import 'package:shiori/domain/services/file/base_file_service.dart';
abstract class MaterialFileService extends BaseFileService {
List<MaterialCardModel> getAllMaterialsForCard();
MaterialCardModel getMaterialForCard(String key);
MaterialFileModel getMaterial(String key);
MaterialFileModel getMaterialByImage(String image);
List<MaterialFileModel> getMaterials(MaterialType type, {bool onlyReadyToBeUsed = true});
MaterialFileModel getMoraMaterial();
String getMaterialImg(String key);
List<MaterialFileModel> getAllMaterialsThatCanBeObtainedFromAnExpedition();
List<MaterialFileModel> getAllMaterialsThatHaveAFarmingRespawnDuration();
List<MaterialFileModel> getMaterialsFromAscensionMaterials(
List<ItemAscensionMaterialFileModel> materials, {
List<MaterialType> ignore = const [MaterialType.currency],
});
List<MaterialFileModel> getCharacterAscensionMaterials(int day);
List<MaterialFileModel> getWeaponAscensionMaterials(int day);
MaterialFileModel getRealmCurrencyMaterial();
MaterialFileModel getPrimogemMaterial();
MaterialFileModel getFragileResinMaterial();
}