载入中...
搜索中...
未找到
ItemTypes.h
浏览该文件的文档.
运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。
Definition Bag.cpp:6
std::unordered_map< std::string, std::string > extra
Definition ItemTypes.h:23
bool hasTag(const std::string &tag) const
Definition Item.cpp:11
std::string getExtra(const std::string &key, const std::string &fallback={}) const
Definition Item.cpp:15
void setProp(const std::string &key, const std::string &value)
Definition Item.cpp:38
std::string getProp(const std::string &key, const std::string &fallback={}) const
Definition Item.cpp:33
std::unordered_map< std::string, std::string > props
Definition ItemTypes.h:35