notification debug

This commit is contained in:
hahwu 2026-02-26 19:55:09 +08:00
parent 4fc531d9f2
commit 1e58dccf11

View File

@ -596,10 +596,10 @@ func ReqGmCommand_(player *Player, Command string) error {
player.PushClientRes(LimitedTimeEventMod.BackData()) player.PushClientRes(LimitedTimeEventMod.BackData())
case "resetTriggerMail": case "resetTriggerMail":
player.PlayMod.mod_list.Mail.TriggerMail = make([]int, 0, 8) player.PlayMod.mod_list.Mail.TriggerMail = make([]int, 0, 8)
case "debugMsg": case "notification":
NotifyFriendApply(100001, 100002) Id, _ := strconv.Atoi(arg[1])
NotifyPetroomGame(100002) NotifyFriendApply(Id, int(player.M_DwUin))
SetPetroomGameNotification(100002, 1) NotifyPetroomGame(Id)
default: default:
return fmt.Errorf("Player %d ReqGmCommand:%v not found", player.M_DwUin, arg) return fmt.Errorf("Player %d ReqGmCommand:%v not found", player.M_DwUin, arg)
} }