#include "il2cpp-config.h" #ifndef _MSC_VER # include #else # include #endif #include #include #include #include #include #include #include #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "il2cpp-object-internals.h" // UnityEngine.TerrainData struct TerrainData_t657004131; // System.Char[] struct CharU5BU5D_t3528271667; // System.Void struct Void_t1185182177; extern RuntimeClass* TerrainData_t657004131_il2cpp_TypeInfo_var; extern const uint32_t TerrainData__cctor_m2936165929_MetadataUsageId; #ifndef U3CMODULEU3E_T692745552_H #define U3CMODULEU3E_T692745552_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // struct U3CModuleU3E_t692745552 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // U3CMODULEU3E_T692745552_H #ifndef RUNTIMEOBJECT_H #define RUNTIMEOBJECT_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Object #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RUNTIMEOBJECT_H struct Il2CppArrayBounds; #ifndef RUNTIMEARRAY_H #define RUNTIMEARRAY_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Array #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // RUNTIMEARRAY_H #ifndef VALUETYPE_T3640485471_H #define VALUETYPE_T3640485471_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.ValueType struct ValueType_t3640485471 : public RuntimeObject { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of System.ValueType struct ValueType_t3640485471_marshaled_pinvoke { }; // Native definition for COM marshalling of System.ValueType struct ValueType_t3640485471_marshaled_com { }; #endif // VALUETYPE_T3640485471_H #ifndef ENUM_T4135868527_H #define ENUM_T4135868527_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Enum struct Enum_t4135868527 : public ValueType_t3640485471 { public: public: }; struct Enum_t4135868527_StaticFields { public: // System.Char[] System.Enum::split_char CharU5BU5D_t3528271667* ___split_char_0; public: inline static int32_t get_offset_of_split_char_0() { return static_cast(offsetof(Enum_t4135868527_StaticFields, ___split_char_0)); } inline CharU5BU5D_t3528271667* get_split_char_0() const { return ___split_char_0; } inline CharU5BU5D_t3528271667** get_address_of_split_char_0() { return &___split_char_0; } inline void set_split_char_0(CharU5BU5D_t3528271667* value) { ___split_char_0 = value; Il2CppCodeGenWriteBarrier((&___split_char_0), value); } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of System.Enum struct Enum_t4135868527_marshaled_pinvoke { }; // Native definition for COM marshalling of System.Enum struct Enum_t4135868527_marshaled_com { }; #endif // ENUM_T4135868527_H #ifndef VOID_T1185182177_H #define VOID_T1185182177_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Void struct Void_t1185182177 { public: public: }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // VOID_T1185182177_H #ifndef SINGLE_T1397266774_H #define SINGLE_T1397266774_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Single struct Single_t1397266774 { public: // System.Single System.Single::m_value float ___m_value_7; public: inline static int32_t get_offset_of_m_value_7() { return static_cast(offsetof(Single_t1397266774, ___m_value_7)); } inline float get_m_value_7() const { return ___m_value_7; } inline float* get_address_of_m_value_7() { return &___m_value_7; } inline void set_m_value_7(float value) { ___m_value_7 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SINGLE_T1397266774_H #ifndef INT32_T2950945753_H #define INT32_T2950945753_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Int32 struct Int32_t2950945753 { public: // System.Int32 System.Int32::m_value int32_t ___m_value_2; public: inline static int32_t get_offset_of_m_value_2() { return static_cast(offsetof(Int32_t2950945753, ___m_value_2)); } inline int32_t get_m_value_2() const { return ___m_value_2; } inline int32_t* get_address_of_m_value_2() { return &___m_value_2; } inline void set_m_value_2(int32_t value) { ___m_value_2 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INT32_T2950945753_H #ifndef INTPTR_T_H #define INTPTR_T_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.IntPtr struct IntPtr_t { public: // System.Void* System.IntPtr::m_value void* ___m_value_0; public: inline static int32_t get_offset_of_m_value_0() { return static_cast(offsetof(IntPtr_t, ___m_value_0)); } inline void* get_m_value_0() const { return ___m_value_0; } inline void** get_address_of_m_value_0() { return &___m_value_0; } inline void set_m_value_0(void* value) { ___m_value_0 = value; } }; struct IntPtr_t_StaticFields { public: // System.IntPtr System.IntPtr::Zero intptr_t ___Zero_1; public: inline static int32_t get_offset_of_Zero_1() { return static_cast(offsetof(IntPtr_t_StaticFields, ___Zero_1)); } inline intptr_t get_Zero_1() const { return ___Zero_1; } inline intptr_t* get_address_of_Zero_1() { return &___Zero_1; } inline void set_Zero_1(intptr_t value) { ___Zero_1 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // INTPTR_T_H #ifndef OBJECT_T631007953_H #define OBJECT_T631007953_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.Object struct Object_t631007953 : public RuntimeObject { public: // System.IntPtr UnityEngine.Object::m_CachedPtr intptr_t ___m_CachedPtr_0; public: inline static int32_t get_offset_of_m_CachedPtr_0() { return static_cast(offsetof(Object_t631007953, ___m_CachedPtr_0)); } inline intptr_t get_m_CachedPtr_0() const { return ___m_CachedPtr_0; } inline intptr_t* get_address_of_m_CachedPtr_0() { return &___m_CachedPtr_0; } inline void set_m_CachedPtr_0(intptr_t value) { ___m_CachedPtr_0 = value; } }; struct Object_t631007953_StaticFields { public: // System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1; public: inline static int32_t get_offset_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return static_cast(offsetof(Object_t631007953_StaticFields, ___OffsetOfInstanceIDInCPlusPlusObject_1)); } inline int32_t get_OffsetOfInstanceIDInCPlusPlusObject_1() const { return ___OffsetOfInstanceIDInCPlusPlusObject_1; } inline int32_t* get_address_of_OffsetOfInstanceIDInCPlusPlusObject_1() { return &___OffsetOfInstanceIDInCPlusPlusObject_1; } inline void set_OffsetOfInstanceIDInCPlusPlusObject_1(int32_t value) { ___OffsetOfInstanceIDInCPlusPlusObject_1 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif // Native definition for P/Invoke marshalling of UnityEngine.Object struct Object_t631007953_marshaled_pinvoke { intptr_t ___m_CachedPtr_0; }; // Native definition for COM marshalling of UnityEngine.Object struct Object_t631007953_marshaled_com { intptr_t ___m_CachedPtr_0; }; #endif // OBJECT_T631007953_H #ifndef BOUNDARYVALUETYPE_T1782311533_H #define BOUNDARYVALUETYPE_T1782311533_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.TerrainData/BoundaryValueType struct BoundaryValueType_t1782311533 { public: // System.Int32 UnityEngine.TerrainData/BoundaryValueType::value__ int32_t ___value___1; public: inline static int32_t get_offset_of_value___1() { return static_cast(offsetof(BoundaryValueType_t1782311533, ___value___1)); } inline int32_t get_value___1() const { return ___value___1; } inline int32_t* get_address_of_value___1() { return &___value___1; } inline void set_value___1(int32_t value) { ___value___1 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // BOUNDARYVALUETYPE_T1782311533_H #ifndef TERRAINDATA_T657004131_H #define TERRAINDATA_T657004131_H #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // UnityEngine.TerrainData struct TerrainData_t657004131 : public Object_t631007953 { public: public: }; struct TerrainData_t657004131_StaticFields { public: // System.Int32 UnityEngine.TerrainData::k_MaximumResolution int32_t ___k_MaximumResolution_2; // System.Int32 UnityEngine.TerrainData::k_MinimumDetailResolutionPerPatch int32_t ___k_MinimumDetailResolutionPerPatch_3; // System.Int32 UnityEngine.TerrainData::k_MaximumDetailResolutionPerPatch int32_t ___k_MaximumDetailResolutionPerPatch_4; // System.Int32 UnityEngine.TerrainData::k_MaximumDetailPatchCount int32_t ___k_MaximumDetailPatchCount_5; // System.Int32 UnityEngine.TerrainData::k_MinimumAlphamapResolution int32_t ___k_MinimumAlphamapResolution_6; // System.Int32 UnityEngine.TerrainData::k_MaximumAlphamapResolution int32_t ___k_MaximumAlphamapResolution_7; // System.Int32 UnityEngine.TerrainData::k_MinimumBaseMapResolution int32_t ___k_MinimumBaseMapResolution_8; // System.Int32 UnityEngine.TerrainData::k_MaximumBaseMapResolution int32_t ___k_MaximumBaseMapResolution_9; public: inline static int32_t get_offset_of_k_MaximumResolution_2() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumResolution_2)); } inline int32_t get_k_MaximumResolution_2() const { return ___k_MaximumResolution_2; } inline int32_t* get_address_of_k_MaximumResolution_2() { return &___k_MaximumResolution_2; } inline void set_k_MaximumResolution_2(int32_t value) { ___k_MaximumResolution_2 = value; } inline static int32_t get_offset_of_k_MinimumDetailResolutionPerPatch_3() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MinimumDetailResolutionPerPatch_3)); } inline int32_t get_k_MinimumDetailResolutionPerPatch_3() const { return ___k_MinimumDetailResolutionPerPatch_3; } inline int32_t* get_address_of_k_MinimumDetailResolutionPerPatch_3() { return &___k_MinimumDetailResolutionPerPatch_3; } inline void set_k_MinimumDetailResolutionPerPatch_3(int32_t value) { ___k_MinimumDetailResolutionPerPatch_3 = value; } inline static int32_t get_offset_of_k_MaximumDetailResolutionPerPatch_4() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumDetailResolutionPerPatch_4)); } inline int32_t get_k_MaximumDetailResolutionPerPatch_4() const { return ___k_MaximumDetailResolutionPerPatch_4; } inline int32_t* get_address_of_k_MaximumDetailResolutionPerPatch_4() { return &___k_MaximumDetailResolutionPerPatch_4; } inline void set_k_MaximumDetailResolutionPerPatch_4(int32_t value) { ___k_MaximumDetailResolutionPerPatch_4 = value; } inline static int32_t get_offset_of_k_MaximumDetailPatchCount_5() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumDetailPatchCount_5)); } inline int32_t get_k_MaximumDetailPatchCount_5() const { return ___k_MaximumDetailPatchCount_5; } inline int32_t* get_address_of_k_MaximumDetailPatchCount_5() { return &___k_MaximumDetailPatchCount_5; } inline void set_k_MaximumDetailPatchCount_5(int32_t value) { ___k_MaximumDetailPatchCount_5 = value; } inline static int32_t get_offset_of_k_MinimumAlphamapResolution_6() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MinimumAlphamapResolution_6)); } inline int32_t get_k_MinimumAlphamapResolution_6() const { return ___k_MinimumAlphamapResolution_6; } inline int32_t* get_address_of_k_MinimumAlphamapResolution_6() { return &___k_MinimumAlphamapResolution_6; } inline void set_k_MinimumAlphamapResolution_6(int32_t value) { ___k_MinimumAlphamapResolution_6 = value; } inline static int32_t get_offset_of_k_MaximumAlphamapResolution_7() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumAlphamapResolution_7)); } inline int32_t get_k_MaximumAlphamapResolution_7() const { return ___k_MaximumAlphamapResolution_7; } inline int32_t* get_address_of_k_MaximumAlphamapResolution_7() { return &___k_MaximumAlphamapResolution_7; } inline void set_k_MaximumAlphamapResolution_7(int32_t value) { ___k_MaximumAlphamapResolution_7 = value; } inline static int32_t get_offset_of_k_MinimumBaseMapResolution_8() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MinimumBaseMapResolution_8)); } inline int32_t get_k_MinimumBaseMapResolution_8() const { return ___k_MinimumBaseMapResolution_8; } inline int32_t* get_address_of_k_MinimumBaseMapResolution_8() { return &___k_MinimumBaseMapResolution_8; } inline void set_k_MinimumBaseMapResolution_8(int32_t value) { ___k_MinimumBaseMapResolution_8 = value; } inline static int32_t get_offset_of_k_MaximumBaseMapResolution_9() { return static_cast(offsetof(TerrainData_t657004131_StaticFields, ___k_MaximumBaseMapResolution_9)); } inline int32_t get_k_MaximumBaseMapResolution_9() const { return ___k_MaximumBaseMapResolution_9; } inline int32_t* get_address_of_k_MaximumBaseMapResolution_9() { return &___k_MaximumBaseMapResolution_9; } inline void set_k_MaximumBaseMapResolution_9(int32_t value) { ___k_MaximumBaseMapResolution_9 = value; } }; #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // TERRAINDATA_T657004131_H // System.Int32 UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType) extern "C" IL2CPP_METHOD_ATTR int32_t TerrainData_GetBoundaryValue_m1103633233 (RuntimeObject * __this /* static, unused */, int32_t ___type0, const RuntimeMethod* method); #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif // System.Int32 UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType) extern "C" IL2CPP_METHOD_ATTR int32_t TerrainData_GetBoundaryValue_m1103633233 (RuntimeObject * __this /* static, unused */, int32_t ___type0, const RuntimeMethod* method) { typedef int32_t (*TerrainData_GetBoundaryValue_m1103633233_ftn) (int32_t); static TerrainData_GetBoundaryValue_m1103633233_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TerrainData_GetBoundaryValue_m1103633233_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::GetBoundaryValue(UnityEngine.TerrainData/BoundaryValueType)"); int32_t retVal = _il2cpp_icall_func(___type0); return retVal; } // System.Single UnityEngine.TerrainData::GetAlphamapResolutionInternal() extern "C" IL2CPP_METHOD_ATTR float TerrainData_GetAlphamapResolutionInternal_m1173327220 (TerrainData_t657004131 * __this, const RuntimeMethod* method) { typedef float (*TerrainData_GetAlphamapResolutionInternal_m1173327220_ftn) (TerrainData_t657004131 *); static TerrainData_GetAlphamapResolutionInternal_m1173327220_ftn _il2cpp_icall_func; if (!_il2cpp_icall_func) _il2cpp_icall_func = (TerrainData_GetAlphamapResolutionInternal_m1173327220_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.TerrainData::GetAlphamapResolutionInternal()"); float retVal = _il2cpp_icall_func(__this); return retVal; } // System.Void UnityEngine.TerrainData::.cctor() extern "C" IL2CPP_METHOD_ATTR void TerrainData__cctor_m2936165929 (RuntimeObject * __this /* static, unused */, const RuntimeMethod* method) { static bool s_Il2CppMethodInitialized; if (!s_Il2CppMethodInitialized) { il2cpp_codegen_initialize_method (TerrainData__cctor_m2936165929_MetadataUsageId); s_Il2CppMethodInitialized = true; } { int32_t L_0 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 0, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumResolution_2(L_0); int32_t L_1 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 1, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MinimumDetailResolutionPerPatch_3(L_1); int32_t L_2 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 2, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumDetailResolutionPerPatch_4(L_2); int32_t L_3 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 3, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumDetailPatchCount_5(L_3); int32_t L_4 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 4, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MinimumAlphamapResolution_6(L_4); int32_t L_5 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 5, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumAlphamapResolution_7(L_5); int32_t L_6 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 6, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MinimumBaseMapResolution_8(L_6); int32_t L_7 = TerrainData_GetBoundaryValue_m1103633233(NULL /*static, unused*/, 7, /*hidden argument*/NULL); ((TerrainData_t657004131_StaticFields*)il2cpp_codegen_static_fields_for(TerrainData_t657004131_il2cpp_TypeInfo_var))->set_k_MaximumBaseMapResolution_9(L_7); return; } } #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "-Wunused-variable" #endif #ifdef __clang__ #pragma clang diagnostic pop #endif