mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
feat: pugv (#927)
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
26
lib/models/common/video/video_type.dart
Normal file
26
lib/models/common/video/video_type.dart
Normal file
@@ -0,0 +1,26 @@
|
||||
import 'package:PiliPlus/http/api.dart';
|
||||
|
||||
enum VideoType {
|
||||
ugc(
|
||||
type: 3,
|
||||
api: Api.ugcUrl,
|
||||
),
|
||||
pgc(
|
||||
type: 4,
|
||||
api: Api.pgcUrl,
|
||||
),
|
||||
pugv(
|
||||
type: 10,
|
||||
replyType: 33,
|
||||
api: Api.pugvUrl,
|
||||
);
|
||||
|
||||
final int type;
|
||||
final String api;
|
||||
final int replyType;
|
||||
const VideoType({
|
||||
required this.api,
|
||||
required this.type,
|
||||
this.replyType = 1,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user