载入中...
搜索中...
未找到
ActionKillReward.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4#include "common/Result.h"
5#include "rpg/BattleVictory.h"
6
7#include <string_view>
8
9namespace eve::rpg {
10class GameState;
11class Tracker;
12struct RPGDamageTarget;
13struct RPGActionDamageReceipt;
14
24public:
47 [[nodiscard]] static Result<BattleVictoryReceipt> settle(const RPGDamageTarget& recipient, GameState& gameState,
48 Tracker& tracker, const RPGActionDamageReceipt& death,
49 std::string_view encounterId);
50};
51} // namespace eve::rpg
Atomic post-battle progression and persistent-world settlement.
#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:176
Translate a committed action death into the existing atomic victory transaction.
一份游戏状态(开关/变量/独立变量)。
Definition GameState.h:26
一份任务进度 + 本实例事件队列。
Definition Tracker.h:26
RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。
Owning post-commit observation; no actor pointers survive dispatch.
Owning identity projection; the host owns the mapping, ECS owns the actor.