// 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 {
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...)
}
// 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 {
// 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 {
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 {
// 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 {
`{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 {
`{msg}`: tmp,
},
})
- msglog.L(`I: `, "礼物红包", tmp)
+ msglog.L(`I: `, tmp)
}
// Msg-元气赏连抽