载入中...
搜索中...
未找到
TacticsSettlement.h
浏览该文件的文档.
1#pragma once
2
8
9#include <span>
10
11#include "common/Export.h"
12
13namespace eve::tactics {
14
26
37
46public:
53 [[nodiscard]] Result<void> configureSettlementRules(const settlement::SettlementRuleSet& rules);
54
64 [[nodiscard]] Result<settlement::SettlementResult> settle(
66 game_event::GameEventLog* eventLog = nullptr) const;
67
78 [[nodiscard]] Result<std::vector<settlement::SettlementResult>> settleAtomic(
79 std::span<const AbilitySettlementRequest> requests, std::span<settlement::ISettlementPolicy*> policies,
80 game_event::GameEventLog* eventLog = nullptr) const;
81
82private:
84};
85
86} // namespace eve::tactics
#define EVENGINE_API_DOMAINS
Definition Export.h:110
const GltfImportRequest & request
Declarative, domain-neutral rules for buffs and gameplay effects.
Checked battle setup and deterministic phase systems.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Strong, domain-neutral reference to a runtime subject.
Definition SubjectRef.h:26
The canonical owning dynamic value used by data-facing protocols.
Definition Value.h:31
static constexpr StrongUint64 zero() noexcept
Returns the zero value for this strong type.
Deterministic in-memory stream of topic-neutral event envelopes.
Definition GameEvent.h:261
Domain-owned policy hooks used by the common settlement pipeline.
Definition Settlement.h:497
Deterministically ordered, composable settlement pipeline.
Definition Settlement.h:542
Validated immutable-style rule collection installable into pipelines.
Owner-thread settlement bridge between tactics declarations and game-owned combat state.
Result< settlement::SettlementRequest > makeSettlementRequest(const AbilitySettlementRequest &request)
Validate and project a committed tactical ability into the canonical settlement request.
Domain-neutral, deterministic settlement pipeline.
One declared ability activation and the resource state it left behind.
Owning values required to settle one previously declared tactical ability.
SubjectRef target
Optional stable board/cell subject; targetUnit remains the default when valid.