Transactional hot-reload boundary for one attack VFX recipe. A failed reload preserves both the previous recipe and revision. 更多...
#include <AttackVfxRecipe.h>
Public 成员函数 | |
| AttackVfxRecipeSlot (AttackVfxRecipe recipe) | |
| Construct a slot from an already validated recipe. | |
| Result< std::uint64_t > | reload (std::string_view json) |
| Parse and atomically replace the recipe on success. | |
| const AttackVfxRecipe & | recipe () const noexcept |
| Current immutable recipe snapshot. | |
| std::uint64_t | revision () const noexcept |
| Monotonic successful-reload revision, starting at one. | |
详细描述
Transactional hot-reload boundary for one attack VFX recipe. A failed reload preserves both the previous recipe and revision.
在文件 AttackVfxRecipe.h 第 216 行定义.
构造及析构函数说明
◆ AttackVfxRecipeSlot()
|
explicit |
Construct a slot from an already validated recipe.
在文件 AttackVfxRecipe.cpp 第 750 行定义.
成员函数说明
◆ recipe()
|
inlinenoexcept |
Current immutable recipe snapshot.
在文件 AttackVfxRecipe.h 第 224 行定义.
◆ reload()
| Result< std::uint64_t > eve::stylize::AttackVfxRecipeSlot::reload | ( | std::string_view | json | ) |
Parse and atomically replace the recipe on success.
在文件 AttackVfxRecipe.cpp 第 752 行定义.
引用了 eve::Result< T >::failure(), eve::stylize::AttackVfxRecipe::fromJson() , 以及 eve::Result< T >::success().
◆ revision()
|
inlinenoexcept |
Monotonic successful-reload revision, starting at one.
在文件 AttackVfxRecipe.h 第 226 行定义.
该类的文档由以下文件生成:
- src/modules/stylize/AttackVfxRecipe.h
- src/modules/stylize/AttackVfxRecipe.cpp