一、目录
二、功能分析
面板:背包面板、箱子面板、锻造合成面板、装备佩戴面板、商店面板等
 功能:面板的显示和隐藏、保存和加载、拾起物品、物品移动、物品出售和购买等
三、示意图

物品类Item主要分为几类:
 消耗品Consumable、装备Equipment、武器Weapon、材料Material
 消耗品Consumable:影响HP/MP
 装备Equipment:影响strength/ intelligence/ agility/ stamina等
     装备类型有:head/ neck/ chest/ ring/ leg/ bracer/ boots/ shoulder/ belt/ offHand
 武器Weapon:影响攻击力
 材料Material:材料合成装备和武器
     
物品类Item公有变量    
 id/ name/ type/ quality/ description/ capacity/ buyprice/ sellprice
 消耗品变量:
   hp/ mp
 装备变量:
   strength/ intelligence/ agility/ stamina
转载:https://blog.csdn.net/q764424567/article/details/106396223
查看评论
					