feat: add DanmakuItem type

This commit is contained in:
Developer
2026-03-10 22:43:16 +08:00
parent e5568b6b6b
commit 8572f30e16

View File

@@ -94,3 +94,11 @@ export interface HeatmapResponse {
timestamp: number;
pb_data: string;
}
export interface DanmakuItem {
time: number; // 秒float弹幕出现时间
mode: 1 | 4 | 5; // 1=滚动, 4=底部固定, 5=顶部固定
fontSize: number;
color: number; // 0xRRGGBB 十进制整数
text: string;
}