33 lines
949 B
C
33 lines
949 B
C
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include "il2cpp-config.h"
|
||
|
struct Il2CppClass;
|
||
|
struct Il2CppGenericClass;
|
||
|
struct Il2CppGenericContext;
|
||
|
|
||
|
namespace il2cpp
|
||
|
{
|
||
|
namespace vm
|
||
|
{
|
||
|
class LIBIL2CPP_CODEGEN_API GenericClass
|
||
|
{
|
||
|
public:
|
||
|
// exported
|
||
|
|
||
|
public:
|
||
|
//internal
|
||
|
static Il2CppClass* GetClass(Il2CppGenericClass *gclass);
|
||
|
static Il2CppGenericContext* GetContext(Il2CppGenericClass *gclass);
|
||
|
static Il2CppClass* GetTypeDefinition(Il2CppGenericClass *gclass);
|
||
|
static bool IsEnum(Il2CppGenericClass *gclass);
|
||
|
static bool IsValueType(Il2CppGenericClass *gclass);
|
||
|
|
||
|
static void SetupEvents(Il2CppClass* genericInstanceType);
|
||
|
static void SetupFields(Il2CppClass* genericInstanceType);
|
||
|
static void SetupMethods(Il2CppClass* genericInstanceType);
|
||
|
static void SetupProperties(Il2CppClass* genericInstanceType);
|
||
|
};
|
||
|
} /* namespace vm */
|
||
|
} /* namespace il2cpp */
|