]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Add Feature GIFT_STAR_PROCESS
authorqydysky <32743305+qydysky@users.noreply.github.com>
Thu, 19 Jan 2023 16:06:47 +0000 (00:06 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Thu, 19 Jan 2023 16:06:47 +0000 (00:06 +0800)
Reply/Msg.go
Reply/ws_msg/GIFT_STAR_PROCESS.go [new file with mode: 0644]

index 51d6c78c7a182edaad7201cc628df00997346f2f..16262613c854c3d252952cdbdcf97225b312533d 100644 (file)
@@ -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 (file)
index 0000000..14dffb2
--- /dev/null
@@ -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"`
+}