From 4880d41aa3947202bf0456d892320148254e8ad8 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Sat, 10 Aug 2024 16:24:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A8=83=E5=A8=83=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gamesrv/machine/action_machine.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gamesrv/machine/action_machine.go b/gamesrv/machine/action_machine.go index 901b7dc..06e5f15 100644 --- a/gamesrv/machine/action_machine.go +++ b/gamesrv/machine/action_machine.go @@ -5,6 +5,10 @@ import ( "mongo.games.com/goserver/core/netlib" ) -func init() { - netlib.Register(int(machine.DollMachinePacketID_PACKET_MSDollMachineList), &machine.MSDollMachineList{}, MSDollMachineList) +func MSDollMachineListHandler(session *netlib.Session, packetId int, data interface{}) error { + + return nil +} +func init() { + netlib.Register(int(machine.DollMachinePacketID_PACKET_MSDollMachineList), &machine.MSDollMachineList{}, MSDollMachineListHandler) }