Skip to content

没有弹弹Play 的解析器 #58

Description

@Trickness

弹弹Play的弹幕云的格式和B站的不一样
然后貌似代码里面只有AB两站的弹幕解析器

副弹弹Play的弹幕格式:
<Comment Time="1.1" Mode="2" Color="3" Timestamp="4" Pool="5" UId="6" CId="7">sample string 8</Comment>

Time: 浮点数形式的弹幕时间,单位为秒。
Mode: 弹幕模式,1普通弹幕,4底部弹幕,5顶部弹幕。
Color: 32位整形数的弹幕颜色,算法为 R_256_256 + G*256 + B。
Timestamp: 弹幕发送时间戳,单位为毫秒。可以理解为Unix时间戳,但起始点为1970年1月1日7:00:00。
Pool: 弹幕池,目前此数值为0。
UId: 用户编号,匿名用户为0,备份弹幕为-1,注册用户为正整数。
CId: 弹幕编号,此编号在同一个弹幕库中唯一,且新弹幕永远比旧弹幕编号要大。
Message: 弹幕内容文字。\r和\n不会作为换行转义符。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions