赠送卡牌打点

This commit is contained in:
hahwu 2026-04-01 16:31:31 +08:00
parent 886f818db6
commit f727bf97a6

View File

@ -2052,7 +2052,7 @@ func ReqCardSend(player *Player, buf []byte) error {
player.TeLog("card_exchange", map[string]interface{}{ player.TeLog("card_exchange", map[string]interface{}{
"card_id": cardId, "card_id": cardId,
"player_id_target": int(req.Uid), "player_id_target": int(req.Uid),
"is_gift": 1, "is_gift": true,
}) })
player.PlayerDecoSetLog("emoji", int(req.Emoji), "card_send") player.PlayerDecoSetLog("emoji", int(req.Emoji), "card_send")
player.PushClientRes(CardMod.NotifyCard()) player.PushClientRes(CardMod.NotifyCard())
@ -2100,7 +2100,7 @@ func ReqCardExchange(player *Player, buf []byte) error {
player.TeLog("card_exchange", map[string]interface{}{ player.TeLog("card_exchange", map[string]interface{}{
"card_id": cardId, "card_id": cardId,
"player_id_target": int(req.Uid), "player_id_target": int(req.Uid),
"is_gift": 0, "is_gift": false,
}) })
return nil return nil
} }