载入中...
搜索中...
未找到
ScriptProvider.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include <cstdint>
#include <functional>
#include <memory>
#include <span>
#include <string>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::ScriptProviderHandle
 Generation-qualified identity of one published script provider. 更多...
 
struct  eve::ScriptArg
 One argument passed to a script provider method. 更多...
 
struct  eve::ScriptProviderInfo
 Read-only view of one published provider, for discovery and diagnostics. 更多...
 
class  eve::ScriptProviderRegistry
 Named script objects that native systems drive through named methods. 更多...
 

命名空间

namespace  ssq
 EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
 
namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

类型定义

using eve::ScriptCapabilityBinder = std::function< Result< void >(const ScriptProviderHandle &)>
 Binds one published provider to one native capability.
 
using eve::ScriptCapabilityUnbinder = std::function< Result< void >(const ScriptProviderHandle &)>
 Removes the binding a matching ScriptCapabilityBinder created.