docs(stubs): annotate empty handlers and add unimplemented reference doc

Add // stub: unimplemented to 70 empty game-feature handlers and
// stub: reserved to 56 protocol-reserved slots in handlers_reserve.go,
making them discoverable via grep. Add docs/unimplemented.md listing all
unimplemented handlers grouped by subsystem with descriptions.
This commit is contained in:
Houmgaor
2026-03-19 10:57:09 +01:00
parent a6025be8b7
commit 7ea2660335
21 changed files with 327 additions and 126 deletions

View File

@@ -139,7 +139,7 @@ func handleMsgMhfSetCaAchievementHist(s *Session, p mhfpacket.MHFPacket) {
doAckSimpleSucceed(s, pkt.AckHandle, []byte{0x00, 0x00, 0x00, 0x00})
}
func handleMsgMhfResetAchievement(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfResetAchievement(s *Session, p mhfpacket.MHFPacket) {} // stub: unimplemented
func handleMsgMhfAddAchievement(s *Session, p mhfpacket.MHFPacket) {
pkt := p.(*mhfpacket.MsgMhfAddAchievement)
@@ -149,7 +149,7 @@ func handleMsgMhfAddAchievement(s *Session, p mhfpacket.MHFPacket) {
}
}
func handleMsgMhfPaymentAchievement(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfPaymentAchievement(s *Session, p mhfpacket.MHFPacket) {} // stub: unimplemented
func handleMsgMhfDisplayedAchievement(s *Session, p mhfpacket.MHFPacket) {
if s.server.achievementService == nil {
@@ -160,6 +160,6 @@ func handleMsgMhfDisplayedAchievement(s *Session, p mhfpacket.MHFPacket) {
}
}
func handleMsgMhfGetCaAchievementHist(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfGetCaAchievementHist(s *Session, p mhfpacket.MHFPacket) {} // stub: unimplemented
func handleMsgMhfSetCaAchievement(s *Session, p mhfpacket.MHFPacket) {}
func handleMsgMhfSetCaAchievement(s *Session, p mhfpacket.MHFPacket) {} // stub: unimplemented