Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-17 12:43:09 +08:00
parent ab1e5cb62a
commit b4fb7d14d4
31 changed files with 84 additions and 85 deletions

View File

@@ -17,7 +17,7 @@ abstract final class DanmakuHttp {
required String bvid,
int? progress, // 弹幕出现在视频内的时间单位为毫秒默认为0
int? color, // 弹幕颜色(默认白色16777215
int? fontsize, // 弹幕字号默认25
int? fontSize, // 弹幕字号默认25
int? pool, // 弹幕池选择0普通池 1字幕池 2特殊池代码/BAS弹幕默认普通池0
//int? rnd,// 当前时间戳*1000000若无此项则发送弹幕冷却时间限制为90s若有此项则发送弹幕冷却时间限制为5s
bool colorful = false, //60001专属渐变彩色需要会员
@@ -38,7 +38,7 @@ abstract final class DanmakuHttp {
'bvid': bvid,
'progress': ?progress,
'color': ?colorful ? 16777215 : color,
'fontsize': ?fontsize,
'fontsize': ?fontSize,
'pool': ?pool,
'rnd': DateTime.now().microsecondsSinceEpoch,
'colorful': ?colorful ? 60001 : null,