forked from focus-creative-games/il2cpp_plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGenericMethod.h
More file actions
31 lines (25 loc) · 866 Bytes
/
GenericMethod.h
File metadata and controls
31 lines (25 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once
#include <string>
struct MethodInfo;
struct Il2CppGenericMethod;
struct Il2CppGenericContext;
namespace il2cpp
{
namespace metadata
{
class GenericMethod
{
public:
// exported
public:
//internal
static const MethodInfo* GetGenericVirtualMethod(const MethodInfo* vtableSlotMethod, const MethodInfo* genericVirtualMethod);
static const MethodInfo* GetMethod(const Il2CppGenericMethod* gmethod, bool copyMethodPtr = false);
static const Il2CppGenericContext* GetContext(const Il2CppGenericMethod* gmethod);
static std::string GetFullName(const Il2CppGenericMethod* gmethod);
static void ClearStatics();
private:
static const MethodInfo* CreateMethodLocked(const Il2CppGenericMethod* gmethod, bool copyMethodPtr);
};
} /* namespace vm */
} /* namespace il2cpp */