mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
28 lines
710 B
C#
28 lines
710 B
C#
using EggLink.DanhengServer.Database.Scene;
|
|
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.SwitchHand;
|
|
|
|
public class PacketSwitchHandFinishScRsp : BasePacket
|
|
{
|
|
public PacketSwitchHandFinishScRsp(SwitchHandInfo info) : base(CmdIds.SwitchHandFinishScRsp)
|
|
{
|
|
var proto = new SwitchHandFinishScRsp
|
|
{
|
|
HandInfo = info.ToProto()
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
|
|
public PacketSwitchHandFinishScRsp(Retcode ret) : base(CmdIds.SwitchHandFinishScRsp)
|
|
{
|
|
var proto = new SwitchHandFinishScRsp
|
|
{
|
|
Retcode = (uint)ret
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |