载入中...
搜索中...
未找到
SkillConditionCodec.h
浏览该文件的文档.
1#pragma once
2
8#include "common/Result.h"
9#include "common/Value.h"
10#include "decision/Condition.h"
11
12namespace eve::rpg {
13
20
27
28} // namespace eve::rpg
double value
Pure, explainable condition trees shared by gameplay domains.
eve::Value condition
Move-only, checked operation results for the common layer.
Owning, renderer-independent dynamic values.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
Immutable condition AST node.
Definition Condition.h:195
RPG 模块的基础实体:把属性 / 状态 / 技能三张表挂到一个 ECS 实体上。
eve::Result< eve::decision::Condition > decodeSkillCondition(const eve::Value &value)
Decode one Skill condition tree from an owning Value.
eve::Result< eve::Value > encodeSkillCondition(const eve::decision::Condition &condition)
Encode one validated Skill condition tree as an owning Value.