mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-26 19:18:43 +00:00
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user