Skip to content

Struct Engine::LuaBinder

ClassList > Engine > LuaBinder

Extra Lua modules registered on the shared script state. More...

  • #include <LuaBinder.hpp>

Public Attributes

Type Name
std::vector< std::function< void(sol::state_view, Registry &)> > modules

Detailed Description

ScriptSystem runs every module once, after the engine API, on its first update. The state is owned by ScriptSystem and is not owned here.

Public Attributes Documentation

variable modules

std::vector<std::function<void(sol::state_view, Registry&)> > Engine::LuaBinder::modules;


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Scripting/LuaBinder.hpp