Skip to main content

IProcessorMethods

Trait IProcessorMethods 

Source
pub trait IProcessorMethods: IProcessor {
Show 95 methods // Provided methods fn ctor( self, script: impl Into<Script>, global_context: impl Into<Table>, byte_code: impl Into<ByteCode>, ) { ... } fn ctor_2(self, parent_processor: impl Into<Processor>) { ... } fn call( self, function: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> DynValue { ... } fn push_clr_to_script_stack_frame( self, flags: impl Into<CallStackItemFlags>, function: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> i32 { ... } fn leave_processor(self) { ... } fn get_thread_id(self) -> i32 { ... } fn enter_processor(self) { ... } fn get_coroutine_suspended_location(self) -> SourceRef { ... } fn dump( self, stream: impl Into<Stream>, base_address: impl Into<i32>, has_upvalues: impl Into<bool>, ) -> i32 { ... } fn add_symbol_to_map( self, symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>, s: impl Into<SymbolRef>, ) { ... } fn undump( self, stream: impl Into<Stream>, source_id: impl Into<i32>, env_table: impl Into<Table>, ) -> (i32, bool) { ... } fn coroutine_create(self, closure: impl Into<Closure>) -> DynValue { ... } fn get_state(self) -> CoroutineState { ... } fn get_associated_coroutine(self) -> Coroutine_2 { ... } fn set_associated_coroutine(self, value: impl Into<Coroutine_2>) { ... } fn coroutine_resume(self, args: impl Into<Array<DynValue>>) -> DynValue { ... } fn find_meta(self) -> (Instruction, i32) { ... } fn attach_debugger(self, debugger: impl Into<IDebugger>) { ... } fn get_debugger_enabled(self) -> bool { ... } fn set_debugger_enabled(self, value: impl Into<bool>) { ... } fn listen_debugger( self, instr: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) { ... } fn reset_break_points(self, action: impl Into<DebuggerAction>) { ... } fn reset_break_points_2( self, src: impl Into<SourceCode>, lines: impl Into<HashSet_1<i32>>, ) -> HashSet_1<i32> { ... } fn refresh_debugger( self, hard: impl Into<bool>, instruction_ptr: impl Into<i32>, ) { ... } fn debugger_refresh_threads( self, context: impl Into<ScriptExecutionContext>, ) -> List_1<WatchItem> { ... } fn debugger_refresh_v_stack(self) -> List_1<WatchItem> { ... } fn debugger_refresh_watches( self, context: impl Into<ScriptExecutionContext>, watch_list: impl Into<List_1<DynamicExpression>>, ) -> List_1<WatchItem> { ... } fn debugger_refresh_locals( self, context: impl Into<ScriptExecutionContext>, ) -> List_1<WatchItem> { ... } fn debugger_refresh_watch( self, context: impl Into<ScriptExecutionContext>, dyn_expr: impl Into<DynamicExpression>, ) -> WatchItem { ... } fn debugger_get_call_stack( self, starting_ref: impl Into<SourceRef>, ) -> List_1<WatchItem> { ... } fn get_current_source_ref( self, instruction_ptr: impl Into<i32>, ) -> SourceRef { ... } fn fill_debug_data( self, ex: impl Into<InterpreterException>, ip: impl Into<i32>, ) { ... } fn get_metatable(self, value: impl Into<DynValue>) -> Table { ... } fn get_binary_metamethod( self, op1: impl Into<DynValue>, op2: impl Into<DynValue>, event_name: impl Into<Il2CppString>, ) -> DynValue { ... } fn get_metamethod( self, value: impl Into<DynValue>, metamethod: impl Into<Il2CppString>, ) -> DynValue { ... } fn get_metamethod_raw( self, value: impl Into<DynValue>, metamethod: impl Into<Il2CppString>, ) -> DynValue { ... } fn get_script(self) -> Script { ... } fn get_instruction(self, i_address: impl Into<i32>) -> Instruction { ... } fn processing_loop(self, instruction_ptr: impl Into<i32>) -> DynValue { ... } fn perform_message_decoration_before_unwind( self, message_handler: impl Into<DynValue>, decorated_message: impl Into<Il2CppString>, source_ref: impl Into<SourceRef>, ) -> Il2CppString { ... } fn assign_local( self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>, ) { ... } fn exec_store_lcl(self, i: impl Into<Instruction>) { ... } fn exec_store_upv(self, i: impl Into<Instruction>) { ... } fn exec_swap(self, i: impl Into<Instruction>) { ... } fn get_store_value(self, i: impl Into<Instruction>) -> DynValue { ... } fn exec_closure(self, i: impl Into<Instruction>) { ... } fn get_upvalue_symbol(self, s: impl Into<SymbolRef>) -> DynValue { ... } fn exec_mk_tuple(self, i: impl Into<Instruction>) { ... } fn exec_to_num(self, i: impl Into<Instruction>) { ... } fn exec_iter_upd(self, i: impl Into<Instruction>) { ... } fn exec_exp_tuple(self, i: impl Into<Instruction>) { ... } fn exec_iter_prep(self, i: impl Into<Instruction>) { ... } fn exec_j_for( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_incr(self, i: impl Into<Instruction>) { ... } fn exec_c_not(self, i: impl Into<Instruction>) { ... } fn exec_not(self, i: impl Into<Instruction>) { ... } fn exec_begin_fn(self, i: impl Into<Instruction>) { ... } fn pop_to_base_pointer(self) -> CallStackItem { ... } fn pop_exec_stack_and_check_v_stack( self, vstackguard: impl Into<i32>, ) -> i32 { ... } fn create_args_list_for_function_call( self, numargs: impl Into<i32>, offs_from_top: impl Into<i32>, ) -> IList_1_Interface<DynValue> { ... } fn exec_args(self, i: impl Into<Instruction>) { ... } fn internal_exec_call( self, args_count: impl Into<i32>, instruction_ptr: impl Into<i32>, handler: impl Into<CallbackFunction>, continuation: impl Into<CallbackFunction>, this_call: impl Into<bool>, debug_text: impl Into<Il2CppString>, unwind_handler: impl Into<DynValue>, ) -> i32 { ... } fn perform_tco( self, instruction_ptr: impl Into<i32>, args_count: impl Into<i32>, ) -> i32 { ... } fn exec_ret(self, i: impl Into<Instruction>) -> i32 { ... } fn internal_check_for_tail_requests( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn jump_bool( self, i: impl Into<Instruction>, expected_value_for_jump: impl Into<bool>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_short_circuiting_operator( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_add( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_sub( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_mul( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_mod( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_div( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_power( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_neg( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_eq( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_less( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_less_eq( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_len( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_concat( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_tbl_init_i(self, i: impl Into<Instruction>) { ... } fn exec_tbl_init_n(self, i: impl Into<Instruction>) { ... } fn exec_index_set( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn exec_index( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn clear_block_data(self, i: impl Into<Instruction>) { ... } fn get_generic_symbol(self, symref: impl Into<SymbolRef>) -> DynValue { ... } fn get_global_symbol( self, dyn_value: impl Into<DynValue>, name: impl Into<Il2CppString>, ) -> DynValue { ... } fn set_global_symbol( self, dyn_value: impl Into<DynValue>, name: impl Into<Il2CppString>, value: impl Into<DynValue>, ) { ... } fn assign_generic_symbol( self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>, ) { ... } fn get_top_non_clr_function(self) -> CallStackItem { ... } fn find_symbol_by_name(self, name: impl Into<Il2CppString>) -> SymbolRef { ... } fn internal_adjust_tuple( self, values: impl Into<IList_1_Interface<DynValue>>, ) -> Array<DynValue> { ... } fn internal_invoke_unary_meta_method( self, op1: impl Into<DynValue>, event_name: impl Into<Il2CppString>, instruction_ptr: impl Into<i32>, ) -> i32 { ... } fn internal_invoke_binary_meta_method( self, l: impl Into<DynValue>, r: impl Into<DynValue>, event_name: impl Into<Il2CppString>, instruction_ptr: impl Into<i32>, extra_push: impl Into<DynValue>, ) -> i32 { ... } fn stack_top_to_array( self, items: impl Into<i32>, pop: impl Into<bool>, ) -> Array<DynValue> { ... } fn stack_top_to_array_reverse( self, items: impl Into<i32>, pop: impl Into<bool>, ) -> Array<DynValue> { ... }
}

Provided Methods§

Source

fn ctor( self, script: impl Into<Script>, global_context: impl Into<Table>, byte_code: impl Into<ByteCode>, )

.ctor(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::table::Table, crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode) overload

Source

fn ctor_2(self, parent_processor: impl Into<Processor>)

.ctor(crate::moon_sharp::interpreter::execution::vm::processor::Processor) overload

Source

fn call( self, function: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> DynValue

Call(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload

Source

fn push_clr_to_script_stack_frame( self, flags: impl Into<CallStackItemFlags>, function: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> i32

PushClrToScriptStackFrame(crate::moon_sharp::interpreter::execution::vm::callstackitemflags::CallStackItemFlags, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload

Source

fn leave_processor(self)

LeaveProcessor() overload

Source

fn get_thread_id(self) -> i32

GetThreadId() overload

Source

fn enter_processor(self)

EnterProcessor() overload

Source

fn get_coroutine_suspended_location(self) -> SourceRef

GetCoroutineSuspendedLocation() overload

Source

fn dump( self, stream: impl Into<Stream>, base_address: impl Into<i32>, has_upvalues: impl Into<bool>, ) -> i32

Dump(crate::system::io::stream::Stream, i32, bool) overload

Source

fn add_symbol_to_map( self, symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>, s: impl Into<SymbolRef>, )

AddSymbolToMap(crate::system::collections::generic::dictionary_2::Dictionary_2<crate::moon_sharp::interpreter::symbolref::SymbolRef,i32>, crate::moon_sharp::interpreter::symbolref::SymbolRef) overload

Source

fn undump( self, stream: impl Into<Stream>, source_id: impl Into<i32>, env_table: impl Into<Table>, ) -> (i32, bool)

Undump(crate::system::io::stream::Stream, i32, crate::moon_sharp::interpreter::table::Table, *mutbool) overload

Source

fn coroutine_create(self, closure: impl Into<Closure>) -> DynValue

Coroutine_Create(crate::moon_sharp::interpreter::closure::Closure) overload

Source

fn get_state(self) -> CoroutineState

get_State() overload

Source

fn get_associated_coroutine(self) -> Coroutine_2

get_AssociatedCoroutine() overload

Source

fn set_associated_coroutine(self, value: impl Into<Coroutine_2>)

set_AssociatedCoroutine(crate::moon_sharp::interpreter::coroutine_2::Coroutine_2) overload

Source

fn coroutine_resume(self, args: impl Into<Array<DynValue>>) -> DynValue

Coroutine_Resume(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload

Source

fn find_meta(self) -> (Instruction, i32)

FindMeta(*muti32) overload

Source

fn attach_debugger(self, debugger: impl Into<IDebugger>)

AttachDebugger(crate::moon_sharp::interpreter::debugging::idebugger::IDebugger) overload

Source

fn get_debugger_enabled(self) -> bool

get_DebuggerEnabled() overload

Source

fn set_debugger_enabled(self, value: impl Into<bool>)

set_DebuggerEnabled(bool) overload

Source

fn listen_debugger( self, instr: impl Into<Instruction>, instruction_ptr: impl Into<i32>, )

ListenDebugger(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn reset_break_points(self, action: impl Into<DebuggerAction>)

ResetBreakPoints(crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction) overload

Source

fn reset_break_points_2( self, src: impl Into<SourceCode>, lines: impl Into<HashSet_1<i32>>, ) -> HashSet_1<i32>

ResetBreakPoints(crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode, crate::system::collections::generic::hashset_1::HashSet_1<i32>) overload

Source

fn refresh_debugger( self, hard: impl Into<bool>, instruction_ptr: impl Into<i32>, )

RefreshDebugger(bool, i32) overload

Source

fn debugger_refresh_threads( self, context: impl Into<ScriptExecutionContext>, ) -> List_1<WatchItem>

Debugger_RefreshThreads(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload

Source

fn debugger_refresh_v_stack(self) -> List_1<WatchItem>

Debugger_RefreshVStack() overload

Source

fn debugger_refresh_watches( self, context: impl Into<ScriptExecutionContext>, watch_list: impl Into<List_1<DynamicExpression>>, ) -> List_1<WatchItem>

Debugger_RefreshWatches(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression>) overload

Source

fn debugger_refresh_locals( self, context: impl Into<ScriptExecutionContext>, ) -> List_1<WatchItem>

Debugger_RefreshLocals(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload

Source

fn debugger_refresh_watch( self, context: impl Into<ScriptExecutionContext>, dyn_expr: impl Into<DynamicExpression>, ) -> WatchItem

Debugger_RefreshWatch(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression) overload

Source

fn debugger_get_call_stack( self, starting_ref: impl Into<SourceRef>, ) -> List_1<WatchItem>

Debugger_GetCallStack(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload

Source

fn get_current_source_ref(self, instruction_ptr: impl Into<i32>) -> SourceRef

GetCurrentSourceRef(i32) overload

Source

fn fill_debug_data( self, ex: impl Into<InterpreterException>, ip: impl Into<i32>, )

FillDebugData(crate::moon_sharp::interpreter::interpreterexception::InterpreterException, i32) overload

Source

fn get_metatable(self, value: impl Into<DynValue>) -> Table

GetMetatable(crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn get_binary_metamethod( self, op1: impl Into<DynValue>, op2: impl Into<DynValue>, event_name: impl Into<Il2CppString>, ) -> DynValue

GetBinaryMetamethod(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload

Source

fn get_metamethod( self, value: impl Into<DynValue>, metamethod: impl Into<Il2CppString>, ) -> DynValue

GetMetamethod(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload

Source

fn get_metamethod_raw( self, value: impl Into<DynValue>, metamethod: impl Into<Il2CppString>, ) -> DynValue

GetMetamethodRaw(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload

Source

fn get_script(self) -> Script

GetScript() overload

Source

fn get_instruction(self, i_address: impl Into<i32>) -> Instruction

GetInstruction(i32) overload

Source

fn processing_loop(self, instruction_ptr: impl Into<i32>) -> DynValue

Processing_Loop(i32) overload

Source

fn perform_message_decoration_before_unwind( self, message_handler: impl Into<DynValue>, decorated_message: impl Into<Il2CppString>, source_ref: impl Into<SourceRef>, ) -> Il2CppString

PerformMessageDecorationBeforeUnwind(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload

Source

fn assign_local(self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>)

AssignLocal(crate::moon_sharp::interpreter::symbolref::SymbolRef, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn exec_store_lcl(self, i: impl Into<Instruction>)

ExecStoreLcl(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_store_upv(self, i: impl Into<Instruction>)

ExecStoreUpv(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_swap(self, i: impl Into<Instruction>)

ExecSwap(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn get_store_value(self, i: impl Into<Instruction>) -> DynValue

GetStoreValue(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_closure(self, i: impl Into<Instruction>)

ExecClosure(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn get_upvalue_symbol(self, s: impl Into<SymbolRef>) -> DynValue

GetUpvalueSymbol(crate::moon_sharp::interpreter::symbolref::SymbolRef) overload

Source

fn exec_mk_tuple(self, i: impl Into<Instruction>)

ExecMkTuple(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_to_num(self, i: impl Into<Instruction>)

ExecToNum(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_iter_upd(self, i: impl Into<Instruction>)

ExecIterUpd(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_exp_tuple(self, i: impl Into<Instruction>)

ExecExpTuple(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_iter_prep(self, i: impl Into<Instruction>)

ExecIterPrep(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_j_for( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecJFor(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_incr(self, i: impl Into<Instruction>)

ExecIncr(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_c_not(self, i: impl Into<Instruction>)

ExecCNot(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_not(self, i: impl Into<Instruction>)

ExecNot(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_begin_fn(self, i: impl Into<Instruction>)

ExecBeginFn(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn pop_to_base_pointer(self) -> CallStackItem

PopToBasePointer() overload

Source

fn pop_exec_stack_and_check_v_stack(self, vstackguard: impl Into<i32>) -> i32

PopExecStackAndCheckVStack(i32) overload

Source

fn create_args_list_for_function_call( self, numargs: impl Into<i32>, offs_from_top: impl Into<i32>, ) -> IList_1_Interface<DynValue>

CreateArgsListForFunctionCall(i32, i32) overload

Source

fn exec_args(self, i: impl Into<Instruction>)

ExecArgs(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn internal_exec_call( self, args_count: impl Into<i32>, instruction_ptr: impl Into<i32>, handler: impl Into<CallbackFunction>, continuation: impl Into<CallbackFunction>, this_call: impl Into<bool>, debug_text: impl Into<Il2CppString>, unwind_handler: impl Into<DynValue>, ) -> i32

Internal_ExecCall(i32, i32, crate::moon_sharp::interpreter::callbackfunction::CallbackFunction, crate::moon_sharp::interpreter::callbackfunction::CallbackFunction, bool, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn perform_tco( self, instruction_ptr: impl Into<i32>, args_count: impl Into<i32>, ) -> i32

PerformTCO(i32, i32) overload

Source

fn exec_ret(self, i: impl Into<Instruction>) -> i32

ExecRet(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn internal_check_for_tail_requests( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

Internal_CheckForTailRequests(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn jump_bool( self, i: impl Into<Instruction>, expected_value_for_jump: impl Into<bool>, instruction_ptr: impl Into<i32>, ) -> i32

JumpBool(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, bool, i32) overload

Source

fn exec_short_circuiting_operator( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecShortCircuitingOperator(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_add( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecAdd(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_sub( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecSub(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_mul( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecMul(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_mod( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecMod(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_div( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecDiv(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_power( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecPower(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_neg( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecNeg(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_eq( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecEq(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_less( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecLess(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_less_eq( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecLessEq(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_len( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecLen(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_concat( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecConcat(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_tbl_init_i(self, i: impl Into<Instruction>)

ExecTblInitI(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_tbl_init_n(self, i: impl Into<Instruction>)

ExecTblInitN(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn exec_index_set( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecIndexSet(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn exec_index( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32

ExecIndex(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload

Source

fn clear_block_data(self, i: impl Into<Instruction>)

ClearBlockData(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload

Source

fn get_generic_symbol(self, symref: impl Into<SymbolRef>) -> DynValue

GetGenericSymbol(crate::moon_sharp::interpreter::symbolref::SymbolRef) overload

Source

fn get_global_symbol( self, dyn_value: impl Into<DynValue>, name: impl Into<Il2CppString>, ) -> DynValue

GetGlobalSymbol(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload

Source

fn set_global_symbol( self, dyn_value: impl Into<DynValue>, name: impl Into<Il2CppString>, value: impl Into<DynValue>, )

SetGlobalSymbol(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn assign_generic_symbol( self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>, )

AssignGenericSymbol(crate::moon_sharp::interpreter::symbolref::SymbolRef, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn get_top_non_clr_function(self) -> CallStackItem

GetTopNonClrFunction() overload

Source

fn find_symbol_by_name(self, name: impl Into<Il2CppString>) -> SymbolRef

FindSymbolByName(::unity::Il2CppString) overload

Source

fn internal_adjust_tuple( self, values: impl Into<IList_1_Interface<DynValue>>, ) -> Array<DynValue>

Internal_AdjustTuple(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload

Source

fn internal_invoke_unary_meta_method( self, op1: impl Into<DynValue>, event_name: impl Into<Il2CppString>, instruction_ptr: impl Into<i32>, ) -> i32

Internal_InvokeUnaryMetaMethod(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, i32) overload

Source

fn internal_invoke_binary_meta_method( self, l: impl Into<DynValue>, r: impl Into<DynValue>, event_name: impl Into<Il2CppString>, instruction_ptr: impl Into<i32>, extra_push: impl Into<DynValue>, ) -> i32

Internal_InvokeBinaryMetaMethod(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, i32, crate::moon_sharp::interpreter::dynvalue::DynValue) overload

Source

fn stack_top_to_array( self, items: impl Into<i32>, pop: impl Into<bool>, ) -> Array<DynValue>

StackTopToArray(i32, bool) overload

Source

fn stack_top_to_array_reverse( self, items: impl Into<i32>, pop: impl Into<bool>, ) -> Array<DynValue>

StackTopToArrayReverse(i32, 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§

Source§

impl<__T: IProcessor> IProcessorMethods for __T

Available on crate feature moon_sharp-interpreter-execution-vm-processor only.