娃娃机返回操作结果
This commit is contained in:
parent
8ff978db72
commit
4dc78ff468
|
|
@ -93,6 +93,7 @@ func SMDollMachinePerateHandler(session *netlib.Session, packetId int, data inte
|
||||||
Snid: msg.Snid,
|
Snid: msg.Snid,
|
||||||
Id: msg.GetId(),
|
Id: msg.GetId(),
|
||||||
Result: int32(buf[4]),
|
Result: int32(buf[4]),
|
||||||
|
TypeId: 1,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
@ -112,10 +113,11 @@ func SMDollMachineGrabHandler(session *netlib.Session, packetId int, data interf
|
||||||
}
|
}
|
||||||
|
|
||||||
send := func(net.Conn) {
|
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,
|
Snid: msg.Snid,
|
||||||
Id: msg.GetId(),
|
Id: msg.GetId(),
|
||||||
Result: 1,
|
Result: 1,
|
||||||
|
TypeId: 2,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue