少年修仙传客户端基础资源
hch
2024-04-01 d01413b00ef631ac20347716b23818b0b811f65f
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#pragma once
#include "il2cpp-metadata.h"
 
typedef struct MonoMethodInfoMetadata
{
    int64_t hash;
    int32_t invoker_index;
    int32_t method_pointer_index;
} MonoMethodInfoMetadata;
 
typedef struct RuntimeGenericContextInfo
{
    uint64_t hash;
    int32_t rgctxStart;
    int32_t rgctxCount;
} RuntimeGenericContextInfo;
 
typedef struct MonoMetadataToken
{
    AssemblyIndex assemblyIndex;
    int32_t token;
} MonoMetadataToken;
 
#pragma pack(push, p1,4)
struct MonoMethodMetadata
{
    MonoMetadataToken metadataToken;
    uint64_t hash;
};
#pragma pack(pop, p1)
 
#pragma pack(push, p1,4)
struct MonoClassMetadata
{
    MonoMetadataToken metadataToken;
    int32_t genericParametersOffset;
    int32_t genericParametersCount;
    int32_t isPointer;
    int32_t rank; //if rank == 0, the token is for a non-array type, otherwise the rank is valid and the token represents the element type of the array
    int32_t elementTypeIndex;
};
#pragma pack(pop, p1)
 
struct MonoFieldMetadata
{
    TypeIndex parentTypeIndex;
    int32_t token;
};
 
typedef struct MonoGenericInstMetadata
{
    uint32_t type_argc;
    const TypeIndex *type_argv_indices;
} MonoGenericInstMetadata;