pub trait ICallbackFunctionMethods: ICallbackFunction {
// Provided methods
fn get_name(self) -> Il2CppString { ... }
fn set_name(self, value: impl Into<Il2CppString>) { ... }
fn get_clr_callback(
self,
) -> Func_3<ScriptExecutionContext, CallbackArguments, DynValue> { ... }
fn set_clr_callback(
self,
value: impl Into<Func_3<ScriptExecutionContext, CallbackArguments, DynValue>>,
) { ... }
fn ctor(
self,
call_back: impl Into<Func_3<ScriptExecutionContext, CallbackArguments, DynValue>>,
name: impl Into<Il2CppString>,
) { ... }
fn invoke(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<IList_1_Interface<DynValue>>,
is_method_call: impl Into<bool>,
) -> DynValue { ... }
fn get_additional_data(self) -> Object { ... }
fn set_additional_data(self, value: impl Into<Object>) { ... }
}Provided Methods§
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
get_Name() overload
Sourcefn set_name(self, value: impl Into<Il2CppString>)
fn set_name(self, value: impl Into<Il2CppString>)
set_Name(::unity::Il2CppString) overload
Sourcefn get_clr_callback(
self,
) -> Func_3<ScriptExecutionContext, CallbackArguments, DynValue>
fn get_clr_callback( self, ) -> Func_3<ScriptExecutionContext, CallbackArguments, DynValue>
get_ClrCallback() overload
Sourcefn set_clr_callback(
self,
value: impl Into<Func_3<ScriptExecutionContext, CallbackArguments, DynValue>>,
)
fn set_clr_callback( self, value: impl Into<Func_3<ScriptExecutionContext, CallbackArguments, DynValue>>, )
set_ClrCallback(crate::system::func_3::Func_3<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn ctor(
self,
call_back: impl Into<Func_3<ScriptExecutionContext, CallbackArguments, DynValue>>,
name: impl Into<Il2CppString>,
)
fn ctor( self, call_back: impl Into<Func_3<ScriptExecutionContext, CallbackArguments, DynValue>>, name: impl Into<Il2CppString>, )
.ctor(crate::system::func_3::Func_3<crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext,crate::moon_sharp::interpreter::callbackarguments::CallbackArguments,crate::moon_sharp::interpreter::dynvalue::DynValue>, ::unity::Il2CppString) overload
Sourcefn invoke(
self,
execution_context: impl Into<ScriptExecutionContext>,
args: impl Into<IList_1_Interface<DynValue>>,
is_method_call: impl Into<bool>,
) -> DynValue
fn invoke( self, execution_context: impl Into<ScriptExecutionContext>, args: impl Into<IList_1_Interface<DynValue>>, is_method_call: impl Into<bool>, ) -> DynValue
Invoke(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::moon_sharp::interpreter::dynvalue::DynValue>, bool) overload
Sourcefn get_additional_data(self) -> Object
fn get_additional_data(self) -> Object
get_AdditionalData() overload
Sourcefn set_additional_data(self, value: impl Into<Object>)
fn set_additional_data(self, value: impl Into<Object>)
set_AdditionalData(crate::system::object::Object) 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: ICallbackFunction> ICallbackFunctionMethods for __T
moon_sharp-interpreter-callbackfunction only.