34 std::string
op =
"add";
48 static int registerItemStatsFromJson(
const std::string &
itemId,
const std::string &json);
50 static void clearItemStats(
const std::string &
itemId);
52 static void clearAll();
54 static int statItemCount();
71 std::span<const EquipmentStat>
stats);
#define EVENGINE_API_PLATFORM
std::vector< EquipmentStat > stats
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
EVENGINE_API_FOUNDATION public API.
装备加成系统。 @thread 调用线程应与 RPGActor 的 ECS 线程一致。
属性 / 状态 / 技能三表合一的 ECS 实体。
运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。
RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。