feat: add stigmata to inventory & giveall command

This commit is contained in:
Naruse
2025-06-15 08:42:26 +08:00
parent 5da6892d76
commit 1751dc6cbb
7 changed files with 79 additions and 61 deletions

View File

@@ -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);