载入中...
搜索中...
未找到
QuestReward.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
10#include "common/Result.h"
11
12#include <string>
13
14namespace eve::inventory {
15class Bag;
16}
17
18namespace eve::rpg {
19
20class GameState;
21class Tracker;
22
25public:
41 [[nodiscard]] static eve::Result<int> claim(Tracker &tracker, GameState &gameState,
42 inventory::Bag &bag, const std::string &questId);
43};
44
45} // namespace eve::rpg
#define EVENGINE_API_PLATFORM
Definition Export.h:107
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
格子型物品容器(脚本可直接操作)。
Definition Bag.h:21
一份游戏状态(开关/变量/独立变量)。
Definition GameState.h:25
Product-level transaction boundary for quest completion and rewards.
Definition QuestReward.h:24
一份任务进度 + 本实例事件队列。
Definition Tracker.h:26
运行时容器:固定格数的背包 / 箱子 / 商店栏等。 行为由 InventorySystem 提供;本类暴露便于脚本绑定的薄封装方法。
RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。