载入中...
搜索中...
未找到
Pure, explainable condition trees shared by gameplay domains. 更多...
#include "common/Export.h"#include "common/Value.h"#include <cstdint>#include <optional>#include <string>#include <string_view>#include <vector>类 | |
| struct | eve::condition::ScriptConditionDeclaration |
| Metadata a script policy must declare before it is used by a condition. 更多... | |
| class | eve::condition::ConditionResult |
| Explain one condition evaluation in a UI- and log-friendly form. 更多... | |
| class | eve::condition::EvaluationContext |
| Read-only state boundary used by every condition evaluation. 更多... | |
| class | eve::condition::Condition |
| Immutable condition AST node. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::condition |
函数 | |
| const char * | eve::condition::conditionReasonCodeName (ConditionReasonCode code) noexcept |
| Return the stable lowercase spelling of a condition reason code. @ownership Borrowed process-static text; callers must not free or modify it. @nullable Never null; unknown numeric values use the stable unknown-value literal. @lifetime Process lifetime. @thread Thread-safe and reentrant; no mutable state or callbacks are used. | |
| const char * | eve::condition::conditionKindName (ConditionKind kind) noexcept |
| Return the stable lowercase spelling of a condition node kind. @ownership Borrowed process-static text; callers must not free or modify it. @nullable Never null; unknown numeric values use the stable unknown-value literal. @lifetime Process lifetime. @thread Thread-safe and reentrant; no mutable state or callbacks are used. | |
| const char * | eve::condition::compareOperatorName (CompareOperator op) noexcept |
| Return the stable lowercase spelling of a comparison operator. @ownership Borrowed process-static text; callers must not free or modify it. @nullable Never null; unknown numeric values use the stable unknown-value literal. @lifetime Process lifetime. @thread Thread-safe and reentrant; no mutable state or callbacks are used. | |
详细描述
Pure, explainable condition trees shared by gameplay domains.
The AST is intentionally thin: boolean combinators, Compare over a keyed value space, and PolicyCall for named read-only policies. Tag / attribute / resource / state / authority checks are key and policy conventions documented in ConditionKeys.h — they are not ConditionKind variants.
在文件 Condition.h 中定义.