mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-03 04:36:03 +08:00
24 lines
680 B
C#
24 lines
680 B
C#
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.SwitchHand;
|
|
|
|
public class PacketSwitchHandCoinUpdateScRsp : BasePacket
|
|
{
|
|
public PacketSwitchHandCoinUpdateScRsp(Retcode ret) : base(CmdIds.SwitchHandCoinUpdateScRsp)
|
|
{
|
|
var proto = new SwitchHandCoinUpdateScRsp
|
|
{
|
|
Retcode = (uint)ret
|
|
};
|
|
SetData(proto);
|
|
}
|
|
public PacketSwitchHandCoinUpdateScRsp(uint coinNum) : base(CmdIds.SwitchHandCoinUpdateScRsp)
|
|
{
|
|
var proto = new SwitchHandCoinUpdateScRsp
|
|
{
|
|
HandCoinNum = coinNum
|
|
};
|
|
SetData(proto);
|
|
}
|
|
} |