mirror of
https://github.com/MikuLeaks/KianaBH3.git
synced 2025-12-14 13:54:43 +01:00
feat: add stigmata to inventory & giveall command
This commit is contained in:
@@ -2,7 +2,6 @@ using Google.Protobuf.Collections;
|
||||
using KianaBH.Data;
|
||||
using KianaBH.KcpSharp;
|
||||
using KianaBH.Proto;
|
||||
using KianaBH.Util.Extensions;
|
||||
|
||||
namespace KianaBH.GameServer.Server.Packet.Send.Activity;
|
||||
|
||||
@@ -31,8 +30,6 @@ public class PacketGeneralActivityGetMainInfoRsp : BasePacket
|
||||
ExchangeTimes = 1,
|
||||
};
|
||||
|
||||
|
||||
|
||||
return activity;
|
||||
});
|
||||
|
||||
|
||||
@@ -10,7 +10,9 @@ public class PacketGetEquipmentDataRsp : BasePacket
|
||||
{
|
||||
var proto = new GetEquipmentDataRsp
|
||||
{
|
||||
WeaponList = { player.InventoryManager!.Data.WeaponItems.Select(weapon => weapon.ToWeaponProto()) }
|
||||
WeaponList = { player.InventoryManager!.Data.WeaponItems.Select(weapon => weapon.ToWeaponProto()) },
|
||||
StigmataList = { player.InventoryManager!.Data.StigmataItems.Select(stigmata => stigmata.ToStigmataProto()) },
|
||||
MaterialList = { player.InventoryManager!.Data.MaterialItems.Select(material => material.ToMaterialProto()) }
|
||||
};
|
||||
|
||||
SetData(proto);
|
||||
|
||||
Reference in New Issue
Block a user