handle various packets

This commit is contained in:
wish
2022-10-07 21:40:34 +11:00
parent 1b86479672
commit 3c23d12ba6
3 changed files with 47 additions and 16 deletions

View File

@@ -34,7 +34,10 @@ func handleMsgMhfUseRewardSong(s *Session, p mhfpacket.MHFPacket) {
doAckBufSucceed(s, pkt.AckHandle, make([]byte, 1))
}
func handleMsgMhfAddRewardSongCount(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfAddRewardSongCount(s *Session, p mhfpacket.MHFPacket) {
pkt := p.(*mhfpacket.MsgMhfAddRewardSongCount)
doAckBufSucceed(s, pkt.AckHandle, make([]byte, 1))
}
func handleMsgMhfAcquireMonthlyReward(s *Session, p mhfpacket.MHFPacket) {
pkt := p.(*mhfpacket.MsgMhfAcquireMonthlyReward)