pub trait IScriptLoaderBaseMethods: IScriptLoaderBase {
// Provided methods
fn script_file_exists(self, name: impl Into<Il2CppString>) -> bool { ... }
fn load_file(
self,
file: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Object { ... }
fn resolve_module_name(
self,
modname: impl Into<Il2CppString>,
paths: impl Into<Array<Il2CppString>>,
) -> Il2CppString { ... }
fn resolve_module_name_2(
self,
modname: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString { ... }
fn get_module_paths(self) -> Array<Il2CppString> { ... }
fn set_module_paths(self, value: impl Into<Array<Il2CppString>>) { ... }
fn resolve_file_name(
self,
filename: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString { ... }
fn get_ignore_lua_path_global(self) -> bool { ... }
fn set_ignore_lua_path_global(self, value: impl Into<bool>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn script_file_exists(self, name: impl Into<Il2CppString>) -> bool
fn script_file_exists(self, name: impl Into<Il2CppString>) -> bool
ScriptFileExists(::unity::Il2CppString) overload
Sourcefn load_file(
self,
file: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Object
fn load_file( self, file: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Object
LoadFile(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload
Sourcefn resolve_module_name(
self,
modname: impl Into<Il2CppString>,
paths: impl Into<Array<Il2CppString>>,
) -> Il2CppString
fn resolve_module_name( self, modname: impl Into<Il2CppString>, paths: impl Into<Array<Il2CppString>>, ) -> Il2CppString
ResolveModuleName(::unity::Il2CppString, ::unity::Array<::unity::Il2CppString>) overload
Sourcefn resolve_module_name_2(
self,
modname: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString
fn resolve_module_name_2( self, modname: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Il2CppString
ResolveModuleName(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload
Sourcefn get_module_paths(self) -> Array<Il2CppString>
fn get_module_paths(self) -> Array<Il2CppString>
get_ModulePaths() overload
Sourcefn set_module_paths(self, value: impl Into<Array<Il2CppString>>)
fn set_module_paths(self, value: impl Into<Array<Il2CppString>>)
set_ModulePaths(::unity::Array<::unity::Il2CppString>) overload
Sourcefn resolve_file_name(
self,
filename: impl Into<Il2CppString>,
global_context: impl Into<Table>,
) -> Il2CppString
fn resolve_file_name( self, filename: impl Into<Il2CppString>, global_context: impl Into<Table>, ) -> Il2CppString
ResolveFileName(::unity::Il2CppString, crate::moon_sharp::interpreter::table::Table) overload
Sourcefn get_ignore_lua_path_global(self) -> bool
fn get_ignore_lua_path_global(self) -> bool
get_IgnoreLuaPathGlobal() overload
Sourcefn set_ignore_lua_path_global(self, value: impl Into<bool>)
fn set_ignore_lua_path_global(self, value: impl Into<bool>)
set_IgnoreLuaPathGlobal(bool) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IScriptLoaderBase> IScriptLoaderBaseMethods for __T
Available on crate feature
moon_sharp-interpreter-loaders-scriptloaderbase only.