From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Thu, 19 Jan 2023 16:06:47 +0000 (+0800) Subject: Add Feature GIFT_STAR_PROCESS X-Git-Tag: v0.5.11~41 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=ac8652b62a777479373c0b0290b4c7aecbcad7ec;p=bili_danmu%2F.git Add Feature GIFT_STAR_PROCESS --- diff --git a/Reply/Msg.go b/Reply/Msg.go index 51d6c78..1626261 100644 --- a/Reply/Msg.go +++ b/Reply/Msg.go @@ -116,6 +116,7 @@ var Msg_map = map[string]func(replyF, string){ "LIVE_MULTI_VIEW_CHANGE": nil, "POPULAR_RANK_CHANGED": nil, //replyF.popular_rank_changed, // Msg-人气排名 "AREA_RANK_CHANGED": nil, + "GIFT_STAR_PROCESS": nil, } // 屏蔽不需要的消息 diff --git a/Reply/ws_msg/GIFT_STAR_PROCESS.go b/Reply/ws_msg/GIFT_STAR_PROCESS.go new file mode 100644 index 0000000..14dffb2 --- /dev/null +++ b/Reply/ws_msg/GIFT_STAR_PROCESS.go @@ -0,0 +1,9 @@ +package part + +type GIFT_STAR_PROCESS struct { + Cmd string `json:"cmd"` + Data struct { + Status int `json:"status"` + Tip string `json:"tip"` + } `json:"data"` +}