mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
@@ -1,17 +1,17 @@
|
||||
// ignore_for_file: non_constant_identifier_names
|
||||
|
||||
import 'package:PiliPlus/common/widgets/pair.dart';
|
||||
import 'package:PiliPlus/models/common/sponsor_block/segment_type.dart';
|
||||
import 'package:PiliPlus/models/common/sponsor_block/skip_type.dart';
|
||||
|
||||
class SegmentModel {
|
||||
SegmentModel({
|
||||
// ignore: non_constant_identifier_names
|
||||
required this.UUID,
|
||||
required this.segmentType,
|
||||
required this.segment,
|
||||
required this.skipType,
|
||||
this.hasSkipped,
|
||||
});
|
||||
// ignore: non_constant_identifier_names
|
||||
String UUID;
|
||||
SegmentType segmentType;
|
||||
Pair<int, int> segment;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// ignore_for_file: constant_identifier_names
|
||||
|
||||
import 'dart:ui';
|
||||
|
||||
import 'package:PiliPlus/models/common/sponsor_block/action_type.dart';
|
||||
@@ -9,12 +11,9 @@ enum SegmentType {
|
||||
intro,
|
||||
outro,
|
||||
preview,
|
||||
// ignore: constant_identifier_names
|
||||
music_offtopic,
|
||||
// ignore: constant_identifier_names
|
||||
poi_highlight,
|
||||
filler,
|
||||
// ignore: constant_identifier_names
|
||||
exclusive_access
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user