handle various packets

This commit is contained in:
wish
2022-10-07 20:43:25 +11:00
parent 4f2a94cc50
commit 1b86479672
5 changed files with 51 additions and 11 deletions

View File

@@ -29,7 +29,10 @@ func handleMsgMhfGetRewardSong(s *Session, p mhfpacket.MHFPacket) {
doAckBufSucceed(s, pkt.AckHandle, data)
}
func handleMsgMhfUseRewardSong(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfUseRewardSong(s *Session, p mhfpacket.MHFPacket) {
pkt := p.(*mhfpacket.MsgMhfUseRewardSong)
doAckBufSucceed(s, pkt.AckHandle, make([]byte, 1))
}
func handleMsgMhfAddRewardSongCount(s *Session, p mhfpacket.MHFPacket) {}