Most basic lua state class.
More...
|
bool | run_code (std::string_view code, std::string_view code_path="") |
|
Most basic lua state class.
Definition at line 15 of file LuaState.h.
◆ find_class()
static Class * evo::lua_state::find_class |
( |
const std::string & | name | ) |
|
|
static |
Find Unreal Engine Class.
lua syntax
- Parameters
-
- Returns
- Class object
◆ run_code()
bool evo::lua_state::run_code |
( |
std::string_view | code, |
|
|
std::string_view | code_path = "" ) |
- Parameters
-
code | string with lua code; it will be running in all loaded context in this lua state |
CodePath | label in error log for this code fragment execution |
- Returns
- true if there is no errors