feat: add equip weapon & stigmata

This commit is contained in:
Naruse
2025-06-15 10:45:10 +08:00
parent 1751dc6cbb
commit 7b80075e98
7 changed files with 194 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
using KianaBH.GameServer.Game.Player;
using KianaBH.KcpSharp;
using KianaBH.Proto;
@@ -5,12 +6,12 @@ namespace KianaBH.GameServer.Server.Packet.Send.Avatar;
public class PacketDressEquipmentRsp : BasePacket
{
public PacketDressEquipmentRsp() : base(CmdIds.DressEquipmentRsp)
public PacketDressEquipmentRsp(EquipmentSlot slot, uint uniqueId) : base(CmdIds.DressEquipmentRsp)
{
// TODO: Implement
var proto = new DressEquipmentRsp
{
UniqueId = uniqueId,
Slot = slot
};
SetData(proto);

View File

@@ -0,0 +1,20 @@
using KianaBH.GameServer.Game.Player;
using KianaBH.KcpSharp;
using KianaBH.Proto;
namespace KianaBH.GameServer.Server.Packet.Send.Avatar;
public class PacketExchangeAvatarStigmataRsp : BasePacket
{
public PacketExchangeAvatarStigmataRsp(uint avatarId1, uint avatarId2, EquipmentSlot slot) : base(CmdIds.ExchangeAvatarStigmataRsp)
{
var proto = new ExchangeAvatarStigmataRsp
{
AvatarId1 = avatarId1,
AvatarId2 = avatarId2,
Slot = slot
};
SetData(proto);
}
}