载入中...
搜索中...
未找到
ClimbingEventValue.cpp 文件参考
#include "climbing/ClimbingEventValue.h"
#include <array>
#include <string>
#include <utility>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::climbing
 

函数

std::string_view eve::climbing::climbingEventKindName (ClimbingEventKind kind)
 事件种类的稳定脚本名(snake_case,例如 "anchor_transition_started")。
 
EventKindParse eve::climbing::parseClimbingEventKind (std::string_view name, ClimbingEventKind &out)
 名字 → ClimbingEventKind(climbingEventKindName 的严格逆)。
 
Value eve::climbing::climbingEventValue (const ClimbingEvent &event)
 一个事件 → {kind, actionId, tick, executionId, metadata}。
 
Value eve::climbing::climbingEventArrayValue (std::span< const ClimbingEvent > events)
 一批事件 → Value 数组,顺序与传入一致。
 

变量说明

◆ kind

ClimbingEventKind kind

在文件 ClimbingEventValue.cpp 第 11 行定义.

◆ name

const char* name

在文件 ClimbingEventValue.cpp 第 12 行定义.