Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protover可选性 #17

Closed
Billyzou0741326 opened this issue Feb 1, 2020 · 7 comments
Closed

protover可选性 #17

Billyzou0741326 opened this issue Feb 1, 2020 · 7 comments

Comments

@Billyzou0741326
Copy link

希望大佬加一下弹幕协议protover项用1的选项

原因是版本2去掉了GUARD_LOTTERY_START的播报

{
    "cmd": "GUARD_LOTTERY_START",
    "data": {
        "id": 1972383,
        "link": "https://live.bilibili.com/3629359",
        "lottery": {
            "asset_animation_pic": "https://i0.hdslb.com/bfs/vc/ff2a28492970850ce73df0cc144f1766b222d471.gif",
            "asset_icon": "https://i0.hdslb.com/bfs/vc/43f488e7c4dca5ba6fbdcb88f40052d56bf777d8.png",
            "id": 1972383,
            "keyword": "guard",
            "mobile_animation_asset": "",
            "mobile_display_mode": 2,
            "mobile_static_asset": "",
            "privilege_type": 3,
            "sender": {
                "face": "http://i0.hdslb.com/bfs/face/3a48db0bf08caf72d551e45073066c156532c2a4.jpg",
                "uid": 1662330,
                "uname": "罗卜卜卜卜卜卜有毒"
            },
            "status": 1,
            "thank_text": "恭喜<%罗卜卜卜卜卜卜有毒%>上任舰长",
            "time": 1200,
            "time_wait": 0,
            "weight": 0
        },
        "payflow_id": "gd_0d4c52a0a8fbb52759_202002",
        "privilege_type": 3,
        "roomid": 3629359,
        "type": "guard"
    }
}
@simon300000
Copy link
Owner

哇 好的

@Billyzou0741326
Copy link
Author

多谢simon大佬

@simon300000
Copy link
Owner

我不是dalao啦

@Billyzou0741326
Copy link
Author

太强了 是大佬 多谢了

@simon300000
Copy link
Owner

能用就好www

@lhfy1990
Copy link

lhfy1990 commented Jun 4, 2020

补充一下发现GUARD_BUY也需要使用版本1。测试环境KeepLiveTCP

@Billyzou0741326
Copy link
Author

跟进一下 protover2是有GUARD_LOTTERY_START的 是我解析方法当时不完整 :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants