Skip to main content

Module api

Module api 

Source
Expand description

IL2CPP Functions and Type Definitions

Structs§

Il2CppFunctions
Structure holding function pointers to IL2CPP API functions

Constants§

FIELD_ATTRIBUTE_ASSEMBLY
Assembly field
FIELD_ATTRIBUTE_FAMILY
Family field
FIELD_ATTRIBUTE_FAM_AND_ASSEM
Family and Assembly field
FIELD_ATTRIBUTE_FAM_OR_ASSEM
Family or Assembly field
FIELD_ATTRIBUTE_FIELD_ACCESS_MASK
FIELD_ATTRIBUTE_INIT_ONLY
InitOnly (readonly) field
FIELD_ATTRIBUTE_LITERAL
Literal (const) field
FIELD_ATTRIBUTE_NOT_SERIALIZED
Not serialized field
FIELD_ATTRIBUTE_PINVOKE_IMPL
PInvoke implementation
FIELD_ATTRIBUTE_PRIVATE
Private field
FIELD_ATTRIBUTE_PUBLIC
Public field
FIELD_ATTRIBUTE_SPECIAL_NAME
Special name field
FIELD_ATTRIBUTE_STATIC
Static field
METHOD_ATTRIBUTE_ABSTRACT
Abstract method — no implementation
METHOD_ATTRIBUTE_ASSEM
Assembly method
METHOD_ATTRIBUTE_FAMILY
Family method
METHOD_ATTRIBUTE_FAM_AND_ASSEM
Family and Assembly method
METHOD_ATTRIBUTE_FAM_OR_ASSEM
Family or Assembly method
METHOD_ATTRIBUTE_FINAL
Final (sealed) method — cannot be overridden
METHOD_ATTRIBUTE_MEMBER_ACCESS_MASK
Method access mask
METHOD_ATTRIBUTE_NEW_SLOT
New slot — method introduces a new vtable slot (not an override)
METHOD_ATTRIBUTE_PRIVATE
Private method
METHOD_ATTRIBUTE_PUBLIC
Public method
METHOD_ATTRIBUTE_STATIC
Static method
METHOD_ATTRIBUTE_VIRTUAL
Virtual method
TYPE_ATTRIBUTE_ABSTRACT
Abstract type
TYPE_ATTRIBUTE_PUBLIC
Public type
TYPE_ATTRIBUTE_SEALED
Sealed type

Functions§

add_internal_call
alloc
array_class_get
array_element_size
array_get_byte_length
array_length
array_new
array_new_full
array_new_specific
assembly_get_image
bounded_array_class_get
capture_memory_snapshot
class_array_element_size
class_enum_basetype
class_from_il2cpp_type
class_from_name
class_from_system_type
class_from_type
class_get_assemblyname
class_get_bitmap
class_get_bitmap_size
class_get_declaring_type
class_get_element_class
class_get_events
class_get_field_from_name
class_get_fields
class_get_flags
class_get_image
class_get_interfaces
class_get_method_from_name
class_get_methods
class_get_name
class_get_namespace
class_get_nested_types
class_get_parent
class_get_properties
class_get_property_from_name
class_get_rank
class_get_static_field_data
class_get_type
class_get_type_token
class_has_attribute
class_has_parent
class_has_references
class_instance_size
class_is_abstract
class_is_assignable_from
class_is_blittable
class_is_enum
class_is_generic
class_is_inflated
class_is_interface
class_is_subclass_of
class_is_valuetype
class_num_fields
class_value_size
current_thread_get_frame_at
current_thread_get_stack_depth
current_thread_get_top_frame
current_thread_walk_frame_stack
custom_attrs_construct
custom_attrs_free
custom_attrs_from_class
custom_attrs_from_method
custom_attrs_get_attr
custom_attrs_has_attr
debugger_set_agent_options
domain_assembly_open
domain_get
domain_get_assemblies
exception_from_name_msg
field_get_flags
field_get_name
field_get_offset
field_get_parent
field_get_type
field_get_value_object
field_has_attribute
field_static_get_value
field_static_set_value
format_exception
format_stack_trace
free
free_captured_memory_snapshot
gc_collect
gc_get_heap_size
gc_get_used_size
gchandle_free
gchandle_get_target
gchandle_new
gchandle_new_weakref
get_corlib
get_exception_argument_null
image_get_assembly
image_get_class
image_get_class_count
image_get_entry_point
image_get_filename
image_get_name
init
init_utf16
is_debugger_attached
is_vm_thread
load
Initializes the IL2CPP functions using the provided loader
method_get_class
method_get_declaring_type
method_get_flags
method_get_from_reflection
method_get_name
method_get_object
method_get_param
method_get_param_count
method_get_param_name
method_get_return_type
method_get_token
method_has_attribute
method_is_generic
method_is_inflated
method_is_instance
monitor_enter
monitor_exit
monitor_pulse
monitor_pulse_all
monitor_try_enter
monitor_try_wait
monitor_wait
object_get_class
object_get_size
object_get_virtual_method
object_new
object_unbox
profiler_install
profiler_install_allocation
profiler_install_enter_leave
profiler_install_gc
profiler_set_events
property_get_flags
property_get_get_method
property_get_name
property_get_parent
property_get_set_method
raise_exception
register_log_callback
resolve_icall
runtime_class_init
runtime_invoke
runtime_invoke_convert_args
runtime_object_init
runtime_object_init_exception
runtime_unhandled_exception_policy_set
set_commandline_arguments
set_commandline_arguments_utf16
set_config
set_config_dir
set_config_utf16
set_data_dir
set_find_plugin_callback
set_memory_callbacks
set_temp_dir
shutdown
stats_dump_to_file
stats_get_value
string_chars
string_intern
string_is_interned
string_length
string_new
string_new_len
string_new_utf16
string_new_wrapper
thread_attach
thread_current
thread_detach
thread_get_all_attached_threads
thread_get_frame_at
thread_get_stack_depth
thread_get_top_frame
thread_walk_frame_stack
type_equals
type_get_assembly_qualified_name
type_get_attrs
type_get_class_or_element_class
type_get_name
type_get_object
type_get_type
type_is_byref
unhandled_exception
unity_install_unitytls_interface
value_box

Type Aliases§

Il2CppAddInternalCall
Il2CppAlloc
Il2CppArrayClassGet
Il2CppArrayElementSize
Il2CppArrayGetByteLength
Il2CppArrayLength
Il2CppArrayNew
Il2CppArrayNewFull
Il2CppArrayNewSpecific
Il2CppAssemblyGetImage
Il2CppBoundedArrayClassGet
Il2CppCaptureMemorySnapshot
Il2CppClassArrayElementSize
Il2CppClassEnumBasetype
Il2CppClassFromIl2CppType
Il2CppClassFromName
Il2CppClassFromSystemType
Il2CppClassFromType
Il2CppClassGetAssemblyname
Il2CppClassGetBitmap
Il2CppClassGetBitmapSize
Il2CppClassGetDeclaringType
Il2CppClassGetElementClass
Il2CppClassGetEvents
Il2CppClassGetFieldFromName
Il2CppClassGetFields
Il2CppClassGetFlags
Il2CppClassGetImage
Il2CppClassGetInterfaces
Il2CppClassGetMethodFromName
Il2CppClassGetMethods
Il2CppClassGetName
Il2CppClassGetNamespace
Il2CppClassGetNestedTypes
Il2CppClassGetParent
Il2CppClassGetProperties
Il2CppClassGetPropertyFromName
Il2CppClassGetRank
Il2CppClassGetStaticFieldData
Il2CppClassGetType
Il2CppClassGetTypeToken
Il2CppClassHasAttribute
Il2CppClassHasParent
Il2CppClassHasReferences
Il2CppClassInstanceSize
Il2CppClassIsAbstract
Il2CppClassIsAssignableFrom
Il2CppClassIsBlittable
Il2CppClassIsEnum
Il2CppClassIsGeneric
Il2CppClassIsInflated
Il2CppClassIsInterface
Il2CppClassIsSubclassOf
Il2CppClassIsValueType
Il2CppClassNumFields
Il2CppClassValueSize
Il2CppCurrentThreadGetFrameAt
Il2CppCurrentThreadGetStackDepth
Il2CppCurrentThreadGetTopFrame
Il2CppCurrentThreadWalkFrameStack
Il2CppCustomAttrsConstruct
Il2CppCustomAttrsFree
Il2CppCustomAttrsFromClass
Il2CppCustomAttrsFromMethod
Il2CppCustomAttrsGetAttr
Il2CppCustomAttrsHasAttr
Il2CppDebuggerSetAgentOptions
Il2CppDomainAssemblyOpen
Il2CppDomainGet
Il2CppDomainGetAssemblies
Il2CppExceptionFromNameMsg
Il2CppFieldGetFlags
Il2CppFieldGetName
Il2CppFieldGetOffset
Il2CppFieldGetParent
Il2CppFieldGetType
Il2CppFieldGetValueObject
Il2CppFieldHasAttribute
Il2CppFieldStaticGetValue
Il2CppFieldStaticSetValue
Il2CppFormatException
Il2CppFormatStackTrace
Il2CppFree
Il2CppFreeCapturedMemorySnapshot
Il2CppGcCollect
Il2CppGcGetHeapSize
Il2CppGcGetUsedSize
Il2CppGchandleFree
Il2CppGchandleGetTarget
Il2CppGchandleNew
Il2CppGchandleNewWeakref
Il2CppGetCorlib
Il2CppGetExceptionArgumentNull
Il2CppImageGetAssembly
Il2CppImageGetClass
Il2CppImageGetClassCount
Il2CppImageGetEntryPoint
Il2CppImageGetFilename
Il2CppImageGetName
Il2CppInit
Il2CppInitUtf16
Il2CppIsDebuggerAttached
Il2CppIsVmThread
Il2CppMethodGetClass
Il2CppMethodGetDeclaringType
Il2CppMethodGetFlags
Il2CppMethodGetFromReflection
Il2CppMethodGetName
Il2CppMethodGetObject
Il2CppMethodGetParam
Il2CppMethodGetParamCount
Il2CppMethodGetParamName
Il2CppMethodGetReturnType
Il2CppMethodGetToken
Il2CppMethodHasAttribute
Il2CppMethodIsGeneric
Il2CppMethodIsInflated
Il2CppMethodIsInstance
Il2CppMonitorEnter
Il2CppMonitorExit
Il2CppMonitorPulse
Il2CppMonitorPulseAll
Il2CppMonitorTryEnter
Il2CppMonitorTryWait
Il2CppMonitorWait
Il2CppObjectGetClass
Il2CppObjectGetSize
Il2CppObjectGetVirtualMethod
Il2CppObjectNew
Il2CppObjectUnbox
Il2CppProfilerInstall
Il2CppProfilerInstallAllocation
Il2CppProfilerInstallEnterLeave
Il2CppProfilerInstallGc
Il2CppProfilerSetEvents
Il2CppPropertyGetFlags
Il2CppPropertyGetGetMethod
Il2CppPropertyGetName
Il2CppPropertyGetParent
Il2CppPropertyGetSetMethod
Il2CppRaiseException
Il2CppRegisterLogCallback
Il2CppResolveICall
Il2CppRuntimeClassInit
Il2CppRuntimeInvoke
Il2CppRuntimeInvokeConvertArgs
Il2CppRuntimeObjectInit
Il2CppRuntimeObjectInitException
Il2CppRuntimeUnhandledExceptionPolicySet
Il2CppSetCommandlineArguments
Il2CppSetCommandlineArgumentsUtf16
Il2CppSetConfig
Il2CppSetConfigDir
Il2CppSetConfigUtf16
Il2CppSetDataDir
Il2CppSetFindPluginCallback
Il2CppSetMemoryCallbacks
Il2CppSetTempDir
Il2CppShutdown
Il2CppStatsDumpToFile
Il2CppStatsGetValue
Il2CppStringChars
Il2CppStringIntern
Il2CppStringIsInterned
Il2CppStringLength
Il2CppStringNew
Il2CppStringNewLen
Il2CppStringNewUtf16
Il2CppStringNewWrapper
Il2CppThreadAttach
Il2CppThreadCurrent
Il2CppThreadDetach
Il2CppThreadGetAllAttachedThreads
Il2CppThreadGetFrameAt
Il2CppThreadGetStackDepth
Il2CppThreadGetTopFrame
Il2CppThreadWalkFrameStack
Il2CppTypeEquals
Il2CppTypeGetAssemblyQualifiedName
Il2CppTypeGetAttrs
Il2CppTypeGetClassOrElementClass
Il2CppTypeGetName
Il2CppTypeGetObject
Il2CppTypeGetType
Il2CppTypeIsByRef
Il2CppUnhandledException
Il2CppUnityInstallUnitytlsInterface
Il2CppValueBox