From b2c958a1bcf58708a0c903309877efbf14639cd3 Mon Sep 17 00:00:00 2001 From: qydysky Date: Mon, 26 Jun 2023 14:49:05 +0000 Subject: [PATCH] =?utf8?q?Improve=20=E8=B0=83=E6=95=B4=E7=A4=BC=E7=89=A9?= =?utf8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/Reply.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Reply/Reply.go b/Reply/Reply.go index 217d87c..893b37b 100644 --- a/Reply/Reply.go +++ b/Reply/Reply.go @@ -267,7 +267,7 @@ func (replyF) anchor_lot_award(s string) { // msg-通常是大航海购买续费 func (replyF) user_toast_msg(s string) { - msglog := msglog.Base_add("礼") + msglog := msglog.Base_add("礼", "大航海") var j ws_msg.USER_TOAST_MSG if e := json.Unmarshal([]byte(s), &j); e != nil { @@ -491,7 +491,7 @@ func (replyF) special_gift(s string) { Gui_show(Itos(sh), "0jiezou") // Gui_show("====\n") - msglog.Base_add("礼").Log_show_control(false).L(`I: `, sh...) + msglog.Base_add("礼", "节奏风暴").Log_show_control(false).L(`I: `, sh...) } @@ -732,7 +732,7 @@ func (replyF) room_block_msg(s string) { // Msg-房间准备信息,通常出现在下播而不出现在开播 func (replyF) preparing(s string) { - msglog := msglog.Base_add("房") + msglog := msglog.Base_add("房", "下播") var type_item ws_msg.PREPARING if err := json.Unmarshal([]byte(s), &type_item); err != nil { @@ -755,7 +755,7 @@ func (replyF) preparing(s string) { // Msg-房间开播信息 func (replyF) live(s string) { - msglog := msglog.Base_add("房") + msglog := msglog.Base_add("房", "开播") var type_item ws_msg.LIVE if err := json.Unmarshal([]byte(s), &type_item); err != nil { @@ -790,7 +790,7 @@ func (replyF) live(s string) { var sc_buf = make(map[int]struct{}) func (replyF) super_chat_message(s string) { - msglog := msglog.Base_add("礼") + msglog := msglog.Base_add("礼", "SC") var j ws_msg.SUPER_CHAT_MESSAGE if e := json.Unmarshal([]byte(s), &j); e != nil { @@ -891,7 +891,7 @@ func (replyF) hot_rank_settlement_v2(s string) { // Msg-老板打赏新礼物红包 func (replyF) popularity_red_pocket_new(s string) { - msglog := msglog.Base_add("礼") + msglog := msglog.Base_add("礼", "礼物红包") var type_item ws_msg.POPULARITY_RED_POCKET_NEW if e := json.Unmarshal([]byte(s), &type_item); e != nil { @@ -908,12 +908,12 @@ func (replyF) popularity_red_pocket_new(s string) { `{giftName}`: type_item.Data.GiftName, }, }) - msglog.L(`I: `, "礼物红包", tmp) + msglog.L(`I: `, tmp) } // Msg-老板打赏礼物红包 func (replyF) popularity_red_pocket_start(s string) { - msglog := msglog.Base_add("礼") + msglog := msglog.Base_add("礼", "礼物红包") var type_item ws_msg.POPULARITY_RED_POCKET_START if e := json.Unmarshal([]byte(s), &type_item); e != nil { @@ -927,7 +927,7 @@ func (replyF) popularity_red_pocket_start(s string) { `{msg}`: tmp, }, }) - msglog.L(`I: `, "礼物红包", tmp) + msglog.L(`I: `, tmp) } // Msg-元气赏连抽 -- 2.39.2