123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781 |
- #include "il2cpp-config.h"
- #ifndef _MSC_VER
- # include <alloca.h>
- #else
- # include <malloc.h>
- #endif
- #include <cstring>
- #include <string.h>
- #include <stdio.h>
- #include <cmath>
- #include <limits>
- #include <assert.h>
- #include <stdint.h>
- #include "il2cpp-class-internals.h"
- #include "codegen/il2cpp-codegen.h"
- #include "il2cpp-object-internals.h"
- // UnityEngine.Terrain
- struct Terrain_t3055443660;
- // 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_T692745546_H
- #define U3CMODULEU3E_T692745546_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // <Module>
- struct U3CModuleU3E_t692745546
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // U3CMODULEU3E_T692745546_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<int32_t>(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 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<int32_t>(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 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<int32_t>(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<int32_t>(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 VECTOR4_T3319028937_H
- #define VECTOR4_T3319028937_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Vector4
- struct Vector4_t3319028937
- {
- public:
- // System.Single UnityEngine.Vector4::x
- float ___x_1;
- // System.Single UnityEngine.Vector4::y
- float ___y_2;
- // System.Single UnityEngine.Vector4::z
- float ___z_3;
- // System.Single UnityEngine.Vector4::w
- float ___w_4;
- public:
- inline static int32_t get_offset_of_x_1() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___x_1)); }
- inline float get_x_1() const { return ___x_1; }
- inline float* get_address_of_x_1() { return &___x_1; }
- inline void set_x_1(float value)
- {
- ___x_1 = value;
- }
- inline static int32_t get_offset_of_y_2() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___y_2)); }
- inline float get_y_2() const { return ___y_2; }
- inline float* get_address_of_y_2() { return &___y_2; }
- inline void set_y_2(float value)
- {
- ___y_2 = value;
- }
- inline static int32_t get_offset_of_z_3() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___z_3)); }
- inline float get_z_3() const { return ___z_3; }
- inline float* get_address_of_z_3() { return &___z_3; }
- inline void set_z_3(float value)
- {
- ___z_3 = value;
- }
- inline static int32_t get_offset_of_w_4() { return static_cast<int32_t>(offsetof(Vector4_t3319028937, ___w_4)); }
- inline float get_w_4() const { return ___w_4; }
- inline float* get_address_of_w_4() { return &___w_4; }
- inline void set_w_4(float value)
- {
- ___w_4 = value;
- }
- };
- struct Vector4_t3319028937_StaticFields
- {
- public:
- // UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
- Vector4_t3319028937 ___zeroVector_5;
- // UnityEngine.Vector4 UnityEngine.Vector4::oneVector
- Vector4_t3319028937 ___oneVector_6;
- // UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
- Vector4_t3319028937 ___positiveInfinityVector_7;
- // UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
- Vector4_t3319028937 ___negativeInfinityVector_8;
- public:
- inline static int32_t get_offset_of_zeroVector_5() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___zeroVector_5)); }
- inline Vector4_t3319028937 get_zeroVector_5() const { return ___zeroVector_5; }
- inline Vector4_t3319028937 * get_address_of_zeroVector_5() { return &___zeroVector_5; }
- inline void set_zeroVector_5(Vector4_t3319028937 value)
- {
- ___zeroVector_5 = value;
- }
- inline static int32_t get_offset_of_oneVector_6() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___oneVector_6)); }
- inline Vector4_t3319028937 get_oneVector_6() const { return ___oneVector_6; }
- inline Vector4_t3319028937 * get_address_of_oneVector_6() { return &___oneVector_6; }
- inline void set_oneVector_6(Vector4_t3319028937 value)
- {
- ___oneVector_6 = value;
- }
- inline static int32_t get_offset_of_positiveInfinityVector_7() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___positiveInfinityVector_7)); }
- inline Vector4_t3319028937 get_positiveInfinityVector_7() const { return ___positiveInfinityVector_7; }
- inline Vector4_t3319028937 * get_address_of_positiveInfinityVector_7() { return &___positiveInfinityVector_7; }
- inline void set_positiveInfinityVector_7(Vector4_t3319028937 value)
- {
- ___positiveInfinityVector_7 = value;
- }
- inline static int32_t get_offset_of_negativeInfinityVector_8() { return static_cast<int32_t>(offsetof(Vector4_t3319028937_StaticFields, ___negativeInfinityVector_8)); }
- inline Vector4_t3319028937 get_negativeInfinityVector_8() const { return ___negativeInfinityVector_8; }
- inline Vector4_t3319028937 * get_address_of_negativeInfinityVector_8() { return &___negativeInfinityVector_8; }
- inline void set_negativeInfinityVector_8(Vector4_t3319028937 value)
- {
- ___negativeInfinityVector_8 = value;
- }
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // VECTOR4_T3319028937_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 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<int32_t>(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 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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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<int32_t>(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
- #ifndef COMPONENT_T1923634451_H
- #define COMPONENT_T1923634451_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Component
- struct Component_t1923634451 : public Object_t631007953
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // COMPONENT_T1923634451_H
- #ifndef BEHAVIOUR_T1437897464_H
- #define BEHAVIOUR_T1437897464_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Behaviour
- struct Behaviour_t1437897464 : public Component_t1923634451
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // BEHAVIOUR_T1437897464_H
- #ifndef TERRAIN_T3055443660_H
- #define TERRAIN_T3055443660_H
- #ifdef __clang__
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Winvalid-offsetof"
- #pragma clang diagnostic ignored "-Wunused-variable"
- #endif
- // UnityEngine.Terrain
- struct Terrain_t3055443660 : public Behaviour_t1437897464
- {
- public:
- public:
- };
- #ifdef __clang__
- #pragma clang diagnostic pop
- #endif
- #endif // TERRAIN_T3055443660_H
- // System.Void UnityEngine.Terrain::get_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
- extern "C" IL2CPP_METHOD_ATTR void Terrain_get_lightmapScaleOffset_Injected_m3484476065 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___ret0, const RuntimeMethod* method);
- // System.Void UnityEngine.Terrain::set_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
- extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapScaleOffset_Injected_m3724570021 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___value0, const RuntimeMethod* method);
- // 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.Terrain::get_lightmapIndex()
- extern "C" IL2CPP_METHOD_ATTR int32_t Terrain_get_lightmapIndex_m1419337621 (Terrain_t3055443660 * __this, const RuntimeMethod* method)
- {
- typedef int32_t (*Terrain_get_lightmapIndex_m1419337621_ftn) (Terrain_t3055443660 *);
- static Terrain_get_lightmapIndex_m1419337621_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (Terrain_get_lightmapIndex_m1419337621_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_lightmapIndex()");
- int32_t retVal = _il2cpp_icall_func(__this);
- return retVal;
- }
- // System.Void UnityEngine.Terrain::set_lightmapIndex(System.Int32)
- extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapIndex_m4285884942 (Terrain_t3055443660 * __this, int32_t ___value0, const RuntimeMethod* method)
- {
- typedef void (*Terrain_set_lightmapIndex_m4285884942_ftn) (Terrain_t3055443660 *, int32_t);
- static Terrain_set_lightmapIndex_m4285884942_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (Terrain_set_lightmapIndex_m4285884942_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::set_lightmapIndex(System.Int32)");
- _il2cpp_icall_func(__this, ___value0);
- }
- // UnityEngine.Vector4 UnityEngine.Terrain::get_lightmapScaleOffset()
- extern "C" IL2CPP_METHOD_ATTR Vector4_t3319028937 Terrain_get_lightmapScaleOffset_m1958008974 (Terrain_t3055443660 * __this, const RuntimeMethod* method)
- {
- Vector4_t3319028937 V_0;
- memset(&V_0, 0, sizeof(V_0));
- {
- Terrain_get_lightmapScaleOffset_Injected_m3484476065(__this, (&V_0), /*hidden argument*/NULL);
- Vector4_t3319028937 L_0 = V_0;
- return L_0;
- }
- }
- // System.Void UnityEngine.Terrain::set_lightmapScaleOffset(UnityEngine.Vector4)
- extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapScaleOffset_m2049244534 (Terrain_t3055443660 * __this, Vector4_t3319028937 ___value0, const RuntimeMethod* method)
- {
- {
- Terrain_set_lightmapScaleOffset_Injected_m3724570021(__this, (&___value0), /*hidden argument*/NULL);
- return;
- }
- }
- // System.Void UnityEngine.Terrain::get_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
- extern "C" IL2CPP_METHOD_ATTR void Terrain_get_lightmapScaleOffset_Injected_m3484476065 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___ret0, const RuntimeMethod* method)
- {
- typedef void (*Terrain_get_lightmapScaleOffset_Injected_m3484476065_ftn) (Terrain_t3055443660 *, Vector4_t3319028937 *);
- static Terrain_get_lightmapScaleOffset_Injected_m3484476065_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (Terrain_get_lightmapScaleOffset_Injected_m3484476065_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::get_lightmapScaleOffset_Injected(UnityEngine.Vector4&)");
- _il2cpp_icall_func(__this, ___ret0);
- }
- // System.Void UnityEngine.Terrain::set_lightmapScaleOffset_Injected(UnityEngine.Vector4&)
- extern "C" IL2CPP_METHOD_ATTR void Terrain_set_lightmapScaleOffset_Injected_m3724570021 (Terrain_t3055443660 * __this, Vector4_t3319028937 * ___value0, const RuntimeMethod* method)
- {
- typedef void (*Terrain_set_lightmapScaleOffset_Injected_m3724570021_ftn) (Terrain_t3055443660 *, Vector4_t3319028937 *);
- static Terrain_set_lightmapScaleOffset_Injected_m3724570021_ftn _il2cpp_icall_func;
- if (!_il2cpp_icall_func)
- _il2cpp_icall_func = (Terrain_set_lightmapScaleOffset_Injected_m3724570021_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.Terrain::set_lightmapScaleOffset_Injected(UnityEngine.Vector4&)");
- _il2cpp_icall_func(__this, ___value0);
- }
- #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
|