CommandPlan public API. 更多...
#include <EditingProtocol.h>
Public 属性 | |
| PlanId | id |
| CommandId | command |
| TargetId | target |
| Revision | baseRevision = 0 |
| std::uint64_t | targetGeneration = 0 |
| Target lifetime generation captured while planning. | |
| std::uint64_t | commandGeneration = 0 |
| Command registration generation captured while planning. | |
| Value | plannedPayload |
| Immutable payload authorized by this plan. | |
| CommandSource | plannedSource = CommandSource::Api |
| Invocation source authorized by this plan. | |
| std::vector< DomainOperation > | operations |
| Value | summary |
| std::vector< Diagnostic > | diagnostics |
详细描述
CommandPlan public API.
在文件 EditingProtocol.h 第 65 行定义.
类成员变量说明
◆ baseRevision
| Revision eve::editing::CommandPlan::baseRevision = 0 |
◆ command
| CommandId eve::editing::CommandPlan::command |
◆ commandGeneration
| std::uint64_t eve::editing::CommandPlan::commandGeneration = 0 |
Command registration generation captured while planning.
在文件 EditingProtocol.h 第 73 行定义.
◆ diagnostics
| std::vector<Diagnostic> eve::editing::CommandPlan::diagnostics |
在文件 EditingProtocol.h 第 80 行定义.
◆ id
| PlanId eve::editing::CommandPlan::id |
在文件 EditingProtocol.h 第 66 行定义.
被这些函数引用 eve::editor::EditorTargetCoordinator::Impl::execute().
◆ operations
| std::vector<DomainOperation> eve::editing::CommandPlan::operations |
在文件 EditingProtocol.h 第 78 行定义.
被这些函数引用 eve::editor::EditorTargetCoordinator::Impl::execute(), eve::action_editor::registerEditingCommands(), eve::animation_editing::registerEditingCommands(), eve::audio_editing::registerEditingCommands(), eve::material_editing::registerEditingCommands(), eve::scene_editing::registerEditingCommands() , 以及 eve::procgen_editing::registerRoadNetworkEditingCommands().
◆ plannedPayload
| Value eve::editing::CommandPlan::plannedPayload |
Immutable payload authorized by this plan.
在文件 EditingProtocol.h 第 75 行定义.
◆ plannedSource
| CommandSource eve::editing::CommandPlan::plannedSource = CommandSource::Api |
Invocation source authorized by this plan.
在文件 EditingProtocol.h 第 77 行定义.
◆ summary
| Value eve::editing::CommandPlan::summary |
◆ target
| TargetId eve::editing::CommandPlan::target |
◆ targetGeneration
| std::uint64_t eve::editing::CommandPlan::targetGeneration = 0 |
Target lifetime generation captured while planning.
在文件 EditingProtocol.h 第 71 行定义.
被这些函数引用 eve::editor::EditorTargetCoordinator::Impl::execute() , 以及 eve::editor::EditorSession::executePlan().
该结构体的文档由以下文件生成:
- src/modules/editing/EditingProtocol.h