mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 22:04:36 +01:00
feat: add equip weapon & stigmata
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user