载入中...
搜索中...
未找到
QuestGeneration.h 文件参考

Data-driven procedural quest generation from archetypes and world entities. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include <string>
#include <unordered_map>
#include <vector>

浏览源代码.

类

struct  eve::rpg::QuestGenerationObjectiveTemplate
 One objective template inside a generation archetype. 更多...
 
struct  eve::rpg::QuestGenerationRewardTemplate
 One reward template inside a generation archetype. 更多...
 
struct  eve::rpg::QuestGenerationArchetype
 Immutable generation archetype: how to bind one world entity into a QuestDefinition. 更多...
 
class  eve::rpg::QuestGenerationCatalogue
 Process-local catalogue of quest-generation archetypes. 更多...
 
class  eve::rpg::QuestGenerator
 Procedural quest builder: archetypes × world entities → QuestDefinition instances. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::rpg
 RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。
 

详细描述

Data-driven procedural quest generation from archetypes and world entities.

Games publish generation archetypes (templates with entity-tag filters and slot substitution), then call QuestGenerator with a seeded world snapshot. The generator selects entity/archetype pairs by urgency and emits ordinary QuestDefinition instances that register into QuestRegistry — progress still flows through Tracker::notify; the engine does not interpret kill/talk semantics.

在文件 QuestGeneration.h 中定义.