载入中...
搜索中...
未找到
CombatCancelResolver.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
9#include "combat/ComboGraph.h"
10#include "common/Result.h"
11
12#include <optional>
13
14namespace eve::combat {
15
22
27 std::optional<action::input::ActionComboMatch> comboWindow;
28 std::optional<ComboGraphMatch> graph;
29};
30
37public:
41 void setCancels(const action::input::ActionCancelWindowState& cancels) noexcept { cancels_ = &cancels; }
43 void setCombos(const action::input::ActionComboWindowState* combos) noexcept { combos_ = combos; }
45 void setGraph(const ComboGraph* graph) noexcept { graph_ = graph; }
46
52
53private:
54 action::input::ActionInputBuffer* buffer_ = nullptr;
55 const action::input::ActionCancelWindowState* cancels_ = nullptr;
56 const action::input::ActionComboWindowState* combos_ = nullptr;
57 const ComboGraph* graph_ = nullptr;
58};
59
60} // namespace eve::combat
Cancel-window projection for action combat.
Semantic input matching for active Montage combo windows.
Deterministic semantic input buffer for combat cancels.
Explicit cancel/combo graph over ability logical ids.
#define EVENGINE_API_BACKENDS
Definition Export.h:108
const GltfImportRequest & request
std::unique_ptr< gpgpu::GpuBuffer > buffer
Definition OnnxGpgpu.cpp:26
std::map< std::string, std::vector< std::string > > graph
Definition Package.cpp:59
Move-only, checked operation results for the common layer.
Human-readable, scoped identifier in the form namespace:name.
Definition Identity.h:411
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
Authoritative projection of active cancel windows.
Authoritative projection of active semantic combo-input windows.
Owner-thread FIFO/priority buffer of semantic combat inputs.
Compose buffered input, cancel/combo windows and ComboGraph without activating abilities.
void setBuffer(action::input::ActionInputBuffer &buffer) noexcept
Sets the buffer.
void setGraph(const ComboGraph *graph) noexcept
Sets the graph.
void setCombos(const action::input::ActionComboWindowState *combos) noexcept
Sets the combos.
void setCancels(const action::input::ActionCancelWindowState &cancels) noexcept
Sets the cancels.
Deterministic directed graph of combat ability transitions.
Definition ComboGraph.h:43
static constexpr StrongUint64 zero() noexcept
Returns the zero value for this strong type.
Owning cancel match between an input/ability tag and an active window.
One buffered semantic command tagged with the tick it was pressed.
Owning audit of one resolved cancel or combo transition.
action::input::BufferedInput consumed
std::optional< action::input::ActionComboMatch > comboWindow
action::input::ActionCancelMatch cancel
std::optional< ComboGraphMatch > graph
Inputs for one deterministic cancel/combo resolution.