少年修仙传客户端基础资源
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
#include "il2cpp-config.h"
#include "il2cpp-class-internals.h"
#include "Il2CppGenericClassCompare.h"
#include "Il2CppGenericInstCompare.h"
 
namespace il2cpp
{
namespace metadata
{
    bool Il2CppGenericClassCompare::operator()(const Il2CppGenericClass* gc1, const Il2CppGenericClass* gc2) const
    {
        return Compare(gc1, gc2);
    }
 
    bool Il2CppGenericClassCompare::Compare(const Il2CppGenericClass* gc1, const Il2CppGenericClass* gc2)
    {
        if (gc1->type->data.typeHandle != gc2->type->data.typeHandle)
            return false;
 
        return Il2CppGenericInstCompare::Compare(gc1->context.class_inst, gc2->context.class_inst);
    }
} /* namespace vm */
} /* namespace il2cpp */