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

RPG AttributeSet policy adapter for the common settlement pipeline. 更多...

#include "rpg/RPGActor.h"
#include "rpg/StatusTypes.h"
#include "settlement/Settlement.h"
#include <optional>
#include <string>
#include <string_view>
#include "common/Export.h"

浏览源代码.

类

class  eve::rpg::RPGSettlementAdapter
 Settles damage/healing against one RPG actor's AttributeSet. 更多...
 
struct  eve::rpg::RPGSettlementAdapter::Config
 Attribute names used by the RPG policy. 更多...
 

命名空间

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

函数

eve::Result< settlement::SettlementRequest > eve::rpg::makeStatusTickSettlementRequest (const StatusTickEvent &tick, SubjectRef source, SubjectRef target, SimulationTick simulationTick)
 Project one configured RPG status tick into the canonical settlement request.
 

详细描述

RPG AttributeSet policy adapter for the common settlement pipeline.

This adapter is deliberately independent from StatusSystem. Statuses may produce a SettlementRequest for periodic damage or healing, but health, resistances, armor, shield and source attributes remain in AttributeSet.

在文件 SettlementAdapter.h 中定义.