MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / script_file

Method script_file

extlibs/sol3/include/sol/sol.hpp:24745–24747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24743
24744 template <typename Fx, meta::disable_any<meta::is_string_constructible<meta::unqualified_t<Fx>>, meta::is_specialization_of<meta::unqualified_t<Fx>, basic_environment>> = meta::enabler>
24745 protected_function_result script_file(const std::string& filename, Fx&& on_error, load_mode mode = load_mode::any) {
24746 return safe_script_file(filename, std::forward<Fx>(on_error), mode);
24747 }
24748
24749 template <typename Fx, typename E>
24750 protected_function_result script(const string_view& code, const basic_environment<E>& env, Fx&& on_error, const std::string& chunkname = detail::default_chunk_name(), load_mode mode = load_mode::any) {

Callers 2

LoadClassCanvasFunction · 0.80
LoadClassNodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected