From ac8652b62a777479373c0b0290b4c7aecbcad7ec Mon Sep 17 00:00:00 2001 From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Fri, 20 Jan 2023 00:06:47 +0800 Subject: [PATCH] Add Feature GIFT_STAR_PROCESS --- Reply/Msg.go | 1 + Reply/ws_msg/GIFT_STAR_PROCESS.go | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 Reply/ws_msg/GIFT_STAR_PROCESS.go 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"` +} -- 2.39.2