8#ifndef GALAXY_LUA_SCRIPT_HPP_
9#define GALAXY_LUA_SCRIPT_HPP_
31 Script(
const std::string& file);
44 bool load(
const std::string& file);
52 sol::protected_function_result
run();
An encapsulation of a bunch of functions for easy usage of a script.
~Script() noexcept
Destructor.
Script() noexcept
Constructor.
sol::protected_function_result run()
Run a lua script and get a return value.
bool load(const std::string &file)
Load a script.
sol::load_result m_script
Script loaded into sol3 memory.