40 lines
1.2 KiB
Dart
40 lines
1.2 KiB
Dart
import 'package:aslan/chatvibe_domain/models/res/bags_list_res.dart';
|
|
import 'package:aslan/chatvibe_domain/models/res/at_room_theme_list_res.dart';
|
|
import 'package:aslan/chatvibe_domain/models/res/store_list_res.dart';
|
|
import 'package:aslan/chatvibe_domain/models/res/vip_list_res.dart';
|
|
|
|
abstract class ChatVibeStoreRepository {
|
|
///获取商店道具
|
|
Future<List<StoreListRes>> storeList(String ATCurrencyType, String ATPropsType);
|
|
|
|
///道具商店购买
|
|
Future<double> storePurchasing(
|
|
String propsId,
|
|
String type,
|
|
String ATCurrencyType,
|
|
String days, {
|
|
String? acceptUserId,
|
|
});
|
|
|
|
///用户道具背包
|
|
Future<List<BagsListRes>> storeBackpack(String userId, String type);
|
|
|
|
///佩戴道具
|
|
Future<bool> switchPropsUse(String type, String propsId, bool unload);
|
|
|
|
///切换主题
|
|
Future<bool> themeSwitchUse(String themeId, bool unload);
|
|
|
|
///获取最新的自定义主题
|
|
Future<ATRoomThemeListRes> themeCustomizeLatest();
|
|
|
|
///我的主题背包
|
|
Future<List<ATRoomThemeListRes>> roomThemeBackpack();
|
|
|
|
///上传自定义主题
|
|
Future<double> roomThemeCustomize(String themeUrl);
|
|
|
|
///贵族列表
|
|
Future<List<VipListRes>> nobleVipList(String ATCurrencyType);
|
|
}
|