Overview

InventorComponent具有的基本功能:

  • 使用
  • 删除
  • 使用
  • 丢弃

背包中每个物品都存储为F_StoredItem结构:

存储物品的amount和Id,不存储物品对象。

 

posted @ 2019-05-13 20:17  CodeWithMe  阅读(335)  评论(0)    收藏  举报