feat: add giveall material

This commit is contained in:
Naruse
2025-06-15 21:45:27 +08:00
parent 6a55234187
commit 27b1284dcc
2 changed files with 15 additions and 1 deletions

View File

@@ -12,7 +12,8 @@ public class PacketGetEquipmentDataRsp : BasePacket
{
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()) }
MaterialList = { player.InventoryManager!.Data.MaterialItems.Select(material => material.ToMaterialProto()) },
IsAll = true,
};
SetData(proto);