mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
28 lines
747 B
C#
28 lines
747 B
C#
using EggLink.DanhengServer.Kcp;
|
|
using EggLink.DanhengServer.Proto;
|
|
|
|
namespace EggLink.DanhengServer.GameServer.Server.Packet.Send.Avatar;
|
|
|
|
public class PacketSetAvatarEnhancedIdScRsp : BasePacket
|
|
{
|
|
public PacketSetAvatarEnhancedIdScRsp(Retcode retcode) : base(CmdIds.SetAvatarEnhancedIdScRsp)
|
|
{
|
|
var proto = new SetAvatarEnhancedIdScRsp
|
|
{
|
|
Retcode = (uint)retcode
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
|
|
public PacketSetAvatarEnhancedIdScRsp(uint avatarId, int enhanceId) : base(CmdIds.SetAvatarEnhancedIdScRsp)
|
|
{
|
|
var proto = new SetAvatarEnhancedIdScRsp
|
|
{
|
|
CurEnhanceId = (uint)enhanceId,
|
|
SetTargetAvatarId = avatarId
|
|
};
|
|
|
|
SetData(proto);
|
|
}
|
|
} |