载入中...
搜索中...
未找到
StateAccessScriptSeam.h 文件参考

让脚本扮演 IStateQuery / IStateMutation(阶段 5 的第五、六个插座)。 更多...

#include <cstdint>
#include "common/Export.h"

浏览源代码.

命名空间

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

函数

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 接缝与仍然在位的脚本适配器。
 
EVENGINE_API_ORCHESTRATION std::uint64_t eve::dialogue::scriptStateQueryFailures ()
 脚本 state query **失败**(抛错或答案形状不对)的累计次数。
 
EVENGINE_API_ORCHESTRATION void eve::dialogue::resetScriptStateQueryFailures ()
 把上面的计数归零(测试隔离用)。
 

详细描述

让脚本扮演 IStateQuery / IStateMutation(阶段 5 的第五、六个插座)。

在文件 StateAccessScriptSeam.h 中定义.