载入中...
搜索中...
未找到
StateAccessScriptSeam.cpp 文件参考
#include "dialogue/StateAccessScriptSeam.h"
#include "common/Capability.h"
#include "common/CrashLog.h"
#include "common/ScriptProvider.h"
#include "common/StateAccess.h"
#include "common/Value.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <memory>
#include <span>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

浏览源代码.

命名空间

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

函数

EVENGINE_API_ORCHESTRATION std::uint64_t eve::dialogue::scriptStateQueryFailures ()
 脚本 state query **失败**(抛错或答案形状不对)的累计次数。
 
EVENGINE_API_ORCHESTRATION void eve::dialogue::resetScriptStateQueryFailures ()
 把上面的计数归零(测试隔离用)。
 
EVENGINE_API_ORCHESTRATION void eve::dialogue::declareScriptStateQuerySeam ()
 声明"`IStateQuery` 可以由脚本提供"这条接缝。
 
EVENGINE_API_ORCHESTRATION void eve::dialogue::withdrawScriptStateQuerySeam ()
 撤回 IStateQuery 接缝与仍然在位的脚本适配器。
 
EVENGINE_API_ORCHESTRATION void eve::dialogue::declareScriptStateMutationSeam ()
 声明"`IStateMutation` 可以由脚本提供"这条接缝。
 
EVENGINE_API_ORCHESTRATION void eve::dialogue::withdrawScriptStateMutationSeam ()
 撤回 IStateMutation 接缝与仍然在位的脚本适配器。
 

变量说明

◆ liveMutations

std::vector<std::unique_ptr<ScriptStateMutation> > liveMutations

在文件 StateAccessScriptSeam.cpp 第 183 行定义.

◆ liveQueries

std::vector<std::unique_ptr<ScriptStateQuery> > liveQueries

在文件 StateAccessScriptSeam.cpp 第 181 行定义.

◆ name

std::string_view name

在文件 StateAccessScriptSeam.cpp 第 26 行定义.

◆ retiredMutations

std::vector<std::unique_ptr<ScriptStateMutation> > retiredMutations

在文件 StateAccessScriptSeam.cpp 第 184 行定义.

◆ retiredQueries

std::vector<std::unique_ptr<ScriptStateQuery> > retiredQueries

在文件 StateAccessScriptSeam.cpp 第 182 行定义.

◆ value

T value

在文件 StateAccessScriptSeam.cpp 第 25 行定义.