载入中...
搜索中...
未找到
SensingQuery.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4
5#include <string>
6#include <vector>
7
8namespace eve {
9
13 int index = 0;
21 std::string lastQueryJson;
22};
23
33public:
34 static constexpr const char* capabilityName = "ISensingQuery";
35
37 virtual ~ISensingQuery() = default;
38
40 [[nodiscard]] virtual int worldCount() const = 0;
41
46 [[nodiscard]] virtual std::vector<SensingWorldQuery> lastQueries() const = 0;
47};
48
49} // namespace eve
#define EVENGINE_API
宿主(eve / libmain)导出宏;插件从进程导入同一批符号。
Definition Export.h:31
uint32_t index
Runtime sensing read surface (provided by the sensing module).
virtual ~ISensingQuery()=default
I sensing query.
virtual std::vector< SensingWorldQuery > lastQueries() const =0
Last completed query of every live world, in slot order.
virtual int worldCount() const =0
Number of live sensing worlds created by the project.
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16
Last completed query of one live sensing world.
std::string lastQueryJson