Class InteropSupport
Inheritance
InteropSupport
Assembly: RedLoader.dll
Syntax
public static class InteropSupport
Methods
CopyMethodInfoStruct(IntPtr)
Declaration
public static IntPtr CopyMethodInfoStruct(IntPtr ptr)
Parameters
Type |
Name |
Description |
IntPtr |
ptr |
|
Returns
GetClassPointerForType(Type)
Declaration
public static IntPtr GetClassPointerForType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
GetIl2CppMethodCallerCount(MethodBase)
Declaration
public static int? GetIl2CppMethodCallerCount(MethodBase method)
Parameters
Returns
Il2CppObjectPtrToIl2CppObject<T>(IntPtr)
Declaration
public static T Il2CppObjectPtrToIl2CppObject<T>(IntPtr ptr)
Parameters
Type |
Name |
Description |
IntPtr |
ptr |
|
Returns
Type Parameters
IsGeneratedAssemblyType(Type)
Declaration
public static bool IsGeneratedAssemblyType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
IsInheritedFromIl2CppObjectBase(Type)
Declaration
public static bool IsInheritedFromIl2CppObjectBase(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
IsInjectedType(Type)
Declaration
public static bool IsInjectedType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
MethodBaseToIl2CppFieldInfo(MethodBase)
Declaration
public static FieldInfo MethodBaseToIl2CppFieldInfo(MethodBase method)
Parameters
Returns
MethodBaseToIl2CppMethodInfoPointer(MethodBase)
Declaration
public static IntPtr MethodBaseToIl2CppMethodInfoPointer(MethodBase method)
Parameters
Returns
RegisterTypeInIl2CppDomain(Type)
Declaration
public static void RegisterTypeInIl2CppDomain(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
RegisterTypeInIl2CppDomain(Type, bool)
Declaration
public static void RegisterTypeInIl2CppDomain(Type type, bool logSuccess)
Parameters
Type |
Name |
Description |
Type |
type |
|
bool |
logSuccess |
|