#include <luavm.hpp>
|
| LuaVM () |
|
| ~LuaVM () |
|
int | call_func (int nargs, int nret) |
|
void | invoke_registered_callback (const std::string &name) |
| Some UI functions are hardcoded, for example the main menu is hardcoded to appear when the game starts, in order to mantain scriptability we just invoke functions coded in lua. More...
|
|
|
static int | call_func (lua_State *L, int nargs, int nret) |
|
|
lua_State * | state = nullptr |
|
Definition at line 42 of file luavm.hpp.
◆ LuaVM()
◆ ~LuaVM()
◆ call_func() [1/2]
int Eng3D::LuaVM::call_func |
( |
int |
nargs, |
|
|
int |
nret |
|
) |
| |
◆ call_func() [2/2]
int Eng3D::LuaVM::call_func |
( |
lua_State * |
L, |
|
|
int |
nargs, |
|
|
int |
nret |
|
) |
| |
|
static |
◆ invoke_registered_callback()
void Eng3D::LuaVM::invoke_registered_callback |
( |
const std::string & |
name | ) |
|
Some UI functions are hardcoded, for example the main menu is hardcoded to appear when the game starts, in order to mantain scriptability we just invoke functions coded in lua.
- Parameters
-
- Returns
- int
Definition at line 376 of file luavm.cpp.
◆ state
lua_State* Eng3D::LuaVM::state = nullptr |
The documentation for this struct was generated from the following files: