game/server/match/server/processor.go
2025-06-15 11:25:51 +08:00

17 lines
290 B
Go

package server
import (
"game/common/proto/pb"
"github.com/fox/fox/processor"
)
const (
// timeout = time.Second * 30
)
func (s *MatchService) initProcessor() {
s.processor.RegisterMessages(processor.RegisterMetas{
pb.MsgId_ReqMatchRoomId: {pb.ReqMatchRoom{}, s.onMatchRoom},
})
}