载入中...
搜索中...
未找到
一条目标:听哪个 notify、要多少次。target 空 = 只匹配 topic。 更多...
#include <QuestTypes.h>
Public 属性 | |
| std::string | id |
| std::string | topic |
| std::string | target |
| int | count = 1 |
| <=0 按 1 处理 | |
| bool | optional = false |
| 可选目标:计入进度与 UI,但不参与完成判定(objectivePolicy=all/ordered)。 | |
详细描述
一条目标:听哪个 notify、要多少次。target 空 = 只匹配 topic。
在文件 QuestTypes.h 第 18 行定义.
类成员变量说明
◆ count
| int eve::rpg::QuestObjective::count = 1 |
<=0 按 1 处理
在文件 QuestTypes.h 第 22 行定义.
◆ id
| std::string eve::rpg::QuestObjective::id |
在文件 QuestTypes.h 第 19 行定义.
◆ optional
| bool eve::rpg::QuestObjective::optional = false |
可选目标:计入进度与 UI,但不参与完成判定(objectivePolicy=all/ordered)。
- 备注
- objectivePolicy=any 时,可选目标也不算作「任一完成」的候选;仅非 optional 计入。
在文件 QuestTypes.h 第 27 行定义.
◆ target
| std::string eve::rpg::QuestObjective::target |
在文件 QuestTypes.h 第 21 行定义.
◆ topic
| std::string eve::rpg::QuestObjective::topic |
在文件 QuestTypes.h 第 20 行定义.
该结构体的文档由以下文件生成:
- src/modules/rpg/QuestTypes.h