载入中...
搜索中...
未找到
AttributeTypes.h 文件参考
#include <string>
#include <vector>

浏览源代码.

struct  eve::rpg::AttributeModifier
 单条修改器。附加在某个属性上,参与最终值计算。 更多...
 
struct  eve::rpg::AttributeValue
 单个属性的完整状态:基础值 + 修改器列表 + 计算结果缓存。 更多...
 

命名空间

namespace  eve
 
namespace  eve::rpg
 RPG 模块入口:属性 / 效果 / 状态 / 技能 / 结算五套系统的脚本绑定与帧调度点。
 

函数

double eve::rpg::computeAttributeValue (const AttributeValue &attr, const struct AttributeOpTable *customOps=nullptr)
 纯函数:根据 base + modifiers 计算最终值。不依赖任何 ECS / 全局状态, 自定义 op 通过 customOps 传入(AttributeSystem 内部会传入全局注册表)。