AngelScirpt脚本语言(低优先级支持,或废弃)
更多...
#include <dl_as.h>
AngelScirpt脚本语言(低优先级支持,或废弃)
在文件 dl_as.h 第 25 行定义.
◆ AngelScript()
| dl::AngelScript::AngelScript |
( |
| ) |
|
◆ ~AngelScript()
| dl::AngelScript::~AngelScript |
( |
| ) |
|
◆ ExcuteFunction()
template<typename
T, typename ... Args>
| bool dl::AngelScript::ExcuteFunction |
( |
std::string_view | name, |
|
|
std::string_view | func_decl, |
|
|
T & | ret, |
|
|
Args &&... | args ) |
|
inline |
执行模块
- 参数
-
| [in] | name | 模块名 |
| [in] | func_decl | 函数声明 |
| [out] | ret | 返回值 |
| [in] | ... | 参数 |
在文件 dl_as.h 第 80 行定义.
◆ ExcuteModule()
| void dl::AngelScript::ExcuteModule |
( |
std::string_view | name | ) |
|
◆ GetEngine()
| asIScriptEngine * dl::AngelScript::GetEngine |
( |
| ) |
|
|
inline |
◆ GetModuleFunction()
| asIScriptFunction * dl::AngelScript::GetModuleFunction |
( |
std::string_view | name, |
|
|
std::string_view | func_decl ) |
获取模块函数
- 参数
-
| [in] | name | 模块名 |
| [in] | func_decl | 函数声明 |
◆ LoadModule()
| void dl::AngelScript::LoadModule |
( |
std::string_view | path_name, |
|
|
std::string_view | name = {} ) |
加载模块
- 参数
-
| [in] | path_name | 路径 |
| [in] | name | 模块名(为空自动生成) |
◆ RegisterPointer()
| int dl::AngelScript::RegisterPointer |
( |
std::string_view | name | ) |
|
◆ SetFileExt()
| void dl::AngelScript::SetFileExt |
( |
std::string_view | str | ) |
|
◆ SetNamePrefix()
| void dl::AngelScript::SetNamePrefix |
( |
std::string_view | str | ) |
|
◆ SetPathRoot()
| void dl::AngelScript::SetPathRoot |
( |
std::string_view | str | ) |
|
◆ UnloadModule()
| void dl::AngelScript::UnloadModule |
( |
std::string_view | name | ) |
|
该类的文档由以下文件生成: