载入中...
搜索中...
未找到
ClimbingEventValue.cpp
浏览该文件的文档.
攀爬事件 ↔ eve::Value 的**唯一**映射。
constexpr std::uint64_t value() const noexcept
Returns the underlying value at an explicit protocol boundary.
Definition StrongUint64.h:26
Definition Climbing.cpp:20
Value climbingEventArrayValue(std::span< const ClimbingEvent > events)
一批事件 → Value 数组,顺序与传入一致。
Definition ClimbingEventValue.cpp:65
std::string_view climbingEventKindName(ClimbingEventKind kind)
事件种类的稳定脚本名(snake_case,例如 "anchor_transition_started")。
Definition ClimbingEventValue.cpp:35
EventKindParse parseClimbingEventKind(std::string_view name, ClimbingEventKind &out)
名字 → ClimbingEventKind(climbingEventKindName 的严格逆)。
Definition ClimbingEventValue.cpp:42
ClimbingEventKind
Stable semantic event emitted by the authoritative climbing lifecycle.
Definition Climbing.h:488
@ Completed
@ AnchorReached
@ Cancelled
@ AnchorTransitionStarted
@ ContactRightHand
@ ContactLeftHand
Value climbingEventValue(const ClimbingEvent &event)
一个事件 → {kind, actionId, tick, executionId, metadata}。
Definition ClimbingEventValue.cpp:52
Owning event record; dispatch to scripts only after the simulation phase.
Definition Climbing.h:513
std::vector< std::string > metadata
Owning immutable action metadata copied when the event is enqueued.
Definition Climbing.h:519