From 4dc78ff468b153492e2e287d855a6e28f04be000 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Wed, 14 Aug 2024 16:23:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A8=83=E5=A8=83=E6=9C=BA=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- machine/action/action_server.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/machine/action/action_server.go b/machine/action/action_server.go index e7acc8d..117cea1 100644 --- a/machine/action/action_server.go +++ b/machine/action/action_server.go @@ -93,6 +93,7 @@ func SMDollMachinePerateHandler(session *netlib.Session, packetId int, data inte Snid: msg.Snid, Id: msg.GetId(), Result: int32(buf[4]), + TypeId: 1, }) } return nil @@ -112,10 +113,11 @@ func SMDollMachineGrabHandler(session *netlib.Session, packetId int, data interf } send := func(net.Conn) { - session.Send(int(machine.DollMachinePacketID_PACKET_MSDollMachineGrab), &machine.MSDollMachineGrab{ + session.Send(int(machine.DollMachinePacketID_PACKET_MSDollMachineoPerateResult), &machine.MSDollMachineoPerateResult{ Snid: msg.Snid, Id: msg.GetId(), Result: 1, + TypeId: 2, }) }