载入中...
搜索中...
未找到
AttributeSystem.h
浏览该文件的文档.
47 [[nodiscard]] static eve::Result<ModifierId> addModifier(RPGActor* actor, AttributeModifier modifier);
53 static std::string addModifier(RPGActor* actor, const std::string& attribute, const std::string& source,
57 [[nodiscard]] static eve::Result<void> removeModifier(RPGActor* actor, const ModifierId& modifierId);
59 static bool removeModifier(RPGActor* actor, const std::string& attribute, const std::string& modifierId);
61 [[nodiscard]] static eve::Result<int> removeModifiersBySource(RPGActor* actor, const std::string& attribute,
RPG compatibility names for the canonical attributes data model.
Move-only, checked operation results for the common layer.
Registry for explicitly named custom attribute policies.
Definition AttributeSet.h:67
RPG-facing attribute operations backed by the canonical AttributeSet.
Definition AttributeSystem.h:29
One canonical runtime modifier applied to one named attribute.
Definition AttributeSet.h:96