31534 lines
1.5 MiB
31534 lines
1.5 MiB
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
struct Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01;
|
|
// System.Collections.Generic.Dictionary`2<System.Object,System.Object>
|
|
struct Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA;
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>
|
|
struct Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654;
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>
|
|
struct Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A;
|
|
// System.Collections.Generic.IEnumerable`1<UnityEngine.Color>
|
|
struct IEnumerable_1_t30FBA3F0775777FD15679FBAE44B692629C5E6BB;
|
|
// System.Collections.Generic.IEqualityComparer`1<UnityEngine.Material>
|
|
struct IEqualityComparer_1_t6B41DEB890FDAC740B9404C2145A832F69F8012A;
|
|
// System.Collections.Generic.IEqualityComparer`1<UnityEngine.Vector3>
|
|
struct IEqualityComparer_1_t9E98CD5E012FAD3C745699045489B5B858B1B8B5;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
struct KeyCollection_tF08B2FED97DB5E82831A32DF778EF2889CFB47A7;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Vector3,UnityEngine.Vector2>
|
|
struct KeyCollection_t1FFD4A8F7A36B3C0BF186B116F4F0AA76C3779E0;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>
|
|
struct KeyCollection_t0395DE632D90639CD3CA6A1D91A401C9AF41E12C;
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<System.Int32>>
|
|
struct List_1_tB5A0E21D0A7C39DF93D616FD5B94C4737A083E35;
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>
|
|
struct List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F;
|
|
// System.Collections.Generic.List`1<UnityEngine.Color>
|
|
struct List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF;
|
|
// System.Collections.Generic.List`1<UnityEngine.CombineInstance>
|
|
struct List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE;
|
|
// System.Collections.Generic.List`1<UnityEngine.GameObject>
|
|
struct List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B;
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
|
|
// System.Collections.Generic.List`1<UnityEngine.Material>
|
|
struct List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B;
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh>
|
|
struct List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4;
|
|
// System.Collections.Generic.List`1<UnityEngine.MeshFilter>
|
|
struct List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930;
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>
|
|
struct List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014;
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>
|
|
struct List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>
|
|
struct List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector2>
|
|
struct List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3Int>
|
|
struct List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25;
|
|
// System.Collections.Generic.List`1<Parabox.CSG.Vertex>
|
|
struct List_1_t09DFE02BF4C8779C8BDDD183F6D70875BA75EDAE;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>
|
|
struct List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>
|
|
struct List_1_t1509365DD407E78228B0165A96CF06074C08D989;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>
|
|
struct List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>
|
|
struct List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>
|
|
struct List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>
|
|
struct List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>
|
|
struct List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
struct List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380;
|
|
// System.Predicate`1<System.Object>
|
|
struct Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12;
|
|
// System.Predicate`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
struct Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
struct ValueCollection_t8C6EC1A089EEF7A508F56CD4FE8FE2D7FB4CFC63;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<UnityEngine.Vector3,UnityEngine.Vector2>
|
|
struct ValueCollection_t197C3A30AE7EFBA2636BCBCE55F70BC2B64906A7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>
|
|
struct ValueCollection_t494B0B5F7505DA8E1F5AAFB5BBAC28C773392233;
|
|
// System.Collections.Generic.Dictionary`2/Entry<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>[]
|
|
struct EntryU5BU5D_t96F5B4CFA3F7A484659561F7811F36AD7725464B;
|
|
// System.Collections.Generic.Dictionary`2/Entry<UnityEngine.Vector3,UnityEngine.Vector2>[]
|
|
struct EntryU5BU5D_tCCD85C8934EBE17AAC93EB554F3F3F7D60C30B1E;
|
|
// System.Collections.Generic.Dictionary`2/Entry<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>[]
|
|
struct EntryU5BU5D_tA2448EE65FC9E895E2544B2AB30705DC9AB2867E;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>[]
|
|
struct List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B;
|
|
// UnityEngine.Color[]
|
|
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389;
|
|
// UnityEngine.CombineInstance[]
|
|
struct CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.IntPtr[]
|
|
struct IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832;
|
|
// UnityEngine.Material[]
|
|
struct MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D;
|
|
// UnityEngine.Mesh[]
|
|
struct MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689;
|
|
// UnityEngine.MeshFilter[]
|
|
struct MeshFilterU5BU5D_tCE3B457E6F7ECE5ECEE9E09150642150448685BA;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// FIMSpace.Generating.PipeSegmentSetup[]
|
|
struct PipeSegmentSetupU5BU5D_tCF323C64BE179F1D555791862693C1ED70F136F2;
|
|
// System.Diagnostics.StackTrace[]
|
|
struct StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF;
|
|
// System.String[]
|
|
struct StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248;
|
|
// FIMSpace.Generating.TileDesign[]
|
|
struct TileDesignU5BU5D_t65291749F3C9994AD619573BE4E19032AE066044;
|
|
// FIMSpace.Generating.TileMeshSetup[]
|
|
struct TileMeshSetupU5BU5D_tFD8A64F1FFD7AEE06B818705C564FFA7799993B1;
|
|
// System.Type[]
|
|
struct TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB;
|
|
// UnityEngine.Vector2[]
|
|
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
|
|
// UnityEngine.Vector3[]
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
// UnityEngine.Vector3Int[]
|
|
struct Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E;
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint[]
|
|
struct PolyShapeHelpPointU5BU5D_t3ADEBA0AD80AE65E8BFDC0E7BEF621307E046A46;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData[]
|
|
struct PipeSpawnDataU5BU5D_tBC28CC7D0016A4037290CDBBB8A062B158B08788;
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint[]
|
|
struct JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1;
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper[]
|
|
struct SendMessageHelperU5BU5D_tD8EF405F88CF1DFDDC99C3CB95CA00B4A494D118;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint[]
|
|
struct CurvePointU5BU5D_tEF66714CF111412E9F64A897E7E508D0BE48E5AD;
|
|
// FIMSpace.Generating.TileMeshSetup/MeshShapePoint[]
|
|
struct MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D;
|
|
// FIMSpace.Generating.TileMeshSetup/MeshVertPoint[]
|
|
struct MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA;
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance[]
|
|
struct TileMeshCombineInstanceU5BU5D_t7451E6E8DE205F050E93C75495367C3B0398FE59;
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV[]
|
|
struct VertexUVU5BU5D_t1150375F6BDCC117D3661F12DD89B879B33D9EEF;
|
|
// System.Reflection.Binder
|
|
struct Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235;
|
|
// UnityEngine.BoxCollider
|
|
struct BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23;
|
|
// UnityEngine.Collider
|
|
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76;
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
|
|
// System.DelegateData
|
|
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
|
|
// System.Collections.IDictionary
|
|
struct IDictionary_t6D03155AF1FA9083817AA5B6AD7DEEACC26AB220;
|
|
// UnityEngine.Material
|
|
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
|
|
// System.Reflection.MemberFilter
|
|
struct MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553;
|
|
// UnityEngine.Mesh
|
|
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4;
|
|
// UnityEngine.MeshCollider
|
|
struct MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455;
|
|
// UnityEngine.MeshFilter
|
|
struct MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5;
|
|
// UnityEngine.MeshRenderer
|
|
struct MeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// Parabox.CSG.Model
|
|
struct Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D;
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A;
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
// UnityEngine.PhysicMaterial
|
|
struct PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131;
|
|
// FIMSpace.Generating.PipeGenerator
|
|
struct PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5;
|
|
// FIMSpace.Generating.PipePreset
|
|
struct PipePreset_t5DA4A347E0526581AE7AB9D5E90420B22DFEA77E;
|
|
// FIMSpace.Generating.PipeSegmentSetup
|
|
struct PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037;
|
|
// UnityEngine.Renderer
|
|
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF;
|
|
// UnityEngine.Rigidbody
|
|
struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C;
|
|
// System.Runtime.Serialization.SafeSerializationManager
|
|
struct SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6;
|
|
// UnityEngine.ScriptableObject
|
|
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A;
|
|
// UnityEngine.Shader
|
|
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692;
|
|
// UnityEngine.SphereCollider
|
|
struct SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275;
|
|
// System.String
|
|
struct String_t;
|
|
// FIMSpace.Generating.TileDesign
|
|
struct TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC;
|
|
// FIMSpace.Generating.TileDesignPreset
|
|
struct TileDesignPreset_t46FCB3F3582CEBCB5C767684E71A638C3596F99C;
|
|
// FIMSpace.Generating.TileMeshSetup
|
|
struct TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15;
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
|
|
// System.Type
|
|
struct Type_t;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended
|
|
struct MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3;
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint
|
|
struct PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3;
|
|
// FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24
|
|
struct U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData
|
|
struct PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989;
|
|
// FIMSpace.Generating.PipePreset/PipePresetData
|
|
struct PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3;
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint
|
|
struct JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59;
|
|
// FIMSpace.Generating.TileCableGenerator/CableAttachementSettings
|
|
struct CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E;
|
|
// FIMSpace.Generating.TileCableGenerator/CableClonerSettings
|
|
struct CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D;
|
|
// FIMSpace.Generating.TileCableGenerator/CableMeshSettings
|
|
struct CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C;
|
|
// FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings
|
|
struct CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052;
|
|
// FIMSpace.Generating.TileCableGenerator/CableTexturingSettings
|
|
struct CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5;
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper
|
|
struct SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator
|
|
struct CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint
|
|
struct CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB;
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance
|
|
struct TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9;
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0
|
|
struct U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C;
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV
|
|
struct VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box
|
|
struct Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node
|
|
struct Node_t060F31555626C8316D8637C345234E42B5020B5E;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane
|
|
struct CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CSG_tC701C313EF780A51A545C77BD50601ACFC01A803_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Type_t_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3EC3372E82B3B91672EF4EC7D6C8F3FB8E934642;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral49AF58FDAC7B8E865CB6FFF5DADA947817260FB4;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral504C2AC39FF263D887FD9AD5F5BA8CD287C8AA10;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5F046B8B0C72B68DD5C91DD43A5AC7EE66C9BC66;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral91BB00851EDA0625691EBC043B5C4567362EFFB2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral963A45DA829E1A34D5AC028CE2E8669CCED1A51D;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA2474105546E0295957B7537F7C1BF4FBD6EA085;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB59F0EFCC2B82196C428CFD6D80A08F8B47573FC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB9AD376F18AA59841368F2986DF52B9871DEC217;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE35A4733281BF08676DF80FFBD2A7BB90CAFFE72;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFB0A5F3A1587D636267F8650629F0B4F68669F47;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m50B7F81F8D7A42EF1C6ED821C4F37F1F798540F3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_m14956EE7B5B0E92CED6CD60B3B17CA1E61134A16_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2__ctor_mEA7C4EFB730D89291BB8F0EA36C4E1446B6E3383_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m2D2E48F59A08CE7C3AA2271DEA028D73B7CFE603_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_AddComponent_TisSphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275_m3D05F19667844A2949840753F7A3287115BE029E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponentInChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_m07852AD6D767DD6AA17149C42C54C3C7DC930B04_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0F5F91B54DEDF452902D5003DBF534D953DF21A2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m1211D80426768535FA3CB5A1A3DAF9847E14BC61_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m44B9458EBBDE1B60ACF5D7B20337408C2C3137D1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m0FE2E00F79D74591732CC5EB8919715FAF7EA3B7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m2A7F6C398C8494D1C584E5B59E33A460BBEDC75F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m82A3007B8E3D15F8D824AB835B24C1011B89025B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mB542E879C436E98D901D3068C891582A25F85711_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_FindIndex_mE4284B0415CFC8A1F543A0DB75350B4322D49BDE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m0052B5C7DCC0E53CDF11F0A0F2093E81D9F1CE26_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_RemoveAt_m9736EA7BDDF901F4577377D4E8E5933F3CFFBFDB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Remove_m1E22A15089852C7A17E8EA8B66EE62848E1473D1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m1B393BC5AECD0184216271E29ECF596462761AFD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m38500C20418699AEC04B1946434E06EC96FB4B1C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m4BE0AABF1BBA5C6630FCD0978CFBF1F6AE920AD0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m4F4CA9D1CB21BE093F9444CE4DA27E78FA2C395D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m995E7F898C1F728554AFCBE93329D6529B039FE2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mBE9255218FAB0B859E0DD1B944986BBC7F1C3A33_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mCA8DD57EAC70C2B5923DBB9D5A77CEAC22E7068E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mCE9A346DD934EB013274F9CABE1C5B887A7B7D47_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mF21F40616446AA752850E4DCB24BE9B888BA7B5F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m8AB2ACA26C742ADD507B73DB26CF22A47F54BC77_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m9F85777F60234F0D023B52E6F6C47B13A5D9FB26_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mC82B05036EF8568D67042AA2F73632C0D0DA2E2F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1CE846D7DDCE8AB76B130007CE0642A845A39C2F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m21AEC50E791371101DC22ABCF96A2E46800811F8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mBF3BB7EE985ACB3AF2DBE110250E94BDF0409BEE_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mE4159AA70CB582986662CE80550B4ED365B4D437_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_mB24A044C1D1D8E0CAD9D696D1C3E8A96F897D127_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* TileDesign_GeneratePrefab_mCFD176A77B197BBE03F5CC842042A7882F7431D3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Type_GetType_m71A077E0B5DA3BD1DC0AB9AE387056CFCF56F93F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CIEPreviewGenerationDebugU3Ed__24_System_Collections_IEnumerator_Reset_mAE03BD47DF81971648ED9AC6F6186F87C3EEDC90_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass8_0_U3CFindWeldU3Eb__0_mBC3CDFA2FA36181D609B87FE2AD0397C3AF5A845_RuntimeMethod_var;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
struct Exception_t_marshaled_com;
|
|
struct Exception_t_marshaled_pinvoke;
|
|
|
|
struct List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B;
|
|
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389;
|
|
struct CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093;
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
struct Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E;
|
|
struct JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1;
|
|
struct MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D;
|
|
struct MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA;
|
|
struct List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA;
|
|
|
|
IL2CPP_EXTERN_C_BEGIN
|
|
IL2CPP_EXTERN_C_END
|
|
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
struct Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_t96F5B4CFA3F7A484659561F7811F36AD7725464B* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_tF08B2FED97DB5E82831A32DF778EF2889CFB47A7* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_t8C6EC1A089EEF7A508F56CD4FE8FE2D7FB4CFC63* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>
|
|
struct Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654 : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_tCCD85C8934EBE17AAC93EB554F3F3F7D60C30B1E* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_t1FFD4A8F7A36B3C0BF186B116F4F0AA76C3779E0* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_t197C3A30AE7EFBA2636BCBCE55F70BC2B64906A7* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>
|
|
struct Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A : public RuntimeObject
|
|
{
|
|
// System.Int32[] System.Collections.Generic.Dictionary`2::_buckets
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____buckets_0;
|
|
// System.Collections.Generic.Dictionary`2/Entry<TKey,TValue>[] System.Collections.Generic.Dictionary`2::_entries
|
|
EntryU5BU5D_tA2448EE65FC9E895E2544B2AB30705DC9AB2867E* ____entries_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_count
|
|
int32_t ____count_2;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeList
|
|
int32_t ____freeList_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_freeCount
|
|
int32_t ____freeCount_4;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2::_version
|
|
int32_t ____version_5;
|
|
// System.Collections.Generic.IEqualityComparer`1<TKey> System.Collections.Generic.Dictionary`2::_comparer
|
|
RuntimeObject* ____comparer_6;
|
|
// System.Collections.Generic.Dictionary`2/KeyCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_keys
|
|
KeyCollection_t0395DE632D90639CD3CA6A1D91A401C9AF41E12C* ____keys_7;
|
|
// System.Collections.Generic.Dictionary`2/ValueCollection<TKey,TValue> System.Collections.Generic.Dictionary`2::_values
|
|
ValueCollection_t494B0B5F7505DA8E1F5AAFB5BBAC28C773392233* ____values_8;
|
|
// System.Object System.Collections.Generic.Dictionary`2::_syncRoot
|
|
RuntimeObject* ____syncRoot_9;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>
|
|
struct List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Color>
|
|
struct List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.CombineInstance>
|
|
struct List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Material>
|
|
struct List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh>
|
|
struct List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.MeshFilter>
|
|
struct List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
MeshFilterU5BU5D_tCE3B457E6F7ECE5ECEE9E09150642150448685BA* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>
|
|
struct List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
PipeSegmentSetupU5BU5D_tCF323C64BE179F1D555791862693C1ED70F136F2* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>
|
|
struct List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
TileDesignU5BU5D_t65291749F3C9994AD619573BE4E19032AE066044* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>
|
|
struct List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
TileMeshSetupU5BU5D_tFD8A64F1FFD7AEE06B818705C564FFA7799993B1* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector2>
|
|
struct List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3Int>
|
|
struct List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>
|
|
struct List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
PolyShapeHelpPointU5BU5D_t3ADEBA0AD80AE65E8BFDC0E7BEF621307E046A46* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>
|
|
struct List_1_t1509365DD407E78228B0165A96CF06074C08D989 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
PipeSpawnDataU5BU5D_tBC28CC7D0016A4037290CDBBB8A062B158B08788* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>
|
|
struct List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SendMessageHelperU5BU5D_tD8EF405F88CF1DFDDC99C3CB95CA00B4A494D118* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>
|
|
struct List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
CurvePointU5BU5D_tEF66714CF111412E9F64A897E7E508D0BE48E5AD* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>
|
|
struct List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>
|
|
struct List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>
|
|
struct List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
TileMeshCombineInstanceU5BU5D_t7451E6E8DE205F050E93C75495367C3B0398FE59* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
struct List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
VertexUVU5BU5D_t1150375F6BDCC117D3661F12DD89B879B33D9EEF* ____items_1;
|
|
// System.Int32 System.Collections.Generic.List`1::_size
|
|
int32_t ____size_2;
|
|
// System.Int32 System.Collections.Generic.List`1::_version
|
|
int32_t ____version_3;
|
|
// System.Object System.Collections.Generic.List`1::_syncRoot
|
|
RuntimeObject* ____syncRoot_4;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils
|
|
struct FMeshUtils_tBBA5579D5163B6AAE91FA84EC173D2AA47E7D031 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// System.Reflection.MemberInfo
|
|
struct MemberInfo_t : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// Parabox.CSG.Model
|
|
struct Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<Parabox.CSG.Vertex> Parabox.CSG.Model::m_Vertices
|
|
List_1_t09DFE02BF4C8779C8BDDD183F6D70875BA75EDAE* ___m_Vertices_0;
|
|
// System.Collections.Generic.List`1<UnityEngine.Material> Parabox.CSG.Model::m_Materials
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* ___m_Materials_1;
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<System.Int32>> Parabox.CSG.Model::m_Indices
|
|
List_1_tB5A0E21D0A7C39DF93D616FD5B94C4737A083E35* ___m_Indices_2;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator
|
|
struct TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F : public RuntimeObject
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of System.ValueType
|
|
struct ValueType_t6D9B272BD21782F0A9A14F2E41F85A50E97A986F_marshaled_com
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker
|
|
struct UVPacker_t2E27181B1C02D7D79864DF3D46B07A42E7E23740 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24
|
|
struct U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481 : public RuntimeObject
|
|
{
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::<>1__state
|
|
int32_t ___U3CU3E1__state_0;
|
|
// System.Object FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::<>2__current
|
|
RuntimeObject* ___U3CU3E2__current_1;
|
|
// FIMSpace.Generating.PipeGenerator FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::<>4__this
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* ___U3CU3E4__this_2;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::<i>5__2
|
|
int32_t ___U3CiU3E5__2_3;
|
|
};
|
|
|
|
// FIMSpace.Generating.PipePreset/PipePresetData
|
|
struct PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup> FIMSpace.Generating.PipePreset/PipePresetData::Segments
|
|
List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* ___Segments_0;
|
|
// System.Boolean FIMSpace.Generating.PipePreset/PipePresetData::AllowUseUnendedOnStartAlign
|
|
bool ___AllowUseUnendedOnStartAlign_1;
|
|
// FIMSpace.Generating.PipeSegmentSetup FIMSpace.Generating.PipePreset/PipePresetData::OptionalUnended
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* ___OptionalUnended_2;
|
|
// System.Boolean FIMSpace.Generating.PipePreset/PipePresetData::AlignOnHitNormal
|
|
bool ___AlignOnHitNormal_3;
|
|
// FIMSpace.Generating.PipeSegmentSetup FIMSpace.Generating.PipePreset/PipePresetData::OptionalEndCap
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* ___OptionalEndCap_4;
|
|
// System.Int32 FIMSpace.Generating.PipePreset/PipePresetData::_editorSelected
|
|
int32_t ____editorSelected_5;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableMeshSettings
|
|
struct CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C : public RuntimeObject
|
|
{
|
|
// System.Int32 FIMSpace.Generating.TileCableGenerator/CableMeshSettings::LengthSubdivs
|
|
int32_t ___LengthSubdivs_0;
|
|
// System.Int32 FIMSpace.Generating.TileCableGenerator/CableMeshSettings::CircleSubdivs
|
|
int32_t ___CircleSubdivs_1;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableMeshSettings::RollOffset
|
|
float ___RollOffset_2;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableMeshSettings::JoinEnds
|
|
bool ___JoinEnds_3;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableTexturingSettings
|
|
struct CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5 : public RuntimeObject
|
|
{
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableTexturingSettings::LengthTiling
|
|
float ___LengthTiling_0;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableTexturingSettings::VerticalTiling
|
|
float ___VerticalTiling_1;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableTexturingSettings::UVRotate
|
|
float ___UVRotate_2;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper
|
|
struct SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615 : public RuntimeObject
|
|
{
|
|
// System.String FIMSpace.Generating.TileDesign/SendMessageHelper::Message
|
|
String_t* ___Message_0;
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper/EMessageSend FIMSpace.Generating.TileDesign/SendMessageHelper::SendOn
|
|
int32_t ___SendOn_1;
|
|
// System.Boolean FIMSpace.Generating.TileDesign/SendMessageHelper::SendValue
|
|
bool ___SendValue_2;
|
|
// System.Single FIMSpace.Generating.TileDesign/SendMessageHelper::MessageValue
|
|
float ___MessageValue_3;
|
|
// System.String FIMSpace.Generating.TileDesign/SendMessageHelper::MessageString
|
|
String_t* ___MessageString_4;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box
|
|
struct Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51 : public RuntimeObject
|
|
{
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::X
|
|
float ___X_0;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::Y
|
|
float ___Y_1;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::Width
|
|
float ___Width_2;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::Height
|
|
float ___Height_3;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::ShiftX
|
|
float ___ShiftX_4;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::ShiftY
|
|
float ___ShiftY_5;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Box::Side
|
|
float ___Side_6;
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended FIMSpace.Generating.FMeshUtils/UVPacker/Box::Extended
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* ___Extended_7;
|
|
// UnityEngine.Vector2[] FIMSpace.Generating.FMeshUtils/UVPacker/Box::PackedUVs
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___PackedUVs_8;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node
|
|
struct Node_t060F31555626C8316D8637C345234E42B5020B5E : public RuntimeObject
|
|
{
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker/Node::Child1
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* ___Child1_0;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker/Node::Child2
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* ___Child2_1;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker/Node::Child3
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* ___Child3_2;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Node::X
|
|
float ___X_3;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Node::Y
|
|
float ___Y_4;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Node::Width
|
|
float ___Width_5;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/UVPacker/Node::Height
|
|
float ___Height_6;
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/UVPacker/Node::Used
|
|
bool ___Used_7;
|
|
};
|
|
|
|
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
struct KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5
|
|
{
|
|
// TKey System.Collections.Generic.KeyValuePair`2::key
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___key_0;
|
|
// TValue System.Collections.Generic.KeyValuePair`2::value
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* ___value_1;
|
|
};
|
|
|
|
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>
|
|
struct KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230
|
|
{
|
|
// TKey System.Collections.Generic.KeyValuePair`2::key
|
|
RuntimeObject* ___key_0;
|
|
// TValue System.Collections.Generic.KeyValuePair`2::value
|
|
RuntimeObject* ___value_1;
|
|
};
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22
|
|
{
|
|
// System.Boolean System.Boolean::m_value
|
|
bool ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.Color
|
|
struct Color_tD001788D726C3A7F1379BEED0260B9591F440C1F
|
|
{
|
|
// System.Single UnityEngine.Color::r
|
|
float ___r_0;
|
|
// System.Single UnityEngine.Color::g
|
|
float ___g_1;
|
|
// System.Single UnityEngine.Color::b
|
|
float ___b_2;
|
|
// System.Single UnityEngine.Color::a
|
|
float ___a_3;
|
|
};
|
|
|
|
// System.Double
|
|
struct Double_tE150EF3D1D43DEE85D533810AB4C742307EEDE5F
|
|
{
|
|
// System.Double System.Double::m_value
|
|
double ___m_value_0;
|
|
};
|
|
|
|
// System.Int32
|
|
struct Int32_t680FF22E76F6EFAD4375103CBBFFA0421349384C
|
|
{
|
|
// System.Int32 System.Int32::m_value
|
|
int32_t ___m_value_0;
|
|
};
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t
|
|
{
|
|
// System.Void* System.IntPtr::m_value
|
|
void* ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.LayerMask
|
|
struct LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB
|
|
{
|
|
// System.Int32 UnityEngine.LayerMask::m_Mask
|
|
int32_t ___m_Mask_0;
|
|
};
|
|
|
|
// UnityEngine.Mathf
|
|
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682__padding[1];
|
|
};
|
|
};
|
|
|
|
// UnityEngine.Matrix4x4
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6
|
|
{
|
|
// System.Single UnityEngine.Matrix4x4::m00
|
|
float ___m00_0;
|
|
// System.Single UnityEngine.Matrix4x4::m10
|
|
float ___m10_1;
|
|
// System.Single UnityEngine.Matrix4x4::m20
|
|
float ___m20_2;
|
|
// System.Single UnityEngine.Matrix4x4::m30
|
|
float ___m30_3;
|
|
// System.Single UnityEngine.Matrix4x4::m01
|
|
float ___m01_4;
|
|
// System.Single UnityEngine.Matrix4x4::m11
|
|
float ___m11_5;
|
|
// System.Single UnityEngine.Matrix4x4::m21
|
|
float ___m21_6;
|
|
// System.Single UnityEngine.Matrix4x4::m31
|
|
float ___m31_7;
|
|
// System.Single UnityEngine.Matrix4x4::m02
|
|
float ___m02_8;
|
|
// System.Single UnityEngine.Matrix4x4::m12
|
|
float ___m12_9;
|
|
// System.Single UnityEngine.Matrix4x4::m22
|
|
float ___m22_10;
|
|
// System.Single UnityEngine.Matrix4x4::m32
|
|
float ___m32_11;
|
|
// System.Single UnityEngine.Matrix4x4::m03
|
|
float ___m03_12;
|
|
// System.Single UnityEngine.Matrix4x4::m13
|
|
float ___m13_13;
|
|
// System.Single UnityEngine.Matrix4x4::m23
|
|
float ___m23_14;
|
|
// System.Single UnityEngine.Matrix4x4::m33
|
|
float ___m33_15;
|
|
};
|
|
|
|
// UnityEngine.Quaternion
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974
|
|
{
|
|
// System.Single UnityEngine.Quaternion::x
|
|
float ___x_0;
|
|
// System.Single UnityEngine.Quaternion::y
|
|
float ___y_1;
|
|
// System.Single UnityEngine.Quaternion::z
|
|
float ___z_2;
|
|
// System.Single UnityEngine.Quaternion::w
|
|
float ___w_3;
|
|
};
|
|
|
|
// UnityEngine.Rect
|
|
struct Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D
|
|
{
|
|
// System.Single UnityEngine.Rect::m_XMin
|
|
float ___m_XMin_0;
|
|
// System.Single UnityEngine.Rect::m_YMin
|
|
float ___m_YMin_1;
|
|
// System.Single UnityEngine.Rect::m_Width
|
|
float ___m_Width_2;
|
|
// System.Single UnityEngine.Rect::m_Height
|
|
float ___m_Height_3;
|
|
};
|
|
|
|
// System.Single
|
|
struct Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C
|
|
{
|
|
// System.Single System.Single::m_value
|
|
float ___m_value_0;
|
|
};
|
|
|
|
// UnityEngine.Vector2
|
|
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7
|
|
{
|
|
// System.Single UnityEngine.Vector2::x
|
|
float ___x_0;
|
|
// System.Single UnityEngine.Vector2::y
|
|
float ___y_1;
|
|
};
|
|
|
|
// UnityEngine.Vector2Int
|
|
struct Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A
|
|
{
|
|
// System.Int32 UnityEngine.Vector2Int::m_X
|
|
int32_t ___m_X_0;
|
|
// System.Int32 UnityEngine.Vector2Int::m_Y
|
|
int32_t ___m_Y_1;
|
|
};
|
|
|
|
// UnityEngine.Vector3
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2
|
|
{
|
|
// System.Single UnityEngine.Vector3::x
|
|
float ___x_2;
|
|
// System.Single UnityEngine.Vector3::y
|
|
float ___y_3;
|
|
// System.Single UnityEngine.Vector3::z
|
|
float ___z_4;
|
|
};
|
|
|
|
// UnityEngine.Vector3Int
|
|
struct Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376
|
|
{
|
|
// System.Int32 UnityEngine.Vector3Int::m_X
|
|
int32_t ___m_X_0;
|
|
// System.Int32 UnityEngine.Vector3Int::m_Y
|
|
int32_t ___m_Y_1;
|
|
// System.Int32 UnityEngine.Vector3Int::m_Z
|
|
int32_t ___m_Z_2;
|
|
};
|
|
|
|
// UnityEngine.Vector4
|
|
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3
|
|
{
|
|
// 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;
|
|
};
|
|
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915
|
|
{
|
|
union
|
|
{
|
|
struct
|
|
{
|
|
};
|
|
uint8_t Void_t4861ACF8F4594C3437BB48B6E56783494B843915__padding[1];
|
|
};
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
struct Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2
|
|
{
|
|
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/Enumerator::_dictionary
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* ____dictionary_0;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2/Enumerator::_version
|
|
int32_t ____version_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2/Enumerator::_index
|
|
int32_t ____index_2;
|
|
// System.Collections.Generic.KeyValuePair`2<TKey,TValue> System.Collections.Generic.Dictionary`2/Enumerator::_current
|
|
KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 ____current_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2/Enumerator::_getEnumeratorRetType
|
|
int32_t ____getEnumeratorRetType_4;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<System.Object,System.Object>
|
|
struct Enumerator_tEA93FE2B778D098F590CA168BEFC4CD85D73A6B9
|
|
{
|
|
// System.Collections.Generic.Dictionary`2<TKey,TValue> System.Collections.Generic.Dictionary`2/Enumerator::_dictionary
|
|
Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* ____dictionary_0;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2/Enumerator::_version
|
|
int32_t ____version_1;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2/Enumerator::_index
|
|
int32_t ____index_2;
|
|
// System.Collections.Generic.KeyValuePair`2<TKey,TValue> System.Collections.Generic.Dictionary`2/Enumerator::_current
|
|
KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230 ____current_3;
|
|
// System.Int32 System.Collections.Generic.Dictionary`2/Enumerator::_getEnumeratorRetType
|
|
int32_t ____getEnumeratorRetType_4;
|
|
};
|
|
|
|
// System.Nullable`1<UnityEngine.Vector3>
|
|
struct Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE
|
|
{
|
|
// System.Boolean System.Nullable`1::hasValue
|
|
bool ___hasValue_0;
|
|
// T System.Nullable`1::value
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___value_1;
|
|
};
|
|
|
|
// UnityEngine.Bounds
|
|
struct Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::m_Center
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Center_0;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::m_Extents
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Extents_1;
|
|
};
|
|
|
|
// UnityEngine.CombineInstance
|
|
struct CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE
|
|
{
|
|
// System.Int32 UnityEngine.CombineInstance::m_MeshInstanceID
|
|
int32_t ___m_MeshInstanceID_0;
|
|
// System.Int32 UnityEngine.CombineInstance::m_SubMeshIndex
|
|
int32_t ___m_SubMeshIndex_1;
|
|
// UnityEngine.Matrix4x4 UnityEngine.CombineInstance::m_Transform
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___m_Transform_2;
|
|
// UnityEngine.Vector4 UnityEngine.CombineInstance::m_LightmapScaleOffset
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_LightmapScaleOffset_3;
|
|
// UnityEngine.Vector4 UnityEngine.CombineInstance::m_RealtimeLightmapScaleOffset
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___m_RealtimeLightmapScaleOffset_4;
|
|
};
|
|
|
|
// System.Delegate
|
|
struct Delegate_t : public RuntimeObject
|
|
{
|
|
// System.IntPtr System.Delegate::method_ptr
|
|
Il2CppMethodPointer ___method_ptr_0;
|
|
// System.IntPtr System.Delegate::invoke_impl
|
|
intptr_t ___invoke_impl_1;
|
|
// System.Object System.Delegate::m_target
|
|
RuntimeObject* ___m_target_2;
|
|
// System.IntPtr System.Delegate::method
|
|
intptr_t ___method_3;
|
|
// System.IntPtr System.Delegate::delegate_trampoline
|
|
intptr_t ___delegate_trampoline_4;
|
|
// System.IntPtr System.Delegate::extra_arg
|
|
intptr_t ___extra_arg_5;
|
|
// System.IntPtr System.Delegate::method_code
|
|
intptr_t ___method_code_6;
|
|
// System.IntPtr System.Delegate::interp_method
|
|
intptr_t ___interp_method_7;
|
|
// System.IntPtr System.Delegate::interp_invoke_impl
|
|
intptr_t ___interp_invoke_impl_8;
|
|
// System.Reflection.MethodInfo System.Delegate::method_info
|
|
MethodInfo_t* ___method_info_9;
|
|
// System.Reflection.MethodInfo System.Delegate::original_method_info
|
|
MethodInfo_t* ___original_method_info_10;
|
|
// System.DelegateData System.Delegate::data
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
// System.Boolean System.Delegate::method_is_virtual
|
|
bool ___method_is_virtual_12;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_pinvoke
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
// Native definition for COM marshalling of System.Delegate
|
|
struct Delegate_t_marshaled_com
|
|
{
|
|
intptr_t ___method_ptr_0;
|
|
intptr_t ___invoke_impl_1;
|
|
Il2CppIUnknown* ___m_target_2;
|
|
intptr_t ___method_3;
|
|
intptr_t ___delegate_trampoline_4;
|
|
intptr_t ___extra_arg_5;
|
|
intptr_t ___method_code_6;
|
|
intptr_t ___interp_method_7;
|
|
intptr_t ___interp_invoke_impl_8;
|
|
MethodInfo_t* ___method_info_9;
|
|
MethodInfo_t* ___original_method_info_10;
|
|
DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E* ___data_11;
|
|
int32_t ___method_is_virtual_12;
|
|
};
|
|
|
|
// System.Exception
|
|
struct Exception_t : public RuntimeObject
|
|
{
|
|
// System.String System.Exception::_className
|
|
String_t* ____className_1;
|
|
// System.String System.Exception::_message
|
|
String_t* ____message_2;
|
|
// System.Collections.IDictionary System.Exception::_data
|
|
RuntimeObject* ____data_3;
|
|
// System.Exception System.Exception::_innerException
|
|
Exception_t* ____innerException_4;
|
|
// System.String System.Exception::_helpURL
|
|
String_t* ____helpURL_5;
|
|
// System.Object System.Exception::_stackTrace
|
|
RuntimeObject* ____stackTrace_6;
|
|
// System.String System.Exception::_stackTraceString
|
|
String_t* ____stackTraceString_7;
|
|
// System.String System.Exception::_remoteStackTraceString
|
|
String_t* ____remoteStackTraceString_8;
|
|
// System.Int32 System.Exception::_remoteStackIndex
|
|
int32_t ____remoteStackIndex_9;
|
|
// System.Object System.Exception::_dynamicMethods
|
|
RuntimeObject* ____dynamicMethods_10;
|
|
// System.Int32 System.Exception::_HResult
|
|
int32_t ____HResult_11;
|
|
// System.String System.Exception::_source
|
|
String_t* ____source_12;
|
|
// System.Runtime.Serialization.SafeSerializationManager System.Exception::_safeSerializationManager
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
// System.Diagnostics.StackTrace[] System.Exception::captured_traces
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
// System.IntPtr[] System.Exception::native_trace_ips
|
|
IntPtrU5BU5D_tFD177F8C806A6921AD7150264CCC62FA00CAD832* ___native_trace_ips_15;
|
|
// System.Int32 System.Exception::caught_in_unmanaged
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.Exception
|
|
struct Exception_t_marshaled_pinvoke
|
|
{
|
|
char* ____className_1;
|
|
char* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_pinvoke* ____innerException_4;
|
|
char* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
char* ____stackTraceString_7;
|
|
char* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
char* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
// Native definition for COM marshalling of System.Exception
|
|
struct Exception_t_marshaled_com
|
|
{
|
|
Il2CppChar* ____className_1;
|
|
Il2CppChar* ____message_2;
|
|
RuntimeObject* ____data_3;
|
|
Exception_t_marshaled_com* ____innerException_4;
|
|
Il2CppChar* ____helpURL_5;
|
|
Il2CppIUnknown* ____stackTrace_6;
|
|
Il2CppChar* ____stackTraceString_7;
|
|
Il2CppChar* ____remoteStackTraceString_8;
|
|
int32_t ____remoteStackIndex_9;
|
|
Il2CppIUnknown* ____dynamicMethods_10;
|
|
int32_t ____HResult_11;
|
|
Il2CppChar* ____source_12;
|
|
SafeSerializationManager_tCBB85B95DFD1634237140CD892E82D06ECB3F5E6* ____safeSerializationManager_13;
|
|
StackTraceU5BU5D_t32FBCB20930EAF5BAE3F450FF75228E5450DA0DF* ___captured_traces_14;
|
|
Il2CppSafeArray/*NONE*/* ___native_trace_ips_15;
|
|
int32_t ___caught_in_unmanaged_16;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C : public RuntimeObject
|
|
{
|
|
// System.IntPtr UnityEngine.Object::m_CachedPtr
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
intptr_t ___m_CachedPtr_0;
|
|
};
|
|
|
|
// FIMSpace.Generating.PipeSegmentSetup
|
|
struct PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037 : public RuntimeObject
|
|
{
|
|
// System.Boolean FIMSpace.Generating.PipeSegmentSetup::Enabled
|
|
bool ___Enabled_0;
|
|
// UnityEngine.GameObject FIMSpace.Generating.PipeSegmentSetup::Prefab
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___Prefab_1;
|
|
// System.Single FIMSpace.Generating.PipeSegmentSetup::UseCost
|
|
float ___UseCost_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeSegmentSetup::ModelForward
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___ModelForward_3;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeSegmentSetup::ModelUpAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___ModelUpAxis_4;
|
|
// System.Int32 FIMSpace.Generating.PipeSegmentSetup::AllowRotationYAxisCheckPer
|
|
int32_t ___AllowRotationYAxisCheckPer_5;
|
|
// System.Int32 FIMSpace.Generating.PipeSegmentSetup::AllowRotationZAxisCheckPer
|
|
int32_t ___AllowRotationZAxisCheckPer_6;
|
|
// System.Int32 FIMSpace.Generating.PipeSegmentSetup::CanBeUsedSinceIteration
|
|
int32_t ___CanBeUsedSinceIteration_7;
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint[] FIMSpace.Generating.PipeSegmentSetup::JoinPoints
|
|
JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1* ___JoinPoints_8;
|
|
// System.Single FIMSpace.Generating.PipeSegmentSetup::ReferenceScale
|
|
float ___ReferenceScale_9;
|
|
// UnityEngine.Mesh FIMSpace.Generating.PipeSegmentSetup::PreviewMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___PreviewMesh_10;
|
|
};
|
|
|
|
// UnityEngine.RaycastHit
|
|
struct RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Point
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Point_0;
|
|
// UnityEngine.Vector3 UnityEngine.RaycastHit::m_Normal
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Normal_1;
|
|
// System.UInt32 UnityEngine.RaycastHit::m_FaceID
|
|
uint32_t ___m_FaceID_2;
|
|
// System.Single UnityEngine.RaycastHit::m_Distance
|
|
float ___m_Distance_3;
|
|
// UnityEngine.Vector2 UnityEngine.RaycastHit::m_UV
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___m_UV_4;
|
|
// System.Int32 UnityEngine.RaycastHit::m_Collider
|
|
int32_t ___m_Collider_5;
|
|
};
|
|
|
|
// System.RuntimeTypeHandle
|
|
struct RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B
|
|
{
|
|
// System.IntPtr System.RuntimeTypeHandle::value
|
|
intptr_t ___value_0;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup
|
|
struct TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15 : public RuntimeObject
|
|
{
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup::Copies
|
|
int32_t ___Copies_0;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance> FIMSpace.Generating.TileMeshSetup::_instances
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* ____instances_1;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint> FIMSpace.Generating.TileMeshSetup::previewShape
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___previewShape_2;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint> FIMSpace.Generating.TileMeshSetup::previewShape2
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___previewShape2_3;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint> FIMSpace.Generating.TileMeshSetup::previewShape3
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___previewShape3_4;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::splineLength
|
|
float ___splineLength_5;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::splineLength2
|
|
float ___splineLength2_6;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::splineLength3
|
|
float ___splineLength3_7;
|
|
// System.String FIMSpace.Generating.TileMeshSetup::Name
|
|
String_t* ___Name_8;
|
|
// FIMSpace.Generating.TileMeshSetup/EExtraMesh FIMSpace.Generating.TileMeshSetup::ExtraMesh
|
|
int32_t ___ExtraMesh_11;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::CustomMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___CustomMesh_12;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_extrudeMirror
|
|
bool ____extrudeMirror_13;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_extrudeFrontCap
|
|
bool ____extrudeFrontCap_14;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_extrudeBackCap
|
|
bool ____extrudeBackCap_15;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_extrude_SubdivLimit
|
|
float ____extrude_SubdivLimit_16;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_extrude_curve
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____extrude_curve_17;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_extrudePreview
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____extrudePreview_18;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_tryWeldVertices
|
|
bool ____tryWeldVertices_19;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_tryWeldVerticesV2
|
|
bool ____tryWeldVerticesV2_20;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup::_randomizeVerticesOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ____randomizeVerticesOffset_21;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup::_randomizeVerticesNoiseScale
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ____randomizeVerticesNoiseScale_22;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_customMeshOverwriteVertexColor
|
|
bool ____customMeshOverwriteVertexColor_23;
|
|
// UnityEngine.Color FIMSpace.Generating.TileMeshSetup::_customMeshOverwriteVertexColorValues
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____customMeshOverwriteVertexColorValues_24;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> FIMSpace.Generating.TileMeshSetup::_CablePoints
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ____CablePoints_25;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_CableRadius
|
|
float ____CableRadius_26;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_CableLoose
|
|
float ____CableLoose_27;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_CableHanging
|
|
float ____CableHanging_28;
|
|
// FIMSpace.Generating.TileCableGenerator/CableMeshSettings FIMSpace.Generating.TileMeshSetup::_CableMeshSettings
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ____CableMeshSettings_29;
|
|
// FIMSpace.Generating.TileCableGenerator/CableTexturingSettings FIMSpace.Generating.TileMeshSetup::_CableTexturingSettings
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ____CableTexturingSettings_30;
|
|
// FIMSpace.Generating.TileCableGenerator/CableClonerSettings FIMSpace.Generating.TileMeshSetup::_CableClonerSettings
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* ____CableClonerSettings_31;
|
|
// FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings FIMSpace.Generating.TileMeshSetup::_CableRandomizationSettings
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ____CableRandomizationSettings_32;
|
|
// FIMSpace.Generating.TileMeshSetup/ECableView FIMSpace.Generating.TileMeshSetup::_CableView
|
|
int32_t ____CableView_33;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::<LatestGeneratedMesh>k__BackingField
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___U3CLatestGeneratedMeshU3Ek__BackingField_34;
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup::_lathe_fillAngle
|
|
int32_t ____lathe_fillAngle_35;
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup::_lathe_xSubdivCount
|
|
int32_t ____lathe_xSubdivCount_36;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_lathe_ySubdivLimit
|
|
float ____lathe_ySubdivLimit_37;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_lathe_points
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____lathe_points_38;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_loftDepthCurveWidener
|
|
float ____loftDepthCurveWidener_39;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_loft_DepthSubdivLimit
|
|
float ____loft_DepthSubdivLimit_40;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_loft_DistribSubdivLimit
|
|
float ____loft_DistribSubdivLimit_41;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_loft_Collapse
|
|
float ____loft_Collapse_42;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_loft_depth
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____loft_depth_43;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_loft_distribute
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____loft_distribute_44;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_loft_height
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____loft_height_45;
|
|
// FIMSpace.Generating.TileMeshSetup/EMeshGenerator FIMSpace.Generating.TileMeshSetup::GenTechnique
|
|
int32_t ___GenTechnique_46;
|
|
// FIMSpace.Generating.TileMeshSetup/EOrigin FIMSpace.Generating.TileMeshSetup::Origin
|
|
int32_t ___Origin_47;
|
|
// FIMSpace.Generating.TileMeshSetup/EUVFit FIMSpace.Generating.TileMeshSetup::UVFit
|
|
int32_t ___UVFit_48;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup::UVMul
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___UVMul_49;
|
|
// FIMSpace.Generating.TileMeshSetup/ENormalsMode FIMSpace.Generating.TileMeshSetup::NormalsMode
|
|
int32_t ___NormalsMode_50;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::HardNormals
|
|
float ___HardNormals_51;
|
|
// FIMSpace.Generating.TileMeshSetup/ESubdivideCompute FIMSpace.Generating.TileMeshSetup::SubdivMode
|
|
int32_t ___SubdivMode_52;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::width
|
|
float ___width_53;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::height
|
|
float ___height_54;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::depth
|
|
float ___depth_55;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_loft_depthDim
|
|
float ____loft_depthDim_56;
|
|
// UnityEngine.Material FIMSpace.Generating.TileMeshSetup::Material
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___Material_57;
|
|
// FIMSpace.Generating.TileMeshSetup/EPrimitiveType FIMSpace.Generating.TileMeshSetup::_primitive_Type
|
|
int32_t ____primitive_Type_58;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup::_primitive_scale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ____primitive_scale_59;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_primitive_cube_topFace
|
|
bool ____primitive_cube_topFace_60;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_primitive_cube_bottomFace
|
|
bool ____primitive_cube_bottomFace_61;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_primitive_cube_leftFace
|
|
bool ____primitive_cube_leftFace_62;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_primitive_cube_rightFace
|
|
bool ____primitive_cube_rightFace_63;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_primitive_cube_frontFace
|
|
bool ____primitive_cube_frontFace_64;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_primitive_cube_backFace
|
|
bool ____primitive_cube_backFace_65;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_primitive_cube_bevel
|
|
float ____primitive_cube_bevel_66;
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup::_primitive_cube_bevelSubdivs
|
|
int32_t ____primitive_cube_bevelSubdivs_67;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.TileMeshSetup::_primitive_plane_subdivs
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ____primitive_plane_subdivs_68;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_sweep_path
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____sweep_path_69;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_sweep_shape
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____sweep_shape_70;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint> FIMSpace.Generating.TileMeshSetup::_sweep_radius
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ____sweep_radius_71;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_sweep_radiusMul
|
|
float ____sweep_radiusMul_72;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_sweep_Close
|
|
bool ____sweep_Close_73;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_sweep_shapeSubdivLimit
|
|
float ____sweep_shapeSubdivLimit_74;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup::_sweep_distribSubdivLimit
|
|
float ____sweep_distribSubdivLimit_75;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended
|
|
struct MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3[] FIMSpace.Generating.FMeshUtils/MeshExtended::Vertices
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___Vertices_0;
|
|
// UnityEngine.Color[] FIMSpace.Generating.FMeshUtils/MeshExtended::Colors
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ___Colors_1;
|
|
// UnityEngine.Vector2[] FIMSpace.Generating.FMeshUtils/MeshExtended::UVs
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___UVs_2;
|
|
// UnityEngine.Vector3[] FIMSpace.Generating.FMeshUtils/MeshExtended::Normals
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___Normals_3;
|
|
// System.Int32[] FIMSpace.Generating.FMeshUtils/MeshExtended::Triangles
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___Triangles_4;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FMeshUtils/MeshExtended::Size
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Size_5;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint
|
|
struct PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3 : public RuntimeObject
|
|
{
|
|
// System.Int32 FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::index
|
|
int32_t ___index_0;
|
|
// System.Int32 FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::helpIndex
|
|
int32_t ___helpIndex_1;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::vxPos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vxPos_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::vxNorm
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vxNorm_3;
|
|
// System.Single FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::vxDot
|
|
float ___vxDot_4;
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::previous
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* ___previous_5;
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::next
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* ___next_6;
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::isReflex
|
|
bool ___isReflex_7;
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::isConvex
|
|
bool ___isConvex_8;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/WeldHelperVert
|
|
struct WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D
|
|
{
|
|
// UnityEngine.Color FIMSpace.Generating.FMeshUtils/WeldHelperVert::c
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c_0;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.FMeshUtils/WeldHelperVert::u
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___u_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData
|
|
struct PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989 : public RuntimeObject
|
|
{
|
|
// FIMSpace.Generating.PipeSegmentSetup FIMSpace.Generating.PipeGenerator/PipeSpawnData::ToCreate
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* ___ToCreate_0;
|
|
// UnityEngine.Mesh FIMSpace.Generating.PipeGenerator/PipeSpawnData::PreviewMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___PreviewMesh_1;
|
|
// FIMSpace.Generating.PipeSegmentSetup FIMSpace.Generating.PipeGenerator/PipeSpawnData::ParentSegment
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* ___ParentSegment_2;
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint FIMSpace.Generating.PipeGenerator/PipeSpawnData::Join
|
|
JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* ___Join_3;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::Position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Position_4;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.PipeGenerator/PipeSpawnData::Rotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Rotation_5;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::Scale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Scale_6;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator/PipeSpawnData::Child
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___Child_7;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator/PipeSpawnData::Parent
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___Parent_8;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData/ESpawnState FIMSpace.Generating.PipeGenerator/PipeSpawnData::State
|
|
int32_t ___State_9;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator/PipeSpawnData::Enabled
|
|
bool ___Enabled_10;
|
|
};
|
|
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint
|
|
struct JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeSegmentSetup/JoinPoint::origin
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___origin_0;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeSegmentSetup/JoinPoint::outAxis
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___outAxis_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableAttachementSettings
|
|
struct CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E : public RuntimeObject
|
|
{
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::Mesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___Mesh_0;
|
|
// UnityEngine.Material FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::Material
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___Material_1;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::Offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Offset_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::Rotation
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Rotation_3;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::FlatRotation
|
|
bool ___FlatRotation_4;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::Scale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Scale_5;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::ScaleMultiplier
|
|
float ___ScaleMultiplier_6;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::AddOnStart
|
|
bool ___AddOnStart_7;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::AddInTheMiddle
|
|
bool ___AddInTheMiddle_8;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::AddOnTheEnd
|
|
bool ___AddOnTheEnd_9;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::ApplyToAllClones
|
|
bool ___ApplyToAllClones_10;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableClonerSettings
|
|
struct CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.TileCableGenerator/CableClonerSettings::InstancesCount
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___InstancesCount_0;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator/CableClonerSettings::ClonesOffsets
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___ClonesOffsets_1;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableClonerSettings::ScaleOffsets
|
|
float ___ScaleOffsets_2;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableClonerSettings::CircularGrid
|
|
bool ___CircularGrid_3;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableClonerSettings::PathReGenerate
|
|
bool ___PathReGenerate_4;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator/CableClonerSettings::FlattenEnds
|
|
bool ___FlattenEnds_5;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings
|
|
struct CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings::RandomizeTrails
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___RandomizeTrails_0;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings::NoiseScale
|
|
float ___NoiseScale_1;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings::RandomizeLoose
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___RandomizeLoose_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings::RandomizePathPoints
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomizePathPoints_3;
|
|
// UnityEngine.Vector2Int FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings::CutOutClones
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___CutOutClones_4;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator
|
|
struct CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/CubeGenerator::Scale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Scale_0;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.TileMeshSetup/CubeGenerator::Subdivisions
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___Subdivisions_1;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CubeGenerator::BevelSize
|
|
float ___BevelSize_2;
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup/CubeGenerator::BevelSubdivs
|
|
int32_t ___BevelSubdivs_3;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CubeGenerator::FaceFront
|
|
bool ___FaceFront_4;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CubeGenerator::FaceBack
|
|
bool ___FaceBack_5;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CubeGenerator::FaceTop
|
|
bool ___FaceTop_6;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CubeGenerator::FaceBottom
|
|
bool ___FaceBottom_7;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CubeGenerator::FaceLeft
|
|
bool ___FaceLeft_8;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CubeGenerator::FaceRight
|
|
bool ___FaceRight_9;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane FIMSpace.Generating.TileMeshSetup/CubeGenerator::planeTop
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* ___planeTop_10;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane FIMSpace.Generating.TileMeshSetup/CubeGenerator::planeBottom
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* ___planeBottom_11;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane FIMSpace.Generating.TileMeshSetup/CubeGenerator::planeLeft
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* ___planeLeft_12;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane FIMSpace.Generating.TileMeshSetup/CubeGenerator::planeRight
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* ___planeRight_13;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane FIMSpace.Generating.TileMeshSetup/CubeGenerator::planeFront
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* ___planeFront_14;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane FIMSpace.Generating.TileMeshSetup/CubeGenerator::planeBack
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* ___planeBack_15;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator::_toAddTris
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ____toAddTris_16;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint
|
|
struct CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB : public RuntimeObject
|
|
{
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CurvePoint::distanceInSpline
|
|
float ___distanceInSpline_1;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint/EPointMode FIMSpace.Generating.TileMeshSetup/CurvePoint::Mode
|
|
int32_t ___Mode_2;
|
|
// UnityEngine.Color FIMSpace.Generating.TileMeshSetup/CurvePoint::VertexColor
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___VertexColor_3;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CurvePoint::VertexColorFalloff
|
|
float ___VertexColorFalloff_4;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::overrideNormal
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___overrideNormal_5;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CurvePoint::wasDrag
|
|
bool ___wasDrag_6;
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup/CurvePoint::index
|
|
int32_t ___index_7;
|
|
// UnityEngine.Rect FIMSpace.Generating.TileMeshSetup/CurvePoint::rect
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___rect_8;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::localPos
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___localPos_9;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::localInTan
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___localInTan_10;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::localNextTan
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___localNextTan_11;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::next
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___next_12;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::pre
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___pre_13;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CurvePoint::_extra_z
|
|
float ____extra_z_14;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/CurvePoint::_Loft_Height_ShiftWhole
|
|
bool ____Loft_Height_ShiftWhole_15;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CurvePoint::AutoFactor
|
|
float ___AutoFactor_16;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/MeshShapePoint
|
|
struct MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/MeshShapePoint::p
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___p_0;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/MeshShapePoint::normal
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___normal_1;
|
|
// UnityEngine.Color FIMSpace.Generating.TileMeshSetup/MeshShapePoint::c
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___c_2;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/MeshVertPoint
|
|
struct MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/MeshVertPoint::pos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___pos_0;
|
|
// UnityEngine.Color FIMSpace.Generating.TileMeshSetup/MeshVertPoint::vCol
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___vCol_1;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/MeshVertPoint::norm
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___norm_2;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/MeshVertPoint::UV
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___UV_3;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance
|
|
struct TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9 : public RuntimeObject
|
|
{
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::Enabled
|
|
bool ___Enabled_0;
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance/EMeshMode FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::MeshMode
|
|
int32_t ___MeshMode_1;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::Position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Position_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::Rotation
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Rotation_3;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::Scale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Scale_4;
|
|
// UnityEngine.Material FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::OverrideMaterial
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___OverrideMaterial_5;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::FoldoutAdvanced
|
|
bool ___FoldoutAdvanced_6;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::FlipNormals
|
|
bool ___FlipNormals_7;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::UVOffset
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___UVOffset_8;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::UVRotate
|
|
float ___UVRotate_9;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::UVReScale
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___UVReScale_10;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::UseInCollider
|
|
bool ___UseInCollider_11;
|
|
// FIMSpace.Generating.TileMeshSetup FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::_BakeParent
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ____BakeParent_12;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::_ModMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ____ModMesh_13;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::MeshModeApplyToAll
|
|
bool ___MeshModeApplyToAll_14;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::MeshModeApplyMasks
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___MeshModeApplyMasks_15;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::_bake_Combined
|
|
bool ____bake_Combined_16;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::SepAxisRotMode
|
|
bool ___SepAxisRotMode_17;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0
|
|
struct U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0::vertex
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___vertex_0;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0::uv
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___uv_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV
|
|
struct VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV::Position
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Position_0;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV::UV
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___UV_1;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Material
|
|
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Mesh
|
|
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// System.MulticastDelegate
|
|
struct MulticastDelegate_t : public Delegate_t
|
|
{
|
|
// System.Delegate[] System.MulticastDelegate::delegates
|
|
DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771* ___delegates_13;
|
|
};
|
|
// Native definition for P/Invoke marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_pinvoke : public Delegate_t_marshaled_pinvoke
|
|
{
|
|
Delegate_t_marshaled_pinvoke** ___delegates_13;
|
|
};
|
|
// Native definition for COM marshalling of System.MulticastDelegate
|
|
struct MulticastDelegate_t_marshaled_com : public Delegate_t_marshaled_com
|
|
{
|
|
Delegate_t_marshaled_com** ___delegates_13;
|
|
};
|
|
|
|
// UnityEngine.PhysicMaterial
|
|
struct PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// UnityEngine.ScriptableObject
|
|
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
// Native definition for P/Invoke marshalling of UnityEngine.ScriptableObject
|
|
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_pinvoke : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_pinvoke
|
|
{
|
|
};
|
|
// Native definition for COM marshalling of UnityEngine.ScriptableObject
|
|
struct ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A_marshaled_com : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_marshaled_com
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Shader
|
|
struct Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// System.SystemException
|
|
struct SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295 : public Exception_t
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.TileDesign
|
|
struct TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC : public RuntimeObject
|
|
{
|
|
// System.String FIMSpace.Generating.TileDesign::DesignName
|
|
String_t* ___DesignName_0;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup> FIMSpace.Generating.TileDesign::TileMeshes
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* ___TileMeshes_1;
|
|
// System.Boolean FIMSpace.Generating.TileDesign::Static
|
|
bool ___Static_3;
|
|
// System.String FIMSpace.Generating.TileDesign::Tag
|
|
String_t* ___Tag_4;
|
|
// System.Int32 FIMSpace.Generating.TileDesign::Layer
|
|
int32_t ___Layer_5;
|
|
// UnityEngine.Material FIMSpace.Generating.TileDesign::DefaultMaterial
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___DefaultMaterial_6;
|
|
// System.Collections.Generic.List`1<System.String> FIMSpace.Generating.TileDesign::_string_ToAttach
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ____string_ToAttach_7;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper> FIMSpace.Generating.TileDesign::SendMessages
|
|
List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* ___SendMessages_8;
|
|
// System.Boolean FIMSpace.Generating.TileDesign::AddRigidbody
|
|
bool ___AddRigidbody_9;
|
|
// System.Boolean FIMSpace.Generating.TileDesign::IsKinematic
|
|
bool ___IsKinematic_10;
|
|
// System.Single FIMSpace.Generating.TileDesign::RigidbodyMass
|
|
float ___RigidbodyMass_11;
|
|
// UnityEngine.PhysicMaterial FIMSpace.Generating.TileDesign::CollidersMaterial
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* ___CollidersMaterial_12;
|
|
// FIMSpace.Generating.TileDesign/EColliderMode FIMSpace.Generating.TileDesign::ColliderMode
|
|
int32_t ___ColliderMode_13;
|
|
// System.Single FIMSpace.Generating.TileDesign::ScaleColliders
|
|
float ___ScaleColliders_14;
|
|
// System.Boolean FIMSpace.Generating.TileDesign::ConvexCollider
|
|
bool ___ConvexCollider_15;
|
|
// System.Single FIMSpace.Generating.TileDesign::MeshColliderReduction
|
|
float ___MeshColliderReduction_16;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileDesign::ExpandThinCollider
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___ExpandThinCollider_17;
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh> FIMSpace.Generating.TileDesign::LatestGeneratedMeshes
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* ___LatestGeneratedMeshes_18;
|
|
// System.Collections.Generic.List`1<UnityEngine.Material> FIMSpace.Generating.TileDesign::LatestGeneratedMeshesMaterials
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* ___LatestGeneratedMeshesMaterials_19;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileDesign::_UsedCombinedCollisionMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ____UsedCombinedCollisionMesh_20;
|
|
// System.Int32 FIMSpace.Generating.TileDesign::_LatestGen_Meshes
|
|
int32_t ____LatestGen_Meshes_21;
|
|
// System.Int32 FIMSpace.Generating.TileDesign::_LatestGen_Vertices
|
|
int32_t ____LatestGen_Vertices_22;
|
|
// System.Int32 FIMSpace.Generating.TileDesign::_LatestGen_Tris
|
|
int32_t ____LatestGen_Tris_23;
|
|
// UnityEngine.Bounds FIMSpace.Generating.TileDesign::_LatestGen_Bounds
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ____LatestGen_Bounds_24;
|
|
};
|
|
|
|
// System.Type
|
|
struct Type_t : public MemberInfo_t
|
|
{
|
|
// System.RuntimeTypeHandle System.Type::_impl
|
|
RuntimeTypeHandle_t332A452B8B6179E4469B69525D0FE82A88030F7B ____impl_8;
|
|
};
|
|
|
|
// System.Predicate`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
struct Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Behaviour
|
|
struct Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Collider
|
|
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MeshFilter
|
|
struct MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// System.NotSupportedException
|
|
struct NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A : public SystemException_tCC48D868298F4C0705279823E34B00F4FBDB7295
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.PipePreset
|
|
struct PipePreset_t5DA4A347E0526581AE7AB9D5E90420B22DFEA77E : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
|
|
{
|
|
// FIMSpace.Generating.PipePreset/PipePresetData FIMSpace.Generating.PipePreset::Data
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* ___Data_4;
|
|
};
|
|
|
|
// UnityEngine.Renderer
|
|
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Rigidbody
|
|
struct Rigidbody_t268697F5A994213ED97393309870968BC1C7393C : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.TileDesignPreset
|
|
struct TileDesignPreset_t46FCB3F3582CEBCB5C767684E71A638C3596F99C : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
|
|
{
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign> FIMSpace.Generating.TileDesignPreset::Designs
|
|
List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* ___Designs_4;
|
|
};
|
|
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// UnityEngine.BoxCollider
|
|
struct BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23 : public Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MeshCollider
|
|
struct MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455 : public Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MeshRenderer
|
|
struct MeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE : public Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF
|
|
{
|
|
};
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
struct MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71 : public Behaviour_t01970CFBBA658497AE30F311C447DB0440BAB7FA
|
|
{
|
|
};
|
|
|
|
// UnityEngine.SphereCollider
|
|
struct SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275 : public Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.PipeGenerator
|
|
struct PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5 : public MonoBehaviour_t532A11E69716D348D8AA7F854AFCBFCB8AD17F71
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator::boxCastHalfScale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___boxCastHalfScale_4;
|
|
// System.Collections.Generic.List`1<UnityEngine.GameObject> FIMSpace.Generating.PipeGenerator::generated
|
|
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B* ___generated_5;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData> FIMSpace.Generating.PipeGenerator::allSpawns
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* ___allSpawns_6;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData> FIMSpace.Generating.PipeGenerator::pathSpawns
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* ___pathSpawns_7;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData> FIMSpace.Generating.PipeGenerator::startAlignSpawns
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* ___startAlignSpawns_8;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData> FIMSpace.Generating.PipeGenerator::endAlignSpawns
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* ___endAlignSpawns_9;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator::rootSpawn
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___rootSpawn_10;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator::latestSpawn
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___latestSpawn_11;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::ended
|
|
bool ___ended_12;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::breakGenerating
|
|
bool ___breakGenerating_13;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator::diveReach
|
|
int32_t ___diveReach_14;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::diveFinishing
|
|
bool ___diveFinishing_15;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::diveFinished
|
|
bool ___diveFinished_16;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator::diveSpawn
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___diveSpawn_17;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator::diveReachStartPos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___diveReachStartPos_18;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator::diveReachStartDir
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___diveReachStartDir_19;
|
|
// UnityEngine.RaycastHit FIMSpace.Generating.PipeGenerator::endAlignHelperHit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___endAlignHelperHit_20;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator::endAlignHelperHitSpawn
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___endAlignHelperHitSpawn_21;
|
|
// UnityEngine.RaycastHit FIMSpace.Generating.PipeGenerator::startAlignFinderHit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___startAlignFinderHit_22;
|
|
// UnityEngine.RaycastHit FIMSpace.Generating.PipeGenerator::startAlignHelperHit
|
|
RaycastHit_t6F30BD0B38B56401CA833A1B87BD74F2ACD2F2B5 ___startAlignHelperHit_23;
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator::startAlignHelperHitSpawn
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___startAlignHelperHitSpawn_24;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData> FIMSpace.Generating.PipeGenerator::pathFindIgnoreSpecific
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* ___pathFindIgnoreSpecific_25;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::latestComputedDistance
|
|
float ___latestComputedDistance_26;
|
|
// FIMSpace.Generating.PipePreset FIMSpace.Generating.PipeGenerator::projectPreset
|
|
PipePreset_t5DA4A347E0526581AE7AB9D5E90420B22DFEA77E* ___projectPreset_27;
|
|
// FIMSpace.Generating.PipePreset/PipePresetData FIMSpace.Generating.PipeGenerator::componentPreset
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* ___componentPreset_28;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::GenerateOnStart
|
|
bool ___GenerateOnStart_29;
|
|
// UnityEngine.Transform FIMSpace.Generating.PipeGenerator::DesiredEnding
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___DesiredEnding_30;
|
|
// System.Nullable`1<UnityEngine.Vector3> FIMSpace.Generating.PipeGenerator::CustomEndingPosition
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___CustomEndingPosition_31;
|
|
// System.Nullable`1<UnityEngine.Vector3> FIMSpace.Generating.PipeGenerator::CustomEndingDirection
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___CustomEndingDirection_32;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::MaxDistanceToEnding
|
|
float ___MaxDistanceToEnding_33;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator::MaxTries
|
|
int32_t ___MaxTries_34;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::AlignFinish
|
|
bool ___AlignFinish_35;
|
|
// UnityEngine.LayerMask FIMSpace.Generating.PipeGenerator::AlignFinishOptionalsOn
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___AlignFinishOptionalsOn_36;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::DontGenerateIfNotEnded
|
|
bool ___DontGenerateIfNotEnded_37;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator::FirstSegmentsWithoutCollision
|
|
int32_t ___FirstSegmentsWithoutCollision_38;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::AlignScaleForFinishingSegments
|
|
bool ___AlignScaleForFinishingSegments_39;
|
|
// UnityEngine.LayerMask FIMSpace.Generating.PipeGenerator::AlignStartOn
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___AlignStartOn_40;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::AlignStartMaxDistance
|
|
float ___AlignStartMaxDistance_41;
|
|
// UnityEngine.Vector3[] FIMSpace.Generating.PipeGenerator::AlignStartDirections
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___AlignStartDirections_42;
|
|
// UnityEngine.LayerMask FIMSpace.Generating.PipeGenerator::ObstaclesMask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___ObstaclesMask_43;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::BoxcastScale
|
|
float ___BoxcastScale_44;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::SelfCollisionScale
|
|
float ___SelfCollisionScale_45;
|
|
// UnityEngine.LayerMask FIMSpace.Generating.PipeGenerator::HoldMask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___HoldMask_46;
|
|
// UnityEngine.Vector3[] FIMSpace.Generating.PipeGenerator::HoldDirections
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___HoldDirections_47;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::MinimalDistanceToHoldMask
|
|
float ___MinimalDistanceToHoldMask_48;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator::RFindSeed
|
|
int32_t ___RFindSeed_49;
|
|
// UnityEngine.LayerMask FIMSpace.Generating.PipeGenerator::RFindMask
|
|
LayerMask_t97CB6BDADEDC3D6423C7BCFEA7F86DA2EC6241DB ___RFindMask_50;
|
|
// UnityEngine.Vector3[] FIMSpace.Generating.PipeGenerator::RFindDirections
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___RFindDirections_51;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::WorldSpaceRFindDirs
|
|
bool ___WorldSpaceRFindDirs_52;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::RFindMinimumDistance
|
|
float ___RFindMinimumDistance_53;
|
|
// System.Single FIMSpace.Generating.PipeGenerator::RFindMaxDistance
|
|
float ___RFindMaxDistance_54;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::FlattendRFindNormal
|
|
bool ___FlattendRFindNormal_55;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator::RFindTries
|
|
int32_t ___RFindTries_56;
|
|
// System.Int32 FIMSpace.Generating.PipeGenerator::RFindSteps
|
|
int32_t ___RFindSteps_57;
|
|
};
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>
|
|
|
|
// System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>
|
|
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>
|
|
struct List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Color>
|
|
struct List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Color>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.CombineInstance>
|
|
struct List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.CombineInstance>
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Material>
|
|
struct List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
MaterialU5BU5D_t2B1D11C42DB07A4400C0535F92DBB87A2E346D3D* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Material>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh>
|
|
struct List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
MeshU5BU5D_t178CA36422FC397211E68FB7E39C5B2F95619689* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Mesh>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.MeshFilter>
|
|
struct List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
MeshFilterU5BU5D_tCE3B457E6F7ECE5ECEE9E09150642150448685BA* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.MeshFilter>
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>
|
|
struct List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
PipeSegmentSetupU5BU5D_tCF323C64BE179F1D555791862693C1ED70F136F2* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
StringU5BU5D_t7674CD946EC0CE7B3AE0BE70E6EE85F2ECD9F248* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.String>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>
|
|
struct List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
TileDesignU5BU5D_t65291749F3C9994AD619573BE4E19032AE066044* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>
|
|
struct List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
TileMeshSetupU5BU5D_tFD8A64F1FFD7AEE06B818705C564FFA7799993B1* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector2>
|
|
struct List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector2>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
struct List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3Int>
|
|
struct List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3Int>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>
|
|
struct List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
PolyShapeHelpPointU5BU5D_t3ADEBA0AD80AE65E8BFDC0E7BEF621307E046A46* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>
|
|
struct List_1_t1509365DD407E78228B0165A96CF06074C08D989_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
PipeSpawnDataU5BU5D_tBC28CC7D0016A4037290CDBBB8A062B158B08788* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>
|
|
struct List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SendMessageHelperU5BU5D_tD8EF405F88CF1DFDDC99C3CB95CA00B4A494D118* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>
|
|
struct List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
CurvePointU5BU5D_tEF66714CF111412E9F64A897E7E508D0BE48E5AD* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>
|
|
struct List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>
|
|
struct List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>
|
|
struct List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
TileMeshCombineInstanceU5BU5D_t7451E6E8DE205F050E93C75495367C3B0398FE59* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
struct List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
VertexUVU5BU5D_t1150375F6BDCC117D3661F12DD89B879B33D9EEF* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
|
|
// FIMSpace.Generating.FMeshUtils
|
|
|
|
// FIMSpace.Generating.FMeshUtils
|
|
|
|
// System.Reflection.MemberInfo
|
|
|
|
// System.Reflection.MemberInfo
|
|
|
|
// Parabox.CSG.Model
|
|
|
|
// Parabox.CSG.Model
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// FIMSpace.Generating.TileCableGenerator
|
|
struct TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields
|
|
{
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::cablesMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___cablesMesh_0;
|
|
// UnityEngine.Vector3[] FIMSpace.Generating.TileCableGenerator::_vertices
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ____vertices_1;
|
|
// System.Int32[] FIMSpace.Generating.TileCableGenerator::_tris
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____tris_2;
|
|
// System.Int32[] FIMSpace.Generating.TileCableGenerator::_trisRev
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____trisRev_3;
|
|
// System.Int32[] FIMSpace.Generating.TileCableGenerator::_trisCircleHelperCurrent
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____trisCircleHelperCurrent_4;
|
|
// System.Int32[] FIMSpace.Generating.TileCableGenerator::_trisCircleHelperPre
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ____trisCircleHelperPre_5;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> FIMSpace.Generating.TileCableGenerator::cableCircle
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___cableCircle_6;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> FIMSpace.Generating.TileCableGenerator::cableTrail
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___cableTrail_7;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> FIMSpace.Generating.TileCableGenerator::pointsBackup
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___pointsBackup_8;
|
|
// System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>> FIMSpace.Generating.TileCableGenerator::attachementSources
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* ___attachementSources_9;
|
|
// System.Collections.Generic.List`1<UnityEngine.CombineInstance> FIMSpace.Generating.TileCableGenerator::toCombineSingle
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* ___toCombineSingle_10;
|
|
// System.Collections.Generic.List`1<UnityEngine.CombineInstance> FIMSpace.Generating.TileCableGenerator::toCombine
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* ___toCombine_11;
|
|
// System.Boolean FIMSpace.Generating.TileCableGenerator::resetLengthReference
|
|
bool ___resetLengthReference_12;
|
|
// System.Single FIMSpace.Generating.TileCableGenerator::lengthReferenceScale
|
|
float ___lengthReferenceScale_13;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileCableGenerator
|
|
|
|
// System.ValueType
|
|
|
|
// System.ValueType
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker
|
|
|
|
// FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24
|
|
|
|
// FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24
|
|
|
|
// FIMSpace.Generating.PipePreset/PipePresetData
|
|
|
|
// FIMSpace.Generating.PipePreset/PipePresetData
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableMeshSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableMeshSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableTexturingSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableTexturingSettings
|
|
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper
|
|
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node
|
|
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node
|
|
|
|
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
|
|
// System.Collections.Generic.KeyValuePair`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
|
|
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>
|
|
|
|
// System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>
|
|
|
|
// System.Boolean
|
|
struct Boolean_t09A6377A54BE2F9E6985A8149F19234FD7DDFE22_StaticFields
|
|
{
|
|
// System.String System.Boolean::TrueString
|
|
String_t* ___TrueString_5;
|
|
// System.String System.Boolean::FalseString
|
|
String_t* ___FalseString_6;
|
|
};
|
|
|
|
// System.Boolean
|
|
|
|
// UnityEngine.Color
|
|
|
|
// UnityEngine.Color
|
|
|
|
// System.Double
|
|
|
|
// System.Double
|
|
|
|
// System.Int32
|
|
|
|
// System.Int32
|
|
|
|
// System.IntPtr
|
|
struct IntPtr_t_StaticFields
|
|
{
|
|
// System.IntPtr System.IntPtr::Zero
|
|
intptr_t ___Zero_1;
|
|
};
|
|
|
|
// System.IntPtr
|
|
|
|
// UnityEngine.LayerMask
|
|
|
|
// UnityEngine.LayerMask
|
|
|
|
// UnityEngine.Mathf
|
|
struct Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields
|
|
{
|
|
// System.Single UnityEngine.Mathf::Epsilon
|
|
float ___Epsilon_0;
|
|
};
|
|
|
|
// UnityEngine.Mathf
|
|
|
|
// UnityEngine.Matrix4x4
|
|
struct Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields
|
|
{
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::zeroMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___zeroMatrix_16;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::identityMatrix
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___identityMatrix_17;
|
|
};
|
|
|
|
// UnityEngine.Matrix4x4
|
|
|
|
// UnityEngine.Quaternion
|
|
struct Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields
|
|
{
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::identityQuaternion
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___identityQuaternion_4;
|
|
};
|
|
|
|
// UnityEngine.Quaternion
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// UnityEngine.Rect
|
|
|
|
// System.Single
|
|
|
|
// System.Single
|
|
|
|
// UnityEngine.Vector2
|
|
struct Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields
|
|
{
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::zeroVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___zeroVector_2;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::oneVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___oneVector_3;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::upVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___upVector_4;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::downVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___downVector_5;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::leftVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___leftVector_6;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::rightVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___rightVector_7;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::positiveInfinityVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___positiveInfinityVector_8;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::negativeInfinityVector
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___negativeInfinityVector_9;
|
|
};
|
|
|
|
// UnityEngine.Vector2
|
|
|
|
// UnityEngine.Vector2Int
|
|
struct Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A_StaticFields
|
|
{
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Zero
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Zero_2;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_One
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_One_3;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Up
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Up_4;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Down
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Down_5;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Left
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Left_6;
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::s_Right
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___s_Right_7;
|
|
};
|
|
|
|
// UnityEngine.Vector2Int
|
|
|
|
// UnityEngine.Vector3
|
|
struct Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::zeroVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___zeroVector_5;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::oneVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___oneVector_6;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::upVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___upVector_7;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::downVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___downVector_8;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::leftVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___leftVector_9;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::rightVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___rightVector_10;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::forwardVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___forwardVector_11;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::backVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___backVector_12;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::positiveInfinityVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positiveInfinityVector_13;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::negativeInfinityVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___negativeInfinityVector_14;
|
|
};
|
|
|
|
// UnityEngine.Vector3
|
|
|
|
// UnityEngine.Vector3Int
|
|
struct Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376_StaticFields
|
|
{
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Zero
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Zero_3;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_One
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_One_4;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Up
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Up_5;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Down
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Down_6;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Left
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Left_7;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Right
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Right_8;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Forward
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Forward_9;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::s_Back
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___s_Back_10;
|
|
};
|
|
|
|
// UnityEngine.Vector3Int
|
|
|
|
// UnityEngine.Vector4
|
|
struct Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3_StaticFields
|
|
{
|
|
// UnityEngine.Vector4 UnityEngine.Vector4::zeroVector
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___zeroVector_5;
|
|
// UnityEngine.Vector4 UnityEngine.Vector4::oneVector
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___oneVector_6;
|
|
// UnityEngine.Vector4 UnityEngine.Vector4::positiveInfinityVector
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___positiveInfinityVector_7;
|
|
// UnityEngine.Vector4 UnityEngine.Vector4::negativeInfinityVector
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___negativeInfinityVector_8;
|
|
};
|
|
|
|
// UnityEngine.Vector4
|
|
|
|
// System.Void
|
|
|
|
// System.Void
|
|
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>
|
|
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<System.Object,System.Object>
|
|
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<System.Object,System.Object>
|
|
|
|
// System.Nullable`1<UnityEngine.Vector3>
|
|
|
|
// System.Nullable`1<UnityEngine.Vector3>
|
|
|
|
// UnityEngine.Bounds
|
|
|
|
// UnityEngine.Bounds
|
|
|
|
// UnityEngine.CombineInstance
|
|
|
|
// UnityEngine.CombineInstance
|
|
|
|
// System.Delegate
|
|
|
|
// System.Delegate
|
|
|
|
// System.Exception
|
|
struct Exception_t_StaticFields
|
|
{
|
|
// System.Object System.Exception::s_EDILock
|
|
RuntimeObject* ___s_EDILock_0;
|
|
};
|
|
|
|
// System.Exception
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
|
|
// FIMSpace.Generating.PipeSegmentSetup
|
|
|
|
// FIMSpace.Generating.PipeSegmentSetup
|
|
|
|
// UnityEngine.RaycastHit
|
|
|
|
// UnityEngine.RaycastHit
|
|
|
|
// System.RuntimeTypeHandle
|
|
|
|
// System.RuntimeTypeHandle
|
|
|
|
// FIMSpace.Generating.TileMeshSetup
|
|
struct TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15_StaticFields
|
|
{
|
|
// FIMSpace.Generating.TileMeshSetup FIMSpace.Generating.TileMeshSetup::_CopyRef
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ____CopyRef_9;
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::_CopyInstances
|
|
bool ____CopyInstances_10;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended
|
|
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint
|
|
|
|
// FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint
|
|
|
|
// FIMSpace.Generating.FMeshUtils/WeldHelperVert
|
|
|
|
// FIMSpace.Generating.FMeshUtils/WeldHelperVert
|
|
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData
|
|
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData
|
|
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint
|
|
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableAttachementSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableAttachementSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableClonerSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableClonerSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings
|
|
|
|
// FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint
|
|
struct CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields
|
|
{
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CurvePoint::_size
|
|
float ____size_0;
|
|
// UnityEngine.Rect FIMSpace.Generating.TileMeshSetup/CurvePoint::_latestEditorDisplayRect
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ____latestEditorDisplayRect_17;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::_GetPosAt_Origin
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ____GetPosAt_Origin_18;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::_GetPosAt_Other
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ____GetPosAt_Other_19;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/MeshShapePoint
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/MeshShapePoint
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/MeshVertPoint
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/MeshVertPoint
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV
|
|
|
|
// FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.Material
|
|
|
|
// UnityEngine.Material
|
|
|
|
// UnityEngine.Mesh
|
|
|
|
// UnityEngine.Mesh
|
|
|
|
// System.MulticastDelegate
|
|
|
|
// System.MulticastDelegate
|
|
|
|
// UnityEngine.PhysicMaterial
|
|
|
|
// UnityEngine.PhysicMaterial
|
|
|
|
// UnityEngine.ScriptableObject
|
|
|
|
// UnityEngine.ScriptableObject
|
|
|
|
// UnityEngine.Shader
|
|
|
|
// UnityEngine.Shader
|
|
|
|
// System.SystemException
|
|
|
|
// System.SystemException
|
|
|
|
// FIMSpace.Generating.TileDesign
|
|
struct TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC_StaticFields
|
|
{
|
|
// FIMSpace.Generating.TileDesign FIMSpace.Generating.TileDesign::_CopyFrom
|
|
TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* ____CopyFrom_2;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileDesign
|
|
|
|
// System.Type
|
|
struct Type_t_StaticFields
|
|
{
|
|
// System.Reflection.Binder modreq(System.Runtime.CompilerServices.IsVolatile) System.Type::s_defaultBinder
|
|
Binder_t91BFCE95A7057FADF4D8A1A342AFE52872246235* ___s_defaultBinder_0;
|
|
// System.Char System.Type::Delimiter
|
|
Il2CppChar ___Delimiter_1;
|
|
// System.Type[] System.Type::EmptyTypes
|
|
TypeU5BU5D_t97234E1129B564EB38B8D85CAC2AD8B5B9522FFB* ___EmptyTypes_2;
|
|
// System.Object System.Type::Missing
|
|
RuntimeObject* ___Missing_3;
|
|
// System.Reflection.MemberFilter System.Type::FilterAttribute
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterAttribute_4;
|
|
// System.Reflection.MemberFilter System.Type::FilterName
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterName_5;
|
|
// System.Reflection.MemberFilter System.Type::FilterNameIgnoreCase
|
|
MemberFilter_tF644F1AE82F611B677CE1964D5A3277DDA21D553* ___FilterNameIgnoreCase_6;
|
|
};
|
|
|
|
// System.Type
|
|
|
|
// System.Predicate`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
|
|
// System.Predicate`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>
|
|
|
|
// UnityEngine.Behaviour
|
|
|
|
// UnityEngine.Behaviour
|
|
|
|
// UnityEngine.Collider
|
|
|
|
// UnityEngine.Collider
|
|
|
|
// UnityEngine.MeshFilter
|
|
|
|
// UnityEngine.MeshFilter
|
|
|
|
// System.NotSupportedException
|
|
|
|
// System.NotSupportedException
|
|
|
|
// FIMSpace.Generating.PipePreset
|
|
|
|
// FIMSpace.Generating.PipePreset
|
|
|
|
// UnityEngine.Renderer
|
|
|
|
// UnityEngine.Renderer
|
|
|
|
// UnityEngine.Rigidbody
|
|
|
|
// UnityEngine.Rigidbody
|
|
|
|
// FIMSpace.Generating.TileDesignPreset
|
|
|
|
// FIMSpace.Generating.TileDesignPreset
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// UnityEngine.BoxCollider
|
|
|
|
// UnityEngine.BoxCollider
|
|
|
|
// UnityEngine.MeshCollider
|
|
|
|
// UnityEngine.MeshCollider
|
|
|
|
// UnityEngine.MeshRenderer
|
|
|
|
// UnityEngine.MeshRenderer
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// UnityEngine.MonoBehaviour
|
|
|
|
// UnityEngine.SphereCollider
|
|
|
|
// UnityEngine.SphereCollider
|
|
|
|
// FIMSpace.Generating.PipeGenerator
|
|
|
|
// FIMSpace.Generating.PipeGenerator
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// FIMSpace.Generating.PipeSegmentSetup/JoinPoint[]
|
|
struct JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* m_Items[1];
|
|
|
|
inline JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.CombineInstance[]
|
|
struct CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE m_Items[1];
|
|
|
|
inline CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// UnityEngine.Vector3[]
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 m_Items[1];
|
|
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) int32_t m_Items[1];
|
|
|
|
inline int32_t GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline int32_t GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline int32_t* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, int32_t value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// UnityEngine.Vector2[]
|
|
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 m_Items[1];
|
|
|
|
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3>[]
|
|
struct List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* m_Items[1];
|
|
|
|
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.Color[]
|
|
struct ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Color_tD001788D726C3A7F1379BEED0260B9591F440C1F m_Items[1];
|
|
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// System.Collections.Generic.List`1<System.Int32>[,,]
|
|
struct List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* m_Items[1];
|
|
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* GetAt(il2cpp_array_size_t i, il2cpp_array_size_t j, il2cpp_array_size_t k) const
|
|
{
|
|
il2cpp_array_size_t iBound = bounds[0].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(i, iBound);
|
|
il2cpp_array_size_t jBound = bounds[1].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(j, jBound);
|
|
il2cpp_array_size_t kBound = bounds[2].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(k, kBound);
|
|
|
|
il2cpp_array_size_t index = (i * jBound + j) * kBound + k;
|
|
return m_Items[index];
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73** GetAddressAt(il2cpp_array_size_t i, il2cpp_array_size_t j, il2cpp_array_size_t k)
|
|
{
|
|
il2cpp_array_size_t iBound = bounds[0].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(i, iBound);
|
|
il2cpp_array_size_t jBound = bounds[1].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(j, jBound);
|
|
il2cpp_array_size_t kBound = bounds[2].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(k, kBound);
|
|
|
|
il2cpp_array_size_t index = (i * jBound + j) * kBound + k;
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t i, il2cpp_array_size_t j, il2cpp_array_size_t k, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* value)
|
|
{
|
|
il2cpp_array_size_t iBound = bounds[0].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(i, iBound);
|
|
il2cpp_array_size_t jBound = bounds[1].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(j, jBound);
|
|
il2cpp_array_size_t kBound = bounds[2].length;
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(k, kBound);
|
|
|
|
il2cpp_array_size_t index = (i * jBound + j) * kBound + k;
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* GetAtUnchecked(il2cpp_array_size_t i, il2cpp_array_size_t j, il2cpp_array_size_t k) const
|
|
{
|
|
il2cpp_array_size_t jBound = bounds[1].length;
|
|
il2cpp_array_size_t kBound = bounds[2].length;
|
|
|
|
il2cpp_array_size_t index = (i * jBound + j) * kBound + k;
|
|
return m_Items[index];
|
|
}
|
|
inline List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73** GetAddressAtUnchecked(il2cpp_array_size_t i, il2cpp_array_size_t j, il2cpp_array_size_t k)
|
|
{
|
|
il2cpp_array_size_t jBound = bounds[1].length;
|
|
il2cpp_array_size_t kBound = bounds[2].length;
|
|
|
|
il2cpp_array_size_t index = (i * jBound + j) * kBound + k;
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t i, il2cpp_array_size_t j, il2cpp_array_size_t k, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* value)
|
|
{
|
|
il2cpp_array_size_t jBound = bounds[1].length;
|
|
il2cpp_array_size_t kBound = bounds[2].length;
|
|
|
|
il2cpp_array_size_t index = (i * jBound + j) * kBound + k;
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) RuntimeObject* m_Items[1];
|
|
|
|
inline RuntimeObject* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline RuntimeObject* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline RuntimeObject** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, RuntimeObject* value)
|
|
{
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
};
|
|
// UnityEngine.Vector3Int[]
|
|
struct Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 m_Items[1];
|
|
|
|
inline Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// FIMSpace.Generating.TileMeshSetup/MeshVertPoint[]
|
|
struct MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD m_Items[1];
|
|
|
|
inline MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
// FIMSpace.Generating.TileMeshSetup/MeshShapePoint[]
|
|
struct MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D m_Items[1];
|
|
|
|
inline MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D* GetAddressAt(il2cpp_array_size_t index)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAt(il2cpp_array_size_t index, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
}
|
|
inline MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D* GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D value)
|
|
{
|
|
m_Items[index] = value;
|
|
}
|
|
};
|
|
|
|
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Object>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<System.Object>::Remove(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Remove_m4DFA48F4CEB9169601E75FC28517C5C06EFA5AD7_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponent<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponentInChildren<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_GetComponentInChildren_TisRuntimeObject_mED181B37054A10395CA356010754C7DFC685893C_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.CombineInstance>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_gshared_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3Int>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59_gshared (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3Int>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_gshared_inline (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_item, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3Int>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_gshared_inline (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector3Int>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026_gshared (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3Int>::RemoveAt(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177_gshared (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Vector3Int>::Contains(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4_gshared (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_item, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Vector3>::Contains(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.CombineInstance>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_gshared_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE ___0_item, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.CombineInstance>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_gshared_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.CombineInstance>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_gshared (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.CombineInstance>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE_gshared (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_gshared_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_item, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.Vector2>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.CombineInstance>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_gshared (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302_gshared (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::ContainsKey(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53_gshared (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::Add(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F_gshared (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_value, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// TValue System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::get_Item(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69_gshared (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<TSource> System.Linq.Enumerable::ToList<UnityEngine.Color>(System.Collections.Generic.IEnumerable`1<TSource>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219_gshared (RuntimeObject* ___0_source, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Color>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_gshared (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85_gshared (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::ContainsKey(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12_gshared (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::Add(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6_gshared (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D ___1_value, const RuntimeMethod* method) ;
|
|
// TValue System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::get_Item(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0_gshared (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Color>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_gshared_inline (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_item, const RuntimeMethod* method) ;
|
|
// System.Void System.Predicate`1<System.Object>::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Predicate_1__ctor_m3E007299121A15DF80F4A210FF8C20E5DF688F20_gshared (Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Object>::FindIndex(System.Predicate`1<T>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t List_1_FindIndex_m9875FFE328FA833B2617915FF976DEDA4724EBC3_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, Predicate_1_t8342C85FF4E41CD1F7024AC0CDC3E5312A32CB12* ___0_match, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.Vector3>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.Color>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F_gshared (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<System.Int32>::ToArray()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<System.Object>()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> FIMSpace.FTransformMethods::FindComponentsInAllChildren<System.Object>(UnityEngine.Transform,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* FTransformMethods_FindComponentsInAllChildren_TisRuntimeObject_m6F3B975AFA92EDC82EE82A93727FEBD66B2CE659_gshared (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transformToSearchIn, bool ___1_includeInactive, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<System.Object,System.Object>::ContainsKey(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Dictionary_2_ContainsKey_m703047C213F7AB55C9DC346596287773A1F670CD_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::Add(TKey,TValue)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2_Add_m93FFFABE8FCE7FA9793F0915E2A8842C7CD0C0C1_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
|
|
// TValue System.Collections.Generic.Dictionary`2<System.Object,System.Object>::get_Item(TKey)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Dictionary_2_get_Item_m4AAAECBE902A211BF2126E6AFA280AEF73A3E0D6_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, RuntimeObject* ___0_key, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<System.Object,System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<TKey,TValue> System.Collections.Generic.Dictionary`2<System.Object,System.Object>::GetEnumerator()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Enumerator_tEA93FE2B778D098F590CA168BEFC4CD85D73A6B9 Dictionary_2_GetEnumerator_m52AB12790B0B9B46B1DFB1F861C9DBEAB07C1FDA_gshared (Dictionary_2_t14FE4A752A83D53771C584E4C8D14E01F2AFD7BA* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2/Enumerator<System.Object,System.Object>::Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Enumerator_Dispose_mEA5E01B81EB943B7003D87CEC1B6040524F0402C_gshared (Enumerator_tEA93FE2B778D098F590CA168BEFC4CD85D73A6B9* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.KeyValuePair`2<TKey,TValue> System.Collections.Generic.Dictionary`2/Enumerator<System.Object,System.Object>::get_Current()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230 Enumerator_get_Current_mE3475384B761E1C7971D3639BD09117FE8363422_gshared_inline (Enumerator_tEA93FE2B778D098F590CA168BEFC4CD85D73A6B9* __this, const RuntimeMethod* method) ;
|
|
// TValue System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>::get_Value()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* KeyValuePair_2_get_Value_mC6BD8075F9C9DDEF7B4D731E5C38EC19103988E7_gshared_inline (KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230* __this, const RuntimeMethod* method) ;
|
|
// TKey System.Collections.Generic.KeyValuePair`2<System.Object,System.Object>::get_Key()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* KeyValuePair_2_get_Key_mBD8EA7557C27E6956F2AF29DA3F7499B2F51A282_gshared_inline (KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2/Enumerator<System.Object,System.Object>::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Enumerator_MoveNext_mCD4950A75FFADD54AF354D48C6C0DB0B5A22A5F4_gshared (Enumerator_tEA93FE2B778D098F590CA168BEFC4CD85D73A6B9* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m3C58DBC69A321AF2826595584FF3E9F43C07EA56_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, int32_t ___0_index, RuntimeObject* ___1_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_gshared (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_gshared (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_gshared (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_gshared_inline (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD ___0_item, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_gshared (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_gshared_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_gshared_inline (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Reverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_gshared (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Reverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_gshared (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Reverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Color>::Reverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43_gshared (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Object>::Reverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_Reverse_m3A8BEF4194B03E75859F94B4EE2F54045AF98708_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, int32_t ___0_index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_gshared_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.Object::Instantiate<System.Object>(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Object_Instantiate_TisRuntimeObject_m90A1E6C4C2B445D2E848DB75C772D1B95AAC046A_gshared (RuntimeObject* ___0_original, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_gshared_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::Add(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_gshared_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D ___0_item, const RuntimeMethod* method) ;
|
|
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Scale(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_point, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::TransformVector(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_TransformVector_mD91202BECD10E5F532F7A7403858CF67D22ABE38 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_offset, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Addition(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::TransformPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_TransformPoint_m8A6BC82FA117A07F27A49F8DF3FF5C2CA32F3F79 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_offset, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_UnaryNegation(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds UnityEngine.Mesh::get_bounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds FIMSpace.Generating.PipeGenerator/PipeSpawnData::RotateBounds(UnityEngine.Quaternion,UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 PipeSpawnData_RotateBounds_m55EFA96204C3B7B99A55C96D928172BBEDED8F07 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::Rotate(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_Rotate_m015442530DFF5651458BBFDFB3CBC9180FC09D9E (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_q, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_max()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_min()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Bounds::Encapsulate(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_point, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_size()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Bounds::set_size(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_one()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method) ;
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.PipeGenerator::ClearGenerated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeGenerator_ClearGenerated_m6577EE2E136AF63A72092C74CAA6CC5965AE23AE (PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Transform UnityEngine.Component::get_transform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371 (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Transform::get_rotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.PipeGenerator::PreparePathFind(UnityEngine.Vector3,UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeGenerator_PreparePathFind_m1723DF65343EADD2E7C0202D0943EA8CAAFBB18E (PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_startPos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_startRot, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Input::GetKeyDown(UnityEngine.KeyCode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2 (int32_t ___0_key, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator::get_EndPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeGenerator_get_EndPosition_m521BB697AE76D57B6E9A0D691E4CB6873C9B2240 (PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>::get_Count()
|
|
inline int32_t List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_inline (List_1_t1509365DD407E78228B0165A96CF06074C08D989* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t1509365DD407E78228B0165A96CF06074C08D989*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// FIMSpace.Generating.PipeGenerator/PipeSpawnData FIMSpace.Generating.PipeGenerator::PathNextSegmentTowards(FIMSpace.Generating.PipeGenerator/PipeSpawnData,UnityEngine.Vector3,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* PipeGenerator_PathNextSegmentTowards_m2CE275B2D4F824922CFC723BF8BDC8199F6CAD20 (PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* __this, PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___0_parent, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_target, bool ___2_useCollision, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator::AddToIgnore(FIMSpace.Generating.PipeGenerator/PipeSpawnData)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PipeGenerator_AddToIgnore_m37BC56FBB1D9E1F5FF926A33E092E661BE6FAC9B (PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* __this, PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___0_data, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>::get_Item(System.Int32)
|
|
inline PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* List_1_get_Item_mE4159AA70CB582986662CE80550B4ED365B4D437 (List_1_t1509365DD407E78228B0165A96CF06074C08D989* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* (*) (List_1_t1509365DD407E78228B0165A96CF06074C08D989*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>::Remove(T)
|
|
inline bool List_1_Remove_m1E22A15089852C7A17E8EA8B66EE62848E1473D1 (List_1_t1509365DD407E78228B0165A96CF06074C08D989* __this, PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_t1509365DD407E78228B0165A96CF06074C08D989*, PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989*, const RuntimeMethod*))List_1_Remove_m4DFA48F4CEB9169601E75FC28517C5C06EFA5AD7_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m0052B5C7DCC0E53CDF11F0A0F2093E81D9F1CE26 (List_1_t1509365DD407E78228B0165A96CF06074C08D989* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t1509365DD407E78228B0165A96CF06074C08D989*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.PipeGenerator/PipeSpawnData>::Add(T)
|
|
inline void List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_inline (List_1_t1509365DD407E78228B0165A96CF06074C08D989* __this, PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t1509365DD407E78228B0165A96CF06074C08D989*, PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::get_OutJoinPoint()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_get_OutJoinPoint_m61A1327430DF91051655AA432A005692B76C60DD (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Distance(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void System.NotSupportedException::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* __this, const RuntimeMethod* method) ;
|
|
// System.Object System.Object::MemberwiseClone()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.PipeSegmentSetup::SetPrefab(UnityEngine.GameObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeSegmentSetup_SetPrefab_mBBBC6FEC5F7B1E30439EC0E625E4965742218563 (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___0_pf, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::get_magnitude()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Object::op_Equality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponent<UnityEngine.MeshFilter>()
|
|
inline MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponent_TisRuntimeObject_m6EAED4AA356F0F48288F67899E5958792395563B_gshared)(__this, method);
|
|
}
|
|
// System.Boolean UnityEngine.Object::op_Implicit(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_exists, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponentInChildren<UnityEngine.MeshFilter>()
|
|
inline MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* GameObject_GetComponentInChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_m07852AD6D767DD6AA17149C42C54C3C7DC930B04 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponentInChildren_TisRuntimeObject_mED181B37054A10395CA356010754C7DFC685893C_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Mesh UnityEngine.MeshFilter::get_sharedMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C (MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_forward()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_up()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.ScriptableObject::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF (ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A* __this, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.PipeSegmentSetup FIMSpace.Generating.PipeSegmentSetup::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* PipeSegmentSetup_Copy_mEDA11EAA21BE40037A57939BEBD180D6609D989F (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>::.ctor()
|
|
inline void List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8 (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>::get_Item(System.Int32)
|
|
inline PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* List_1_get_Item_m1CE846D7DDCE8AB76B130007CE0642A845A39C2F (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* (*) (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>::Add(T)
|
|
inline void List_1_Add_m44B9458EBBDE1B60ACF5D7B20337408C2C3137D1_inline (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* __this, PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014*, PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.PipeSegmentSetup>::get_Count()
|
|
inline int32_t List_1_get_Count_m8AB2ACA26C742ADD507B73DB26CF22A47F54BC77_inline (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Count()
|
|
inline int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Clear()
|
|
inline void List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Add(T)
|
|
inline void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector3>::get_Item(System.Int32)
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, const RuntimeMethod*))List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator::GetBezierQuad(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TileCableGenerator_GetBezierQuad_m53B58D5FC67A51C2A5528F32E400E864D005762E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_mid, float ___3_t, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, int32_t ___0_index, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, int32_t, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Subtraction(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::ProjectOnPlane(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ProjectOnPlane_m68FB895F6E9FCC45676BB8B95857D091C0D78794_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_planeNormal, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::LerpUnclamped(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_LerpUnclamped_mF35042F9D25A221BDD4B3FD6251224610AFC1F35_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Multiply(System.Single,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector3::op_Inequality(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FGenerators::GetRandom(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 FGenerators_GetRandom_m69B502D1C21AEFC85B8FAB8B84088720FB465C62 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_plusMinusRangesPerAxis, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::.ctor()
|
|
inline void List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_gshared)(__this, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::RandomizaPoints(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_RandomizaPoints_m976BB2C32E139537CBA0DB45233C768AD0B9763E (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_backupPoints, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___2_settings, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GenerateCablesMesh(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Single,System.Single,System.Single,FIMSpace.Generating.TileCableGenerator/CableMeshSettings,FIMSpace.Generating.TileCableGenerator/CableTexturingSettings,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GenerateCablesMesh_m0DA7F17758957D96D9D3C25272E15726A23969A3 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, float ___1_Loose, float ___2_Hanging, float ___3_Radius, CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ___4_MeshSettings, CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ___5_TexturingSettings, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___6_randomSettings, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.CombineInstance>::Clear()
|
|
inline void List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, const RuntimeMethod*))List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean UnityEngine.Object::op_Inequality(UnityEngine.Object,UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_x, Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>::.ctor()
|
|
inline void List_1__ctor_mBE9255218FAB0B859E0DD1B944986BBC7F1C3A33 (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>::Clear()
|
|
inline void List_1_Clear_m0FE2E00F79D74591732CC5EB8919715FAF7EA3B7_inline (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::get_one()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline (const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector2::op_Inequality(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_lhs, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2Int::op_Implicit(UnityEngine.Vector2Int)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2Int_op_Implicit_m5B9FB268943E6CAB6E40E13D30BA49A9AC7D2059_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___0_v, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3Int>::.ctor()
|
|
inline void List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59 (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, const RuntimeMethod*))List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59_gshared)(__this, method);
|
|
}
|
|
// System.Int32 UnityEngine.Vector3Int::get_x()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Vector3Int::get_y()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3Int::.ctor(System.Int32,System.Int32,System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3Int>::Add(T)
|
|
inline void List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_inline (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376, const RuntimeMethod*))List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 UnityEngine.Vector3Int::get_z()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector3Int>::get_Count()
|
|
inline int32_t List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_inline (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, const RuntimeMethod*))List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 UnityEngine.Vector2Int::get_x()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector2Int::set_x(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2Int_set_x_m291ECF246536852F0B8EE049C4A3768E4999CDC8_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Vector2Int::get_y()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector2Int::set_y(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2Int_set_y_mF81881204EEE272BA409728C7EBFDE3A979DDF6A_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 FIMSpace.Generating.FGenerators::GetRandom(System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t FGenerators_GetRandom_m5EFC14041876CDAC27BA662BF4123F5F2F1EF7F7 (int32_t ___0_from, int32_t ___1_to, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector3Int>::get_Item(System.Int32)
|
|
inline Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026 (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, int32_t, const RuntimeMethod*))List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3Int>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177 (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Vector3Int>::Contains(T)
|
|
inline bool List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4 (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376, const RuntimeMethod*))List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4_gshared)(__this, ___0_item, method);
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.FVectorMethods::ChooseDominantAxis(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 FVectorMethods_ChooseDominantAxis_m84B7D8A93DEBD2208A3200AC272E62FBD2EAFB81 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_axis, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector3::op_Equality(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::get_identity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::LookRotation(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.CombineInstance::set_mesh(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5 (CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<UnityEngine.Vector3>::Contains(T)
|
|
inline bool List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>::get_Count()
|
|
inline int32_t List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_inline (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::Translate(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_Translate_mF3EDFC59C9E51DC0C0A483F6E44A4930D62E4091 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.CombineInstance::set_transform(UnityEngine.Matrix4x4)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE (CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE* __this, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.CombineInstance>::Add(T)
|
|
inline void List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE, const RuntimeMethod*))List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>::Add(T)
|
|
inline void List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_inline (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.CombineInstance>::get_Count()
|
|
inline int32_t List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, const RuntimeMethod*))List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Object::set_name(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.CombineInstance>::ToArray()
|
|
inline CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7 (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, const RuntimeMethod*))List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Mesh::CombineMeshes(UnityEngine.CombineInstance[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_CombineMeshes_m110B4E583DB600AF1F90A78A0D9EB3D7B96DD967 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* ___0_combine, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Collections.Generic.List`1<UnityEngine.Vector3>>::get_Item(System.Int32)
|
|
inline List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075 (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* (*) (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GenerateAttachements(System.Collections.Generic.List`1<UnityEngine.Vector3>,FIMSpace.Generating.TileCableGenerator/CableAttachementSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GenerateAttachements_m2FF96F9127626C28CE95ED4022BA055591C03568 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_attachementsTrail, CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* ___1_settings, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::get_identity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.CombineInstance::set_subMeshIndex(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CombineInstance_set_subMeshIndex_m0BEE48A40C54BCC5E4EE8978FE665BEC60EAE070 (CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::CombineMeshes(UnityEngine.CombineInstance[],System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_CombineMeshes_mC5CF9F6F49FC96139337C724849BB62DF9C47DD5 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* ___0_combine, bool ___1_mergeSubMeshes, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_right()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::AngleAxis(System.Single,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80 (float ___0_angle, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_axis, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::op_Multiply(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_lhs, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.TileCableGenerator::GetAxisRotation(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 TileCableGenerator_GetAxisRotation_m661764107043142E989BB8F40F3957FFE33CB1B4 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_angles, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 UnityEngine.Matrix4x4::TRS(UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_q, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_s, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GetSingleCableMesh(UnityEngine.Vector3,UnityEngine.Vector3,System.Single,System.Single,System.Single,FIMSpace.Generating.TileCableGenerator/CableMeshSettings,FIMSpace.Generating.TileCableGenerator/CableTexturingSettings,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GetSingleCableMesh_m8BA0036DA6C196ACD45FC042FA61BAA86A404055 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_Loose, float ___3_Hanging, float ___4_Radius, CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ___5_MeshSettings, CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ___6_TexturingSettings, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___7_randomSettings, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.CombineInstance>::get_Item(System.Int32)
|
|
inline CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, int32_t, const RuntimeMethod*))List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Mesh UnityEngine.CombineInstance::get_mesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* CombineInstance_get_mesh_m85416E24709E1C5314B8FAD8B8F2D155B9C2481C (CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::JoinCableSegmentsEnds(UnityEngine.Mesh,UnityEngine.Mesh,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_JoinCableSegmentsEnds_mD2C9120EE13F7B7EEB3C671B5489A8EFFDC2E514 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_start, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___1_end, int32_t ___2_circlePoints, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3[] UnityEngine.Mesh::get_vertices()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mesh::get_vertexCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t Mesh_get_vertexCount_mB7BE0340AAF272933068D830C8E711FC8978E12C (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::LerpUnclamped(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_LerpUnclamped_m4109A459C1DB823310A10B8B1E80CB6877418347_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::set_vertices(UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Single FIMSpace.Generating.FGenerators::GetRandomSwap(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FGenerators_GetRandomSwap_m5A2685BF8CA9D0202AE5C16DB881261022D29E85 (float ___0_from, float ___1_to, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::get_sqrMagnitude()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::op_Division(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_normalized()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Dot(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3::.ctor(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::GenerateCableCircle(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_GenerateCableCircle_mF7C2A1E2B4A5BC34B82DD627CD85D4EA6C205FB9 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_cableRing, int32_t ___1_ringSubdivs, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::GenerateCableTrailPoints(System.Collections.Generic.List`1<UnityEngine.Vector3>,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Int32,System.Single&,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_GenerateCableTrailPoints_m70E3C57237E48CAD6C9BB2D072524E91CAABCC01 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_trail, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_stretchPoint, int32_t ___4_lengthSubdivs, float* ___5_trailLength, float ___6_hanging, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::.ctor()
|
|
inline void List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, const RuntimeMethod*))List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Vector2::.ctor(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::LookRotation(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_upwards, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Lerp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::PerlinNoise(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A (float ___0_x, float ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Add(T)
|
|
inline void List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, const RuntimeMethod*))List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void UnityEngine.Mesh::set_triangles(System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::RecalculateNormals()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.Vector2>::ToArray()
|
|
inline Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5 (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, const RuntimeMethod*))List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Mesh::set_uv(UnityEngine.Vector2[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_uv_m6ED9C50E0DA8166DD48AC40FD6C828B9AD2E9617 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::RotateUV(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_RotateUV_m82A1C116F7463BE54BB0ECF8B28D209A474640D6 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, float ___1_angle, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::RecalculateTangents()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::RecalculateBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.CombineInstance>::.ctor()
|
|
inline void List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, const RuntimeMethod*))List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Vector2Int UnityEngine.Vector2Int::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A Vector2Int_get_zero_mF92C338E9CB9434105090E675E04D20A29649553_inline (const RuntimeMethod* method) ;
|
|
// System.Int32[] UnityEngine.Mesh::get_triangles()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Cross(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::get_eulerAngles()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.FVectorMethods::FlattenVector(UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 FVectorMethods_FlattenVector_mFB2935A228A0128621F28225D781818CFC6596BA (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, float ___1_to, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::set_normals(UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_set_normals_m85D73193C49211BE9FA135FF72D5749B16A4760B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Shader UnityEngine.Shader::Find(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5 (String_t* ___0_name, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Material::.ctor(UnityEngine.Shader)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* __this, Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* ___0_shader, const RuntimeMethod* method) ;
|
|
// Parabox.CSG.Model Parabox.CSG.CSG::Intersect(UnityEngine.Mesh,UnityEngine.Material,UnityEngine.Matrix4x4,UnityEngine.Mesh,UnityEngine.Material,UnityEngine.Matrix4x4,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* CSG_Intersect_m332E1AE41BABBE76A22E588613D8377479C7F6BF (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_s, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___1_sm, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___2_smx, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___3_o, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___4_om, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___5_omx, bool ___6_allPoly, const RuntimeMethod* method) ;
|
|
// Parabox.CSG.Model Parabox.CSG.CSG::Subtract(UnityEngine.Mesh,UnityEngine.Material,UnityEngine.Matrix4x4,UnityEngine.Mesh,UnityEngine.Material,UnityEngine.Matrix4x4,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* CSG_Subtract_m4DE21344BD36A304C7F9B97F01B2A7C1F756FE42 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_s, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___1_sm, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___2_smx, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___3_o, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___4_om, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___5_omx, bool ___6_allPoly, const RuntimeMethod* method) ;
|
|
// Parabox.CSG.Model Parabox.CSG.CSG::Union(UnityEngine.Mesh,UnityEngine.Material,UnityEngine.Matrix4x4,UnityEngine.Mesh,UnityEngine.Material,UnityEngine.Matrix4x4,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* CSG_Union_mAEFEA4D7B95AD020D2BE276BE372590AF70EC1AB (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_s, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___1_sm, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___2_smx, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___3_o, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___4_om, Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 ___5_omx, bool ___6_allPoly, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh Parabox.CSG.Model::get_mesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* Model_get_mesh_mDF7516FB0C25F23CF1AD498FA0D391A0F97FD468 (Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_center()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetVerticesUnity2018(UnityEngine.Mesh,UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___1_verts, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetVertices(UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetVertices_m881F2A14D298007BFCCFA5FE03825BCCD0B19D12 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_inVertices, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetUVs(System.Int32,UnityEngine.Vector2[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetUVs_m6AFD5BFC4D7FB9EE57D8F19AB1BECD0675771D48 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, int32_t ___0_channel, Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___1_uvs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetNormals(UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetNormals_m7223127D3403D2EC512DBEDFC063F4D04E2B8554 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___0_inNormals, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetTriangles(System.Int32[],System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetTriangles_mD97664344427EB85BB6DC2EF91479E03B9114258 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___0_triangles, int32_t ___1_submesh, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetColors(System.Collections.Generic.List`1<UnityEngine.Color>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* ___0_inColors, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2[] UnityEngine.Mesh::get_uv()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* Mesh_get_uv_mA47805C48AB3493FF3727922C43E77880E73519F (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetUVUnity2018(UnityEngine.Mesh,UnityEngine.Vector2[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetUVUnity2018_m5F257D0FECF58C151C6F792E55500163F64BBEB8 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___1_uv, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Subtraction(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Addition(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3[] UnityEngine.Mesh::get_normals()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* Mesh_get_normals_m2B6B159B799E6E235EA651FCAB2E18EE5B18ED62 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetNormalsUnity2018(UnityEngine.Mesh,UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetNormalsUnity2018_m62107763D3C83CB6AE59B75C27A2031952C5AE8A (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___1_norm, const RuntimeMethod* method) ;
|
|
// System.Int32[] UnityEngine.Mesh::GetTriangles(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* Mesh_GetTriangles_m2B70A746EE624B60BF9BA4528E4239B47EF42E16 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, int32_t ___0_submesh, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetTrianglesUnity2018(UnityEngine.Mesh,System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetTrianglesUnity2018_m773394584E654E79D8163FB96838BCA656F6CF22 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_tris, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::.ctor()
|
|
inline void List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8 (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_gshared)(__this, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>::get_Count()
|
|
inline int32_t List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>::get_Item(System.Int32)
|
|
inline PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* (*) (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Add(T)
|
|
inline void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>::.ctor()
|
|
inline void List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04 (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>::Add(T)
|
|
inline void List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_inline (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* __this, PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*, PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::ValidateReflexOrConvex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyShapeHelpPoint_ValidateReflexOrConvex_mD722536DE7554FBB6555729FD420C8074E290972 (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::ValidateVertexEar(System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>,System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyShapeHelpPoint_ValidateVertexEar_m24490DFE399D3BF70E2E997BD21377EF91C3866B (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* ___0_vertices, List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* ___1_earVertices, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Debug::Log(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>::Remove(T)
|
|
inline bool List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6 (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* __this, PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*, PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3*, const RuntimeMethod*))List_1_Remove_m4DFA48F4CEB9169601E75FC28517C5C06EFA5AD7_gshared)(__this, ___0_item, method);
|
|
}
|
|
// UnityEngine.Color[] UnityEngine.Mesh::get_colors()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* Mesh_get_colors_m3A38944EBA064B0E55A24C95C3706193F45B313D (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::.ctor()
|
|
inline void Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302 (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654*, const RuntimeMethod*))Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302_gshared)(__this, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::ContainsKey(TKey)
|
|
inline bool Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53 (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53_gshared)(__this, ___0_key, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::Add(TKey,TValue)
|
|
inline void Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, const RuntimeMethod*))Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// System.Int32 UnityEngine.Mathf::FloorToInt(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.Int32>::get_Item(System.Int32)
|
|
inline int32_t List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Single UnityEngine.Vector3::SqrMagnitude(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.Int32>::get_Count()
|
|
inline int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline)(__this, method);
|
|
}
|
|
// TValue System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,UnityEngine.Vector2>::get_Item(TKey)
|
|
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69 (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 (*) (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69_gshared)(__this, ___0_key, method);
|
|
}
|
|
// System.Void UnityEngine.Mesh::Clear()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_Clear_m0F95397EA143D31AD0B4D332E8C6FA25A7957BC0 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<TSource> System.Linq.Enumerable::ToList<UnityEngine.Color>(System.Collections.Generic.IEnumerable`1<TSource>)
|
|
inline List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219 (RuntimeObject* ___0_source, const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* (*) (RuntimeObject*, const RuntimeMethod*))Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219_gshared)(___0_source, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetColorsUnity2018(UnityEngine.Mesh,System.Collections.Generic.List`1<UnityEngine.Color>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetColorsUnity2018_mE2A24C9C2A9A132F63131766D20A3D88304457C6 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* ___1_c, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshExtended__ctor_m6625B1B4B40B140E92FA41ED8B35082392F1D66C (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended::Prepare(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshExtended_Prepare_m9A840DF3CA8FE9AE17EFD2BA8D3F01535B79AAA8 (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box FIMSpace.Generating.FMeshUtils/UVPacker::Pack(FIMSpace.Generating.FMeshUtils/MeshExtended,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* UVPacker_Pack_m18FF7AAE27881CA158553D2CF34693B81DB8E224 (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* ___0_extended, float ___1_gap, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Color>::.ctor()
|
|
inline void List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*, const RuntimeMethod*))List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::.ctor()
|
|
inline void Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85 (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A*, const RuntimeMethod*))Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85_gshared)(__this, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::ContainsKey(TKey)
|
|
inline bool Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12 (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12_gshared)(__this, ___0_key, method);
|
|
}
|
|
// UnityEngine.Color UnityEngine.Color::get_white()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/WeldHelperVert::.ctor(UnityEngine.Color,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WeldHelperVert__ctor_m28E1DF987C7AAA1F0D202B404EFACDC7EB9B7162 (WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_col, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uv, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::Add(TKey,TValue)
|
|
inline void Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6 (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D, const RuntimeMethod*))Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// TValue System.Collections.Generic.Dictionary`2<UnityEngine.Vector3,FIMSpace.Generating.FMeshUtils/WeldHelperVert>::get_Item(TKey)
|
|
inline WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0 (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D (*) (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0_gshared)(__this, ___0_key, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Color>::Add(T)
|
|
inline void List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F, const RuntimeMethod*))List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void UnityEngine.Mesh::SetVertices(System.Collections.Generic.List`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_inVertices, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetUVs(System.Int32,System.Collections.Generic.List`1<UnityEngine.Vector2>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, int32_t ___0_channel, List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* ___1_uvs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetNormals(System.Collections.Generic.List`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_inNormals, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::SetTriangles(System.Collections.Generic.List`1<System.Int32>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___0_triangles, int32_t ___1_submesh, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::XZ()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::IsTriangleOrientedClockwise(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyShapeHelpPoint_IsTriangleOrientedClockwise_mD8403DDC3B5AA2974480ADB98F17154F598BB63B (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_p1, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_p2, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_p3, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::IsPointInTriangle(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyShapeHelpPoint_IsPointInTriangle_mF98AEBD64C69EEB2C908EA9914154504AF5206AD (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_p1, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_p2, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_p3, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___3_p, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker/Box::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Box__ctor_m85935D874E4EB967697502ABC43ABEF19165F0BB (Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* __this, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker::FindNode(FIMSpace.Generating.FMeshUtils/UVPacker/Node,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t060F31555626C8316D8637C345234E42B5020B5E* UVPacker_FindNode_mB586500CDF1551E334B41B006BBB57F19E900B7A (Node_t060F31555626C8316D8637C345234E42B5020B5E* ___0_node, float ___1_width, float ___2_height, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker/Node::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672 (Node_t060F31555626C8316D8637C345234E42B5020B5E* __this, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box FIMSpace.Generating.FMeshUtils/UVPacker::UVBox(FIMSpace.Generating.FMeshUtils/MeshExtended,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* UVPacker_UVBox_m3DC9283D5EAACA31589C11CDDE5226E245BFFBB0 (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* ___0_extended, float ___1_gap, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker::AttachNode(FIMSpace.Generating.FMeshUtils/UVPacker/Node,FIMSpace.Generating.FMeshUtils/UVPacker/Box)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t060F31555626C8316D8637C345234E42B5020B5E* UVPacker_AttachNode_m6DEB6F23D7EB8A4C01C3B481E028A713572EC2A8 (Node_t060F31555626C8316D8637C345234E42B5020B5E* ___0_root, Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* ___1_box, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker::SplitNode(FIMSpace.Generating.FMeshUtils/UVPacker/Node,FIMSpace.Generating.FMeshUtils/UVPacker/Box)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UVPacker_SplitNode_mBA1EF80C6D5694074C095771599E4AFEF51AE8F7 (Node_t060F31555626C8316D8637C345234E42B5020B5E* ___0_node, Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* ___1_box, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker::AdjustUVs(FIMSpace.Generating.FMeshUtils/UVPacker/Box)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UVPacker_AdjustUVs_m32013BF7648C398DEE77799C596255E7B76FCDF8 (Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* ___0_box, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass8_0__ctor_m8E9A23602AD564D0C357F23C540769329EBDD037 (U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Predicate`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>::.ctor(System.Object,System.IntPtr)
|
|
inline void Predicate_1__ctor_m8D4908A2545509E318DADFD86088484D1A8D50A5 (Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23*, RuntimeObject*, intptr_t, const RuntimeMethod*))Predicate_1__ctor_m3E007299121A15DF80F4A210FF8C20E5DF688F20_gshared)(__this, ___0_object, ___1_method, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>::FindIndex(System.Predicate`1<T>)
|
|
inline int32_t List_1_FindIndex_mE4284B0415CFC8A1F543A0DB75350B4322D49BDE (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* __this, Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23* ___0_match, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380*, Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23*, const RuntimeMethod*))List_1_FindIndex_m9875FFE328FA833B2617915FF976DEDA4724EBC3_gshared)(__this, ___0_match, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>::.ctor()
|
|
inline void List_1__ctor_m4F4CA9D1CB21BE093F9444CE4DA27E78FA2C395D (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Int32 FIMSpace.Generating.FMeshUtils/MeshExtended::FindWeld(System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>,UnityEngine.Vector3,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MeshExtended_FindWeld_mF533D2FDEE88D7A7B142BBB0687636CDF593CEA9 (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* ___0_list, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_vertex, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_uv, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexUV__ctor_m7D1917306BD560E4ADB7B8881D6B498821FF5F1B (VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>::Add(T)
|
|
inline void List_1_Add_m1211D80426768535FA3CB5A1A3DAF9847E14BC61_inline (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* __this, VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380*, VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>::get_Count()
|
|
inline int32_t List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_inline (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.Vector3>::ToArray()
|
|
inline Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_gshared)(__this, method);
|
|
}
|
|
// T[] System.Collections.Generic.List`1<UnityEngine.Color>::ToArray()
|
|
inline ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* (*) (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*, const RuntimeMethod*))List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F_gshared)(__this, method);
|
|
}
|
|
// T[] System.Collections.Generic.List`1<System.Int32>::ToArray()
|
|
inline Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>::get_Item(System.Int32)
|
|
inline VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7 (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* (*) (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Vector3 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_v, const RuntimeMethod* method) ;
|
|
// UnityEngine.Material FIMSpace.Generating.TileDesign::get_DefaultDiffuseMaterial()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TileDesign_get_DefaultDiffuseMaterial_mB50BA5BEC1A5A1AE9C53B7FF36E96ED594ADDD85 (const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GameObject::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_name, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.MeshFilter>()
|
|
inline MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<UnityEngine.Mesh>::get_Item(System.Int32)
|
|
inline Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* (*) (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void UnityEngine.MeshFilter::set_sharedMesh(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshFilter_set_sharedMesh_m946F7E3F583761982642BDA4753784AF1DF6E16F (MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.MeshRenderer>()
|
|
inline MeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE* GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<UnityEngine.Material>::get_Item(System.Int32)
|
|
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456 (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* (*) (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void UnityEngine.Renderer::set_sharedMaterial(UnityEngine.Material)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288 (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_value, const RuntimeMethod* method) ;
|
|
// System.String System.Int32::ToString()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5 (int32_t* __this, const RuntimeMethod* method) ;
|
|
// System.String System.String::Concat(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* String_Concat_m9E3155FB84015C823606188F53B47CB44C444991 (String_t* ___0_str0, String_t* ___1_str1, const RuntimeMethod* method) ;
|
|
// UnityEngine.Transform UnityEngine.GameObject::get_transform()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::SetParent(UnityEngine.Transform)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_SetParent_m6677538B60246D958DD91F931C50F969CCBB5250 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_p, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_localPosition(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_localRotation(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_localScale(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Mesh>::get_Count()
|
|
inline int32_t List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.GameObject::set_isStatic(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_set_isStatic_m0468F0E4553F5B3DDBE03F3788BE0A1A3736839C (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GameObject::set_layer(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_set_layer_m6E1AF478A2CC86BD222B96317BEB78B7D89B18D0 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GameObject::set_tag(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_set_tag_m0A41528AFD8C83E1CEC5D769921159897CDD2B24 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.Rigidbody>()
|
|
inline Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Rigidbody::set_isKinematic(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rigidbody::set_mass(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rigidbody_set_mass_mC7F886DEDB57C742A16F8B6B779F69AFE164CA4B (Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.BoxCollider>()
|
|
inline BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Collider::set_sharedMaterial(UnityEngine.PhysicMaterial)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Collider_set_sharedMaterial_m2AC21AB939A377ABACF8282CDC52EE61B54107ED (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* __this, PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.BoxCollider::set_size(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BoxCollider_set_size_m8374267FDE5DD628973E0E5E1331E781552B855A (BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.BoxCollider::set_center(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void BoxCollider_set_center_m0AB0482699735FEE8306A7FCAAE66A76C479F0F0 (BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<T> FIMSpace.FTransformMethods::FindComponentsInAllChildren<UnityEngine.MeshFilter>(UnityEngine.Transform,System.Boolean)
|
|
inline List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___0_transformToSearchIn, bool ___1_includeInactive, const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* (*) (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1*, bool, const RuntimeMethod*))FTransformMethods_FindComponentsInAllChildren_TisRuntimeObject_m6F3B975AFA92EDC82EE82A93727FEBD66B2CE659_gshared)(___0_transformToSearchIn, ___1_includeInactive, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<UnityEngine.MeshFilter>::get_Item(System.Int32)
|
|
inline MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348 (List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* (*) (List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.GameObject UnityEngine.Component::get_gameObject()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B (Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.MeshFilter>::get_Count()
|
|
inline int32_t List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_inline (List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.SphereCollider>()
|
|
inline SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* GameObject_AddComponent_TisSphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275_m3D05F19667844A2949840753F7A3287115BE029E (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Vector3 UnityEngine.Bounds::get_extents()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.SphereCollider::set_radius(System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SphereCollider_set_radius_m6119FE18C6739B077AB17334B1B53984911017FF (SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* __this, float ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.SphereCollider::set_center(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SphereCollider_set_center_m83F6CC0056B491CD577B9AC08FA1E331074203D4 (SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::AddComponent<UnityEngine.MeshCollider>()
|
|
inline MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_AddComponent_TisRuntimeObject_m69B93700FACCF372F5753371C6E8FB780800B824_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.MeshCollider::set_sharedMesh(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshCollider_set_sharedMesh_m05F87B9AC04139285EBBCC159F77B51C6940E79C (MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.MeshCollider::set_convex(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshCollider_set_convex_m20482D687240D0921BA76B77983403E55A2E3CE1 (MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* __this, bool ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileDesign::GetCombinedCollisionMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileDesign_GetCombinedCollisionMesh_m6CD3E1786F5318084BDBD5E073015A3C28C35AB4 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh UnityEngine.MeshCollider::get_sharedMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* MeshCollider_get_sharedMesh_mFB4B8534501C29930D2D3710D6D82E60093FA21E (MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<System.String>::get_Item(System.Int32)
|
|
inline String_t* List_1_get_Item_m21AEC50E791371101DC22ABCF96A2E46800811F8 (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( String_t* (*) (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Boolean System.Type::op_Inequality(System.Type,System.Type)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Type_op_Inequality_m83209C7BB3C05DFBEA3B6199B0BEFE8037301172 (Type_t* ___0_left, Type_t* ___1_right, const RuntimeMethod* method) ;
|
|
// UnityEngine.Component UnityEngine.GameObject::AddComponent(System.Type)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* GameObject_AddComponent_mDF246771EC34613FA6AF0C98D443368FB43E9F36 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, Type_t* ___0_componentType, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<System.String>::get_Count()
|
|
inline int32_t List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_inline (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>::get_Item(System.Int32)
|
|
inline SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* List_1_get_Item_mBF3BB7EE985ACB3AF2DBE110250E94BDF0409BEE (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* (*) (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign/SendMessageHelper::SendTo(UnityEngine.GameObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SendMessageHelper_SendTo_m16856D06CB04902E7DD9E876F4B6DFCA5BB96495 (SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___0_pf, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>::get_Count()
|
|
inline int32_t List_1_get_Count_mC82B05036EF8568D67042AA2F73632C0D0DA2E2F_inline (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Bounds::Encapsulate(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_Encapsulate_m7C70C382B9380A8C962074C78E189B53CE8F7A22 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::ContainsKey(TKey)
|
|
inline bool Dictionary_2_ContainsKey_m14956EE7B5B0E92CED6CD60B3B17CA1E61134A16 (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01*, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*, const RuntimeMethod*))Dictionary_2_ContainsKey_m703047C213F7AB55C9DC346596287773A1F670CD_gshared)(__this, ___0_key, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>::.ctor()
|
|
inline void List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::Add(TKey,TValue)
|
|
inline void Dictionary_2_Add_m50B7F81F8D7A42EF1C6ED821C4F37F1F798540F3 (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_key, List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01*, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*, List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, const RuntimeMethod*))Dictionary_2_Add_m93FFFABE8FCE7FA9793F0915E2A8842C7CD0C0C1_gshared)(__this, ___0_key, ___1_value, method);
|
|
}
|
|
// TValue System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::get_Item(TKey)
|
|
inline List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* Dictionary_2_get_Item_m2D2E48F59A08CE7C3AA2271DEA028D73B7CFE603 (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_key, const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* (*) (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01*, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*, const RuntimeMethod*))Dictionary_2_get_Item_m4AAAECBE902A211BF2126E6AFA280AEF73A3E0D6_gshared)(__this, ___0_key, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>::Add(T)
|
|
inline void List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_inline (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* __this, TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Mesh>::Clear()
|
|
inline void List_1_Clear_m2A7F6C398C8494D1C584E5B59E33A460BBEDC75F_inline (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Material>::Clear()
|
|
inline void List_1_Clear_mB542E879C436E98D901D3068C891582A25F85711_inline (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>::get_Item(System.Int32)
|
|
inline TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4 (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* (*) (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::FullGenerateMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_FullGenerateMesh_m4BDA5344659A3CBB4AEBBD2E6B4DB29D7550C6A8 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>::get_Count()
|
|
inline int32_t List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::.ctor()
|
|
inline void Dictionary_2__ctor_mEA7C4EFB730D89291BB8F0EA36C4E1446B6E3383 (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01*, const RuntimeMethod*))Dictionary_2__ctor_m5B32FBC624618211EB461D59CFBB10E987FD1329_gshared)(__this, method);
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance> FIMSpace.Generating.TileMeshSetup::get_Instances()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>::get_Item(System.Int32)
|
|
inline TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* (*) (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::RefreshModMesh(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80 (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, bool ___0_forceRefresh, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::OffsetUV(UnityEngine.Mesh,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_OffsetUV_m43FB024D99B4D3ADFCB0E5D861AE1EC0816E6CB4 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uVOffset, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::RescaleUV(UnityEngine.Mesh,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_RescaleUV_m398E65E16C73B9A12AB96DEF25E9DC13C272A556 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uVReScale, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::FlipNormals(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_FlipNormals_m36E22A5A3D81EC5092F6691EC56B41590F5B3607 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileDesign::AddInstanceTo(UnityEngine.Material,FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance,System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign_AddInstanceTo_m349A7B49C177CEBAD130C3E11101CF3C3CD3B18B (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_key, TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* ___1_tileInst, Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* ___2_inst, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.Dictionary`2/Enumerator<TKey,TValue> System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::GetEnumerator()
|
|
inline Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2 Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526 (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2 (*) (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01*, const RuntimeMethod*))Dictionary_2_GetEnumerator_m52AB12790B0B9B46B1DFB1F861C9DBEAB07C1FDA_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.Dictionary`2/Enumerator<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::Dispose()
|
|
inline void Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F (Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2*, const RuntimeMethod*))Enumerator_Dispose_mEA5E01B81EB943B7003D87CEC1B6040524F0402C_gshared)(__this, method);
|
|
}
|
|
// System.Collections.Generic.KeyValuePair`2<TKey,TValue> System.Collections.Generic.Dictionary`2/Enumerator<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::get_Current()
|
|
inline KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_inline (Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 (*) (Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2*, const RuntimeMethod*))Enumerator_get_Current_mE3475384B761E1C7971D3639BD09117FE8363422_gshared_inline)(__this, method);
|
|
}
|
|
// TValue System.Collections.Generic.KeyValuePair`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::get_Value()
|
|
inline List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline (KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* (*) (KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5*, const RuntimeMethod*))KeyValuePair_2_get_Value_mC6BD8075F9C9DDEF7B4D731E5C38EC19103988E7_gshared_inline)(__this, method);
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::get_LatestGeneratedMesh()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Matrix4x4 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::GenerateMatrix()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>::get_Count()
|
|
inline int32_t List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.Mesh::CombineMeshes(UnityEngine.CombineInstance[],System.Boolean,System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_CombineMeshes_m1AA1A424DBA00B8F1CDA38D06F4609D779AEC5F9 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* ___0_combine, bool ___1_mergeSubMeshes, bool ___2_useMatrices, bool ___3_hasLightmapData, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Mesh>::Add(T)
|
|
inline void List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_inline (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// TKey System.Collections.Generic.KeyValuePair`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::get_Key()
|
|
inline Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_inline (KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* (*) (KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5*, const RuntimeMethod*))KeyValuePair_2_get_Key_mBD8EA7557C27E6956F2AF29DA3F7499B2F51A282_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Material>::Add(T)
|
|
inline void List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_inline (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B*, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.Dictionary`2/Enumerator<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>::MoveNext()
|
|
inline bool Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069 (Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2*, const RuntimeMethod*))Enumerator_MoveNext_mCD4950A75FFADD54AF354D48C6C0DB0B5A22A5F4_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::MeshesOperation(UnityEngine.Mesh,UnityEngine.Mesh,Parabox.CSG.CSG/BooleanOp)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_MeshesOperation_m7C2CBF9681486B973B6768620035C8F691415541 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_combined, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___1_removeCombination, int32_t ___2_operation, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Mesh>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_mB24A044C1D1D8E0CAD9D696D1C3E8A96F897D127 (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* __this, int32_t ___0_index, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*, int32_t, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*, const RuntimeMethod*))List_1_set_Item_m3C58DBC69A321AF2826595584FF3E9F43C07EA56_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign::RefreshGenerateMeshesInfo()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign_RefreshGenerateMeshesInfo_m886E905A89595482C20193125BC841AC7E8F4AA1 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup>::.ctor()
|
|
inline void List_1__ctor_m995E7F898C1F728554AFCBE93329D6529B039FE2 (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.String>::.ctor()
|
|
inline void List_1__ctor_mCA8DD57EAC70C2B5923DBB9D5A77CEAC22E7068E (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign/SendMessageHelper>::.ctor()
|
|
inline void List_1__ctor_m4BE0AABF1BBA5C6630FCD0978CFBF1F6AE920AD0 (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Mesh>::.ctor()
|
|
inline void List_1__ctor_mCE9A346DD934EB013274F9CABE1C5B887A7B7D47 (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Material>::.ctor()
|
|
inline void List_1__ctor_m38500C20418699AEC04B1946434E06EC96FB4B1C (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void UnityEngine.GameObject::SendMessage(System.String,UnityEngine.SendMessageOptions)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_SendMessage_mA78D98EDC835AE3DFC8E899AF24068C31AE92E46 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_methodName, int32_t ___1_options, const RuntimeMethod* method) ;
|
|
// System.Boolean System.String::IsNullOrEmpty(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478 (String_t* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.GameObject::SendMessage(System.String,System.Object,UnityEngine.SendMessageOptions)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void GameObject_SendMessage_m452B3418BE240EC79550C15E1F2EAE61488F06DF (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, String_t* ___0_methodName, RuntimeObject* ___1_value, int32_t ___2_options, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>::get_Count()
|
|
inline int32_t List_1_get_Count_m9F85777F60234F0D023B52E6F6C47B13A5D9FB26_inline (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>::get_Item(System.Int32)
|
|
inline TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649 (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* (*) (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign__ctor_m671E274A0E52E0C354475F5DA9539ED64DCEF959 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>::Add(T)
|
|
inline void List_1_Add_m0F5F91B54DEDF452902D5003DBF534D953DF21A2_inline (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* __this, TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E*, TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileDesign>::.ctor()
|
|
inline void List_1__ctor_mF21F40616446AA752850E4DCB24BE9B888BA7B5F (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::CheckInstances()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_CheckInstances_mCA58E16CB0388D0FA408770A05364658C23BCC5B (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshCombineInstance__ctor_m82933B4F6C57124D7FBA0D4A1BF78C1E354BA243 (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::LatheQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_LatheQuickUpdate_m1A83841C8DD374683625D4C7D95BC9C7BA6952F2 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::LoftQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_LoftQuickUpdate_m2913D96128A2168C2F0E22F33FCEDABC1B75E6C3 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::ExtrudeQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_ExtrudeQuickUpdate_mA1463DE38FF0C6345736106A374A71CA5488C2A5 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::SweepQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_SweepQuickUpdate_m29930D282CE5FD58A17F1809B5BD1093DD3669AA (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::CustomAndExtraQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_CustomAndExtraQuickUpdate_mAD724EDFF0204ADB6BAAD07148557487E52363A6 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::.ctor()
|
|
inline void List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9 (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*, const RuntimeMethod*))List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>::.ctor()
|
|
inline void List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Boolean System.String::op_Inequality(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::CopyListFromTo(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899 (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_from, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___1_to, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteMainTo(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteMainTo_m6D3FF56568BDA7E54ADF340498C09CEB8CB8800B (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteParametersTo(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteParametersTo_m865BEE443BD4464073CEDC9853CDD8A36E01A7FB (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteCurvesTo(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteCurvesTo_m9447A6F3F10871DA5BDA91972E9A3094B48ACDD5 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>::Clear()
|
|
inline void List_1_Clear_m82A3007B8E3D15F8D824AB835B24C1011B89025B_inline (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* TileMeshCombineInstance_Copy_m1505EC96C0B229119C867E9EB3A6F3B36EC7DA8F (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>::get_Count()
|
|
inline int32_t List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>::Clear()
|
|
inline void List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_inline (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*, const RuntimeMethod*))List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>::get_Item(System.Int32)
|
|
inline CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6 (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* (*) (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Implicit(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.ctor(UnityEngine.Vector2,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__ctor_m079FE2B3670F069F3ECBCDD1413837A5F28FB081 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_pos, bool ___1_local, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>::Add(T)
|
|
inline void List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_inline (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* __this, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Single UnityEngine.Vector2::Distance(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint> FIMSpace.Generating.TileMeshSetup::GenerateMeshShape(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,FIMSpace.Generating.TileMeshSetup/ESubdivideCompute)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_points, float ___1_splineLength, float ___2_qualityFactor, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___3_buffer, int32_t ___4_compute, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateCustomMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateCustomMesh_m3B906F72FEEC38F13FC636A060F4EBA326414FAD (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::set_LatestGeneratedMesh(UnityEngine.Mesh)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PrepareCurves()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PrepareCurves_m81CB23439D0717144290F98CB0EC8F04550E7AD7 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::QuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_QuickUpdate_mEE0A032936EE9D1AF20D85FF14FF6B08B01DC199 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateMesh_m95DF16B164A30ADA5FFD3C530D979B39A64679C4 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 UnityEngine.Mathf::RoundToInt(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateLathe(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector2,System.Int32,System.Int32,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateLathe_m6CDB5A413BD7F33DC9FE6AF2AA501DE228041ED0 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_shape, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_dimensions, int32_t ___2_subdivs, int32_t ___3_fillTo, float ___4_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___5_uvMul, int32_t ___6_uvFit, int32_t ___7_normalsCompute, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateLoft(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector3,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateLoft_mFB10B049FC94011D59DE91BB7E954F2D3E18BE24 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_shape, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___1_shapeDistrib, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_dimensions, float ___3_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___4_uvMul, int32_t ___5_uvFit, int32_t ___6_normalsCompute, float ___7_distribDepth, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___8_shapeHeight, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateExtrude(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector3,System.Boolean,System.Boolean,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateExtrude_mA5770077B7C7D86B15C5C285C2C0CD823069B4A7 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_shape, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_dimensions, bool ___2_extrudeFrontCap, bool ___3_extrudeBackCap, float ___4_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___5_uvMul, int32_t ___6_uvFit, int32_t ___7_normalsCompute, bool ___8_extrudeMirror, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GeneratePrimitiveMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GeneratePrimitiveMesh_m4E17FE2713E593EA59CDDE52B4E7BC7B8EB49467 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateSweep(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector3,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateSweep_m18F4EC9693F5F1F76DAD5364A53747AE21E01E89 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_splineShape, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___1_shapeCirc, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_dimensions, float ___3_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___4_uvMul, int32_t ___5_uvFit, int32_t ___6_normalsCompute, float ___7_radius, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___8_sweepRadius, bool ___9_close, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::.ctor()
|
|
inline void List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098 (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*, const RuntimeMethod*))List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::get_Item(System.Int32)
|
|
inline MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2 (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D (*) (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*, int32_t, const RuntimeMethod*))List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::Add(T)
|
|
inline void List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD, const RuntimeMethod*))List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::get_Item(System.Int32)
|
|
inline MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD (*) (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*, int32_t, const RuntimeMethod*))List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::get_Count()
|
|
inline int32_t List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*, const RuntimeMethod*))List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_gshared_inline)(__this, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshVertPoint>::get_Count()
|
|
inline int32_t List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*, const RuntimeMethod*))List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_gshared_inline)(__this, method);
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::GetPosAt(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_points, float ___1_time, float ___2_splineLength, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::GetPointAt(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* CurvePoint_GetPointAt_m12BEDB96CF9C7F9F7988F11EFE637B5286A3598D (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_curve, float ___1_time, float ___2_splineLength, bool ___3_getPre, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SmoothMeshNormals(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, float ___1_hard, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::AdjustOrigin(UnityEngine.Mesh,FIMSpace.Generating.TileMeshSetup/EOrigin)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, int32_t ___1_origin, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::Scale(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_Scale_m8D61A8D2272549F1EF41256F7E8A206C6500EA6C_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::InverseLerp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline (float ___0_a, float ___1_b, float ___2_value, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector3>::Reverse()
|
|
inline void List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, const RuntimeMethod*))List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Reverse()
|
|
inline void List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::Reverse()
|
|
inline void List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, const RuntimeMethod*))List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Color>::Reverse()
|
|
inline void List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43 (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*, const RuntimeMethod*))List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Euler(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline (float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method) ;
|
|
// System.Single FIMSpace.FLogicMethods::InverseLerpUnclamped(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2 (float ___0_xx, float ___1_yy, float ___2_value, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::.ctor(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyShapeHelpPoint__ctor_mC49C1CADBE861F3CCDBA0569DA8CD24F0B15F147 (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>::Reverse()
|
|
inline void List_1_Reverse_m1B393BC5AECD0184216271E29ECF596462761AFD (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*, const RuntimeMethod*))List_1_Reverse_m3A8BEF4194B03E75859F94B4EE2F54045AF98708_gshared)(__this, method);
|
|
}
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.FMeshUtils::TriangulateConcavePolygon(System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* FMeshUtils_TriangulateConcavePolygon_m29C4E9D4D87230B9C450502ABAA2DF664BB4F7F9 (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* ___0_vertexPoints, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Item(System.Int32)
|
|
inline Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543 (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, int32_t, const RuntimeMethod*))List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<UnityEngine.Vector2>::set_Item(System.Int32,T)
|
|
inline void List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0 (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, int32_t ___0_index, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_value, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, int32_t, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, const RuntimeMethod*))List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_gshared)(__this, ___0_index, ___1_value, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<UnityEngine.Vector2>::get_Count()
|
|
inline int32_t List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, const RuntimeMethod*))List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_gshared_inline)(__this, method);
|
|
}
|
|
// T UnityEngine.Object::Instantiate<UnityEngine.Mesh>(T)
|
|
inline Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_original, const RuntimeMethod* method)
|
|
{
|
|
return (( Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* (*) (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*, const RuntimeMethod*))Object_Instantiate_TisRuntimeObject_m90A1E6C4C2B445D2E848DB75C772D1B95AAC046A_gshared)(___0_original, method);
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GenerateFullCablesMesh(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Single,System.Single,System.Single,FIMSpace.Generating.TileCableGenerator/CableMeshSettings,FIMSpace.Generating.TileCableGenerator/CableTexturingSettings,FIMSpace.Generating.TileCableGenerator/CableClonerSettings,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings,FIMSpace.Generating.TileCableGenerator/CableAttachementSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GenerateFullCablesMesh_m4C4AA3995CB728B0E5D5F8D05DD065344BD4311E (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, float ___1_cableLoose, float ___2_hanging, float ___3_radius, CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ___4_meshSettings, CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ___5_texturingSettings, CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* ___6_clonerSettings, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___7_randomSettings, CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* ___8_attachementSettings, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::_Primitive_Cube_ClampParams()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup__Primitive_Cube_ClampParams_mC02400E9108B94968F572F48796CB9D30AA1C992 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubeGenerator__ctor_m0359C8BCF422DCC9BD650DAA781C7774D943AAFE (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup/CubeGenerator::GenerateMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* CubeGenerator_GenerateMesh_m795BC385D3D205D3801922E1CD904C592E50ED31 (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::GetVertices(System.Collections.Generic.List`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_vertices, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::GetNormals(System.Collections.Generic.List`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_GetNormals_m6D4E3261EDC58B487E7F77C1C164495A42D41314 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_normals, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::GetUVs(System.Int32,System.Collections.Generic.List`1<UnityEngine.Vector2>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, int32_t ___0_channel, List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* ___1_uvs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::GetTriangles(System.Collections.Generic.List`1<System.Int32>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___0_triangles, int32_t ___1_submesh, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::_Primitive_Plane_ClampParams()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup__Primitive_Plane_ClampParams_mEB19E7F2EE51820FA74FAFDDFB4679A4F803067A (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::_GeneratePlane(System.Int32,System.Int32,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup__GeneratePlane_m9F63C437B93BE04AA79C3488545912318D647E32 (int32_t ___0_xSub, int32_t ___1_ySub, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_size, const RuntimeMethod* method) ;
|
|
// UnityEngine.GameObject UnityEngine.GameObject::CreatePrimitive(UnityEngine.PrimitiveType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GameObject_CreatePrimitive_m13C0A691E679A83DD595913200A1DD9A906EB47B (int32_t ___0_type, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FGenerators::DestroyObject(UnityEngine.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FGenerators_DestroyObject_m3699B112A4B96F9EF3DE5CF06659B3127816B76C (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* ___0_obj, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::Weld2(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_Weld2_m8359116D68B96A169B5EE8B5103A43FE76738805 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, float ___1_bucketStep, const RuntimeMethod* method) ;
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::Weld(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_Weld_m6C3656FC51D060D5C80EBB0203BCA7DBF870FD8A (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, float ___1_gap, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::Optimize()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_Optimize_m9BEEA08D34B1E99B712B862F540C8B0B9E6505E6 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* method) ;
|
|
// System.Single FIMSpace.Generating.FGenerators::GetRandom(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441 (float ___0_from, float ___1_to, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3Int::set_x(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int_set_x_m8745C5976D035EBBAC6F6191B5838D58631D8685_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3Int::set_y(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int_set_y_mA856F32D1BF187BD4091DDF3C6872FD01F7D3377_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector3Int::set_z(System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int_set_z_m5782180F67C4257C505F124971985D99C3422F74_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteAllSetupTo(FIMSpace.Generating.TileMeshSetup,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteAllSetupTo_mBE7049D29CCBB27BE25FE61775999ABB9E9B2399 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, bool ___1_copyInstances, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>::RemoveAt(System.Int32)
|
|
inline void List_1_RemoveAt_m9736EA7BDDF901F4577377D4E8E5933F3CFFBFDB (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*, int32_t, const RuntimeMethod*))List_1_RemoveAt_m54F62297ADEE4D4FDA697F49ED807BF901201B54_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::Clear()
|
|
inline void List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*, const RuntimeMethod*))List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_gshared_inline)(__this, method);
|
|
}
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup/MeshShapePoint::QuickNormalCompute(FIMSpace.Generating.TileMeshSetup/CurvePoint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E (MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D* __this, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___0_sampleFocus, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::get_normalized()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::Perpendicular(UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_inDirection, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_UnaryNegation(UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>::Add(T)
|
|
inline void List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D, const RuntimeMethod*))List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Boolean UnityEngine.Color::op_Inequality(UnityEngine.Color,UnityEngine.Color)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Color_op_Inequality_mF1C733BA10E60B086AB950A71143678AE76C4D92_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_lhs, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Single FIMSpace.Generating.TileMeshSetup/CurvePoint::GetZAt(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float CurvePoint_GetZAt_m057EC2AF608C7D6A65492C2776B0D95C721834FE (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_points, float ___1_time, float ___2_splineLength, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/MeshShapePoint::ComputeNormal(System.Int32,System.Single,FIMSpace.Generating.TileMeshSetup/CurvePoint,FIMSpace.Generating.TileMeshSetup/CurvePoint,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshShapePoint_ComputeNormal_mE335A625E908B102B4A22E870AEB1E0EF248F48F (MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D* __this, int32_t ___0_i, float ___1_maxDivs, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___2_sampleFocus, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___3_sampleTarget, float ___4_progr, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___5_points, float ___6_stepProgr, float ___7_splineLength, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector2::Dot(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Dot_mC1E68FDB4FB462A279A303C043B8FD0AC11C8458_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_lhs, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector2::op_Equality(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_lhs, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Quaternion::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Normalize(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp01(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::Internal_ToEulerRad(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_Internal_ToEulerRad_m5BD0EEC543120C320DC77FCCDFD2CE2E6BD3F1A8 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Quaternion::Internal_MakePositive(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_Internal_MakePositive_m73E2D01920CB0DFE661A55022C129E8617F0C9A8 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Internal_FromEulerRad(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Color::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector2::Normalize()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2_Normalize_m56DABCAB5967DF37A6B96710477D3660D800C652_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Color::op_Equality(UnityEngine.Color,UnityEngine.Color)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Color_op_Equality_mB2BDC39B0B367BA15AA8DF22F8CB0D02D20BDC71_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_lhs, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void System.Array::Clear(System.Array,System.Int32,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB (RuntimeArray* ___0_array, int32_t ___1_index, int32_t ___2_length, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector3::Magnitude(UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Vector2::get_magnitude()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Division(UnityEngine.Vector2,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, float ___1_d, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector4 UnityEngine.Color::op_Implicit(UnityEngine.Color)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_c, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector4::op_Equality(UnityEngine.Vector4,UnityEngine.Vector4)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___0_lhs, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___1_rhs, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Vector4::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::TransformVector(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_TransformVector_mD91202BECD10E5F532F7A7403858CF67D22ABE38 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_offset, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Rotation * Vector3.Scale(Scale, offset);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___Rotation_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = __this->___Scale_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_offset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_1, L_2, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_0, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::TransformPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_TransformPoint_m8A6BC82FA117A07F27A49F8DF3FF5C2CA32F3F79 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_offset, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Position + TransformVector(offset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___Position_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_offset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = PipeSpawnData_TransformVector_mD91202BECD10E5F532F7A7403858CF67D22ABE38(__this, L_1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_0, L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::get_OutJoinPoint()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_get_OutJoinPoint_m61A1327430DF91051655AA432A005692B76C60DD (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 OutJoinPoint { get { return TransformPoint(Join.origin); } }
|
|
JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* L_0 = __this->___Join_3;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___origin_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = PipeSpawnData_TransformPoint_m8A6BC82FA117A07F27A49F8DF3FF5C2CA32F3F79(__this, L_1, NULL);
|
|
return L_2;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::get_OutJoinPointReverse()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_get_OutJoinPointReverse_m543509E8BE6EC5A9618D0EE0FC2D2FBB3B174A95 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 OutJoinPointReverse { get { return TransformPoint(-Join.origin); } }
|
|
JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* L_0 = __this->___Join_3;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___origin_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = PipeSpawnData_TransformPoint_m8A6BC82FA117A07F27A49F8DF3FF5C2CA32F3F79(__this, L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PipeGenerator/PipeSpawnData::get_JoinOutDir()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PipeSpawnData_get_JoinOutDir_mBC9CAA12802B380EA100B77693F7BDCE886C481A (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 JoinOutDir { get { return Rotation * Join.outAxis; } }
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___Rotation_5;
|
|
JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* L_1 = __this->___Join_3;
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = L_1->___outAxis_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_0, L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds FIMSpace.Generating.PipeGenerator/PipeSpawnData::get_RotatedBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 PipeSpawnData_get_RotatedBounds_m87C21B3FB52B21997F7E0781639746D69770D624 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Bounds RotatedBounds { get { return RotateBounds(Rotation, PreviewMesh.bounds); } }
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = __this->___Rotation_5;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1 = __this->___PreviewMesh_1;
|
|
NullCheck(L_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2;
|
|
L_2 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_1, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_3;
|
|
L_3 = PipeSpawnData_RotateBounds_m55EFA96204C3B7B99A55C96D928172BBEDED8F07(__this, L_0, L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds FIMSpace.Generating.PipeGenerator/PipeSpawnData::RotateBounds(UnityEngine.Quaternion,UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 PipeSpawnData_RotateBounds_m55EFA96204C3B7B99A55C96D928172BBEDED8F07 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
{
|
|
// Matrix4x4 rot = Matrix4x4.Rotate(rotation);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_rotation;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1;
|
|
L_1 = Matrix4x4_Rotate_m015442530DFF5651458BBFDFB3CBC9180FC09D9E(L_0, NULL);
|
|
V_0 = L_1;
|
|
// Bounds newB = new Bounds();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
|
|
// Vector3 fr1 = rot.MultiplyPoint( new Vector3(b.max.x, b.min.y, b.max.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_7 = L_6.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_8), L_3, L_5, L_7, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_8, NULL);
|
|
V_2 = L_9;
|
|
// Vector3 br1 = rot.MultiplyPoint(new Vector3(b.max.x, b.min.y, b.min.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_11 = L_10.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_13 = L_12.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_15 = L_14.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
memset((&L_16), 0, sizeof(L_16));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_16), L_11, L_13, L_15, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_16, NULL);
|
|
V_3 = L_17;
|
|
// Vector3 bl1 = rot.MultiplyPoint(new Vector3(b.min.x, b.min.y, b.min.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_19 = L_18.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_21 = L_20.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_23 = L_22.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
memset((&L_24), 0, sizeof(L_24));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_24), L_19, L_21, L_23, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_24, NULL);
|
|
V_4 = L_25;
|
|
// Vector3 fl1 = rot.MultiplyPoint(new Vector3(b.min.x, b.min.y, b.max.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_27 = L_26.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_29 = L_28.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_31 = L_30.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
memset((&L_32), 0, sizeof(L_32));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_32), L_27, L_29, L_31, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_32, NULL);
|
|
V_5 = L_33;
|
|
// newB.Encapsulate(fr1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_2;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_34, NULL);
|
|
// newB.Encapsulate(br1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_3;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_35, NULL);
|
|
// newB.Encapsulate(bl1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_4;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_36, NULL);
|
|
// newB.Encapsulate(fl1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_5;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_37, NULL);
|
|
// Vector3 fr = rot.MultiplyPoint(new Vector3(b.max.x, b.max.y, b.max.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_39 = L_38.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_41 = L_40.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_43 = L_42.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
|
|
memset((&L_44), 0, sizeof(L_44));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_44), L_39, L_41, L_43, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_44, NULL);
|
|
V_6 = L_45;
|
|
// Vector3 br = rot.MultiplyPoint(new Vector3(b.max.x, b.max.y, b.min.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_47 = L_46.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_49 = L_48.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_51 = L_50.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
memset((&L_52), 0, sizeof(L_52));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_52), L_47, L_49, L_51, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_52, NULL);
|
|
V_7 = L_53;
|
|
// Vector3 bl = rot.MultiplyPoint(new Vector3(b.min.x, b.max.y, b.min.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_55 = L_54.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_57 = L_56.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_59 = L_58.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
memset((&L_60), 0, sizeof(L_60));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_60), L_55, L_57, L_59, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_60, NULL);
|
|
V_8 = L_61;
|
|
// Vector3 fl = rot.MultiplyPoint(new Vector3(b.min.x, b.max.y, b.max.z) );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
|
|
L_62 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&___1_b), NULL);
|
|
float L_63 = L_62.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_65 = L_64.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66;
|
|
L_66 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&___1_b), NULL);
|
|
float L_67 = L_66.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
|
|
memset((&L_68), 0, sizeof(L_68));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_68), L_63, L_65, L_67, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
|
|
L_69 = Matrix4x4_MultiplyPoint_m20E910B65693559BFDE99382472D8DD02C862E7E((&V_0), L_68, NULL);
|
|
V_9 = L_69;
|
|
// newB.Encapsulate(fr);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_6;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_70, NULL);
|
|
// newB.Encapsulate(br);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = V_7;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_71, NULL);
|
|
// newB.Encapsulate(bl);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = V_8;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_72, NULL);
|
|
// newB.Encapsulate(fl);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = V_9;
|
|
Bounds_Encapsulate_m1FCA57C58536ADB67B85A703470C6F5BFB837C2F((&V_1), L_73, NULL);
|
|
// return newB;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_74 = V_1;
|
|
return L_74;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds FIMSpace.Generating.PipeGenerator/PipeSpawnData::ScaledBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 PipeSpawnData_ScaledBounds_m933CD139B8981A87DC0BC1D1F59CF461D4CEBD32 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method)
|
|
{
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Bounds b = PreviewMesh.bounds;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->___PreviewMesh_1;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1;
|
|
L_1 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_0, NULL);
|
|
V_0 = L_1;
|
|
// b.size = Vector3.Scale(b.size, Scale);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_0), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___Scale_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_2, L_3, NULL);
|
|
Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128((&V_0), L_4, NULL);
|
|
// return b;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeGenerator/PipeSpawnData::SetToCreate(FIMSpace.Generating.PipeSegmentSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeSpawnData_SetToCreate_mC190B4C1780FB569B225A61F56731386B1609AD1 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* ___0_toCreate, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ToCreate = toCreate;
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_0 = ___0_toCreate;
|
|
__this->___ToCreate_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ToCreate_0), (void*)L_0);
|
|
// if (toCreate == null) return;
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_1 = ___0_toCreate;
|
|
if (L_1)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (toCreate == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// PreviewMesh = toCreate.PreviewMesh;
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_2 = ___0_toCreate;
|
|
NullCheck(L_2);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_3 = L_2->___PreviewMesh_10;
|
|
__this->___PreviewMesh_1 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___PreviewMesh_1), (void*)L_3);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeGenerator/PipeSpawnData::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeSpawnData__ctor_m4A65F6031AAF5A8D37E174ED82857A661FA73496 (PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Scale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___Scale_6 = L_0;
|
|
// public bool Enabled = true;
|
|
__this->___Enabled_10 = (bool)1;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::.ctor(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CIEPreviewGenerationDebugU3Ed__24__ctor_m1713BB66CB1CADE9E17B6FD32FD59C847F29EB3B (U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481* __this, int32_t ___0_U3CU3E1__state, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
int32_t L_0 = ___0_U3CU3E1__state;
|
|
__this->___U3CU3E1__state_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::System.IDisposable.Dispose()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CIEPreviewGenerationDebugU3Ed__24_System_IDisposable_Dispose_mB2E92236DAC808F28B73464BD1215C60D94F3885 (U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::MoveNext()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CIEPreviewGenerationDebugU3Ed__24_MoveNext_mA12C962247DA931EDF330FB35621B0AE12438F6B (U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m0052B5C7DCC0E53CDF11F0A0F2093E81D9F1CE26_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Remove_m1E22A15089852C7A17E8EA8B66EE62848E1473D1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mE4159AA70CB582986662CE80550B4ED365B4D437_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* V_1 = NULL;
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
{
|
|
int32_t L_0 = __this->___U3CU3E1__state_0;
|
|
V_0 = L_0;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_1 = __this->___U3CU3E4__this_2;
|
|
V_1 = L_1;
|
|
int32_t L_2 = V_0;
|
|
switch (L_2)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0067;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// ClearGenerated();
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_3 = V_1;
|
|
NullCheck(L_3);
|
|
PipeGenerator_ClearGenerated_m6577EE2E136AF63A72092C74CAA6CC5965AE23AE(L_3, NULL);
|
|
// PreparePathFind(transform.position, transform.rotation);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_4 = V_1;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_5 = V_1;
|
|
NullCheck(L_5);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_6;
|
|
L_6 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_5, NULL);
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_6, NULL);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_8 = V_1;
|
|
NullCheck(L_8);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_9;
|
|
L_9 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_8, NULL);
|
|
NullCheck(L_9);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Transform_get_rotation_m32AF40CA0D50C797DA639A696F8EAEC7524C179C(L_9, NULL);
|
|
NullCheck(L_4);
|
|
PipeGenerator_PreparePathFind_m1723DF65343EADD2E7C0202D0943EA8CAAFBB18E(L_4, L_7, L_10, NULL);
|
|
// for (int i = 0; i < MaxTries; i++)
|
|
__this->___U3CiU3E5__2_3 = 0;
|
|
goto IL_0179;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 1;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// if (Input.GetKeyDown(KeyCode.N))
|
|
bool L_11;
|
|
L_11 = Input_GetKeyDown_mB237DEA6244132670D38990BAB77D813FBB028D2(((int32_t)110), NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// yield return null;
|
|
__this->___U3CU3E2__current_1 = NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CU3E2__current_1), (void*)NULL);
|
|
__this->___U3CU3E1__state_0 = 2;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
__this->___U3CU3E1__state_0 = (-1);
|
|
// var spawn = PathNextSegmentTowards(latestSpawn, EndPosition, pathSpawns.Count >= FirstSegmentsWithoutCollision);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_12 = V_1;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_13 = V_1;
|
|
NullCheck(L_13);
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_14 = L_13->___latestSpawn_11;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_15 = V_1;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = PipeGenerator_get_EndPosition_m521BB697AE76D57B6E9A0D691E4CB6873C9B2240(L_15, NULL);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_17 = V_1;
|
|
NullCheck(L_17);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_18 = L_17->___pathSpawns_7;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_inline(L_18, List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_RuntimeMethod_var);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_20 = V_1;
|
|
NullCheck(L_20);
|
|
int32_t L_21 = L_20->___FirstSegmentsWithoutCollision_38;
|
|
NullCheck(L_12);
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_22;
|
|
L_22 = PipeGenerator_PathNextSegmentTowards_m2CE275B2D4F824922CFC723BF8BDC8199F6CAD20(L_12, L_14, L_16, (bool)((((int32_t)((((int32_t)L_19) < ((int32_t)L_21))? 1 : 0)) == ((int32_t)0))? 1 : 0), NULL);
|
|
V_2 = L_22;
|
|
// if (spawn == null) // If could not found step forward segment let's try different step on latest segment and replace it
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_23 = V_2;
|
|
if (L_23)
|
|
{
|
|
goto IL_0128;
|
|
}
|
|
}
|
|
{
|
|
// if (AddToIgnore(latestSpawn))
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_24 = V_1;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_25 = V_1;
|
|
NullCheck(L_25);
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_26 = L_25->___latestSpawn_11;
|
|
NullCheck(L_24);
|
|
bool L_27;
|
|
L_27 = PipeGenerator_AddToIgnore_m37BC56FBB1D9E1F5FF926A33E092E661BE6FAC9B(L_24, L_26, NULL);
|
|
if (!L_27)
|
|
{
|
|
goto IL_0169;
|
|
}
|
|
}
|
|
{
|
|
// if (pathSpawns.Count > 0)
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_28 = V_1;
|
|
NullCheck(L_28);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_29 = L_28->___pathSpawns_7;
|
|
NullCheck(L_29);
|
|
int32_t L_30;
|
|
L_30 = List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_inline(L_29, List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_RuntimeMethod_var);
|
|
if ((((int32_t)L_30) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0115;
|
|
}
|
|
}
|
|
{
|
|
// allSpawns.Remove(pathSpawns[pathSpawns.Count - 1]);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_31 = V_1;
|
|
NullCheck(L_31);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_32 = L_31->___allSpawns_6;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_33 = V_1;
|
|
NullCheck(L_33);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_34 = L_33->___pathSpawns_7;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_35 = V_1;
|
|
NullCheck(L_35);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_36 = L_35->___pathSpawns_7;
|
|
NullCheck(L_36);
|
|
int32_t L_37;
|
|
L_37 = List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_inline(L_36, List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_RuntimeMethod_var);
|
|
NullCheck(L_34);
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_38;
|
|
L_38 = List_1_get_Item_mE4159AA70CB582986662CE80550B4ED365B4D437(L_34, ((int32_t)il2cpp_codegen_subtract(L_37, 1)), List_1_get_Item_mE4159AA70CB582986662CE80550B4ED365B4D437_RuntimeMethod_var);
|
|
NullCheck(L_32);
|
|
bool L_39;
|
|
L_39 = List_1_Remove_m1E22A15089852C7A17E8EA8B66EE62848E1473D1(L_32, L_38, List_1_Remove_m1E22A15089852C7A17E8EA8B66EE62848E1473D1_RuntimeMethod_var);
|
|
// pathSpawns.RemoveAt(pathSpawns.Count - 1);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_40 = V_1;
|
|
NullCheck(L_40);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_41 = L_40->___pathSpawns_7;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_42 = V_1;
|
|
NullCheck(L_42);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_43 = L_42->___pathSpawns_7;
|
|
NullCheck(L_43);
|
|
int32_t L_44;
|
|
L_44 = List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_inline(L_43, List_1_get_Count_m95CEE0A2F6BFEB31B063BC06E4F4662EE823A81E_RuntimeMethod_var);
|
|
NullCheck(L_41);
|
|
List_1_RemoveAt_m0052B5C7DCC0E53CDF11F0A0F2093E81D9F1CE26(L_41, ((int32_t)il2cpp_codegen_subtract(L_44, 1)), List_1_RemoveAt_m0052B5C7DCC0E53CDF11F0A0F2093E81D9F1CE26_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0115:
|
|
{
|
|
// latestSpawn = latestSpawn.Parent;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_45 = V_1;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_46 = V_1;
|
|
NullCheck(L_46);
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_47 = L_46->___latestSpawn_11;
|
|
NullCheck(L_47);
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_48 = L_47->___Parent_8;
|
|
NullCheck(L_45);
|
|
L_45->___latestSpawn_11 = L_48;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_45->___latestSpawn_11), (void*)L_48);
|
|
goto IL_0169;
|
|
}
|
|
|
|
IL_0128:
|
|
{
|
|
// pathSpawns.Add(spawn);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_49 = V_1;
|
|
NullCheck(L_49);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_50 = L_49->___pathSpawns_7;
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_51 = V_2;
|
|
NullCheck(L_50);
|
|
List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_inline(L_50, L_51, List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_RuntimeMethod_var);
|
|
// allSpawns.Add(spawn);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_52 = V_1;
|
|
NullCheck(L_52);
|
|
List_1_t1509365DD407E78228B0165A96CF06074C08D989* L_53 = L_52->___allSpawns_6;
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_54 = V_2;
|
|
NullCheck(L_53);
|
|
List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_inline(L_53, L_54, List_1_Add_m4621D1487AAC2BCFB90714F979CD230EFE8F912D_RuntimeMethod_var);
|
|
// latestSpawn = spawn;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_55 = V_1;
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_56 = V_2;
|
|
NullCheck(L_55);
|
|
L_55->___latestSpawn_11 = L_56;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_55->___latestSpawn_11), (void*)L_56);
|
|
// if (Vector3.Distance(spawn.OutJoinPoint, EndPosition) < MaxDistanceToEnding)
|
|
PipeSpawnData_tB32DAE8ABC372194EF103EDBEAE8C99D6B279989* L_57 = V_2;
|
|
NullCheck(L_57);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = PipeSpawnData_get_OutJoinPoint_m61A1327430DF91051655AA432A005692B76C60DD(L_57, NULL);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_59 = V_1;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = PipeGenerator_get_EndPosition_m521BB697AE76D57B6E9A0D691E4CB6873C9B2240(L_59, NULL);
|
|
float L_61;
|
|
L_61 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_58, L_60, NULL);
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_62 = V_1;
|
|
NullCheck(L_62);
|
|
float L_63 = L_62->___MaxDistanceToEnding_33;
|
|
if ((!(((float)L_61) < ((float)L_63))))
|
|
{
|
|
goto IL_0169;
|
|
}
|
|
}
|
|
{
|
|
// ended = true;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_64 = V_1;
|
|
NullCheck(L_64);
|
|
L_64->___ended_12 = (bool)1;
|
|
// break;
|
|
goto IL_018a;
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// for (int i = 0; i < MaxTries; i++)
|
|
int32_t L_65 = __this->___U3CiU3E5__2_3;
|
|
V_3 = L_65;
|
|
int32_t L_66 = V_3;
|
|
__this->___U3CiU3E5__2_3 = ((int32_t)il2cpp_codegen_add(L_66, 1));
|
|
}
|
|
|
|
IL_0179:
|
|
{
|
|
// for (int i = 0; i < MaxTries; i++)
|
|
int32_t L_67 = __this->___U3CiU3E5__2_3;
|
|
PipeGenerator_t931A0898DDF3D9BEF9D78F4C340A5C9E9585AFF5* L_68 = V_1;
|
|
NullCheck(L_68);
|
|
int32_t L_69 = L_68->___MaxTries_34;
|
|
if ((((int32_t)L_67) < ((int32_t)L_69)))
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
|
|
IL_018a:
|
|
{
|
|
// yield break;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Object FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::System.Collections.Generic.IEnumerator<System.Object>.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CIEPreviewGenerationDebugU3Ed__24_System_Collections_Generic_IEnumeratorU3CSystem_ObjectU3E_get_Current_m7B10C44E34845350E59005794F767BDC7E46D763 (U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::System.Collections.IEnumerator.Reset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CIEPreviewGenerationDebugU3Ed__24_System_Collections_IEnumerator_Reset_mAE03BD47DF81971648ED9AC6F6186F87C3EEDC90 (U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A* L_0 = (NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A*)il2cpp_codegen_object_new(((RuntimeClass*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&NotSupportedException_t1429765983D409BD2986508963C98D214E4EBF4A_il2cpp_TypeInfo_var)));
|
|
NullCheck(L_0);
|
|
NotSupportedException__ctor_m1398D0CDE19B36AA3DE9392879738C1EA2439CDF(L_0, NULL);
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(L_0, ((RuntimeMethod*)il2cpp_codegen_initialize_runtime_metadata_inline((uintptr_t*)&U3CIEPreviewGenerationDebugU3Ed__24_System_Collections_IEnumerator_Reset_mAE03BD47DF81971648ED9AC6F6186F87C3EEDC90_RuntimeMethod_var)));
|
|
}
|
|
}
|
|
// System.Object FIMSpace.Generating.PipeGenerator/<IEPreviewGenerationDebug>d__24::System.Collections.IEnumerator.get_Current()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* U3CIEPreviewGenerationDebugU3Ed__24_System_Collections_IEnumerator_get_Current_m3D253C808BB16BC511BBCAF027DAE52FC97E5CDE (U3CIEPreviewGenerationDebugU3Ed__24_t65863C73C5508870753777C013CC841EA6DC9481* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = __this->___U3CU3E2__current_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
#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
|
|
// FIMSpace.Generating.PipeSegmentSetup FIMSpace.Generating.PipeSegmentSetup::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* PipeSegmentSetup_Copy_mEDA11EAA21BE40037A57939BEBD180D6609D989F (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// PipeSegmentSetup cpy = (PipeSegmentSetup)MemberwiseClone();
|
|
RuntimeObject* L_0;
|
|
L_0 = Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3(__this, NULL);
|
|
// return cpy;
|
|
return ((PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037*)CastclassClass((RuntimeObject*)L_0, PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037_il2cpp_TypeInfo_var));
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeSegmentSetup::Refresh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeSegmentSetup_Refresh_m8601A669DCB51E7F4829DBC40429EE04369810C5 (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, const RuntimeMethod* method)
|
|
{
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// SetPrefab(Prefab);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_0 = __this->___Prefab_1;
|
|
PipeSegmentSetup_SetPrefab_mBBBC6FEC5F7B1E30439EC0E625E4965742218563(__this, L_0, NULL);
|
|
// ReferenceScale = PreviewMesh.bounds.size.magnitude;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1 = __this->___PreviewMesh_10;
|
|
NullCheck(L_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_2;
|
|
L_2 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_1, NULL);
|
|
V_0 = L_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_0), NULL);
|
|
V_1 = L_3;
|
|
float L_4;
|
|
L_4 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
|
|
__this->___ReferenceScale_9 = L_4;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeSegmentSetup::SetPrefab(UnityEngine.GameObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeSegmentSetup_SetPrefab_mBBBC6FEC5F7B1E30439EC0E625E4965742218563 (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___0_pf, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponentInChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_m07852AD6D767DD6AA17149C42C54C3C7DC930B04_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* V_0 = NULL;
|
|
{
|
|
// Prefab = pf;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_0 = ___0_pf;
|
|
__this->___Prefab_1 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Prefab_1), (void*)L_0);
|
|
// if (pf == null) return;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1 = ___0_pf;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// if (pf == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// MeshFilter f = pf.GetComponent<MeshFilter>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_3 = ___0_pf;
|
|
NullCheck(L_3);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_4;
|
|
L_4 = GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8(L_3, GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8_RuntimeMethod_var);
|
|
V_0 = L_4;
|
|
// if (!f) f = pf.GetComponentInChildren<MeshFilter>();
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_5 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_5, NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// if (!f) f = pf.GetComponentInChildren<MeshFilter>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_7 = ___0_pf;
|
|
NullCheck(L_7);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_8;
|
|
L_8 = GameObject_GetComponentInChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_m07852AD6D767DD6AA17149C42C54C3C7DC930B04(L_7, GameObject_GetComponentInChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_m07852AD6D767DD6AA17149C42C54C3C7DC930B04_RuntimeMethod_var);
|
|
V_0 = L_8;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// if (f) PreviewMesh = f.sharedMesh;
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_9 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_10;
|
|
L_10 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_9, NULL);
|
|
if (!L_10)
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// if (f) PreviewMesh = f.sharedMesh;
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_12;
|
|
L_12 = MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C(L_11, NULL);
|
|
__this->___PreviewMesh_10 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___PreviewMesh_10), (void*)L_12);
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Single FIMSpace.Generating.PipeSegmentSetup::BoundsSizeOnAxis(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float PipeSegmentSetup_BoundsSizeOnAxis_m5C4ABF83301345FD0751FC59D8D9A4D807344B06 (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_normalized, const RuntimeMethod* method)
|
|
{
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// return Vector3.Scale(PreviewMesh.bounds.size, normalized).magnitude;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->___PreviewMesh_10;
|
|
NullCheck(L_0);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1;
|
|
L_1 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_0, NULL);
|
|
V_0 = L_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_0), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_2, L_3, NULL);
|
|
V_1 = L_4;
|
|
float L_5;
|
|
L_5 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_1), NULL);
|
|
return L_5;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipeSegmentSetup::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipeSegmentSetup__ctor_m40BEEBBA3330B856F279719565F6C9659DB9D90E (PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public bool Enabled = true;
|
|
__this->___Enabled_0 = (bool)1;
|
|
// [NonSerialized] public Vector3 ModelForward = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
__this->___ModelForward_3 = L_0;
|
|
// [NonSerialized] public Vector3 ModelUpAxis = Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
__this->___ModelUpAxis_4 = L_1;
|
|
// [Range(0,270)] public int AllowRotationYAxisCheckPer = 90;
|
|
__this->___AllowRotationYAxisCheckPer_5 = ((int32_t)90);
|
|
// [Range(0,270)] public int AllowRotationZAxisCheckPer = 90;
|
|
__this->___AllowRotationZAxisCheckPer_6 = ((int32_t)90);
|
|
// [Space(5)] public JoinPoint[] JoinPoints = new JoinPoint[1];
|
|
JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1* L_2 = (JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1*)(JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1*)SZArrayNew(JoinPointU5BU5D_t18D5335234AD6530C85A814AC266C957EE4ADCD1_il2cpp_TypeInfo_var, (uint32_t)1);
|
|
__this->___JoinPoints_8 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___JoinPoints_8), (void*)L_2);
|
|
// [HideInInspector] public float ReferenceScale = 0.25f;
|
|
__this->___ReferenceScale_9 = (0.25f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.PipeSegmentSetup/JoinPoint::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void JoinPoint__ctor_m012E2D0FCF5774983CEE11E082CCC54BBE93A715 (JoinPoint_t31E360CABF312A530CB0029D7FBC46B67F680F59* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 origin = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___origin_0 = L_0;
|
|
// public Vector3 outAxis = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
__this->___outAxis_1 = L_1;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.PipePreset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipePreset__ctor_m57A691765FFC2ACCBFA44F8A03060DF22913907A (PipePreset_t5DA4A347E0526581AE7AB9D5E90420B22DFEA77E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF(__this, NULL);
|
|
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
|
|
// FIMSpace.Generating.PipePreset/PipePresetData FIMSpace.Generating.PipePreset/PipePresetData::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* PipePresetData_Copy_m1D489C978521A5356B0AEEDA129BEEFA880A8847 (PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m44B9458EBBDE1B60ACF5D7B20337408C2C3137D1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m8AB2ACA26C742ADD507B73DB26CF22A47F54BC77_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1CE846D7DDCE8AB76B130007CE0642A845A39C2F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// PipePresetData data = (PipePresetData)MemberwiseClone();
|
|
RuntimeObject* L_0;
|
|
L_0 = Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3(__this, NULL);
|
|
V_0 = ((PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3*)CastclassClass((RuntimeObject*)L_0, PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3_il2cpp_TypeInfo_var));
|
|
// data.AllowUseUnendedOnStartAlign = AllowUseUnendedOnStartAlign;
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_1 = V_0;
|
|
bool L_2 = __this->___AllowUseUnendedOnStartAlign_1;
|
|
NullCheck(L_1);
|
|
L_1->___AllowUseUnendedOnStartAlign_1 = L_2;
|
|
// data.OptionalUnended = OptionalUnended.Copy();
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_3 = V_0;
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_4 = __this->___OptionalUnended_2;
|
|
NullCheck(L_4);
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_5;
|
|
L_5 = PipeSegmentSetup_Copy_mEDA11EAA21BE40037A57939BEBD180D6609D989F(L_4, NULL);
|
|
NullCheck(L_3);
|
|
L_3->___OptionalUnended_2 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_3->___OptionalUnended_2), (void*)L_5);
|
|
// data.AlignOnHitNormal = AlignOnHitNormal;
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_6 = V_0;
|
|
bool L_7 = __this->___AlignOnHitNormal_3;
|
|
NullCheck(L_6);
|
|
L_6->___AlignOnHitNormal_3 = L_7;
|
|
// data.OptionalEndCap = OptionalEndCap.Copy();
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_8 = V_0;
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_9 = __this->___OptionalEndCap_4;
|
|
NullCheck(L_9);
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_10;
|
|
L_10 = PipeSegmentSetup_Copy_mEDA11EAA21BE40037A57939BEBD180D6609D989F(L_9, NULL);
|
|
NullCheck(L_8);
|
|
L_8->___OptionalEndCap_4 = L_10;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_8->___OptionalEndCap_4), (void*)L_10);
|
|
// data.Segments = new List<PipeSegmentSetup>();
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_11 = V_0;
|
|
List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* L_12 = (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014*)il2cpp_codegen_object_new(List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014_il2cpp_TypeInfo_var);
|
|
NullCheck(L_12);
|
|
List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8(L_12, List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
L_11->___Segments_0 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_11->___Segments_0), (void*)L_12);
|
|
// for (int i = 0; i < Segments.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_0075;
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// data.Segments.Add(Segments[i].Copy());
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_13 = V_0;
|
|
NullCheck(L_13);
|
|
List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* L_14 = L_13->___Segments_0;
|
|
List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* L_15 = __this->___Segments_0;
|
|
int32_t L_16 = V_1;
|
|
NullCheck(L_15);
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_17;
|
|
L_17 = List_1_get_Item_m1CE846D7DDCE8AB76B130007CE0642A845A39C2F(L_15, L_16, List_1_get_Item_m1CE846D7DDCE8AB76B130007CE0642A845A39C2F_RuntimeMethod_var);
|
|
NullCheck(L_17);
|
|
PipeSegmentSetup_t06D3D32B70A7D86C05A93787D9324BDE6EF32037* L_18;
|
|
L_18 = PipeSegmentSetup_Copy_mEDA11EAA21BE40037A57939BEBD180D6609D989F(L_17, NULL);
|
|
NullCheck(L_14);
|
|
List_1_Add_m44B9458EBBDE1B60ACF5D7B20337408C2C3137D1_inline(L_14, L_18, List_1_Add_m44B9458EBBDE1B60ACF5D7B20337408C2C3137D1_RuntimeMethod_var);
|
|
// for (int i = 0; i < Segments.Count; i++)
|
|
int32_t L_19 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_19, 1));
|
|
}
|
|
|
|
IL_0075:
|
|
{
|
|
// for (int i = 0; i < Segments.Count; i++)
|
|
int32_t L_20 = V_1;
|
|
List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* L_21 = __this->___Segments_0;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = List_1_get_Count_m8AB2ACA26C742ADD507B73DB26CF22A47F54BC77_inline(L_21, List_1_get_Count_m8AB2ACA26C742ADD507B73DB26CF22A47F54BC77_RuntimeMethod_var);
|
|
if ((((int32_t)L_20) < ((int32_t)L_22)))
|
|
{
|
|
goto IL_0055;
|
|
}
|
|
}
|
|
{
|
|
// return data;
|
|
PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* L_23 = V_0;
|
|
return L_23;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.PipePreset/PipePresetData::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PipePresetData__ctor_m70933246BE077893E1FC61B6CDE35DE735AFA9C7 (PipePresetData_tB725CD937452A92D74F5C5B1BF2B3032E8EB4DE3* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public List<PipeSegmentSetup> Segments = new List<PipeSegmentSetup>();
|
|
List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014* L_0 = (List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014*)il2cpp_codegen_object_new(List_1_tEA85D55223F75CB6403594AA00AFCAFB9CC9F014_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8(L_0, List_1__ctor_m090E0E75E97FDA322BABB8A5F69A23ABDADCC4A8_RuntimeMethod_var);
|
|
__this->___Segments_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Segments_0), (void*)L_0);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::GenerateCableCircle(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_GenerateCableCircle_mF7C2A1E2B4A5BC34B82DD627CD85D4EA6C205FB9 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_cableRing, int32_t ___1_ringSubdivs, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
int32_t V_1 = 0;
|
|
float V_2 = 0.0f;
|
|
{
|
|
// if (ringSubdivs < 2) ringSubdivs = 2;
|
|
int32_t L_0 = ___1_ringSubdivs;
|
|
if ((((int32_t)L_0) >= ((int32_t)2)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// if (ringSubdivs < 2) ringSubdivs = 2;
|
|
___1_ringSubdivs = 2;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// if (cableRing.Count == ringSubdivs + 1) return; // Already generated
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ___0_cableRing;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_1, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
int32_t L_3 = ___1_ringSubdivs;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)((int32_t)il2cpp_codegen_add(L_3, 1))))))
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (cableRing.Count == ringSubdivs + 1) return; // Already generated
|
|
return;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// cableRing.Clear();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_4 = ___0_cableRing;
|
|
NullCheck(L_4);
|
|
List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_inline(L_4, List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
// float stepAngle = 360f / (float)(ringSubdivs);
|
|
int32_t L_5 = ___1_ringSubdivs;
|
|
V_0 = ((float)((360.0f)/((float)L_5)));
|
|
// for (int i = 0; i < ringSubdivs; i++)
|
|
V_1 = 0;
|
|
goto IL_0051;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// float step = (i * stepAngle) * Mathf.Deg2Rad;
|
|
int32_t L_6 = V_1;
|
|
float L_7 = V_0;
|
|
V_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_6), L_7)), (0.0174532924f)));
|
|
// cableRing.Add(new Vector3(Mathf.Sin(step), Mathf.Cos(step), 0f));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_8 = ___0_cableRing;
|
|
float L_9 = V_2;
|
|
float L_10;
|
|
L_10 = sinf(L_9);
|
|
float L_11 = V_2;
|
|
float L_12;
|
|
L_12 = cosf(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_13), L_10, L_12, (0.0f), /*hidden argument*/NULL);
|
|
NullCheck(L_8);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_8, L_13, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int i = 0; i < ringSubdivs; i++)
|
|
int32_t L_14 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// for (int i = 0; i < ringSubdivs; i++)
|
|
int32_t L_15 = V_1;
|
|
int32_t L_16 = ___1_ringSubdivs;
|
|
if ((((int32_t)L_15) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// cableRing.Add(cableRing[0]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_17 = ___0_cableRing;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_18 = ___0_cableRing;
|
|
NullCheck(L_18);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_18, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_17);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_17, L_19, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::GenerateCableTrailPoints(System.Collections.Generic.List`1<UnityEngine.Vector3>,UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Int32,System.Single&,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_GenerateCableTrailPoints_m70E3C57237E48CAD6C9BB2D072524E91CAABCC01 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_trail, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_stretchPoint, int32_t ___4_lengthSubdivs, float* ___5_trailLength, float ___6_hanging, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
float V_4 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
float V_10 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_12;
|
|
memset((&V_12), 0, sizeof(V_12));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
int32_t V_15 = 0;
|
|
float V_16 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
int32_t V_18 = 0;
|
|
float V_19 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
int32_t V_21 = 0;
|
|
float V_22 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
{
|
|
// bool addPoints = false;
|
|
V_0 = (bool)0;
|
|
// float tlength = 0f;
|
|
V_1 = (0.0f);
|
|
// Vector3 prePos = a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_a;
|
|
V_2 = L_0;
|
|
// if (trail.Count != lengthSubdivs + 1) { addPoints = true; trail.Clear(); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ___0_trail;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_1, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
int32_t L_3 = ___4_lengthSubdivs;
|
|
if ((((int32_t)L_2) == ((int32_t)((int32_t)il2cpp_codegen_add(L_3, 1)))))
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
// if (trail.Count != lengthSubdivs + 1) { addPoints = true; trail.Clear(); }
|
|
V_0 = (bool)1;
|
|
// if (trail.Count != lengthSubdivs + 1) { addPoints = true; trail.Clear(); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_4 = ___0_trail;
|
|
NullCheck(L_4);
|
|
List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_inline(L_4, List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
// if (hanging <= 0f)
|
|
float L_5 = ___6_hanging;
|
|
if ((!(((float)L_5) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < lengthSubdivs + 1; i++) // +1 For end subdiv
|
|
V_3 = 0;
|
|
goto IL_0067;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// float t = i / ((float)lengthSubdivs);
|
|
int32_t L_6 = V_3;
|
|
int32_t L_7 = ___4_lengthSubdivs;
|
|
V_4 = ((float)(((float)L_6)/((float)L_7)));
|
|
// Vector3 targetPos = GetBezierQuad(a, b, stretchPoint, t);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___1_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___2_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___3_stretchPoint;
|
|
float L_11 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = TileCableGenerator_GetBezierQuad_m53B58D5FC67A51C2A5528F32E400E864D005762E(L_8, L_9, L_10, L_11, NULL);
|
|
V_5 = L_12;
|
|
// tlength += Vector3.Distance(prePos, targetPos);
|
|
float L_13 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_5;
|
|
float L_16;
|
|
L_16 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_14, L_15, NULL);
|
|
V_1 = ((float)il2cpp_codegen_add(L_13, L_16));
|
|
// prePos = targetPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_5;
|
|
V_2 = L_17;
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
bool L_18 = V_0;
|
|
if (!L_18)
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_19 = ___0_trail;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_5;
|
|
NullCheck(L_19);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_19, L_20, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
goto IL_0063;
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21 = ___0_trail;
|
|
int32_t L_22 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = V_5;
|
|
NullCheck(L_21);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_21, L_22, L_23, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
// for (int i = 0; i < lengthSubdivs + 1; i++) // +1 For end subdiv
|
|
int32_t L_24 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_24, 1));
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// for (int i = 0; i < lengthSubdivs + 1; i++) // +1 For end subdiv
|
|
int32_t L_25 = V_3;
|
|
int32_t L_26 = ___4_lengthSubdivs;
|
|
if ((((int32_t)L_25) < ((int32_t)((int32_t)il2cpp_codegen_add(L_26, 1)))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
goto IL_02c8;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// Vector3 towardsB = b - a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = ___2_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = ___1_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_27, L_28, NULL);
|
|
V_6 = L_29;
|
|
// Vector3 towardsBFlat = Vector3.ProjectOnPlane(towardsB, Vector3.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Vector3_ProjectOnPlane_m68FB895F6E9FCC45676BB8B95857D091C0D78794_inline(L_30, L_31, NULL);
|
|
V_7 = L_32;
|
|
// float length = towardsB.magnitude;
|
|
float L_33;
|
|
L_33 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_6), NULL);
|
|
// int totalLenSubdivs = lengthSubdivs + 1; // +1 For end subdiv
|
|
int32_t L_34 = ___4_lengthSubdivs;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
// int hangPartLength = (lengthSubdivs) / 4;
|
|
int32_t L_35 = ___4_lengthSubdivs;
|
|
V_9 = ((int32_t)(L_35/4));
|
|
// float rHang = 1f - hanging;
|
|
float L_36 = ___6_hanging;
|
|
V_10 = ((float)il2cpp_codegen_subtract((1.0f), L_36));
|
|
// Vector3 aEnd = a + towardsB * (0.1f + 0.05f * hanging);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = ___1_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_6;
|
|
float L_39 = ___6_hanging;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40;
|
|
L_40 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_38, ((float)il2cpp_codegen_add((0.100000001f), ((float)il2cpp_codegen_multiply((0.0500000007f), L_39)))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_37, L_40, NULL);
|
|
V_11 = L_41;
|
|
// aEnd.y = Mathf.LerpUnclamped(aEnd.y, stretchPoint.y, 0.1f + rHang * 0.05f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_11;
|
|
float L_43 = L_42.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = ___3_stretchPoint;
|
|
float L_45 = L_44.___y_3;
|
|
float L_46 = V_10;
|
|
float L_47;
|
|
L_47 = Mathf_LerpUnclamped_mF35042F9D25A221BDD4B3FD6251224610AFC1F35_inline(L_43, L_45, ((float)il2cpp_codegen_add((0.100000001f), ((float)il2cpp_codegen_multiply(L_46, (0.0500000007f))))), NULL);
|
|
(&V_11)->___y_3 = L_47;
|
|
// Vector3 aStretchTo = a + towardsBFlat * (0.025f + 0.1f * hanging);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___1_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = V_7;
|
|
float L_50 = ___6_hanging;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
|
|
L_51 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_49, ((float)il2cpp_codegen_add((0.0250000004f), ((float)il2cpp_codegen_multiply((0.100000001f), L_50)))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_48, L_51, NULL);
|
|
V_12 = L_52;
|
|
// aStretchTo.y += (0.015f * hanging) * 0.05f * (a.y - stretchPoint.y);
|
|
float* L_53 = (&(&V_12)->___y_3);
|
|
float* L_54 = L_53;
|
|
float L_55 = *((float*)L_54);
|
|
float L_56 = ___6_hanging;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = ___1_a;
|
|
float L_58 = L_57.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = ___3_stretchPoint;
|
|
float L_60 = L_59.___y_3;
|
|
*((float*)L_54) = (float)((float)il2cpp_codegen_add(L_55, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((0.0149999997f), L_56)), (0.0500000007f))), ((float)il2cpp_codegen_subtract(L_58, L_60))))));
|
|
// Vector3 bContinueStart = b - towardsB * (0.1f + 0.05f * hanging);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = ___2_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = V_6;
|
|
float L_63 = ___6_hanging;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_62, ((float)il2cpp_codegen_add((0.100000001f), ((float)il2cpp_codegen_multiply((0.0500000007f), L_63)))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
|
|
L_65 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_61, L_64, NULL);
|
|
V_13 = L_65;
|
|
// bContinueStart.y = Mathf.LerpUnclamped(bContinueStart.y, stretchPoint.y, 0.1f + rHang * 0.05f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = V_13;
|
|
float L_67 = L_66.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = ___3_stretchPoint;
|
|
float L_69 = L_68.___y_3;
|
|
float L_70 = V_10;
|
|
float L_71;
|
|
L_71 = Mathf_LerpUnclamped_mF35042F9D25A221BDD4B3FD6251224610AFC1F35_inline(L_67, L_69, ((float)il2cpp_codegen_add((0.100000001f), ((float)il2cpp_codegen_multiply(L_70, (0.0500000007f))))), NULL);
|
|
(&V_13)->___y_3 = L_71;
|
|
// Vector3 bStretchTo = b - towardsBFlat * (0.025f + 0.1f * hanging);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = ___2_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = V_7;
|
|
float L_74 = ___6_hanging;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
|
|
L_75 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_73, ((float)il2cpp_codegen_add((0.0250000004f), ((float)il2cpp_codegen_multiply((0.100000001f), L_74)))), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
|
|
L_76 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_72, L_75, NULL);
|
|
V_14 = L_76;
|
|
// bStretchTo.y += (0.015f * hanging) * 0.05f * (b.y - stretchPoint.y);
|
|
float* L_77 = (&(&V_14)->___y_3);
|
|
float* L_78 = L_77;
|
|
float L_79 = *((float*)L_78);
|
|
float L_80 = ___6_hanging;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = ___2_b;
|
|
float L_82 = L_81.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = ___3_stretchPoint;
|
|
float L_84 = L_83.___y_3;
|
|
*((float*)L_78) = (float)((float)il2cpp_codegen_add(L_79, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((0.0149999997f), L_80)), (0.0500000007f))), ((float)il2cpp_codegen_subtract(L_82, L_84))))));
|
|
// for (int i = 0; i < hangPartLength; i++) // Left cable part
|
|
V_15 = 0;
|
|
goto IL_0205;
|
|
}
|
|
|
|
IL_01bd:
|
|
{
|
|
// float t = (float)i * (1f / ((float)hangPartLength));
|
|
int32_t L_85 = V_15;
|
|
int32_t L_86 = V_9;
|
|
V_16 = ((float)il2cpp_codegen_multiply(((float)L_85), ((float)((1.0f)/((float)L_86)))));
|
|
// Vector3 targetPos = GetBezierQuad(a, aEnd, aStretchTo, t);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = ___1_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = V_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = V_12;
|
|
float L_90 = V_16;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
|
|
L_91 = TileCableGenerator_GetBezierQuad_m53B58D5FC67A51C2A5528F32E400E864D005762E(L_87, L_88, L_89, L_90, NULL);
|
|
V_17 = L_91;
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
bool L_92 = V_0;
|
|
if (!L_92)
|
|
{
|
|
goto IL_01e7;
|
|
}
|
|
}
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_93 = ___0_trail;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = V_17;
|
|
NullCheck(L_93);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_93, L_94, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
goto IL_01f1;
|
|
}
|
|
|
|
IL_01e7:
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_95 = ___0_trail;
|
|
int32_t L_96 = V_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97 = V_17;
|
|
NullCheck(L_95);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_95, L_96, L_97, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01f1:
|
|
{
|
|
// tlength += Vector3.Distance(prePos, targetPos);
|
|
float L_98 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = V_17;
|
|
float L_101;
|
|
L_101 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_99, L_100, NULL);
|
|
V_1 = ((float)il2cpp_codegen_add(L_98, L_101));
|
|
// prePos = targetPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = V_17;
|
|
V_2 = L_102;
|
|
// for (int i = 0; i < hangPartLength; i++) // Left cable part
|
|
int32_t L_103 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_103, 1));
|
|
}
|
|
|
|
IL_0205:
|
|
{
|
|
// for (int i = 0; i < hangPartLength; i++) // Left cable part
|
|
int32_t L_104 = V_15;
|
|
int32_t L_105 = V_9;
|
|
if ((((int32_t)L_104) < ((int32_t)L_105)))
|
|
{
|
|
goto IL_01bd;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = hangPartLength; i < lengthSubdivs - hangPartLength + 1; i++) // Middle cable part
|
|
int32_t L_106 = V_9;
|
|
V_18 = L_106;
|
|
goto IL_0264;
|
|
}
|
|
|
|
IL_0211:
|
|
{
|
|
// float t = (i - hangPartLength) / ((float)totalLenSubdivs - hangPartLength - hangPartLength - 1);
|
|
int32_t L_107 = V_18;
|
|
int32_t L_108 = V_9;
|
|
int32_t L_109 = V_8;
|
|
int32_t L_110 = V_9;
|
|
int32_t L_111 = V_9;
|
|
V_19 = ((float)(((float)((int32_t)il2cpp_codegen_subtract(L_107, L_108)))/((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)L_109), ((float)L_110))), ((float)L_111))), (1.0f)))));
|
|
// Vector3 targetPos = GetBezierQuad(aEnd, bContinueStart, stretchPoint, t);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112 = V_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = ___3_stretchPoint;
|
|
float L_115 = V_19;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
|
|
L_116 = TileCableGenerator_GetBezierQuad_m53B58D5FC67A51C2A5528F32E400E864D005762E(L_112, L_113, L_114, L_115, NULL);
|
|
V_20 = L_116;
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
bool L_117 = V_0;
|
|
if (!L_117)
|
|
{
|
|
goto IL_0246;
|
|
}
|
|
}
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_118 = ___0_trail;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = V_20;
|
|
NullCheck(L_118);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_118, L_119, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
goto IL_0250;
|
|
}
|
|
|
|
IL_0246:
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_120 = ___0_trail;
|
|
int32_t L_121 = V_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_122 = V_20;
|
|
NullCheck(L_120);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_120, L_121, L_122, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0250:
|
|
{
|
|
// tlength += Vector3.Distance(prePos, targetPos);
|
|
float L_123 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = V_20;
|
|
float L_126;
|
|
L_126 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_124, L_125, NULL);
|
|
V_1 = ((float)il2cpp_codegen_add(L_123, L_126));
|
|
// prePos = targetPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127 = V_20;
|
|
V_2 = L_127;
|
|
// for (int i = hangPartLength; i < lengthSubdivs - hangPartLength + 1; i++) // Middle cable part
|
|
int32_t L_128 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_128, 1));
|
|
}
|
|
|
|
IL_0264:
|
|
{
|
|
// for (int i = hangPartLength; i < lengthSubdivs - hangPartLength + 1; i++) // Middle cable part
|
|
int32_t L_129 = V_18;
|
|
int32_t L_130 = ___4_lengthSubdivs;
|
|
int32_t L_131 = V_9;
|
|
if ((((int32_t)L_129) < ((int32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_subtract(L_130, L_131)), 1)))))
|
|
{
|
|
goto IL_0211;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = totalLenSubdivs - hangPartLength; i < totalLenSubdivs; i++) // Right - end cable part
|
|
int32_t L_132 = V_8;
|
|
int32_t L_133 = V_9;
|
|
V_21 = ((int32_t)il2cpp_codegen_subtract(L_132, L_133));
|
|
goto IL_02c2;
|
|
}
|
|
|
|
IL_0278:
|
|
{
|
|
// float t = (i - (totalLenSubdivs - hangPartLength - 1)) / ((float)hangPartLength);
|
|
int32_t L_134 = V_21;
|
|
int32_t L_135 = V_8;
|
|
int32_t L_136 = V_9;
|
|
int32_t L_137 = V_9;
|
|
V_22 = ((float)(((float)((int32_t)il2cpp_codegen_subtract(L_134, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(L_135, L_136)), 1)))))/((float)L_137)));
|
|
// Vector3 targetPos = GetBezierQuad(bContinueStart, b, bStretchTo, t);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_139 = ___2_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_140 = V_14;
|
|
float L_141 = V_22;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142;
|
|
L_142 = TileCableGenerator_GetBezierQuad_m53B58D5FC67A51C2A5528F32E400E864D005762E(L_138, L_139, L_140, L_141, NULL);
|
|
V_23 = L_142;
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
bool L_143 = V_0;
|
|
if (!L_143)
|
|
{
|
|
goto IL_02a4;
|
|
}
|
|
}
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_144 = ___0_trail;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145 = V_23;
|
|
NullCheck(L_144);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_144, L_145, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
goto IL_02ae;
|
|
}
|
|
|
|
IL_02a4:
|
|
{
|
|
// if (addPoints) trail.Add(targetPos); else trail[i] = targetPos;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_146 = ___0_trail;
|
|
int32_t L_147 = V_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_148 = V_23;
|
|
NullCheck(L_146);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_146, L_147, L_148, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_02ae:
|
|
{
|
|
// tlength += Vector3.Distance(prePos, targetPos);
|
|
float L_149 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_150 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_151 = V_23;
|
|
float L_152;
|
|
L_152 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_150, L_151, NULL);
|
|
V_1 = ((float)il2cpp_codegen_add(L_149, L_152));
|
|
// prePos = targetPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_153 = V_23;
|
|
V_2 = L_153;
|
|
// for (int i = totalLenSubdivs - hangPartLength; i < totalLenSubdivs; i++) // Right - end cable part
|
|
int32_t L_154 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_154, 1));
|
|
}
|
|
|
|
IL_02c2:
|
|
{
|
|
// for (int i = totalLenSubdivs - hangPartLength; i < totalLenSubdivs; i++) // Right - end cable part
|
|
int32_t L_155 = V_21;
|
|
int32_t L_156 = V_8;
|
|
if ((((int32_t)L_155) < ((int32_t)L_156)))
|
|
{
|
|
goto IL_0278;
|
|
}
|
|
}
|
|
|
|
IL_02c8:
|
|
{
|
|
// trailLength = tlength;
|
|
float* L_157 = ___5_trailLength;
|
|
float L_158 = V_1;
|
|
*((float*)L_157) = (float)L_158;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.TileCableGenerator::GetBezierQuad(UnityEngine.Vector3,UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 TileCableGenerator_GetBezierQuad_m53B58D5FC67A51C2A5528F32E400E864D005762E (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_mid, float ___3_t, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
// float revT = 1 - t;
|
|
float L_0 = ___3_t;
|
|
V_0 = ((float)il2cpp_codegen_subtract((1.0f), L_0));
|
|
// return (revT * revT) * a + 2 * revT * t * mid + (t * t) * b;
|
|
float L_1 = V_0;
|
|
float L_2 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(((float)il2cpp_codegen_multiply(L_1, L_2)), L_3, NULL);
|
|
float L_5 = V_0;
|
|
float L_6 = ___3_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___2_mid;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply((2.0f), L_5)), L_6)), L_7, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_4, L_8, NULL);
|
|
float L_10 = ___3_t;
|
|
float L_11 = ___3_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___1_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(((float)il2cpp_codegen_multiply(L_10, L_11)), L_12, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_9, L_13, NULL);
|
|
return L_14;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::RandomizaPoints(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<UnityEngine.Vector3>,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_RandomizaPoints_m976BB2C32E139537CBA0DB45233C768AD0B9763E (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___1_backupPoints, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___2_settings, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// if (settings.RandomizePathPoints != Vector3.zero)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_0 = ___2_settings;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___RandomizePathPoints_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_3;
|
|
L_3 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// if (points.Count < 2) return;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_4 = ___0_points;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_4, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_5) >= ((int32_t)2)))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
// if (points.Count < 2) return;
|
|
return;
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// points.Clear();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = ___0_points;
|
|
NullCheck(L_6);
|
|
List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_inline(L_6, List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
// for (int b = 0; b < backupPoints.Count; b++)
|
|
V_0 = 0;
|
|
goto IL_0049;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// Vector3 p = backupPoints[b];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_7 = ___1_backupPoints;
|
|
int32_t L_8 = V_0;
|
|
NullCheck(L_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_7, L_8, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_1 = L_9;
|
|
// points.Add(p + FGenerators.GetRandom(settings.RandomizePathPoints));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_10 = ___0_points;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_1;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_12 = ___2_settings;
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = L_12->___RandomizePathPoints_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = FGenerators_GetRandom_m69B502D1C21AEFC85B8FAB8B84088720FB465C62(L_13, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_11, L_14, NULL);
|
|
NullCheck(L_10);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_10, L_15, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int b = 0; b < backupPoints.Count; b++)
|
|
int32_t L_16 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_16, 1));
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// for (int b = 0; b < backupPoints.Count; b++)
|
|
int32_t L_17 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_18 = ___1_backupPoints;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_18, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_17) < ((int32_t)L_19)))
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GenerateFullCablesMesh(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Single,System.Single,System.Single,FIMSpace.Generating.TileCableGenerator/CableMeshSettings,FIMSpace.Generating.TileCableGenerator/CableTexturingSettings,FIMSpace.Generating.TileCableGenerator/CableClonerSettings,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings,FIMSpace.Generating.TileCableGenerator/CableAttachementSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GenerateFullCablesMesh_m4C4AA3995CB728B0E5D5F8D05DD065344BD4311E (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, float ___1_cableLoose, float ___2_hanging, float ___3_radius, CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ___4_meshSettings, CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ___5_texturingSettings, CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* ___6_clonerSettings, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___7_randomSettings, CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* ___8_attachementSettings, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m0FE2E00F79D74591732CC5EB8919715FAF7EA3B7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mBE9255218FAB0B859E0DD1B944986BBC7F1C3A33_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral504C2AC39FF263D887FD9AD5F5BA8CD287C8AA10);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE35A4733281BF08676DF80FFBD2A7BB90CAFFE72);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_1 = NULL;
|
|
bool V_2 = false;
|
|
bool V_3 = false;
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* V_4 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* V_7 = NULL;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
int32_t V_10 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
int32_t V_12 = 0;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_17 = NULL;
|
|
int32_t V_18 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_21;
|
|
memset((&V_21), 0, sizeof(V_21));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_22;
|
|
memset((&V_22), 0, sizeof(V_22));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
int32_t V_24 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_25;
|
|
memset((&V_25), 0, sizeof(V_25));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_26;
|
|
memset((&V_26), 0, sizeof(V_26));
|
|
int32_t V_27 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_28;
|
|
memset((&V_28), 0, sizeof(V_28));
|
|
int32_t V_29 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_30;
|
|
memset((&V_30), 0, sizeof(V_30));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_31;
|
|
memset((&V_31), 0, sizeof(V_31));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_32 = NULL;
|
|
int32_t V_33 = 0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_34 = NULL;
|
|
int32_t V_35 = 0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_36 = NULL;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_37;
|
|
memset((&V_37), 0, sizeof(V_37));
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_38;
|
|
memset((&V_38), 0, sizeof(V_38));
|
|
int32_t V_39 = 0;
|
|
{
|
|
// if (pointsBackup != null) pointsBackup.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// if (pointsBackup != null) pointsBackup.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
NullCheck(L_1);
|
|
List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_inline(L_1, List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// if (randomSettings.RandomizePathPoints != Vector3.zero)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_2 = ___7_randomSettings;
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = L_2->___RandomizePathPoints_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_5;
|
|
L_5 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_3, L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0069;
|
|
}
|
|
}
|
|
{
|
|
// if (pointsBackup == null) pointsBackup = new List<Vector3>();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
if (L_6)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// if (pointsBackup == null) pointsBackup = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_7 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_7, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8), (void*)L_7);
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// for (int p = 0; p < points.Count; p++) pointsBackup.Add(points[p]);
|
|
V_6 = 0;
|
|
goto IL_0052;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// for (int p = 0; p < points.Count; p++) pointsBackup.Add(points[p]);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_8 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_9 = ___0_points;
|
|
int32_t L_10 = V_6;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_9, L_10, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_8, L_11, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int p = 0; p < points.Count; p++) pointsBackup.Add(points[p]);
|
|
int32_t L_12 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// for (int p = 0; p < points.Count; p++) pointsBackup.Add(points[p]);
|
|
int32_t L_13 = V_6;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_14 = ___0_points;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_14, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_13) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// RandomizaPoints(points, pointsBackup, randomSettings);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_16 = ___0_points;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_17 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_18 = ___7_randomSettings;
|
|
TileCableGenerator_RandomizaPoints_m976BB2C32E139537CBA0DB45233C768AD0B9763E(L_16, L_17, L_18, NULL);
|
|
}
|
|
|
|
IL_0069:
|
|
{
|
|
// Mesh fullCableTrail = GenerateCablesMesh(points, cableLoose, hanging, radius, meshSettings, texturingSettings, randomSettings);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_19 = ___0_points;
|
|
float L_20 = ___1_cableLoose;
|
|
float L_21 = ___2_hanging;
|
|
float L_22 = ___3_radius;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_23 = ___4_meshSettings;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_24 = ___5_texturingSettings;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_25 = ___7_randomSettings;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_26;
|
|
L_26 = TileCableGenerator_GenerateCablesMesh_m0DA7F17758957D96D9D3C25272E15726A23969A3(L_19, L_20, L_21, L_22, L_23, L_24, L_25, NULL);
|
|
V_0 = L_26;
|
|
// Mesh fullMesh = fullCableTrail;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_27 = V_0;
|
|
V_1 = L_27;
|
|
// bool usingRandomization = false;
|
|
V_2 = (bool)0;
|
|
// toCombine.Clear();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_28 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
NullCheck(L_28);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_28, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// bool useAttachements = false;
|
|
V_3 = (bool)0;
|
|
// if (attachementSettings != null)
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_29 = ___8_attachementSettings;
|
|
if (!L_29)
|
|
{
|
|
goto IL_00bb;
|
|
}
|
|
}
|
|
{
|
|
// if (attachementSettings.Mesh != null)
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_30 = ___8_attachementSettings;
|
|
NullCheck(L_30);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_31 = L_30->___Mesh_0;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_32;
|
|
L_32 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_31, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_32)
|
|
{
|
|
goto IL_00bb;
|
|
}
|
|
}
|
|
{
|
|
// useAttachements = true;
|
|
V_3 = (bool)1;
|
|
// if (attachementSources == null) attachementSources = new List<List<Vector3>>();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_33 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
if (L_33)
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// if (attachementSources == null) attachementSources = new List<List<Vector3>>();
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_34 = (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*)il2cpp_codegen_object_new(List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_34);
|
|
List_1__ctor_mBE9255218FAB0B859E0DD1B944986BBC7F1C3A33(L_34, List_1__ctor_mBE9255218FAB0B859E0DD1B944986BBC7F1C3A33_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9 = L_34;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9), (void*)L_34);
|
|
goto IL_00bb;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// else attachementSources.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_35 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
NullCheck(L_35);
|
|
List_1_Clear_m0FE2E00F79D74591732CC5EB8919715FAF7EA3B7_inline(L_35, List_1_Clear_m0FE2E00F79D74591732CC5EB8919715FAF7EA3B7_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00bb:
|
|
{
|
|
// List<Vector3Int> clonesToSkip = null;
|
|
V_4 = (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*)NULL;
|
|
// List<Vector3> targetPoints = points; // reference for ReGenerate feature is used
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_36 = ___0_points;
|
|
V_5 = L_36;
|
|
// if (clonerSettings != null)
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_37 = ___6_clonerSettings;
|
|
if (!L_37)
|
|
{
|
|
goto IL_07a0;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings != null)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_38 = ___7_randomSettings;
|
|
if (!L_38)
|
|
{
|
|
goto IL_02e4;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings.RandomizeLoose != Vector2.one) usingRandomization = true;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_39 = ___7_randomSettings;
|
|
NullCheck(L_39);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = L_39->___RandomizeLoose_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_41;
|
|
L_41 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
bool L_42;
|
|
L_42 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_40, L_41, NULL);
|
|
if (!L_42)
|
|
{
|
|
goto IL_00e4;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings.RandomizeLoose != Vector2.one) usingRandomization = true;
|
|
V_2 = (bool)1;
|
|
}
|
|
|
|
IL_00e4:
|
|
{
|
|
// if (!usingRandomization) if (randomSettings.RandomizeTrails != Vector2.zero) usingRandomization = true;
|
|
bool L_43 = V_2;
|
|
if (L_43)
|
|
{
|
|
goto IL_00fc;
|
|
}
|
|
}
|
|
{
|
|
// if (!usingRandomization) if (randomSettings.RandomizeTrails != Vector2.zero) usingRandomization = true;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_44 = ___7_randomSettings;
|
|
NullCheck(L_44);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_45 = L_44->___RandomizeTrails_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_46;
|
|
L_46 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_47;
|
|
L_47 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_45, L_46, NULL);
|
|
if (!L_47)
|
|
{
|
|
goto IL_00fc;
|
|
}
|
|
}
|
|
{
|
|
// if (!usingRandomization) if (randomSettings.RandomizeTrails != Vector2.zero) usingRandomization = true;
|
|
V_2 = (bool)1;
|
|
}
|
|
|
|
IL_00fc:
|
|
{
|
|
// if (randomSettings.CutOutClones != Vector2.zero)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_48 = ___7_randomSettings;
|
|
NullCheck(L_48);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_49 = L_48->___CutOutClones_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_50;
|
|
L_50 = Vector2Int_op_Implicit_m5B9FB268943E6CAB6E40E13D30BA49A9AC7D2059_inline(L_49, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_51;
|
|
L_51 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_52;
|
|
L_52 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_50, L_51, NULL);
|
|
if (!L_52)
|
|
{
|
|
goto IL_02e4;
|
|
}
|
|
}
|
|
{
|
|
// List<Vector3Int> clonesIdx = new List<Vector3Int>();
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_53 = (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*)il2cpp_codegen_object_new(List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25_il2cpp_TypeInfo_var);
|
|
NullCheck(L_53);
|
|
List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59(L_53, List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59_RuntimeMethod_var);
|
|
V_7 = L_53;
|
|
// for (int x = 0; x < clonerSettings.InstancesCount.x; x++)
|
|
V_8 = 0;
|
|
goto IL_020c;
|
|
}
|
|
|
|
IL_0126:
|
|
{
|
|
// for (int y = 0; y < clonerSettings.InstancesCount.y; y++)
|
|
V_9 = 0;
|
|
goto IL_01f3;
|
|
}
|
|
|
|
IL_012e:
|
|
{
|
|
// for (int z = 0; z < clonerSettings.InstancesCount.z; z++)
|
|
V_10 = 0;
|
|
goto IL_01da;
|
|
}
|
|
|
|
IL_0136:
|
|
{
|
|
// if (clonerSettings.CircularGrid)
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_54 = ___6_clonerSettings;
|
|
NullCheck(L_54);
|
|
bool L_55 = L_54->___CircularGrid_3;
|
|
if (!L_55)
|
|
{
|
|
goto IL_01c2;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 circleRef = new Vector3(0f, 0f, 0f);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_11), (0.0f), (0.0f), (0.0f), NULL);
|
|
// circleRef.x = x - clonerSettings.InstancesCount.x / 2;
|
|
int32_t L_56 = V_8;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_57 = ___6_clonerSettings;
|
|
NullCheck(L_57);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_58 = (&L_57->___InstancesCount_0);
|
|
int32_t L_59;
|
|
L_59 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_58, NULL);
|
|
(&V_11)->___x_2 = ((float)((int32_t)il2cpp_codegen_subtract(L_56, ((int32_t)(L_59/2)))));
|
|
// circleRef.y = y - clonerSettings.InstancesCount.y / 2;
|
|
int32_t L_60 = V_9;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_61 = ___6_clonerSettings;
|
|
NullCheck(L_61);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_62 = (&L_61->___InstancesCount_0);
|
|
int32_t L_63;
|
|
L_63 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_62, NULL);
|
|
(&V_11)->___y_3 = ((float)((int32_t)il2cpp_codegen_subtract(L_60, ((int32_t)(L_63/2)))));
|
|
// if (x > y)
|
|
int32_t L_64 = V_8;
|
|
int32_t L_65 = V_9;
|
|
if ((((int32_t)L_64) <= ((int32_t)L_65)))
|
|
{
|
|
goto IL_01aa;
|
|
}
|
|
}
|
|
{
|
|
// { if (circleRef.magnitude > clonerSettings.InstancesCount.x / 2) continue; }
|
|
float L_66;
|
|
L_66 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_11), NULL);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_67 = ___6_clonerSettings;
|
|
NullCheck(L_67);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_68 = (&L_67->___InstancesCount_0);
|
|
int32_t L_69;
|
|
L_69 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_68, NULL);
|
|
if ((!(((float)L_66) > ((float)((float)((int32_t)(L_69/2)))))))
|
|
{
|
|
goto IL_01c2;
|
|
}
|
|
}
|
|
{
|
|
// { if (circleRef.magnitude > clonerSettings.InstancesCount.x / 2) continue; }
|
|
goto IL_01d4;
|
|
}
|
|
|
|
IL_01aa:
|
|
{
|
|
// { if (circleRef.magnitude > clonerSettings.InstancesCount.y / 2) continue; }
|
|
float L_70;
|
|
L_70 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_11), NULL);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_71 = ___6_clonerSettings;
|
|
NullCheck(L_71);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_72 = (&L_71->___InstancesCount_0);
|
|
int32_t L_73;
|
|
L_73 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_72, NULL);
|
|
if ((((float)L_70) > ((float)((float)((int32_t)(L_73/2))))))
|
|
{
|
|
goto IL_01d4;
|
|
}
|
|
}
|
|
|
|
IL_01c2:
|
|
{
|
|
// clonesIdx.Add(new Vector3Int(x, y, z));
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_74 = V_7;
|
|
int32_t L_75 = V_8;
|
|
int32_t L_76 = V_9;
|
|
int32_t L_77 = V_10;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_78;
|
|
memset((&L_78), 0, sizeof(L_78));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_78), L_75, L_76, L_77, /*hidden argument*/NULL);
|
|
NullCheck(L_74);
|
|
List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_inline(L_74, L_78, List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_01d4:
|
|
{
|
|
// for (int z = 0; z < clonerSettings.InstancesCount.z; z++)
|
|
int32_t L_79 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_79, 1));
|
|
}
|
|
|
|
IL_01da:
|
|
{
|
|
// for (int z = 0; z < clonerSettings.InstancesCount.z; z++)
|
|
int32_t L_80 = V_10;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_81 = ___6_clonerSettings;
|
|
NullCheck(L_81);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_82 = (&L_81->___InstancesCount_0);
|
|
int32_t L_83;
|
|
L_83 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_82, NULL);
|
|
if ((((int32_t)L_80) < ((int32_t)L_83)))
|
|
{
|
|
goto IL_0136;
|
|
}
|
|
}
|
|
{
|
|
// for (int y = 0; y < clonerSettings.InstancesCount.y; y++)
|
|
int32_t L_84 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_84, 1));
|
|
}
|
|
|
|
IL_01f3:
|
|
{
|
|
// for (int y = 0; y < clonerSettings.InstancesCount.y; y++)
|
|
int32_t L_85 = V_9;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_86 = ___6_clonerSettings;
|
|
NullCheck(L_86);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_87 = (&L_86->___InstancesCount_0);
|
|
int32_t L_88;
|
|
L_88 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_87, NULL);
|
|
if ((((int32_t)L_85) < ((int32_t)L_88)))
|
|
{
|
|
goto IL_012e;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = 0; x < clonerSettings.InstancesCount.x; x++)
|
|
int32_t L_89 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_89, 1));
|
|
}
|
|
|
|
IL_020c:
|
|
{
|
|
// for (int x = 0; x < clonerSettings.InstancesCount.x; x++)
|
|
int32_t L_90 = V_8;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_91 = ___6_clonerSettings;
|
|
NullCheck(L_91);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_92 = (&L_91->___InstancesCount_0);
|
|
int32_t L_93;
|
|
L_93 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_92, NULL);
|
|
if ((((int32_t)L_90) < ((int32_t)L_93)))
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
{
|
|
// if (clonesIdx.Count > 0)
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_94 = V_7;
|
|
NullCheck(L_94);
|
|
int32_t L_95;
|
|
L_95 = List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_inline(L_94, List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_RuntimeMethod_var);
|
|
if ((((int32_t)L_95) <= ((int32_t)0)))
|
|
{
|
|
goto IL_02e4;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings.CutOutClones.x < 0) randomSettings.CutOutClones.x = 0;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_96 = ___7_randomSettings;
|
|
NullCheck(L_96);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* L_97 = (&L_96->___CutOutClones_4);
|
|
int32_t L_98;
|
|
L_98 = Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline(L_97, NULL);
|
|
if ((((int32_t)L_98) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0248;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings.CutOutClones.x < 0) randomSettings.CutOutClones.x = 0;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_99 = ___7_randomSettings;
|
|
NullCheck(L_99);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* L_100 = (&L_99->___CutOutClones_4);
|
|
Vector2Int_set_x_m291ECF246536852F0B8EE049C4A3768E4999CDC8_inline(L_100, 0, NULL);
|
|
}
|
|
|
|
IL_0248:
|
|
{
|
|
// if (randomSettings.CutOutClones.y < 0) randomSettings.CutOutClones.y = 0;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_101 = ___7_randomSettings;
|
|
NullCheck(L_101);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* L_102 = (&L_101->___CutOutClones_4);
|
|
int32_t L_103;
|
|
L_103 = Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline(L_102, NULL);
|
|
if ((((int32_t)L_103) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0264;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings.CutOutClones.y < 0) randomSettings.CutOutClones.y = 0;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_104 = ___7_randomSettings;
|
|
NullCheck(L_104);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* L_105 = (&L_104->___CutOutClones_4);
|
|
Vector2Int_set_y_mF81881204EEE272BA409728C7EBFDE3A979DDF6A_inline(L_105, 0, NULL);
|
|
}
|
|
|
|
IL_0264:
|
|
{
|
|
// int toCut = FGenerators.GetRandom(randomSettings.CutOutClones.x, randomSettings.CutOutClones.y + 1);
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_106 = ___7_randomSettings;
|
|
NullCheck(L_106);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* L_107 = (&L_106->___CutOutClones_4);
|
|
int32_t L_108;
|
|
L_108 = Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline(L_107, NULL);
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_109 = ___7_randomSettings;
|
|
NullCheck(L_109);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* L_110 = (&L_109->___CutOutClones_4);
|
|
int32_t L_111;
|
|
L_111 = Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline(L_110, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
int32_t L_112;
|
|
L_112 = FGenerators_GetRandom_m5EFC14041876CDAC27BA662BF4123F5F2F1EF7F7(L_108, ((int32_t)il2cpp_codegen_add(L_111, 1)), NULL);
|
|
V_12 = L_112;
|
|
// if (toCut > 0)
|
|
int32_t L_113 = V_12;
|
|
if ((((int32_t)L_113) <= ((int32_t)0)))
|
|
{
|
|
goto IL_02e4;
|
|
}
|
|
}
|
|
{
|
|
// if (toCut >= clonesIdx.Count) return new Mesh();
|
|
int32_t L_114 = V_12;
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_115 = V_7;
|
|
NullCheck(L_115);
|
|
int32_t L_116;
|
|
L_116 = List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_inline(L_115, List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_RuntimeMethod_var);
|
|
if ((((int32_t)L_114) < ((int32_t)L_116)))
|
|
{
|
|
goto IL_029b;
|
|
}
|
|
}
|
|
{
|
|
// if (toCut >= clonesIdx.Count) return new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_117 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_117);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_117, NULL);
|
|
return L_117;
|
|
}
|
|
|
|
IL_029b:
|
|
{
|
|
// clonesToSkip = new List<Vector3Int>();
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_118 = (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*)il2cpp_codegen_object_new(List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25_il2cpp_TypeInfo_var);
|
|
NullCheck(L_118);
|
|
List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59(L_118, List_1__ctor_m1482ECB85FF6B8BB8DEB6F87105003606AFBFC59_RuntimeMethod_var);
|
|
V_4 = L_118;
|
|
// for (int c = 0; c < toCut; c++)
|
|
V_13 = 0;
|
|
goto IL_02de;
|
|
}
|
|
|
|
IL_02a7:
|
|
{
|
|
// if (clonesIdx.Count == 0) break;
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_119 = V_7;
|
|
NullCheck(L_119);
|
|
int32_t L_120;
|
|
L_120 = List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_inline(L_119, List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_RuntimeMethod_var);
|
|
if (!L_120)
|
|
{
|
|
goto IL_02e4;
|
|
}
|
|
}
|
|
{
|
|
// int i = FGenerators.GetRandom(0, clonesIdx.Count);
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_121 = V_7;
|
|
NullCheck(L_121);
|
|
int32_t L_122;
|
|
L_122 = List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_inline(L_121, List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
int32_t L_123;
|
|
L_123 = FGenerators_GetRandom_m5EFC14041876CDAC27BA662BF4123F5F2F1EF7F7(0, L_122, NULL);
|
|
V_14 = L_123;
|
|
// clonesToSkip.Add(clonesIdx[i]);
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_124 = V_4;
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_125 = V_7;
|
|
int32_t L_126 = V_14;
|
|
NullCheck(L_125);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_127;
|
|
L_127 = List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026(L_125, L_126, List_1_get_Item_m854C37BCBB0A6429CCECCB5CA87D616C4B4AB026_RuntimeMethod_var);
|
|
NullCheck(L_124);
|
|
List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_inline(L_124, L_127, List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_RuntimeMethod_var);
|
|
// clonesIdx.RemoveAt(i);
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_128 = V_7;
|
|
int32_t L_129 = V_14;
|
|
NullCheck(L_128);
|
|
List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177(L_128, L_129, List_1_RemoveAt_m6F962DFF6B2DBCD0F9169690778AA6C29A28A177_RuntimeMethod_var);
|
|
// for (int c = 0; c < toCut; c++)
|
|
int32_t L_130 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_130, 1));
|
|
}
|
|
|
|
IL_02de:
|
|
{
|
|
// for (int c = 0; c < toCut; c++)
|
|
int32_t L_131 = V_13;
|
|
int32_t L_132 = V_12;
|
|
if ((((int32_t)L_131) < ((int32_t)L_132)))
|
|
{
|
|
goto IL_02a7;
|
|
}
|
|
}
|
|
|
|
IL_02e4:
|
|
{
|
|
// for (int x = 0; x < clonerSettings.InstancesCount.x; x++)
|
|
V_15 = 0;
|
|
goto IL_075f;
|
|
}
|
|
|
|
IL_02ec:
|
|
{
|
|
// for (int y = 0; y < clonerSettings.InstancesCount.y; y++)
|
|
V_16 = 0;
|
|
goto IL_0746;
|
|
}
|
|
|
|
IL_02f4:
|
|
{
|
|
// List<Vector3> attachements = null;
|
|
V_17 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)NULL;
|
|
// if (useAttachements) attachements = new List<Vector3>();
|
|
bool L_133 = V_3;
|
|
if (!L_133)
|
|
{
|
|
goto IL_0301;
|
|
}
|
|
}
|
|
{
|
|
// if (useAttachements) attachements = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_134 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_134);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_134, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_17 = L_134;
|
|
}
|
|
|
|
IL_0301:
|
|
{
|
|
// for (int z = 0; z < clonerSettings.InstancesCount.z; z++)
|
|
V_18 = 0;
|
|
goto IL_0713;
|
|
}
|
|
|
|
IL_0309:
|
|
{
|
|
// if (clonerSettings.CircularGrid)
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_135 = ___6_clonerSettings;
|
|
NullCheck(L_135);
|
|
bool L_136 = L_135->___CircularGrid_3;
|
|
if (!L_136)
|
|
{
|
|
goto IL_039b;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 circleRef = new Vector3(0f, 0f, 0f);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_22), (0.0f), (0.0f), (0.0f), NULL);
|
|
// circleRef.x = x - clonerSettings.InstancesCount.x / 2;
|
|
int32_t L_137 = V_15;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_138 = ___6_clonerSettings;
|
|
NullCheck(L_138);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_139 = (&L_138->___InstancesCount_0);
|
|
int32_t L_140;
|
|
L_140 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_139, NULL);
|
|
(&V_22)->___x_2 = ((float)((int32_t)il2cpp_codegen_subtract(L_137, ((int32_t)(L_140/2)))));
|
|
// circleRef.y = y - clonerSettings.InstancesCount.y / 2;
|
|
int32_t L_141 = V_16;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_142 = ___6_clonerSettings;
|
|
NullCheck(L_142);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_143 = (&L_142->___InstancesCount_0);
|
|
int32_t L_144;
|
|
L_144 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_143, NULL);
|
|
(&V_22)->___y_3 = ((float)((int32_t)il2cpp_codegen_subtract(L_141, ((int32_t)(L_144/2)))));
|
|
// if (x > y)
|
|
int32_t L_145 = V_15;
|
|
int32_t L_146 = V_16;
|
|
if ((((int32_t)L_145) <= ((int32_t)L_146)))
|
|
{
|
|
goto IL_0380;
|
|
}
|
|
}
|
|
{
|
|
// if (circleRef.magnitude > clonerSettings.InstancesCount.x / 2) continue;
|
|
float L_147;
|
|
L_147 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_22), NULL);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_148 = ___6_clonerSettings;
|
|
NullCheck(L_148);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_149 = (&L_148->___InstancesCount_0);
|
|
int32_t L_150;
|
|
L_150 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_149, NULL);
|
|
if ((!(((float)L_147) > ((float)((float)((int32_t)(L_150/2)))))))
|
|
{
|
|
goto IL_039b;
|
|
}
|
|
}
|
|
{
|
|
// if (circleRef.magnitude > clonerSettings.InstancesCount.x / 2) continue;
|
|
goto IL_070d;
|
|
}
|
|
|
|
IL_0380:
|
|
{
|
|
// if (circleRef.magnitude > clonerSettings.InstancesCount.y / 2) continue;
|
|
float L_151;
|
|
L_151 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_22), NULL);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_152 = ___6_clonerSettings;
|
|
NullCheck(L_152);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_153 = (&L_152->___InstancesCount_0);
|
|
int32_t L_154;
|
|
L_154 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_153, NULL);
|
|
if ((((float)L_151) > ((float)((float)((int32_t)(L_154/2))))))
|
|
{
|
|
goto IL_070d;
|
|
}
|
|
}
|
|
|
|
IL_039b:
|
|
{
|
|
// if (clonesToSkip != null)
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_155 = V_4;
|
|
if (!L_155)
|
|
{
|
|
goto IL_03b6;
|
|
}
|
|
}
|
|
{
|
|
// if (clonesToSkip.Contains(new Vector3Int(x, y, z))) continue;
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* L_156 = V_4;
|
|
int32_t L_157 = V_15;
|
|
int32_t L_158 = V_16;
|
|
int32_t L_159 = V_18;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_160;
|
|
memset((&L_160), 0, sizeof(L_160));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_160), L_157, L_158, L_159, /*hidden argument*/NULL);
|
|
NullCheck(L_156);
|
|
bool L_161;
|
|
L_161 = List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4(L_156, L_160, List_1_Contains_m8BB701CF531882E043C3B28B63966333F141EDC4_RuntimeMethod_var);
|
|
if (L_161)
|
|
{
|
|
goto IL_070d;
|
|
}
|
|
}
|
|
|
|
IL_03b6:
|
|
{
|
|
// Vector3 translationValue = new Vector3();
|
|
il2cpp_codegen_initobj((&V_19), sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2));
|
|
// translationValue.x = x;
|
|
int32_t L_162 = V_15;
|
|
(&V_19)->___x_2 = ((float)L_162);
|
|
// translationValue.y = y;
|
|
int32_t L_163 = V_16;
|
|
(&V_19)->___y_3 = ((float)L_163);
|
|
// translationValue.z = z;
|
|
int32_t L_164 = V_18;
|
|
(&V_19)->___z_4 = ((float)L_164);
|
|
// Vector3 centerOffset = new Vector3();
|
|
il2cpp_codegen_initobj((&V_20), sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2));
|
|
// centerOffset.x = -(clonerSettings.InstancesCount.x - 1) / 2;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_165 = ___6_clonerSettings;
|
|
NullCheck(L_165);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_166 = (&L_165->___InstancesCount_0);
|
|
int32_t L_167;
|
|
L_167 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_166, NULL);
|
|
(&V_20)->___x_2 = ((float)((int32_t)(((-((int32_t)il2cpp_codegen_subtract(L_167, 1))))/2)));
|
|
// if (clonerSettings.InstancesCount.x % 2 == 0) centerOffset.x -= 0.5f;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_168 = ___6_clonerSettings;
|
|
NullCheck(L_168);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_169 = (&L_168->___InstancesCount_0);
|
|
int32_t L_170;
|
|
L_170 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_169, NULL);
|
|
if (((int32_t)(L_170%2)))
|
|
{
|
|
goto IL_041d;
|
|
}
|
|
}
|
|
{
|
|
// if (clonerSettings.InstancesCount.x % 2 == 0) centerOffset.x -= 0.5f;
|
|
float* L_171 = (&(&V_20)->___x_2);
|
|
float* L_172 = L_171;
|
|
float L_173 = *((float*)L_172);
|
|
*((float*)L_172) = (float)((float)il2cpp_codegen_subtract(L_173, (0.5f)));
|
|
}
|
|
|
|
IL_041d:
|
|
{
|
|
// centerOffset.y = -(clonerSettings.InstancesCount.y - 1) / 2;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_174 = ___6_clonerSettings;
|
|
NullCheck(L_174);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_175 = (&L_174->___InstancesCount_0);
|
|
int32_t L_176;
|
|
L_176 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_175, NULL);
|
|
(&V_20)->___y_3 = ((float)((int32_t)(((-((int32_t)il2cpp_codegen_subtract(L_176, 1))))/2)));
|
|
// if (clonerSettings.InstancesCount.y % 2 == 0) centerOffset.y -= 0.5f;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_177 = ___6_clonerSettings;
|
|
NullCheck(L_177);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_178 = (&L_177->___InstancesCount_0);
|
|
int32_t L_179;
|
|
L_179 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_178, NULL);
|
|
if (((int32_t)(L_179%2)))
|
|
{
|
|
goto IL_0456;
|
|
}
|
|
}
|
|
{
|
|
// if (clonerSettings.InstancesCount.y % 2 == 0) centerOffset.y -= 0.5f;
|
|
float* L_180 = (&(&V_20)->___y_3);
|
|
float* L_181 = L_180;
|
|
float L_182 = *((float*)L_181);
|
|
*((float*)L_181) = (float)((float)il2cpp_codegen_subtract(L_182, (0.5f)));
|
|
}
|
|
|
|
IL_0456:
|
|
{
|
|
// centerOffset.z = -(clonerSettings.InstancesCount.z - 1) / 2;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_183 = ___6_clonerSettings;
|
|
NullCheck(L_183);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_184 = (&L_183->___InstancesCount_0);
|
|
int32_t L_185;
|
|
L_185 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_184, NULL);
|
|
(&V_20)->___z_4 = ((float)((int32_t)(((-((int32_t)il2cpp_codegen_subtract(L_185, 1))))/2)));
|
|
// if (clonerSettings.InstancesCount.z % 2 == 0) centerOffset.z -= 0.5f;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_186 = ___6_clonerSettings;
|
|
NullCheck(L_186);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_187 = (&L_186->___InstancesCount_0);
|
|
int32_t L_188;
|
|
L_188 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_187, NULL);
|
|
if (((int32_t)(L_188%2)))
|
|
{
|
|
goto IL_048f;
|
|
}
|
|
}
|
|
{
|
|
// if (clonerSettings.InstancesCount.z % 2 == 0) centerOffset.z -= 0.5f;
|
|
float* L_189 = (&(&V_20)->___z_4);
|
|
float* L_190 = L_189;
|
|
float L_191 = *((float*)L_190);
|
|
*((float*)L_190) = (float)((float)il2cpp_codegen_subtract(L_191, (0.5f)));
|
|
}
|
|
|
|
IL_048f:
|
|
{
|
|
// translationValue += centerOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_192 = V_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194;
|
|
L_194 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_192, L_193, NULL);
|
|
V_19 = L_194;
|
|
// translationValue.x *= clonerSettings.ClonesOffsets.x * clonerSettings.ScaleOffsets;
|
|
float* L_195 = (&(&V_19)->___x_2);
|
|
float* L_196 = L_195;
|
|
float L_197 = *((float*)L_196);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_198 = ___6_clonerSettings;
|
|
NullCheck(L_198);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_199 = (&L_198->___ClonesOffsets_1);
|
|
float L_200 = L_199->___x_2;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_201 = ___6_clonerSettings;
|
|
NullCheck(L_201);
|
|
float L_202 = L_201->___ScaleOffsets_2;
|
|
*((float*)L_196) = (float)((float)il2cpp_codegen_multiply(L_197, ((float)il2cpp_codegen_multiply(L_200, L_202))));
|
|
// translationValue.y *= clonerSettings.ClonesOffsets.y * clonerSettings.ScaleOffsets;
|
|
float* L_203 = (&(&V_19)->___y_3);
|
|
float* L_204 = L_203;
|
|
float L_205 = *((float*)L_204);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_206 = ___6_clonerSettings;
|
|
NullCheck(L_206);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_207 = (&L_206->___ClonesOffsets_1);
|
|
float L_208 = L_207->___y_3;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_209 = ___6_clonerSettings;
|
|
NullCheck(L_209);
|
|
float L_210 = L_209->___ScaleOffsets_2;
|
|
*((float*)L_204) = (float)((float)il2cpp_codegen_multiply(L_205, ((float)il2cpp_codegen_multiply(L_208, L_210))));
|
|
// translationValue.z *= clonerSettings.ClonesOffsets.z;
|
|
float* L_211 = (&(&V_19)->___z_4);
|
|
float* L_212 = L_211;
|
|
float L_213 = *((float*)L_212);
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_214 = ___6_clonerSettings;
|
|
NullCheck(L_214);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_215 = (&L_214->___ClonesOffsets_1);
|
|
float L_216 = L_215->___z_4;
|
|
*((float*)L_212) = (float)((float)il2cpp_codegen_multiply(L_213, L_216));
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_21), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// if (clonerSettings.PathReGenerate)
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_217 = ___6_clonerSettings;
|
|
NullCheck(L_217);
|
|
bool L_218 = L_217->___PathReGenerate_4;
|
|
if (!L_218)
|
|
{
|
|
goto IL_05f8;
|
|
}
|
|
}
|
|
{
|
|
// targetPoints = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_219 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_219);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_219, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_5 = L_219;
|
|
// Vector3 lDir = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_220;
|
|
L_220 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_23 = L_220;
|
|
// for (int p = 0; p < points.Count; p++)
|
|
V_24 = 0;
|
|
goto IL_05eb;
|
|
}
|
|
|
|
IL_0519:
|
|
{
|
|
// Vector3 clonerPathPoint = points[p];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_221 = ___0_points;
|
|
int32_t L_222 = V_24;
|
|
NullCheck(L_221);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_223;
|
|
L_223 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_221, L_222, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_25 = L_223;
|
|
// if (p == points.Count - 1 && clonerSettings.FlattenEnds)
|
|
int32_t L_224 = V_24;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_225 = ___0_points;
|
|
NullCheck(L_225);
|
|
int32_t L_226;
|
|
L_226 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_225, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((!(((uint32_t)L_224) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(L_226, 1))))))
|
|
{
|
|
goto IL_0558;
|
|
}
|
|
}
|
|
{
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_227 = ___6_clonerSettings;
|
|
NullCheck(L_227);
|
|
bool L_228 = L_227->___FlattenEnds_5;
|
|
if (!L_228)
|
|
{
|
|
goto IL_0558;
|
|
}
|
|
}
|
|
{
|
|
// lDir = FVectorMethods.ChooseDominantAxis(points[p] - points[p - 1]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_229 = ___0_points;
|
|
int32_t L_230 = V_24;
|
|
NullCheck(L_229);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_231;
|
|
L_231 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_229, L_230, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_232 = ___0_points;
|
|
int32_t L_233 = V_24;
|
|
NullCheck(L_232);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_234;
|
|
L_234 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_232, ((int32_t)il2cpp_codegen_subtract(L_233, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_235;
|
|
L_235 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_231, L_234, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_236;
|
|
L_236 = FVectorMethods_ChooseDominantAxis_m84B7D8A93DEBD2208A3200AC272E62FBD2EAFB81(L_235, NULL);
|
|
V_23 = L_236;
|
|
goto IL_05aa;
|
|
}
|
|
|
|
IL_0558:
|
|
{
|
|
// else if (p == 0 && clonerSettings.FlattenEnds)
|
|
int32_t L_237 = V_24;
|
|
if (L_237)
|
|
{
|
|
goto IL_0585;
|
|
}
|
|
}
|
|
{
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_238 = ___6_clonerSettings;
|
|
NullCheck(L_238);
|
|
bool L_239 = L_238->___FlattenEnds_5;
|
|
if (!L_239)
|
|
{
|
|
goto IL_0585;
|
|
}
|
|
}
|
|
{
|
|
// lDir = FVectorMethods.ChooseDominantAxis(points[p + 1] - points[p]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_240 = ___0_points;
|
|
int32_t L_241 = V_24;
|
|
NullCheck(L_240);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_242;
|
|
L_242 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_240, ((int32_t)il2cpp_codegen_add(L_241, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_243 = ___0_points;
|
|
int32_t L_244 = V_24;
|
|
NullCheck(L_243);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_245;
|
|
L_245 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_243, L_244, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_246;
|
|
L_246 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_242, L_245, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_247;
|
|
L_247 = FVectorMethods_ChooseDominantAxis_m84B7D8A93DEBD2208A3200AC272E62FBD2EAFB81(L_246, NULL);
|
|
V_23 = L_247;
|
|
goto IL_05aa;
|
|
}
|
|
|
|
IL_0585:
|
|
{
|
|
// else if (p < points.Count - 1) lDir = points[p + 1] - points[p];
|
|
int32_t L_248 = V_24;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_249 = ___0_points;
|
|
NullCheck(L_249);
|
|
int32_t L_250;
|
|
L_250 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_249, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_248) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_250, 1)))))
|
|
{
|
|
goto IL_05aa;
|
|
}
|
|
}
|
|
{
|
|
// else if (p < points.Count - 1) lDir = points[p + 1] - points[p];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_251 = ___0_points;
|
|
int32_t L_252 = V_24;
|
|
NullCheck(L_251);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_253;
|
|
L_253 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_251, ((int32_t)il2cpp_codegen_add(L_252, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_254 = ___0_points;
|
|
int32_t L_255 = V_24;
|
|
NullCheck(L_254);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_256;
|
|
L_256 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_254, L_255, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_257;
|
|
L_257 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_253, L_256, NULL);
|
|
V_23 = L_257;
|
|
}
|
|
|
|
IL_05aa:
|
|
{
|
|
// if (lDir == Vector3.zero) dir = Quaternion.identity;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_258 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_259;
|
|
L_259 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_260;
|
|
L_260 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_258, L_259, NULL);
|
|
if (!L_260)
|
|
{
|
|
goto IL_05c1;
|
|
}
|
|
}
|
|
{
|
|
// if (lDir == Vector3.zero) dir = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_261;
|
|
L_261 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
V_26 = L_261;
|
|
goto IL_05ca;
|
|
}
|
|
|
|
IL_05c1:
|
|
{
|
|
// else dir = Quaternion.LookRotation(lDir);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_262 = V_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_263;
|
|
L_263 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_262, NULL);
|
|
V_26 = L_263;
|
|
}
|
|
|
|
IL_05ca:
|
|
{
|
|
// clonerPathPoint += dir * translationValue;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_264 = V_25;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_265 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_266 = V_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_267;
|
|
L_267 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_265, L_266, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_268;
|
|
L_268 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_264, L_267, NULL);
|
|
V_25 = L_268;
|
|
// targetPoints.Add(clonerPathPoint);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_269 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_270 = V_25;
|
|
NullCheck(L_269);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_269, L_270, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int p = 0; p < points.Count; p++)
|
|
int32_t L_271 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_271, 1));
|
|
}
|
|
|
|
IL_05eb:
|
|
{
|
|
// for (int p = 0; p < points.Count; p++)
|
|
int32_t L_272 = V_24;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_273 = ___0_points;
|
|
NullCheck(L_273);
|
|
int32_t L_274;
|
|
L_274 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_273, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_272) < ((int32_t)L_274)))
|
|
{
|
|
goto IL_0519;
|
|
}
|
|
}
|
|
|
|
IL_05f8:
|
|
{
|
|
// if (usingRandomization || clonerSettings.PathReGenerate)
|
|
bool L_275 = V_2;
|
|
if (L_275)
|
|
{
|
|
goto IL_0604;
|
|
}
|
|
}
|
|
{
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_276 = ___6_clonerSettings;
|
|
NullCheck(L_276);
|
|
bool L_277 = L_276->___PathReGenerate_4;
|
|
if (!L_277)
|
|
{
|
|
goto IL_062b;
|
|
}
|
|
}
|
|
|
|
IL_0604:
|
|
{
|
|
// RandomizaPoints(targetPoints, pointsBackup, randomSettings);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_278 = V_5;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_279 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_280 = ___7_randomSettings;
|
|
TileCableGenerator_RandomizaPoints_m976BB2C32E139537CBA0DB45233C768AD0B9763E(L_278, L_279, L_280, NULL);
|
|
// comb.mesh = GenerateCablesMesh(targetPoints, cableLoose, hanging, radius, meshSettings, texturingSettings, randomSettings);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_281 = V_5;
|
|
float L_282 = ___1_cableLoose;
|
|
float L_283 = ___2_hanging;
|
|
float L_284 = ___3_radius;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_285 = ___4_meshSettings;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_286 = ___5_texturingSettings;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_287 = ___7_randomSettings;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_288;
|
|
L_288 = TileCableGenerator_GenerateCablesMesh_m0DA7F17758957D96D9D3C25272E15726A23969A3(L_281, L_282, L_283, L_284, L_285, L_286, L_287, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_21), L_288, NULL);
|
|
goto IL_0633;
|
|
}
|
|
|
|
IL_062b:
|
|
{
|
|
// else comb.mesh = fullCableTrail;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_289 = V_0;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_21), L_289, NULL);
|
|
}
|
|
|
|
IL_0633:
|
|
{
|
|
// if (useAttachements)
|
|
bool L_290 = V_3;
|
|
if (!L_290)
|
|
{
|
|
goto IL_06e0;
|
|
}
|
|
}
|
|
{
|
|
// if (attachementSettings.ApplyToAllClones)
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_291 = ___8_attachementSettings;
|
|
NullCheck(L_291);
|
|
bool L_292 = L_291->___ApplyToAllClones_10;
|
|
if (!L_292)
|
|
{
|
|
goto IL_0680;
|
|
}
|
|
}
|
|
{
|
|
// for (int p = 0; p < targetPoints.Count; p++)
|
|
V_27 = 0;
|
|
goto IL_0673;
|
|
}
|
|
|
|
IL_0647:
|
|
{
|
|
// Vector3 pointPos = targetPoints[p] + translationValue;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_293 = V_5;
|
|
int32_t L_294 = V_27;
|
|
NullCheck(L_293);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_295;
|
|
L_295 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_293, L_294, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_296 = V_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_297;
|
|
L_297 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_295, L_296, NULL);
|
|
V_28 = L_297;
|
|
// if (!attachements.Contains(pointPos)) attachements.Add(pointPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_298 = V_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_299 = V_28;
|
|
NullCheck(L_298);
|
|
bool L_300;
|
|
L_300 = List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F(L_298, L_299, List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F_RuntimeMethod_var);
|
|
if (L_300)
|
|
{
|
|
goto IL_066d;
|
|
}
|
|
}
|
|
{
|
|
// if (!attachements.Contains(pointPos)) attachements.Add(pointPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_301 = V_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_302 = V_28;
|
|
NullCheck(L_301);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_301, L_302, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_066d:
|
|
{
|
|
// for (int p = 0; p < targetPoints.Count; p++)
|
|
int32_t L_303 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_303, 1));
|
|
}
|
|
|
|
IL_0673:
|
|
{
|
|
// for (int p = 0; p < targetPoints.Count; p++)
|
|
int32_t L_304 = V_27;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_305 = V_5;
|
|
NullCheck(L_305);
|
|
int32_t L_306;
|
|
L_306 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_305, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_304) < ((int32_t)L_306)))
|
|
{
|
|
goto IL_0647;
|
|
}
|
|
}
|
|
{
|
|
goto IL_06e0;
|
|
}
|
|
|
|
IL_0680:
|
|
{
|
|
// if (attachementSources.Count == 0)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_307 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
NullCheck(L_307);
|
|
int32_t L_308;
|
|
L_308 = List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_inline(L_307, List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_RuntimeMethod_var);
|
|
if (L_308)
|
|
{
|
|
goto IL_06e0;
|
|
}
|
|
}
|
|
{
|
|
// for (int p = 0; p < targetPoints.Count; p++)
|
|
V_29 = 0;
|
|
goto IL_06d5;
|
|
}
|
|
|
|
IL_0691:
|
|
{
|
|
// Vector3 off = new Vector3(0f, 0f, translationValue.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_309 = V_19;
|
|
float L_310 = L_309.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_30), (0.0f), (0.0f), L_310, NULL);
|
|
// Vector3 pointPos = targetPoints[p] + off;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_311 = V_5;
|
|
int32_t L_312 = V_29;
|
|
NullCheck(L_311);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_313;
|
|
L_313 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_311, L_312, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_314 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_315;
|
|
L_315 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_313, L_314, NULL);
|
|
V_31 = L_315;
|
|
// if (!attachements.Contains(pointPos)) attachements.Add(pointPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_316 = V_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_317 = V_31;
|
|
NullCheck(L_316);
|
|
bool L_318;
|
|
L_318 = List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F(L_316, L_317, List_1_Contains_m3AB3A0CBA2FC939693360C3753E53CA1E7BAD66F_RuntimeMethod_var);
|
|
if (L_318)
|
|
{
|
|
goto IL_06cf;
|
|
}
|
|
}
|
|
{
|
|
// if (!attachements.Contains(pointPos)) attachements.Add(pointPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_319 = V_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_320 = V_31;
|
|
NullCheck(L_319);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_319, L_320, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_06cf:
|
|
{
|
|
// for (int p = 0; p < targetPoints.Count; p++)
|
|
int32_t L_321 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_321, 1));
|
|
}
|
|
|
|
IL_06d5:
|
|
{
|
|
// for (int p = 0; p < targetPoints.Count; p++)
|
|
int32_t L_322 = V_29;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_323 = V_5;
|
|
NullCheck(L_323);
|
|
int32_t L_324;
|
|
L_324 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_323, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_322) < ((int32_t)L_324)))
|
|
{
|
|
goto IL_0691;
|
|
}
|
|
}
|
|
|
|
IL_06e0:
|
|
{
|
|
// if (clonerSettings.PathReGenerate) translationValue = Vector3.zero;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_325 = ___6_clonerSettings;
|
|
NullCheck(L_325);
|
|
bool L_326 = L_325->___PathReGenerate_4;
|
|
if (!L_326)
|
|
{
|
|
goto IL_06f0;
|
|
}
|
|
}
|
|
{
|
|
// if (clonerSettings.PathReGenerate) translationValue = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_327;
|
|
L_327 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_19 = L_327;
|
|
}
|
|
|
|
IL_06f0:
|
|
{
|
|
// comb.transform = Matrix4x4.Translate(translationValue);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_328 = V_19;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_329;
|
|
L_329 = Matrix4x4_Translate_mF3EDFC59C9E51DC0C0A483F6E44A4930D62E4091(L_328, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_21), L_329, NULL);
|
|
// toCombine.Add(comb);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_330 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_331 = V_21;
|
|
NullCheck(L_330);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_330, L_331, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// targetPoints = points;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_332 = ___0_points;
|
|
V_5 = L_332;
|
|
}
|
|
|
|
IL_070d:
|
|
{
|
|
// for (int z = 0; z < clonerSettings.InstancesCount.z; z++)
|
|
int32_t L_333 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_333, 1));
|
|
}
|
|
|
|
IL_0713:
|
|
{
|
|
// for (int z = 0; z < clonerSettings.InstancesCount.z; z++)
|
|
int32_t L_334 = V_18;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_335 = ___6_clonerSettings;
|
|
NullCheck(L_335);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_336 = (&L_335->___InstancesCount_0);
|
|
int32_t L_337;
|
|
L_337 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_336, NULL);
|
|
if ((((int32_t)L_334) < ((int32_t)L_337)))
|
|
{
|
|
goto IL_0309;
|
|
}
|
|
}
|
|
{
|
|
// if (attachements != null) if (attachements.Count > 0) attachementSources.Add(attachements);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_338 = V_17;
|
|
if (!L_338)
|
|
{
|
|
goto IL_0740;
|
|
}
|
|
}
|
|
{
|
|
// if (attachements != null) if (attachements.Count > 0) attachementSources.Add(attachements);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_339 = V_17;
|
|
NullCheck(L_339);
|
|
int32_t L_340;
|
|
L_340 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_339, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_340) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0740;
|
|
}
|
|
}
|
|
{
|
|
// if (attachements != null) if (attachements.Count > 0) attachementSources.Add(attachements);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_341 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_342 = V_17;
|
|
NullCheck(L_341);
|
|
List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_inline(L_341, L_342, List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0740:
|
|
{
|
|
// for (int y = 0; y < clonerSettings.InstancesCount.y; y++)
|
|
int32_t L_343 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_343, 1));
|
|
}
|
|
|
|
IL_0746:
|
|
{
|
|
// for (int y = 0; y < clonerSettings.InstancesCount.y; y++)
|
|
int32_t L_344 = V_16;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_345 = ___6_clonerSettings;
|
|
NullCheck(L_345);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_346 = (&L_345->___InstancesCount_0);
|
|
int32_t L_347;
|
|
L_347 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_346, NULL);
|
|
if ((((int32_t)L_344) < ((int32_t)L_347)))
|
|
{
|
|
goto IL_02f4;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = 0; x < clonerSettings.InstancesCount.x; x++)
|
|
int32_t L_348 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_348, 1));
|
|
}
|
|
|
|
IL_075f:
|
|
{
|
|
// for (int x = 0; x < clonerSettings.InstancesCount.x; x++)
|
|
int32_t L_349 = V_15;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_350 = ___6_clonerSettings;
|
|
NullCheck(L_350);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_351 = (&L_350->___InstancesCount_0);
|
|
int32_t L_352;
|
|
L_352 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_351, NULL);
|
|
if ((((int32_t)L_349) < ((int32_t)L_352)))
|
|
{
|
|
goto IL_02ec;
|
|
}
|
|
}
|
|
{
|
|
// if (toCombine.Count > 0)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_353 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
NullCheck(L_353);
|
|
int32_t L_354;
|
|
L_354 = List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_inline(L_353, List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_RuntimeMethod_var);
|
|
if ((((int32_t)L_354) <= ((int32_t)0)))
|
|
{
|
|
goto IL_07a0;
|
|
}
|
|
}
|
|
{
|
|
// Mesh clonerCombination = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_355 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_355);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_355, NULL);
|
|
// clonerCombination.name = "CablesClonerCombination";
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_356 = L_355;
|
|
NullCheck(L_356);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_356, _stringLiteral504C2AC39FF263D887FD9AD5F5BA8CD287C8AA10, NULL);
|
|
// clonerCombination.CombineMeshes(toCombine.ToArray());
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_357 = L_356;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_358 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
NullCheck(L_358);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_359;
|
|
L_359 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_358, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_357);
|
|
Mesh_CombineMeshes_m110B4E583DB600AF1F90A78A0D9EB3D7B96DD967(L_357, L_359, NULL);
|
|
// fullMesh = clonerCombination;
|
|
V_1 = L_357;
|
|
}
|
|
|
|
IL_07a0:
|
|
{
|
|
// if (attachementSources != null)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_360 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
if (!L_360)
|
|
{
|
|
goto IL_07ea;
|
|
}
|
|
}
|
|
{
|
|
// if (toCombine.Count == 0)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_361 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
NullCheck(L_361);
|
|
int32_t L_362;
|
|
L_362 = List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_inline(L_361, List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_RuntimeMethod_var);
|
|
if (L_362)
|
|
{
|
|
goto IL_07ea;
|
|
}
|
|
}
|
|
{
|
|
// List<Vector3> attachements = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_363 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_363);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_363, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_32 = L_363;
|
|
// for (int p = 0; p < points.Count; p++) attachements.Add(points[p]);
|
|
V_33 = 0;
|
|
goto IL_07d4;
|
|
}
|
|
|
|
IL_07bf:
|
|
{
|
|
// for (int p = 0; p < points.Count; p++) attachements.Add(points[p]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_364 = V_32;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_365 = ___0_points;
|
|
int32_t L_366 = V_33;
|
|
NullCheck(L_365);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_367;
|
|
L_367 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_365, L_366, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_364);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_364, L_367, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int p = 0; p < points.Count; p++) attachements.Add(points[p]);
|
|
int32_t L_368 = V_33;
|
|
V_33 = ((int32_t)il2cpp_codegen_add(L_368, 1));
|
|
}
|
|
|
|
IL_07d4:
|
|
{
|
|
// for (int p = 0; p < points.Count; p++) attachements.Add(points[p]);
|
|
int32_t L_369 = V_33;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_370 = ___0_points;
|
|
NullCheck(L_370);
|
|
int32_t L_371;
|
|
L_371 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_370, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_369) < ((int32_t)L_371)))
|
|
{
|
|
goto IL_07bf;
|
|
}
|
|
}
|
|
{
|
|
// attachementSources.Add(attachements);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_372 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_373 = V_32;
|
|
NullCheck(L_372);
|
|
List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_inline(L_372, L_373, List_1_Add_m8B5DEF3F8F4F49003BB953399B6E84A6DC941AC6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_07ea:
|
|
{
|
|
// if (useAttachements)
|
|
bool L_374 = V_3;
|
|
if (!L_374)
|
|
{
|
|
goto IL_0932;
|
|
}
|
|
}
|
|
{
|
|
// if (attachementSources.Count > 0)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_375 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
NullCheck(L_375);
|
|
int32_t L_376;
|
|
L_376 = List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_inline(L_375, List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_RuntimeMethod_var);
|
|
if ((((int32_t)L_376) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0932;
|
|
}
|
|
}
|
|
{
|
|
// if (attachementSettings.ApplyToAllClones)
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_377 = ___8_attachementSettings;
|
|
NullCheck(L_377);
|
|
bool L_378 = L_377->___ApplyToAllClones_10;
|
|
if (!L_378)
|
|
{
|
|
goto IL_0884;
|
|
}
|
|
}
|
|
{
|
|
// toCombineSingle.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_379 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
NullCheck(L_379);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_379, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// for (int a = 0; a < attachementSources.Count; a++)
|
|
V_35 = 0;
|
|
goto IL_085c;
|
|
}
|
|
|
|
IL_0818:
|
|
{
|
|
// Mesh m = GenerateAttachements(attachementSources[a], attachementSettings);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_380 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
int32_t L_381 = V_35;
|
|
NullCheck(L_380);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_382;
|
|
L_382 = List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075(L_380, L_381, List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075_RuntimeMethod_var);
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_383 = ___8_attachementSettings;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_384;
|
|
L_384 = TileCableGenerator_GenerateAttachements_m2FF96F9127626C28CE95ED4022BA055591C03568(L_382, L_383, NULL);
|
|
V_36 = L_384;
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_37), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = m;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_385 = V_36;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_37), L_385, NULL);
|
|
// comb.transform = Matrix4x4.identity;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_386;
|
|
L_386 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_37), L_386, NULL);
|
|
// toCombineSingle.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_387 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_388 = V_37;
|
|
NullCheck(L_387);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_387, L_388, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// for (int a = 0; a < attachementSources.Count; a++)
|
|
int32_t L_389 = V_35;
|
|
V_35 = ((int32_t)il2cpp_codegen_add(L_389, 1));
|
|
}
|
|
|
|
IL_085c:
|
|
{
|
|
// for (int a = 0; a < attachementSources.Count; a++)
|
|
int32_t L_390 = V_35;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_391 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
NullCheck(L_391);
|
|
int32_t L_392;
|
|
L_392 = List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_inline(L_391, List_1_get_Count_mCEAF06D12C5EE5C2B77E68DE38D04E9BCC27328D_RuntimeMethod_var);
|
|
if ((((int32_t)L_390) < ((int32_t)L_392)))
|
|
{
|
|
goto IL_0818;
|
|
}
|
|
}
|
|
{
|
|
// attachementsMesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_393 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_393);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_393, NULL);
|
|
V_34 = L_393;
|
|
// attachementsMesh.CombineMeshes(toCombineSingle.ToArray());
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_394 = V_34;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_395 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
NullCheck(L_395);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_396;
|
|
L_396 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_395, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_394);
|
|
Mesh_CombineMeshes_m110B4E583DB600AF1F90A78A0D9EB3D7B96DD967(L_394, L_396, NULL);
|
|
goto IL_0898;
|
|
}
|
|
|
|
IL_0884:
|
|
{
|
|
// attachementsMesh = GenerateAttachements(attachementSources[0], attachementSettings);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F* L_397 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9;
|
|
NullCheck(L_397);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_398;
|
|
L_398 = List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075(L_397, 0, List_1_get_Item_m4B238E04198FE52EB1D62E21BB6B0C8948740075_RuntimeMethod_var);
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_399 = ___8_attachementSettings;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_400;
|
|
L_400 = TileCableGenerator_GenerateAttachements_m2FF96F9127626C28CE95ED4022BA055591C03568(L_398, L_399, NULL);
|
|
V_34 = L_400;
|
|
}
|
|
|
|
IL_0898:
|
|
{
|
|
// if (attachementsMesh != null)
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_401 = V_34;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_402;
|
|
L_402 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_401, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_402)
|
|
{
|
|
goto IL_0932;
|
|
}
|
|
}
|
|
{
|
|
// toCombineSingle.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_403 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
NullCheck(L_403);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_403, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_38), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = fullMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_404 = V_1;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_38), L_404, NULL);
|
|
// comb.subMeshIndex = 0;
|
|
CombineInstance_set_subMeshIndex_m0BEE48A40C54BCC5E4EE8978FE665BEC60EAE070((&V_38), 0, NULL);
|
|
// comb.transform = Matrix4x4.identity;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_405;
|
|
L_405 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_38), L_405, NULL);
|
|
// toCombineSingle.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_406 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_407 = V_38;
|
|
NullCheck(L_406);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_406, L_407, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_38), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = attachementsMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_408 = V_34;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_38), L_408, NULL);
|
|
// comb.subMeshIndex = 0;
|
|
CombineInstance_set_subMeshIndex_m0BEE48A40C54BCC5E4EE8978FE665BEC60EAE070((&V_38), 0, NULL);
|
|
// comb.transform = Matrix4x4.identity;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_409;
|
|
L_409 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_38), L_409, NULL);
|
|
// toCombineSingle.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_410 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_411 = V_38;
|
|
NullCheck(L_410);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_410, L_411, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// Mesh subMeshed = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_412 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_412);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_412, NULL);
|
|
// subMeshed.name = "CablesMesh";
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_413 = L_412;
|
|
NullCheck(L_413);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_413, _stringLiteralE35A4733281BF08676DF80FFBD2A7BB90CAFFE72, NULL);
|
|
// subMeshed.CombineMeshes(toCombineSingle.ToArray(), false);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_414 = L_413;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_415 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
NullCheck(L_415);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_416;
|
|
L_416 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_415, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_414);
|
|
Mesh_CombineMeshes_mC5CF9F6F49FC96139337C724849BB62DF9C47DD5(L_414, L_416, (bool)0, NULL);
|
|
// fullMesh = subMeshed;
|
|
V_1 = L_414;
|
|
}
|
|
|
|
IL_0932:
|
|
{
|
|
// if (pointsBackup != null)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_417 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
if (!L_417)
|
|
{
|
|
goto IL_0977;
|
|
}
|
|
}
|
|
{
|
|
// if (pointsBackup.Count > 0)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_418 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
NullCheck(L_418);
|
|
int32_t L_419;
|
|
L_419 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_418, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_419) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0977;
|
|
}
|
|
}
|
|
{
|
|
// points.Clear();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_420 = ___0_points;
|
|
NullCheck(L_420);
|
|
List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_inline(L_420, List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_RuntimeMethod_var);
|
|
// for (int p = 0; p < pointsBackup.Count; p++) points.Add(pointsBackup[p]);
|
|
V_39 = 0;
|
|
goto IL_0969;
|
|
}
|
|
|
|
IL_0951:
|
|
{
|
|
// for (int p = 0; p < pointsBackup.Count; p++) points.Add(pointsBackup[p]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_421 = ___0_points;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_422 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
int32_t L_423 = V_39;
|
|
NullCheck(L_422);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_424;
|
|
L_424 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_422, L_423, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_421);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_421, L_424, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int p = 0; p < pointsBackup.Count; p++) points.Add(pointsBackup[p]);
|
|
int32_t L_425 = V_39;
|
|
V_39 = ((int32_t)il2cpp_codegen_add(L_425, 1));
|
|
}
|
|
|
|
IL_0969:
|
|
{
|
|
// for (int p = 0; p < pointsBackup.Count; p++) points.Add(pointsBackup[p]);
|
|
int32_t L_426 = V_39;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_427 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8;
|
|
NullCheck(L_427);
|
|
int32_t L_428;
|
|
L_428 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_427, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_426) < ((int32_t)L_428)))
|
|
{
|
|
goto IL_0951;
|
|
}
|
|
}
|
|
|
|
IL_0977:
|
|
{
|
|
// return fullMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_429 = V_1;
|
|
return L_429;
|
|
}
|
|
}
|
|
// UnityEngine.Quaternion FIMSpace.Generating.TileCableGenerator::GetAxisRotation(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 TileCableGenerator_GetAxisRotation_m661764107043142E989BB8F40F3957FFE33CB1B4 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_angles, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// Quaternion rot = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
|
|
L_0 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
// rot *= Quaternion.AngleAxis(angles.x, Vector3.right);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___0_angles;
|
|
float L_2 = L_1.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
|
|
L_4 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_2, L_3, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_0, L_4, NULL);
|
|
// rot *= Quaternion.AngleAxis(angles.y, Vector3.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_angles;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
|
|
L_9 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_7, L_8, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_5, L_9, NULL);
|
|
// rot *= Quaternion.AngleAxis(angles.z, Vector3.forward);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_angles;
|
|
float L_12 = L_11.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14;
|
|
L_14 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_12, L_13, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
|
|
L_15 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_10, L_14, NULL);
|
|
// return rot;
|
|
return L_15;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GenerateAttachements(System.Collections.Generic.List`1<UnityEngine.Vector3>,FIMSpace.Generating.TileCableGenerator/CableAttachementSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GenerateAttachements_m2FF96F9127626C28CE95ED4022BA055591C03568 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_attachementsTrail, CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* ___1_settings, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA2474105546E0295957B7537F7C1BF4FBD6EA085);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
int32_t V_2 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// Vector3 towards = Vector3.forward;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
V_0 = L_0;
|
|
// if (attachementsTrail.Count > 1) towards = attachementsTrail[1] - attachementsTrail[0];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = ___0_attachementsTrail;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_1, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_2) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// if (attachementsTrail.Count > 1) towards = attachementsTrail[1] - attachementsTrail[0];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = ___0_attachementsTrail;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_3, 1, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = ___0_attachementsTrail;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_5, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_4, L_6, NULL);
|
|
V_0 = L_7;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// toCombine.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_8 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
NullCheck(L_8);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_8, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// Quaternion rotOffset = GetAxisRotation(settings.Rotation);
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_9 = ___1_settings;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___Rotation_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = TileCableGenerator_GetAxisRotation_m661764107043142E989BB8F40F3957FFE33CB1B4(L_10, NULL);
|
|
V_1 = L_11;
|
|
// for (int t = 0; t < attachementsTrail.Count; t++)
|
|
V_2 = 0;
|
|
goto IL_012a;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// if (t == 0) if (settings.AddOnStart == false) continue;
|
|
int32_t L_12 = V_2;
|
|
if (L_12)
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// if (t == 0) if (settings.AddOnStart == false) continue;
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_13 = ___1_settings;
|
|
NullCheck(L_13);
|
|
bool L_14 = L_13->___AddOnStart_7;
|
|
if (!L_14)
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// if (t == attachementsTrail.Count - 1) if (settings.AddOnTheEnd == false) continue;
|
|
int32_t L_15 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_16 = ___0_attachementsTrail;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_16, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((!(((uint32_t)L_15) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(L_17, 1))))))
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// if (t == attachementsTrail.Count - 1) if (settings.AddOnTheEnd == false) continue;
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_18 = ___1_settings;
|
|
NullCheck(L_18);
|
|
bool L_19 = L_18->___AddOnTheEnd_9;
|
|
if (!L_19)
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// if (t > 0 && t < attachementsTrail.Count - 1) if (settings.AddInTheMiddle == false) continue;
|
|
int32_t L_20 = V_2;
|
|
if ((((int32_t)L_20) <= ((int32_t)0)))
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_21 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_22 = ___0_attachementsTrail;
|
|
NullCheck(L_22);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_22, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_21) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_23, 1)))))
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// if (t > 0 && t < attachementsTrail.Count - 1) if (settings.AddInTheMiddle == false) continue;
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_24 = ___1_settings;
|
|
NullCheck(L_24);
|
|
bool L_25 = L_24->___AddInTheMiddle_8;
|
|
if (!L_25)
|
|
{
|
|
goto IL_0126;
|
|
}
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// Vector3 pos = attachementsTrail[t];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_26 = ___0_attachementsTrail;
|
|
int32_t L_27 = V_2;
|
|
NullCheck(L_26);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_26, L_27, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_3 = L_28;
|
|
// if (t < attachementsTrail.Count - 1) towards = attachementsTrail[t + 1] - attachementsTrail[t];
|
|
int32_t L_29 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_30 = ___0_attachementsTrail;
|
|
NullCheck(L_30);
|
|
int32_t L_31;
|
|
L_31 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_30, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_29) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_31, 1)))))
|
|
{
|
|
goto IL_00a7;
|
|
}
|
|
}
|
|
{
|
|
// if (t < attachementsTrail.Count - 1) towards = attachementsTrail[t + 1] - attachementsTrail[t];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_32 = ___0_attachementsTrail;
|
|
int32_t L_33 = V_2;
|
|
NullCheck(L_32);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_32, ((int32_t)il2cpp_codegen_add(L_33, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_35 = ___0_attachementsTrail;
|
|
int32_t L_36 = V_2;
|
|
NullCheck(L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
L_37 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_35, L_36, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38;
|
|
L_38 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_34, L_37, NULL);
|
|
V_0 = L_38;
|
|
}
|
|
|
|
IL_00a7:
|
|
{
|
|
// if (settings.FlatRotation) rot = Quaternion.LookRotation(Vector3.ProjectOnPlane(towards, Vector3.up));
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_39 = ___1_settings;
|
|
NullCheck(L_39);
|
|
bool L_40 = L_39->___FlatRotation_4;
|
|
if (!L_40)
|
|
{
|
|
goto IL_00c3;
|
|
}
|
|
}
|
|
{
|
|
// if (settings.FlatRotation) rot = Quaternion.LookRotation(Vector3.ProjectOnPlane(towards, Vector3.up));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
|
|
L_43 = Vector3_ProjectOnPlane_m68FB895F6E9FCC45676BB8B95857D091C0D78794_inline(L_41, L_42, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44;
|
|
L_44 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_43, NULL);
|
|
V_4 = L_44;
|
|
goto IL_00cb;
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// else rot = Quaternion.LookRotation(towards);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46;
|
|
L_46 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_45, NULL);
|
|
V_4 = L_46;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// pos += rot * settings.Offset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48 = V_4;
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_49 = ___1_settings;
|
|
NullCheck(L_49);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = L_49->___Offset_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
|
|
L_51 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_48, L_50, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_47, L_51, NULL);
|
|
V_3 = L_52;
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_5), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = settings.Mesh;
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_53 = ___1_settings;
|
|
NullCheck(L_53);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_54 = L_53->___Mesh_0;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_5), L_54, NULL);
|
|
// comb.transform = Matrix4x4.TRS(pos, rot * rotOffset, settings.Scale * settings.ScaleMultiplier);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = V_4;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_57 = V_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58;
|
|
L_58 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_56, L_57, NULL);
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_59 = ___1_settings;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = L_59->___Scale_5;
|
|
CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* L_61 = ___1_settings;
|
|
NullCheck(L_61);
|
|
float L_62 = L_61->___ScaleMultiplier_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
|
|
L_63 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_60, L_62, NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_64;
|
|
L_64 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_55, L_58, L_63, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_5), L_64, NULL);
|
|
// toCombine.Add(comb);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_65 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_66 = V_5;
|
|
NullCheck(L_65);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_65, L_66, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0126:
|
|
{
|
|
// for (int t = 0; t < attachementsTrail.Count; t++)
|
|
int32_t L_67 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_67, 1));
|
|
}
|
|
|
|
IL_012a:
|
|
{
|
|
// for (int t = 0; t < attachementsTrail.Count; t++)
|
|
int32_t L_68 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_69 = ___0_attachementsTrail;
|
|
NullCheck(L_69);
|
|
int32_t L_70;
|
|
L_70 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_69, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_68) < ((int32_t)L_70)))
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// Mesh attachements = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_71 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_71);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_71, NULL);
|
|
// attachements.name = "Attachments";
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_72 = L_71;
|
|
NullCheck(L_72);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_72, _stringLiteralA2474105546E0295957B7537F7C1BF4FBD6EA085, NULL);
|
|
// attachements.CombineMeshes(toCombine.ToArray());
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_73 = L_72;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_74 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11;
|
|
NullCheck(L_74);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_75;
|
|
L_75 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_74, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_73);
|
|
Mesh_CombineMeshes_m110B4E583DB600AF1F90A78A0D9EB3D7B96DD967(L_73, L_75, NULL);
|
|
// return attachements;
|
|
return L_73;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GenerateCablesMesh(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Single,System.Single,System.Single,FIMSpace.Generating.TileCableGenerator/CableMeshSettings,FIMSpace.Generating.TileCableGenerator/CableTexturingSettings,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GenerateCablesMesh_m0DA7F17758957D96D9D3C25272E15726A23969A3 (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_points, float ___1_Loose, float ___2_Hanging, float ___3_Radius, CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ___4_MeshSettings, CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ___5_TexturingSettings, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___6_randomSettings, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
// Mesh fullCableTrail = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_0, NULL);
|
|
V_0 = L_0;
|
|
// toCombineSingle.Clear();
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_1 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
NullCheck(L_1);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_1, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// resetLengthReference = true;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___resetLengthReference_12 = (bool)1;
|
|
// for (int p = 0; p < points.Count - 1; p++)
|
|
V_1 = 0;
|
|
goto IL_00a8;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_2), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = GetSingleCableMesh(points[p], points[p + 1], Loose, Hanging, Radius, MeshSettings, TexturingSettings, randomSettings);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2 = ___0_points;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_2, L_3, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_5 = ___0_points;
|
|
int32_t L_6 = V_1;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_5, ((int32_t)il2cpp_codegen_add(L_6, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_8 = ___1_Loose;
|
|
float L_9 = ___2_Hanging;
|
|
float L_10 = ___3_Radius;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_11 = ___4_MeshSettings;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_12 = ___5_TexturingSettings;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_13 = ___6_randomSettings;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_14;
|
|
L_14 = TileCableGenerator_GetSingleCableMesh_m8BA0036DA6C196ACD45FC042FA61BAA86A404055(L_4, L_7, L_8, L_9, L_10, L_11, L_12, L_13, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_2), L_14, NULL);
|
|
// comb.transform = Matrix4x4.identity;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_15;
|
|
L_15 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_2), L_15, NULL);
|
|
// toCombineSingle.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_16 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_17 = V_2;
|
|
NullCheck(L_16);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_16, L_17, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// if (MeshSettings.JoinEnds) if (p > 0) JoinCableSegmentsEnds(toCombineSingle[p - 1].mesh, toCombineSingle[p].mesh, MeshSettings.CircleSubdivs + 1);
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_18 = ___4_MeshSettings;
|
|
NullCheck(L_18);
|
|
bool L_19 = L_18->___JoinEnds_3;
|
|
if (!L_19)
|
|
{
|
|
goto IL_00a4;
|
|
}
|
|
}
|
|
{
|
|
// if (MeshSettings.JoinEnds) if (p > 0) JoinCableSegmentsEnds(toCombineSingle[p - 1].mesh, toCombineSingle[p].mesh, MeshSettings.CircleSubdivs + 1);
|
|
int32_t L_20 = V_1;
|
|
if ((((int32_t)L_20) <= ((int32_t)0)))
|
|
{
|
|
goto IL_00a4;
|
|
}
|
|
}
|
|
{
|
|
// if (MeshSettings.JoinEnds) if (p > 0) JoinCableSegmentsEnds(toCombineSingle[p - 1].mesh, toCombineSingle[p].mesh, MeshSettings.CircleSubdivs + 1);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_21 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
int32_t L_22 = V_1;
|
|
NullCheck(L_21);
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_23;
|
|
L_23 = List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE(L_21, ((int32_t)il2cpp_codegen_subtract(L_22, 1)), List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE_RuntimeMethod_var);
|
|
V_3 = L_23;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_24;
|
|
L_24 = CombineInstance_get_mesh_m85416E24709E1C5314B8FAD8B8F2D155B9C2481C((&V_3), NULL);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_25 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
int32_t L_26 = V_1;
|
|
NullCheck(L_25);
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_27;
|
|
L_27 = List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE(L_25, L_26, List_1_get_Item_m29994E43755FE12A1C2CA4F03BC47F4ACBF1A2DE_RuntimeMethod_var);
|
|
V_3 = L_27;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_28;
|
|
L_28 = CombineInstance_get_mesh_m85416E24709E1C5314B8FAD8B8F2D155B9C2481C((&V_3), NULL);
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_29 = ___4_MeshSettings;
|
|
NullCheck(L_29);
|
|
int32_t L_30 = L_29->___CircleSubdivs_1;
|
|
TileCableGenerator_JoinCableSegmentsEnds_mD2C9120EE13F7B7EEB3C671B5489A8EFFDC2E514(L_24, L_28, ((int32_t)il2cpp_codegen_add(L_30, 1)), NULL);
|
|
}
|
|
|
|
IL_00a4:
|
|
{
|
|
// for (int p = 0; p < points.Count - 1; p++)
|
|
int32_t L_31 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// for (int p = 0; p < points.Count - 1; p++)
|
|
int32_t L_32 = V_1;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_33 = ___0_points;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_33, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_32) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_34, 1)))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// fullCableTrail.CombineMeshes(toCombineSingle.ToArray());
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_35 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_36 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10;
|
|
NullCheck(L_36);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_37;
|
|
L_37 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_36, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_35);
|
|
Mesh_CombineMeshes_m110B4E583DB600AF1F90A78A0D9EB3D7B96DD967(L_35, L_37, NULL);
|
|
// return fullCableTrail;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_38 = V_0;
|
|
return L_38;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::JoinCableSegmentsEnds(UnityEngine.Mesh,UnityEngine.Mesh,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator_JoinCableSegmentsEnds_mD2C9120EE13F7B7EEB3C671B5489A8EFFDC2E514 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_start, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___1_end, int32_t ___2_circlePoints, const RuntimeMethod* method)
|
|
{
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
// Vector3[] verts = start.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_start;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1;
|
|
L_1 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_0, NULL);
|
|
V_0 = L_1;
|
|
// Vector3[] vertse = end.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = ___1_end;
|
|
NullCheck(L_2);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3;
|
|
L_3 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_2, NULL);
|
|
V_1 = L_3;
|
|
// for (int c = 1; c <= circlePoints; c++)
|
|
V_2 = 1;
|
|
goto IL_0051;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// Vector3 nVal = Vector3.LerpUnclamped(verts[start.vertexCount - c], vertse[circlePoints - c], 0.5f);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5 = ___0_start;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = Mesh_get_vertexCount_mB7BE0340AAF272933068D830C8E711FC8978E12C(L_5, NULL);
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_4);
|
|
int32_t L_8 = ((int32_t)il2cpp_codegen_subtract(L_6, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_8));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = V_1;
|
|
int32_t L_11 = ___2_circlePoints;
|
|
int32_t L_12 = V_2;
|
|
NullCheck(L_10);
|
|
int32_t L_13 = ((int32_t)il2cpp_codegen_subtract(L_11, L_12));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_13));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_LerpUnclamped_m4109A459C1DB823310A10B8B1E80CB6877418347_inline(L_9, L_14, (0.5f), NULL);
|
|
V_3 = L_15;
|
|
// verts[start.vertexCount - c] = nVal;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = V_0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_17 = ___0_start;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = Mesh_get_vertexCount_mB7BE0340AAF272933068D830C8E711FC8978E12C(L_17, NULL);
|
|
int32_t L_19 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = V_3;
|
|
NullCheck(L_16);
|
|
(L_16)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_18, L_19))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_20);
|
|
// vertse[circlePoints - c] = nVal;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21 = V_1;
|
|
int32_t L_22 = ___2_circlePoints;
|
|
int32_t L_23 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_3;
|
|
NullCheck(L_21);
|
|
(L_21)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_subtract(L_22, L_23))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_24);
|
|
// for (int c = 1; c <= circlePoints; c++)
|
|
int32_t L_25 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// for (int c = 1; c <= circlePoints; c++)
|
|
int32_t L_26 = V_2;
|
|
int32_t L_27 = ___2_circlePoints;
|
|
if ((((int32_t)L_26) <= ((int32_t)L_27)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// start.vertices = verts;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_28 = ___0_start;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_29 = V_0;
|
|
NullCheck(L_28);
|
|
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_28, L_29, NULL);
|
|
// end.vertices = vertse;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_30 = ___1_end;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_31 = V_1;
|
|
NullCheck(L_30);
|
|
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_30, L_31, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileCableGenerator::GetSingleCableMesh(UnityEngine.Vector3,UnityEngine.Vector3,System.Single,System.Single,System.Single,FIMSpace.Generating.TileCableGenerator/CableMeshSettings,FIMSpace.Generating.TileCableGenerator/CableTexturingSettings,FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileCableGenerator_GetSingleCableMesh_m8BA0036DA6C196ACD45FC042FA61BAA86A404055 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_Loose, float ___3_Hanging, float ___4_Radius, CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* ___5_MeshSettings, CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* ___6_TexturingSettings, CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* ___7_randomSettings, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral963A45DA829E1A34D5AC028CE2E8669CCED1A51D);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_10 = NULL;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
float V_12 = 0.0f;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
float V_17 = 0.0f;
|
|
float V_18 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
int32_t V_20 = 0;
|
|
float V_21 = 0.0f;
|
|
float V_22 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
int32_t V_25 = 0;
|
|
int32_t V_26 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_27;
|
|
memset((&V_27), 0, sizeof(V_27));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_28;
|
|
memset((&V_28), 0, sizeof(V_28));
|
|
int32_t V_29 = 0;
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
{
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_0, NULL);
|
|
V_0 = L_0;
|
|
// mesh.name = "CABLE";
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_1, _stringLiteral963A45DA829E1A34D5AC028CE2E8669CCED1A51D, NULL);
|
|
// Vector3 diff = b - a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_2, L_3, NULL);
|
|
V_1 = L_4;
|
|
// float uvAngleByDiff = 0f;
|
|
V_2 = (0.0f);
|
|
// if (randomSettings != null) if (randomSettings.RandomizeLoose != Vector2.one)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_5 = ___7_randomSettings;
|
|
if (!L_5)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings != null) if (randomSettings.RandomizeLoose != Vector2.one)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_6 = ___7_randomSettings;
|
|
NullCheck(L_6);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = L_6->___RandomizeLoose_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
L_8 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
bool L_9;
|
|
L_9 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_7, L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0057;
|
|
}
|
|
}
|
|
{
|
|
// Loose *= FGenerators.GetRandomSwap(randomSettings.RandomizeLoose.x, randomSettings.RandomizeLoose.y);
|
|
float L_10 = ___2_Loose;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_11 = ___7_randomSettings;
|
|
NullCheck(L_11);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_12 = (&L_11->___RandomizeLoose_2);
|
|
float L_13 = L_12->___x_0;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_14 = ___7_randomSettings;
|
|
NullCheck(L_14);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_15 = (&L_14->___RandomizeLoose_2);
|
|
float L_16 = L_15->___y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_17;
|
|
L_17 = FGenerators_GetRandomSwap_m5A2685BF8CA9D0202AE5C16DB881261022D29E85(L_13, L_16, NULL);
|
|
___2_Loose = ((float)il2cpp_codegen_multiply(L_10, L_17));
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
// float looseFactor = .1f;
|
|
V_3 = (0.100000001f);
|
|
// if (Loose > 0) looseFactor = Loose * diff.sqrMagnitude;
|
|
float L_18 = ___2_Loose;
|
|
if ((!(((float)L_18) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if (Loose > 0) looseFactor = Loose * diff.sqrMagnitude;
|
|
float L_19 = ___2_Loose;
|
|
float L_20;
|
|
L_20 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_1), NULL);
|
|
V_3 = ((float)il2cpp_codegen_multiply(L_19, L_20));
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// Vector3 stretchTowardsPos = (a + b) / 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = ___0_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_21, L_22, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_23, (2.0f), NULL);
|
|
V_4 = L_24;
|
|
// float verticalFactor = 1f;
|
|
V_5 = (1.0f);
|
|
// verticalFactor = 1f - (Mathf.Abs(Vector3.Dot(diff.normalized, Vector3.up)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_1), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
float L_27;
|
|
L_27 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_25, L_26, NULL);
|
|
float L_28;
|
|
L_28 = fabsf(L_27);
|
|
V_5 = ((float)il2cpp_codegen_subtract((1.0f), L_28));
|
|
// stretchTowardsPos += new Vector3(0, -looseFactor * verticalFactor);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_4;
|
|
float L_30 = V_3;
|
|
float L_31 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
memset((&L_32), 0, sizeof(L_32));
|
|
Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline((&L_32), (0.0f), ((float)il2cpp_codegen_multiply(((-L_30)), L_31)), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
L_33 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_29, L_32, NULL);
|
|
V_4 = L_33;
|
|
// GenerateCableCircle(cableCircle, MeshSettings.CircleSubdivs);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_34 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_35 = ___5_MeshSettings;
|
|
NullCheck(L_35);
|
|
int32_t L_36 = L_35->___CircleSubdivs_1;
|
|
TileCableGenerator_GenerateCableCircle_mF7C2A1E2B4A5BC34B82DD627CD85D4EA6C205FB9(L_34, L_36, NULL);
|
|
// GenerateCableTrailPoints(cableTrail, a, b, stretchTowardsPos, MeshSettings.LengthSubdivs, out calculatedLength, Hanging);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_37 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = ___0_a;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = ___1_b;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_4;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_41 = ___5_MeshSettings;
|
|
NullCheck(L_41);
|
|
int32_t L_42 = L_41->___LengthSubdivs_0;
|
|
float L_43 = ___3_Hanging;
|
|
TileCableGenerator_GenerateCableTrailPoints_m70E3C57237E48CAD6C9BB2D072524E91CAABCC01(L_37, L_38, L_39, L_40, L_42, (&V_6), L_43, NULL);
|
|
// if (resetLengthReference)
|
|
bool L_44 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___resetLengthReference_12;
|
|
if (!L_44)
|
|
{
|
|
goto IL_00fe;
|
|
}
|
|
}
|
|
{
|
|
// lengthReferenceScale = calculatedLength;
|
|
float L_45 = V_6;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___lengthReferenceScale_13 = L_45;
|
|
// resetLengthReference = false;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___resetLengthReference_12 = (bool)0;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_00fe:
|
|
{
|
|
// calculatedLength = lengthReferenceScale;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
float L_46 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___lengthReferenceScale_13;
|
|
V_6 = L_46;
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// int targetVertsCount = (MeshSettings.LengthSubdivs + 1) * (MeshSettings.CircleSubdivs + 1);
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_47 = ___5_MeshSettings;
|
|
NullCheck(L_47);
|
|
int32_t L_48 = L_47->___LengthSubdivs_0;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_49 = ___5_MeshSettings;
|
|
NullCheck(L_49);
|
|
int32_t L_50 = L_49->___CircleSubdivs_1;
|
|
V_7 = ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_48, 1)), ((int32_t)il2cpp_codegen_add(L_50, 1))));
|
|
// if (_vertices == null || _vertices.Length != targetVertsCount) _vertices = new Vector3[targetVertsCount];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_51 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1;
|
|
if (!L_51)
|
|
{
|
|
goto IL_012c;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_52 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1;
|
|
NullCheck(L_52);
|
|
int32_t L_53 = V_7;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_52)->max_length))) == ((int32_t)L_53)))
|
|
{
|
|
goto IL_0138;
|
|
}
|
|
}
|
|
|
|
IL_012c:
|
|
{
|
|
// if (_vertices == null || _vertices.Length != targetVertsCount) _vertices = new Vector3[targetVertsCount];
|
|
int32_t L_54 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_55 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_54);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1 = L_55;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1), (void*)L_55);
|
|
}
|
|
|
|
IL_0138:
|
|
{
|
|
// int totalTrisCount = (cableCircle.Count * 6) * (MeshSettings.LengthSubdivs + 1);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_56 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6;
|
|
NullCheck(L_56);
|
|
int32_t L_57;
|
|
L_57 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_56, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_58 = ___5_MeshSettings;
|
|
NullCheck(L_58);
|
|
int32_t L_59 = L_58->___LengthSubdivs_0;
|
|
V_8 = ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_multiply(L_57, 6)), ((int32_t)il2cpp_codegen_add(L_59, 1))));
|
|
// if (_tris == null || _tris.Length != totalTrisCount) _tris = new int[totalTrisCount];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_60 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
if (!L_60)
|
|
{
|
|
goto IL_0162;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_61 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
NullCheck(L_61);
|
|
int32_t L_62 = V_8;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_61)->max_length))) == ((int32_t)L_62)))
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
|
|
IL_0162:
|
|
{
|
|
// if (_tris == null || _tris.Length != totalTrisCount) _tris = new int[totalTrisCount];
|
|
int32_t L_63 = V_8;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_63);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2 = L_64;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2), (void*)L_64);
|
|
}
|
|
|
|
IL_016e:
|
|
{
|
|
// if (_trisRev == null || _tris.Length != _trisRev.Length) _trisRev = new int[totalTrisCount];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_65 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3;
|
|
if (!L_65)
|
|
{
|
|
goto IL_0185;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_66 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
NullCheck(L_66);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_67 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3;
|
|
NullCheck(L_67);
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_66)->max_length))) == ((int32_t)((int32_t)(((RuntimeArray*)L_67)->max_length)))))
|
|
{
|
|
goto IL_0191;
|
|
}
|
|
}
|
|
|
|
IL_0185:
|
|
{
|
|
// if (_trisRev == null || _tris.Length != _trisRev.Length) _trisRev = new int[totalTrisCount];
|
|
int32_t L_68 = V_8;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_69 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_68);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3 = L_69;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3), (void*)L_69);
|
|
}
|
|
|
|
IL_0191:
|
|
{
|
|
// int circlePointsCount = cableCircle.Count;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_70 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6;
|
|
NullCheck(L_70);
|
|
int32_t L_71;
|
|
L_71 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_70, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_9 = L_71;
|
|
// if (_trisCircleHelperCurrent == null || _trisCircleHelperCurrent.Length != circlePointsCount)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_72 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4;
|
|
if (!L_72)
|
|
{
|
|
goto IL_01af;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_73 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4;
|
|
NullCheck(L_73);
|
|
int32_t L_74 = V_9;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_73)->max_length))) == ((int32_t)L_74)))
|
|
{
|
|
goto IL_01bb;
|
|
}
|
|
}
|
|
|
|
IL_01af:
|
|
{
|
|
// _trisCircleHelperCurrent = new int[circlePointsCount];
|
|
int32_t L_75 = V_9;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_76 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_75);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4 = L_76;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4), (void*)L_76);
|
|
}
|
|
|
|
IL_01bb:
|
|
{
|
|
// if (_trisCircleHelperPre == null || _trisCircleHelperPre.Length != circlePointsCount)
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_77 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5;
|
|
if (!L_77)
|
|
{
|
|
goto IL_01cd;
|
|
}
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_78 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5;
|
|
NullCheck(L_78);
|
|
int32_t L_79 = V_9;
|
|
if ((((int32_t)((int32_t)(((RuntimeArray*)L_78)->max_length))) == ((int32_t)L_79)))
|
|
{
|
|
goto IL_01d9;
|
|
}
|
|
}
|
|
|
|
IL_01cd:
|
|
{
|
|
// _trisCircleHelperPre = new int[circlePointsCount];
|
|
int32_t L_80 = V_9;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_81 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)L_80);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5 = L_81;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5), (void*)L_81);
|
|
}
|
|
|
|
IL_01d9:
|
|
{
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_82 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_82);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_82, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_10 = L_82;
|
|
// Vector2 uvStep = new Vector2(1f / (float)(cableTrail.Count - 1), 1f / (float)(circlePointsCount - 1));
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_83 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
NullCheck(L_83);
|
|
int32_t L_84;
|
|
L_84 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_83, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
int32_t L_85 = V_9;
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_11), ((float)((1.0f)/((float)((int32_t)il2cpp_codegen_subtract(L_84, 1))))), ((float)((1.0f)/((float)((int32_t)il2cpp_codegen_subtract(L_85, 1))))), NULL);
|
|
// float uvElapsed = 0f;
|
|
V_12 = (0.0f);
|
|
// Quaternion circleRotation = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_86;
|
|
L_86 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
V_13 = L_86;
|
|
// Vector3 prePos = cableTrail[0];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_87 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
NullCheck(L_87);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
L_88 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_87, 0, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_14 = L_88;
|
|
// if (randomSettings != null) if (randomSettings.RandomizeTrails != Vector2.zero)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_89 = ___7_randomSettings;
|
|
if (!L_89)
|
|
{
|
|
goto IL_040e;
|
|
}
|
|
}
|
|
{
|
|
// if (randomSettings != null) if (randomSettings.RandomizeTrails != Vector2.zero)
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_90 = ___7_randomSettings;
|
|
NullCheck(L_90);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_91 = L_90->___RandomizeTrails_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_92;
|
|
L_92 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_93;
|
|
L_93 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_91, L_92, NULL);
|
|
if (!L_93)
|
|
{
|
|
goto IL_040e;
|
|
}
|
|
}
|
|
{
|
|
// float halfLen = (cableTrail.Count / 2f);
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_94 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
NullCheck(L_94);
|
|
int32_t L_95;
|
|
L_95 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_94, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_18 = ((float)(((float)L_95)/(2.0f)));
|
|
// if (halfLen <= 0f) halfLen = 1f;
|
|
float L_96 = V_18;
|
|
if ((!(((float)L_96) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0260;
|
|
}
|
|
}
|
|
{
|
|
// if (halfLen <= 0f) halfLen = 1f;
|
|
V_18 = (1.0f);
|
|
}
|
|
|
|
IL_0260:
|
|
{
|
|
// Vector3 rOffsets = FGenerators.GetRandom(new Vector3(100f, 100f, 100f));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
|
|
memset((&L_97), 0, sizeof(L_97));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_97), (100.0f), (100.0f), (100.0f), /*hidden argument*/NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
|
|
L_98 = FGenerators_GetRandom_m69B502D1C21AEFC85B8FAB8B84088720FB465C62(L_97, NULL);
|
|
V_19 = L_98;
|
|
// for (int i = 1; i < cableTrail.Count - 1; i++)
|
|
V_20 = 1;
|
|
goto IL_03fb;
|
|
}
|
|
|
|
IL_0283:
|
|
{
|
|
// trailDiff = cableTrail[i + 1] - cableTrail[i];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_99 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_100 = V_20;
|
|
NullCheck(L_99);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
|
|
L_101 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_99, ((int32_t)il2cpp_codegen_add(L_100, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_102 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_103 = V_20;
|
|
NullCheck(L_102);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104;
|
|
L_104 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_102, L_103, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
|
|
L_105 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_101, L_104, NULL);
|
|
V_15 = L_105;
|
|
// trailDirection = trailDiff.normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106;
|
|
L_106 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_15), NULL);
|
|
V_16 = L_106;
|
|
// if (trailDirection != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107 = V_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
|
|
L_108 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_109;
|
|
L_109 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_107, L_108, NULL);
|
|
if (!L_109)
|
|
{
|
|
goto IL_02ee;
|
|
}
|
|
}
|
|
{
|
|
// circleRotation = Quaternion.LookRotation(trailDirection, Vector3.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110 = V_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111;
|
|
L_111 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_112;
|
|
L_112 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_110, L_111, NULL);
|
|
V_13 = L_112;
|
|
// if (MeshSettings.RollOffset > 0f) circleRotation = Quaternion.AngleAxis(MeshSettings.RollOffset, trailDirection) * circleRotation;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_113 = ___5_MeshSettings;
|
|
NullCheck(L_113);
|
|
float L_114 = L_113->___RollOffset_2;
|
|
if ((!(((float)L_114) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_02ee;
|
|
}
|
|
}
|
|
{
|
|
// if (MeshSettings.RollOffset > 0f) circleRotation = Quaternion.AngleAxis(MeshSettings.RollOffset, trailDirection) * circleRotation;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_115 = ___5_MeshSettings;
|
|
NullCheck(L_115);
|
|
float L_116 = L_115->___RollOffset_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = V_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_118;
|
|
L_118 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_116, L_117, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_119 = V_13;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_120;
|
|
L_120 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_118, L_119, NULL);
|
|
V_13 = L_120;
|
|
}
|
|
|
|
IL_02ee:
|
|
{
|
|
// float iM = i * randomSettings.NoiseScale * (lengthReferenceScale * 0.1f);
|
|
int32_t L_121 = V_20;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_122 = ___7_randomSettings;
|
|
NullCheck(L_122);
|
|
float L_123 = L_122->___NoiseScale_1;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
float L_124 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___lengthReferenceScale_13;
|
|
V_22 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_121), L_123)), ((float)il2cpp_codegen_multiply(L_124, (0.100000001f)))));
|
|
// if (i < halfLen) stepMul = Mathf.Lerp(0.0f, 1f, i / (halfLen));
|
|
int32_t L_125 = V_20;
|
|
float L_126 = V_18;
|
|
if ((!(((float)((float)L_125)) < ((float)L_126))))
|
|
{
|
|
goto IL_0327;
|
|
}
|
|
}
|
|
{
|
|
// if (i < halfLen) stepMul = Mathf.Lerp(0.0f, 1f, i / (halfLen));
|
|
int32_t L_127 = V_20;
|
|
float L_128 = V_18;
|
|
float L_129;
|
|
L_129 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.0f), (1.0f), ((float)(((float)L_127)/L_128)), NULL);
|
|
V_21 = L_129;
|
|
goto IL_0341;
|
|
}
|
|
|
|
IL_0327:
|
|
{
|
|
// else stepMul = Mathf.Lerp(1f, 0.0f, (i - halfLen) / (halfLen));
|
|
int32_t L_130 = V_20;
|
|
float L_131 = V_18;
|
|
float L_132 = V_18;
|
|
float L_133;
|
|
L_133 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((1.0f), (0.0f), ((float)(((float)il2cpp_codegen_subtract(((float)L_130), L_131))/L_132)), NULL);
|
|
V_21 = L_133;
|
|
}
|
|
|
|
IL_0341:
|
|
{
|
|
// stepMul *= 0.1f;
|
|
float L_134 = V_21;
|
|
V_21 = ((float)il2cpp_codegen_multiply(L_134, (0.100000001f)));
|
|
// Vector3 nTrail = cableTrail[i];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_135 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_136 = V_20;
|
|
NullCheck(L_135);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_137;
|
|
L_137 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_135, L_136, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_23 = L_137;
|
|
// Vector3 offset = new Vector3();
|
|
il2cpp_codegen_initobj((&V_24), sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2));
|
|
// offset.x = (-0.5f + Mathf.PerlinNoise(rOffsets.x + iM, rOffsets.y + iM)) * stepMul * randomSettings.RandomizeTrails.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_138 = V_19;
|
|
float L_139 = L_138.___x_2;
|
|
float L_140 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_141 = V_19;
|
|
float L_142 = L_141.___y_3;
|
|
float L_143 = V_22;
|
|
float L_144;
|
|
L_144 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_add(L_139, L_140)), ((float)il2cpp_codegen_add(L_142, L_143)), NULL);
|
|
float L_145 = V_21;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_146 = ___7_randomSettings;
|
|
NullCheck(L_146);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_147 = (&L_146->___RandomizeTrails_0);
|
|
float L_148 = L_147->___x_0;
|
|
(&V_24)->___x_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add((-0.5f), L_144)), L_145)), L_148));
|
|
// offset.y = (-0.5f + Mathf.PerlinNoise(rOffsets.y + iM - 80f, rOffsets.z + iM + 80f)) * stepMul * randomSettings.RandomizeTrails.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_149 = V_19;
|
|
float L_150 = L_149.___y_3;
|
|
float L_151 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152 = V_19;
|
|
float L_153 = L_152.___z_4;
|
|
float L_154 = V_22;
|
|
float L_155;
|
|
L_155 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(L_150, L_151)), (80.0f))), ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_153, L_154)), (80.0f))), NULL);
|
|
float L_156 = V_21;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_157 = ___7_randomSettings;
|
|
NullCheck(L_157);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_158 = (&L_157->___RandomizeTrails_0);
|
|
float L_159 = L_158->___y_1;
|
|
(&V_24)->___y_3 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add((-0.5f), L_155)), L_156)), L_159));
|
|
// cableTrail[i] = nTrail + circleRotation * offset;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_160 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_161 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_162 = V_23;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_163 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_164 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_165;
|
|
L_165 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_163, L_164, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_166;
|
|
L_166 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_162, L_165, NULL);
|
|
NullCheck(L_160);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_160, L_161, L_166, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int i = 1; i < cableTrail.Count - 1; i++)
|
|
int32_t L_167 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_167, 1));
|
|
}
|
|
|
|
IL_03fb:
|
|
{
|
|
// for (int i = 1; i < cableTrail.Count - 1; i++)
|
|
int32_t L_168 = V_20;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_169 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
NullCheck(L_169);
|
|
int32_t L_170;
|
|
L_170 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_169, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_168) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_170, 1)))))
|
|
{
|
|
goto IL_0283;
|
|
}
|
|
}
|
|
|
|
IL_040e:
|
|
{
|
|
// circleRotation = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_171;
|
|
L_171 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
V_13 = L_171;
|
|
// for (int t = 0; t < cableTrail.Count; t++) // Step through cable trail point
|
|
V_25 = 0;
|
|
goto IL_065e;
|
|
}
|
|
|
|
IL_041d:
|
|
{
|
|
// if (t < cableTrail.Count - 1)
|
|
int32_t L_172 = V_25;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_173 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
NullCheck(L_173);
|
|
int32_t L_174;
|
|
L_174 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_173, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_172) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_174, 1)))))
|
|
{
|
|
goto IL_0498;
|
|
}
|
|
}
|
|
{
|
|
// trailDiff = cableTrail[t + 1] - cableTrail[t];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_175 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_176 = V_25;
|
|
NullCheck(L_175);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_177;
|
|
L_177 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_175, ((int32_t)il2cpp_codegen_add(L_176, 1)), List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_178 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_179 = V_25;
|
|
NullCheck(L_178);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_180;
|
|
L_180 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_178, L_179, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_181;
|
|
L_181 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_177, L_180, NULL);
|
|
V_15 = L_181;
|
|
// trailDirection = trailDiff.normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_182;
|
|
L_182 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_15), NULL);
|
|
V_16 = L_182;
|
|
// if (trailDirection != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_183 = V_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_184;
|
|
L_184 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_185;
|
|
L_185 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_183, L_184, NULL);
|
|
if (!L_185)
|
|
{
|
|
goto IL_0498;
|
|
}
|
|
}
|
|
{
|
|
// circleRotation = Quaternion.LookRotation(trailDirection, Vector3.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_186 = V_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_187;
|
|
L_187 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_188;
|
|
L_188 = Quaternion_LookRotation_mFB02EDC8F733774DFAC3BEA4B4BB265A228F8307(L_186, L_187, NULL);
|
|
V_13 = L_188;
|
|
// if (MeshSettings.RollOffset > 0f) circleRotation = Quaternion.AngleAxis(MeshSettings.RollOffset, trailDirection) * circleRotation;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_189 = ___5_MeshSettings;
|
|
NullCheck(L_189);
|
|
float L_190 = L_189->___RollOffset_2;
|
|
if ((!(((float)L_190) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0498;
|
|
}
|
|
}
|
|
{
|
|
// if (MeshSettings.RollOffset > 0f) circleRotation = Quaternion.AngleAxis(MeshSettings.RollOffset, trailDirection) * circleRotation;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_191 = ___5_MeshSettings;
|
|
NullCheck(L_191);
|
|
float L_192 = L_191->___RollOffset_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = V_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_194;
|
|
L_194 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_192, L_193, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_195 = V_13;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_196;
|
|
L_196 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_194, L_195, NULL);
|
|
V_13 = L_196;
|
|
}
|
|
|
|
IL_0498:
|
|
{
|
|
// uvElapsed += Vector3.Distance(cableTrail[t], prePos);
|
|
float L_197 = V_12;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_198 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_199 = V_25;
|
|
NullCheck(L_198);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_200;
|
|
L_200 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_198, L_199, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_201 = V_14;
|
|
float L_202;
|
|
L_202 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_200, L_201, NULL);
|
|
V_12 = ((float)il2cpp_codegen_add(L_197, L_202));
|
|
// prePos = cableTrail[t];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_203 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_204 = V_25;
|
|
NullCheck(L_203);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_205;
|
|
L_205 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_203, L_204, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_14 = L_205;
|
|
// for (int c = 0; c < circlePointsCount; c++)
|
|
V_26 = 0;
|
|
goto IL_059a;
|
|
}
|
|
|
|
IL_04c6:
|
|
{
|
|
// Vector3 cPos = cableTrail[t];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_206 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
int32_t L_207 = V_25;
|
|
NullCheck(L_206);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_208;
|
|
L_208 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_206, L_207, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_27 = L_208;
|
|
// cPos += circleRotation * (cableCircle[c] * Radius);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_209 = V_27;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_210 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_211 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6;
|
|
int32_t L_212 = V_26;
|
|
NullCheck(L_211);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_213;
|
|
L_213 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_211, L_212, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_214 = ___4_Radius;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_215;
|
|
L_215 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_213, L_214, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_216;
|
|
L_216 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_210, L_215, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_217;
|
|
L_217 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_209, L_216, NULL);
|
|
V_27 = L_217;
|
|
// _vertices[t * circlePointsCount + c] = cPos;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_218 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1;
|
|
int32_t L_219 = V_25;
|
|
int32_t L_220 = V_9;
|
|
int32_t L_221 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_222 = V_27;
|
|
NullCheck(L_218);
|
|
(L_218)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_219, L_220)), L_221))), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_222);
|
|
// Vector2 uv = new Vector2();
|
|
il2cpp_codegen_initobj((&V_28), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// uv.x = uvElapsed / calculatedLength * TexturingSettings.LengthTiling;
|
|
float L_223 = V_12;
|
|
float L_224 = V_6;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_225 = ___6_TexturingSettings;
|
|
NullCheck(L_225);
|
|
float L_226 = L_225->___LengthTiling_0;
|
|
(&V_28)->___x_0 = ((float)il2cpp_codegen_multiply(((float)(L_223/L_224)), L_226));
|
|
// if (c > (circlePointsCount) / 2)
|
|
int32_t L_227 = V_26;
|
|
int32_t L_228 = V_9;
|
|
if ((((int32_t)L_227) <= ((int32_t)((int32_t)(L_228/2)))))
|
|
{
|
|
goto IL_054b;
|
|
}
|
|
}
|
|
{
|
|
// uv.y = ((float)(c) * uvStep.y) * TexturingSettings.VerticalTiling;
|
|
int32_t L_229 = V_26;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_230 = V_11;
|
|
float L_231 = L_230.___y_1;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_232 = ___6_TexturingSettings;
|
|
NullCheck(L_232);
|
|
float L_233 = L_232->___VerticalTiling_1;
|
|
(&V_28)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_229), L_231)), L_233));
|
|
goto IL_056b;
|
|
}
|
|
|
|
IL_054b:
|
|
{
|
|
// uv.y = ((float)(-c + circlePointsCount + 1) * uvStep.y) * TexturingSettings.VerticalTiling;
|
|
int32_t L_234 = V_26;
|
|
int32_t L_235 = V_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_236 = V_11;
|
|
float L_237 = L_236.___y_1;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_238 = ___6_TexturingSettings;
|
|
NullCheck(L_238);
|
|
float L_239 = L_238->___VerticalTiling_1;
|
|
(&V_28)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((-L_234)), L_235)), 1))), L_237)), L_239));
|
|
}
|
|
|
|
IL_056b:
|
|
{
|
|
// uvs.Add(uv);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_240 = V_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_241 = V_28;
|
|
NullCheck(L_240);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_240, L_241, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// _trisCircleHelperPre[c] = _trisCircleHelperCurrent[c];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_242 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5;
|
|
int32_t L_243 = V_26;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_244 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4;
|
|
int32_t L_245 = V_26;
|
|
NullCheck(L_244);
|
|
int32_t L_246 = L_245;
|
|
int32_t L_247 = (L_244)->GetAt(static_cast<il2cpp_array_size_t>(L_246));
|
|
NullCheck(L_242);
|
|
(L_242)->SetAt(static_cast<il2cpp_array_size_t>(L_243), (int32_t)L_247);
|
|
// _trisCircleHelperCurrent[c] = t * circlePointsCount + c;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_248 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4;
|
|
int32_t L_249 = V_26;
|
|
int32_t L_250 = V_25;
|
|
int32_t L_251 = V_9;
|
|
int32_t L_252 = V_26;
|
|
NullCheck(L_248);
|
|
(L_248)->SetAt(static_cast<il2cpp_array_size_t>(L_249), (int32_t)((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_250, L_251)), L_252)));
|
|
// for (int c = 0; c < circlePointsCount; c++)
|
|
int32_t L_253 = V_26;
|
|
V_26 = ((int32_t)il2cpp_codegen_add(L_253, 1));
|
|
}
|
|
|
|
IL_059a:
|
|
{
|
|
// for (int c = 0; c < circlePointsCount; c++)
|
|
int32_t L_254 = V_26;
|
|
int32_t L_255 = V_9;
|
|
if ((((int32_t)L_254) < ((int32_t)L_255)))
|
|
{
|
|
goto IL_04c6;
|
|
}
|
|
}
|
|
{
|
|
// for (int c = 0; c < circlePointsCount; c++)
|
|
V_29 = 0;
|
|
goto IL_064f;
|
|
}
|
|
|
|
IL_05ab:
|
|
{
|
|
// if (t == 0 || c >= cableCircle.Count - 1) continue;
|
|
int32_t L_256 = V_25;
|
|
if (!L_256)
|
|
{
|
|
goto IL_0649;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_257 = V_29;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_258 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6;
|
|
NullCheck(L_258);
|
|
int32_t L_259;
|
|
L_259 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_258, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_257) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_259, 1)))))
|
|
{
|
|
goto IL_0649;
|
|
}
|
|
}
|
|
{
|
|
// int start = (t * circlePointsCount + c) * 6;
|
|
int32_t L_260 = V_25;
|
|
int32_t L_261 = V_9;
|
|
int32_t L_262 = V_29;
|
|
V_30 = ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_260, L_261)), L_262)), 6));
|
|
// _tris[start] = _trisCircleHelperPre[c];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_263 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_264 = V_30;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_265 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5;
|
|
int32_t L_266 = V_29;
|
|
NullCheck(L_265);
|
|
int32_t L_267 = L_266;
|
|
int32_t L_268 = (L_265)->GetAt(static_cast<il2cpp_array_size_t>(L_267));
|
|
NullCheck(L_263);
|
|
(L_263)->SetAt(static_cast<il2cpp_array_size_t>(L_264), (int32_t)L_268);
|
|
// _tris[start + 1] = _trisCircleHelperPre[(c + 1) % circlePointsCount];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_269 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_270 = V_30;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_271 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5;
|
|
int32_t L_272 = V_29;
|
|
int32_t L_273 = V_9;
|
|
NullCheck(L_271);
|
|
int32_t L_274 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_272, 1))%L_273));
|
|
int32_t L_275 = (L_271)->GetAt(static_cast<il2cpp_array_size_t>(L_274));
|
|
NullCheck(L_269);
|
|
(L_269)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_270, 1))), (int32_t)L_275);
|
|
// _tris[start + 2] = _trisCircleHelperCurrent[c];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_276 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_277 = V_30;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_278 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4;
|
|
int32_t L_279 = V_29;
|
|
NullCheck(L_278);
|
|
int32_t L_280 = L_279;
|
|
int32_t L_281 = (L_278)->GetAt(static_cast<il2cpp_array_size_t>(L_280));
|
|
NullCheck(L_276);
|
|
(L_276)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_277, 2))), (int32_t)L_281);
|
|
// _tris[start + 3] = _tris[start + 2];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_282 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_283 = V_30;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_284 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_285 = V_30;
|
|
NullCheck(L_284);
|
|
int32_t L_286 = ((int32_t)il2cpp_codegen_add(L_285, 2));
|
|
int32_t L_287 = (L_284)->GetAt(static_cast<il2cpp_array_size_t>(L_286));
|
|
NullCheck(L_282);
|
|
(L_282)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_283, 3))), (int32_t)L_287);
|
|
// _tris[start + 4] = _tris[start + 1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_288 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_289 = V_30;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_290 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_291 = V_30;
|
|
NullCheck(L_290);
|
|
int32_t L_292 = ((int32_t)il2cpp_codegen_add(L_291, 1));
|
|
int32_t L_293 = (L_290)->GetAt(static_cast<il2cpp_array_size_t>(L_292));
|
|
NullCheck(L_288);
|
|
(L_288)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_289, 4))), (int32_t)L_293);
|
|
// _tris[start + 5] = _trisCircleHelperCurrent[(c + 1) % circlePointsCount];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_294 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
int32_t L_295 = V_30;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_296 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4;
|
|
int32_t L_297 = V_29;
|
|
int32_t L_298 = V_9;
|
|
NullCheck(L_296);
|
|
int32_t L_299 = ((int32_t)(((int32_t)il2cpp_codegen_add(L_297, 1))%L_298));
|
|
int32_t L_300 = (L_296)->GetAt(static_cast<il2cpp_array_size_t>(L_299));
|
|
NullCheck(L_294);
|
|
(L_294)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_295, 5))), (int32_t)L_300);
|
|
}
|
|
|
|
IL_0649:
|
|
{
|
|
// for (int c = 0; c < circlePointsCount; c++)
|
|
int32_t L_301 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_301, 1));
|
|
}
|
|
|
|
IL_064f:
|
|
{
|
|
// for (int c = 0; c < circlePointsCount; c++)
|
|
int32_t L_302 = V_29;
|
|
int32_t L_303 = V_9;
|
|
if ((((int32_t)L_302) < ((int32_t)L_303)))
|
|
{
|
|
goto IL_05ab;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < cableTrail.Count; t++) // Step through cable trail point
|
|
int32_t L_304 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_304, 1));
|
|
}
|
|
|
|
IL_065e:
|
|
{
|
|
// for (int t = 0; t < cableTrail.Count; t++) // Step through cable trail point
|
|
int32_t L_305 = V_25;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_306 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7;
|
|
NullCheck(L_306);
|
|
int32_t L_307;
|
|
L_307 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_306, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_305) < ((int32_t)L_307)))
|
|
{
|
|
goto IL_041d;
|
|
}
|
|
}
|
|
{
|
|
// mesh.vertices = _vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_308 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_309 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1;
|
|
NullCheck(L_308);
|
|
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_308, L_309, NULL);
|
|
// for (int t = 0; t < _tris.Length; t++)
|
|
V_31 = 0;
|
|
goto IL_069f;
|
|
}
|
|
|
|
IL_067f:
|
|
{
|
|
// _trisRev[t] = _tris[_tris.Length - 1 - t];
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_310 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3;
|
|
int32_t L_311 = V_31;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_312 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_313 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
NullCheck(L_313);
|
|
int32_t L_314 = V_31;
|
|
NullCheck(L_312);
|
|
int32_t L_315 = ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_subtract(((int32_t)(((RuntimeArray*)L_313)->max_length)), 1)), L_314));
|
|
int32_t L_316 = (L_312)->GetAt(static_cast<il2cpp_array_size_t>(L_315));
|
|
NullCheck(L_310);
|
|
(L_310)->SetAt(static_cast<il2cpp_array_size_t>(L_311), (int32_t)L_316);
|
|
// for (int t = 0; t < _tris.Length; t++)
|
|
int32_t L_317 = V_31;
|
|
V_31 = ((int32_t)il2cpp_codegen_add(L_317, 1));
|
|
}
|
|
|
|
IL_069f:
|
|
{
|
|
// for (int t = 0; t < _tris.Length; t++)
|
|
int32_t L_318 = V_31;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_319 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2;
|
|
NullCheck(L_319);
|
|
if ((((int32_t)L_318) < ((int32_t)((int32_t)(((RuntimeArray*)L_319)->max_length)))))
|
|
{
|
|
goto IL_067f;
|
|
}
|
|
}
|
|
{
|
|
// mesh.triangles = _trisRev;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_320 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_321 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3;
|
|
NullCheck(L_320);
|
|
Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B(L_320, L_321, NULL);
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_322 = V_0;
|
|
NullCheck(L_322);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_322, NULL);
|
|
// mesh.uv = uvs.ToArray();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_323 = V_0;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_324 = V_10;
|
|
NullCheck(L_324);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_325;
|
|
L_325 = List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5(L_324, List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_RuntimeMethod_var);
|
|
NullCheck(L_323);
|
|
Mesh_set_uv_m6ED9C50E0DA8166DD48AC40FD6C828B9AD2E9617(L_323, L_325, NULL);
|
|
// float uvAngle = uvAngleByDiff + TexturingSettings.UVRotate;
|
|
float L_326 = V_2;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_327 = ___6_TexturingSettings;
|
|
NullCheck(L_327);
|
|
float L_328 = L_327->___UVRotate_2;
|
|
V_17 = ((float)il2cpp_codegen_add(L_326, L_328));
|
|
// if (uvAngle > 0f) FMeshUtils.RotateUV(mesh, uvAngle);
|
|
float L_329 = V_17;
|
|
if ((!(((float)L_329) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_06e4;
|
|
}
|
|
}
|
|
{
|
|
// if (uvAngle > 0f) FMeshUtils.RotateUV(mesh, uvAngle);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_330 = V_0;
|
|
float L_331 = V_17;
|
|
FMeshUtils_RotateUV_m82A1C116F7463BE54BB0ECF8B28D209A474640D6(L_330, L_331, NULL);
|
|
}
|
|
|
|
IL_06e4:
|
|
{
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_332 = V_0;
|
|
NullCheck(L_332);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_332, NULL);
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_333 = V_0;
|
|
NullCheck(L_333);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_333, NULL);
|
|
// cablesMesh = mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_334 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cablesMesh_0 = L_334;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cablesMesh_0), (void*)L_334);
|
|
// return cablesMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_335 = ((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cablesMesh_0;
|
|
return L_335;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileCableGenerator::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileCableGenerator__cctor_mB3F32C33ABD299574B6889E79CEA8236AF7E8592 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// static Mesh cablesMesh = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cablesMesh_0 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cablesMesh_0), (void*)(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL);
|
|
// static Vector3[] _vertices = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____vertices_1), (void*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)NULL);
|
|
// static int[] _tris = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____tris_2), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL);
|
|
// static int[] _trisRev = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisRev_3), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL);
|
|
// static int[] _trisCircleHelperCurrent = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperCurrent_4), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL);
|
|
// static int[] _trisCircleHelperPre = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->____trisCircleHelperPre_5), (void*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)NULL);
|
|
// static List<Vector3> cableCircle = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_0, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableCircle_6), (void*)L_0);
|
|
// static List<Vector3> cableTrail = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_1, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___cableTrail_7), (void*)L_1);
|
|
// static List<Vector3> pointsBackup = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___pointsBackup_8), (void*)(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)NULL);
|
|
// static List<List<Vector3>> attachementSources = null;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9 = (List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___attachementSources_9), (void*)(List_1_tE5E2F520A1D08DC8DA6B8BF059CF6AE99CA46D0F*)NULL);
|
|
// static List<CombineInstance> toCombineSingle = new List<CombineInstance>();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_2 = (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*)il2cpp_codegen_object_new(List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C(L_2, List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombineSingle_10), (void*)L_2);
|
|
// static List<CombineInstance> toCombine = new List<CombineInstance>();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_3 = (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*)il2cpp_codegen_object_new(List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C(L_3, List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___toCombine_11), (void*)L_3);
|
|
// static bool resetLengthReference = true;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___resetLengthReference_12 = (bool)1;
|
|
// static float lengthReferenceScale = 1f;
|
|
((TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_StaticFields*)il2cpp_codegen_static_fields_for(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var))->___lengthReferenceScale_13 = (1.0f);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileCableGenerator/CableMeshSettings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CableMeshSettings__ctor_mF1066EFEB47AC9DF9A2E4A707256BC2978D37FA9 (CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public int LengthSubdivs = 12;
|
|
__this->___LengthSubdivs_0 = ((int32_t)12);
|
|
// public int CircleSubdivs = 6;
|
|
__this->___CircleSubdivs_1 = 6;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileCableGenerator/CableTexturingSettings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CableTexturingSettings__ctor_m6D0E5E0B06579D3B813CF1554D75E35680155C8F (CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public float LengthTiling = 4f;
|
|
__this->___LengthTiling_0 = (4.0f);
|
|
// public float VerticalTiling = 1f;
|
|
__this->___VerticalTiling_1 = (1.0f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileCableGenerator/CableClonerSettings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CableClonerSettings__ctor_m5922D8BDB4057E86800B1CBA3231DEA98C37F7B9 (CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3Int InstancesCount = new Vector3Int(1, 1, 1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_0), 1, 1, 1, /*hidden argument*/NULL);
|
|
__this->___InstancesCount_0 = L_0;
|
|
// public Vector3 ClonesOffsets = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___ClonesOffsets_1 = L_1;
|
|
// [Range(0f, 2f)] public float ScaleOffsets = 1f;
|
|
__this->___ScaleOffsets_2 = (1.0f);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileCableGenerator/CableRandomizationSettings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CableRandomizationSettings__ctor_m8AE916764CE5C0DD2AB47653FB299C72B716BFDF (CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector2 RandomizeTrails = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0;
|
|
L_0 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___RandomizeTrails_0 = L_0;
|
|
// public float NoiseScale = 0.5f;
|
|
__this->___NoiseScale_1 = (0.5f);
|
|
// public Vector2 RandomizeLoose = Vector2.one;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
__this->___RandomizeLoose_2 = L_1;
|
|
// public Vector3 RandomizePathPoints = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomizePathPoints_3 = L_2;
|
|
// public Vector2Int CutOutClones = Vector2Int.zero;
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_3;
|
|
L_3 = Vector2Int_get_zero_mF92C338E9CB9434105090E675E04D20A29649553_inline(NULL);
|
|
__this->___CutOutClones_4 = L_3;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileCableGenerator/CableAttachementSettings::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CableAttachementSettings__ctor_mC1586E1C89E77DAC6CCAA91D5EA78909E0902D2D (CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Vector3 Offset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___Offset_2 = L_0;
|
|
// public Vector3 Rotation = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___Rotation_3 = L_1;
|
|
// public bool FlatRotation = true;
|
|
__this->___FlatRotation_4 = (bool)1;
|
|
// public Vector3 Scale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___Scale_5 = L_2;
|
|
// public float ScaleMultiplier = 1f;
|
|
__this->___ScaleMultiplier_6 = (1.0f);
|
|
// public bool AddOnStart = true;
|
|
__this->___AddOnStart_7 = (bool)1;
|
|
// public bool AddInTheMiddle = true;
|
|
__this->___AddInTheMiddle_8 = (bool)1;
|
|
// public bool AddOnTheEnd = true;
|
|
__this->___AddOnTheEnd_9 = (bool)1;
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SmoothMeshNormals(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, float ___1_hard, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
int32_t V_8 = 0;
|
|
float V_9 = 0.0f;
|
|
int32_t V_10 = 0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_12;
|
|
memset((&V_12), 0, sizeof(V_12));
|
|
{
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1;
|
|
L_1 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_0, NULL);
|
|
V_0 = L_1;
|
|
// var triangles = m.triangles;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = ___0_m;
|
|
NullCheck(L_2);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3;
|
|
L_3 = Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B(L_2, NULL);
|
|
V_1 = L_3;
|
|
// Vector3[] normals = new Vector3[verts.Length];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_5 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length)));
|
|
V_2 = L_5;
|
|
// List<Vector3>[] vertexNormals = new List<Vector3>[verts.Length];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_7 = (List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B*)(List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B*)SZArrayNew(List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)));
|
|
V_3 = L_7;
|
|
// for (int i = 0; i < vertexNormals.Length; i++)
|
|
V_4 = 0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// vertexNormals[i] = new List<Vector3>();
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_8 = V_3;
|
|
int32_t L_9 = V_4;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_10 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_10, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
ArrayElementTypeCheck (L_8, L_10);
|
|
(L_8)->SetAt(static_cast<il2cpp_array_size_t>(L_9), (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)L_10);
|
|
// for (int i = 0; i < vertexNormals.Length; i++)
|
|
int32_t L_11 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// for (int i = 0; i < vertexNormals.Length; i++)
|
|
int32_t L_12 = V_4;
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_13 = V_3;
|
|
NullCheck(L_13);
|
|
if ((((int32_t)L_12) < ((int32_t)((int32_t)(((RuntimeArray*)L_13)->max_length)))))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < triangles.Length; i += 3)
|
|
V_5 = 0;
|
|
goto IL_00c3;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// Vector3 currNormal = Vector3.Cross(
|
|
// (verts[triangles[i + 1]] - verts[triangles[i]]).normalized,
|
|
// (verts[triangles[i + 2]] - verts[triangles[i]]).normalized);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_14 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15 = V_1;
|
|
int32_t L_16 = V_5;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = ((int32_t)il2cpp_codegen_add(L_16, 1));
|
|
int32_t L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_14);
|
|
int32_t L_19 = L_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_19));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_21 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_22 = V_1;
|
|
int32_t L_23 = V_5;
|
|
NullCheck(L_22);
|
|
int32_t L_24 = L_23;
|
|
int32_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
NullCheck(L_21);
|
|
int32_t L_26 = L_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = (L_21)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_20, L_27, NULL);
|
|
V_7 = L_28;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_7), NULL);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_30 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31 = V_1;
|
|
int32_t L_32 = V_5;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = ((int32_t)il2cpp_codegen_add(L_32, 2));
|
|
int32_t L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
NullCheck(L_30);
|
|
int32_t L_35 = L_34;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = (L_30)->GetAt(static_cast<il2cpp_array_size_t>(L_35));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37 = V_0;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_38 = V_1;
|
|
int32_t L_39 = V_5;
|
|
NullCheck(L_38);
|
|
int32_t L_40 = L_39;
|
|
int32_t L_41 = (L_38)->GetAt(static_cast<il2cpp_array_size_t>(L_40));
|
|
NullCheck(L_37);
|
|
int32_t L_42 = L_41;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = (L_37)->GetAt(static_cast<il2cpp_array_size_t>(L_42));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44;
|
|
L_44 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_36, L_43, NULL);
|
|
V_7 = L_44;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_7), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline(L_29, L_45, NULL);
|
|
V_6 = L_46;
|
|
// vertexNormals[triangles[i]].Add(currNormal);
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_47 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_48 = V_1;
|
|
int32_t L_49 = V_5;
|
|
NullCheck(L_48);
|
|
int32_t L_50 = L_49;
|
|
int32_t L_51 = (L_48)->GetAt(static_cast<il2cpp_array_size_t>(L_50));
|
|
NullCheck(L_47);
|
|
int32_t L_52 = L_51;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_53 = (L_47)->GetAt(static_cast<il2cpp_array_size_t>(L_52));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = V_6;
|
|
NullCheck(L_53);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_53, L_54, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// vertexNormals[triangles[i + 1]].Add(currNormal);
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_55 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_56 = V_1;
|
|
int32_t L_57 = V_5;
|
|
NullCheck(L_56);
|
|
int32_t L_58 = ((int32_t)il2cpp_codegen_add(L_57, 1));
|
|
int32_t L_59 = (L_56)->GetAt(static_cast<il2cpp_array_size_t>(L_58));
|
|
NullCheck(L_55);
|
|
int32_t L_60 = L_59;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_61 = (L_55)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = V_6;
|
|
NullCheck(L_61);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_61, L_62, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// vertexNormals[triangles[i + 2]].Add(currNormal);
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_63 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64 = V_1;
|
|
int32_t L_65 = V_5;
|
|
NullCheck(L_64);
|
|
int32_t L_66 = ((int32_t)il2cpp_codegen_add(L_65, 2));
|
|
int32_t L_67 = (L_64)->GetAt(static_cast<il2cpp_array_size_t>(L_66));
|
|
NullCheck(L_63);
|
|
int32_t L_68 = L_67;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_69 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_68));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_6;
|
|
NullCheck(L_69);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_69, L_70, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int i = 0; i < triangles.Length; i += 3)
|
|
int32_t L_71 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_71, 3));
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// for (int i = 0; i < triangles.Length; i += 3)
|
|
int32_t L_72 = V_5;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_73 = V_1;
|
|
NullCheck(L_73);
|
|
if ((((int32_t)L_72) < ((int32_t)((int32_t)(((RuntimeArray*)L_73)->max_length)))))
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < vertexNormals.Length; i++)
|
|
V_8 = 0;
|
|
goto IL_01a0;
|
|
}
|
|
|
|
IL_00d5:
|
|
{
|
|
// normals[i] = Vector3.zero;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_74 = V_2;
|
|
int32_t L_75 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
|
|
L_76 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_74);
|
|
(L_74)->SetAt(static_cast<il2cpp_array_size_t>(L_75), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_76);
|
|
// float numNormals = vertexNormals[i].Count;
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_77 = V_3;
|
|
int32_t L_78 = V_8;
|
|
NullCheck(L_77);
|
|
int32_t L_79 = L_78;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_80 = (L_77)->GetAt(static_cast<il2cpp_array_size_t>(L_79));
|
|
NullCheck(L_80);
|
|
int32_t L_81;
|
|
L_81 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_80, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_9 = ((float)L_81);
|
|
// for (int j = 0; j < numNormals; j++)
|
|
V_10 = 0;
|
|
goto IL_011c;
|
|
}
|
|
|
|
IL_00f3:
|
|
{
|
|
// normals[i] += vertexNormals[i][j];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_82 = V_2;
|
|
int32_t L_83 = V_8;
|
|
NullCheck(L_82);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_84 = ((L_82)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_83)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_84);
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_86 = V_3;
|
|
int32_t L_87 = V_8;
|
|
NullCheck(L_86);
|
|
int32_t L_88 = L_87;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_89 = (L_86)->GetAt(static_cast<il2cpp_array_size_t>(L_88));
|
|
int32_t L_90 = V_10;
|
|
NullCheck(L_89);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
|
|
L_91 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_89, L_90, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
|
|
L_92 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_85, L_91, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_84 = L_92;
|
|
// for (int j = 0; j < numNormals; j++)
|
|
int32_t L_93 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_93, 1));
|
|
}
|
|
|
|
IL_011c:
|
|
{
|
|
// for (int j = 0; j < numNormals; j++)
|
|
int32_t L_94 = V_10;
|
|
float L_95 = V_9;
|
|
if ((((float)((float)L_94)) < ((float)L_95)))
|
|
{
|
|
goto IL_00f3;
|
|
}
|
|
}
|
|
{
|
|
// normals[i] /= numNormals;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_96 = V_2;
|
|
int32_t L_97 = V_8;
|
|
NullCheck(L_96);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_98 = ((L_96)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_97)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_98);
|
|
float L_100 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
|
|
L_101 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_99, L_100, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_98 = L_101;
|
|
// if (hard > 0.05f)
|
|
float L_102 = ___1_hard;
|
|
if ((!(((float)L_102) > ((float)(0.0500000007f)))))
|
|
{
|
|
goto IL_019a;
|
|
}
|
|
}
|
|
{
|
|
// if (normals[i].sqrMagnitude > Mathf.Epsilon)
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_103 = V_2;
|
|
int32_t L_104 = V_8;
|
|
NullCheck(L_103);
|
|
float L_105;
|
|
L_105 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline(((L_103)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_104))), NULL);
|
|
float L_106 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon_0;
|
|
if ((!(((float)L_105) > ((float)L_106))))
|
|
{
|
|
goto IL_019a;
|
|
}
|
|
}
|
|
{
|
|
// Quaternion look = Quaternion.LookRotation(normals[i]);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_107 = V_2;
|
|
int32_t L_108 = V_8;
|
|
NullCheck(L_107);
|
|
int32_t L_109 = L_108;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110 = (L_107)->GetAt(static_cast<il2cpp_array_size_t>(L_109));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_111;
|
|
L_111 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_110, NULL);
|
|
V_11 = L_111;
|
|
// Vector3 sm = look.eulerAngles;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
|
|
L_112 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_11), NULL);
|
|
V_12 = L_112;
|
|
// sm = FVectorMethods.FlattenVector(sm, hard * 90f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113 = V_12;
|
|
float L_114 = ___1_hard;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115;
|
|
L_115 = FVectorMethods_FlattenVector_mFB2935A228A0128621F28225D781818CFC6596BA(L_113, ((float)il2cpp_codegen_multiply(L_114, (90.0f))), NULL);
|
|
V_12 = L_115;
|
|
// normals[i] = Quaternion.Euler(sm) * Vector3.forward;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_116 = V_2;
|
|
int32_t L_117 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118 = V_12;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_119;
|
|
L_119 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_118, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_120;
|
|
L_120 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
|
|
L_121 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_119, L_120, NULL);
|
|
NullCheck(L_116);
|
|
(L_116)->SetAt(static_cast<il2cpp_array_size_t>(L_117), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_121);
|
|
}
|
|
|
|
IL_019a:
|
|
{
|
|
// for (int i = 0; i < vertexNormals.Length; i++)
|
|
int32_t L_122 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_122, 1));
|
|
}
|
|
|
|
IL_01a0:
|
|
{
|
|
// for (int i = 0; i < vertexNormals.Length; i++)
|
|
int32_t L_123 = V_8;
|
|
List_1U5BU5D_tC1B009E92641A2C993F3BB28A80D61D2AB67979B* L_124 = V_3;
|
|
NullCheck(L_124);
|
|
if ((((int32_t)L_123) < ((int32_t)((int32_t)(((RuntimeArray*)L_124)->max_length)))))
|
|
{
|
|
goto IL_00d5;
|
|
}
|
|
}
|
|
{
|
|
// m.normals = normals;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_125 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_126 = V_2;
|
|
NullCheck(L_125);
|
|
Mesh_set_normals_m85D73193C49211BE9FA135FF72D5749B16A4760B(L_125, L_126, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::MeshesOperation(UnityEngine.Mesh,UnityEngine.Mesh,Parabox.CSG.CSG/BooleanOp)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_MeshesOperation_m7C2CBF9681486B973B6768620035C8F691415541 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_combined, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___1_removeCombination, int32_t ___2_operation, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CSG_tC701C313EF780A51A545C77BD50601ACFC01A803_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3EC3372E82B3B91672EF4EC7D6C8F3FB8E934642);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_0 = NULL;
|
|
Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* V_1 = NULL;
|
|
{
|
|
// if (operation == Parabox.CSG.CSG.BooleanOp.None) return combined;
|
|
int32_t L_0 = ___2_operation;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// if (operation == Parabox.CSG.CSG.BooleanOp.None) return combined;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1 = ___0_combined;
|
|
return L_1;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// Material defMat = new Material(Shader.Find("Diffuse"));
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_2;
|
|
L_2 = Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5(_stringLiteral3EC3372E82B3B91672EF4EC7D6C8F3FB8E934642, NULL);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)il2cpp_codegen_object_new(Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF(L_3, L_2, NULL);
|
|
V_0 = L_3;
|
|
// if (operation == CSG.BooleanOp.Intersection)
|
|
int32_t L_4 = ___2_operation;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
{
|
|
// result = CSG.Intersect(combined, defMat, Matrix4x4.identity, removeCombination, defMat, Matrix4x4.identity, true);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5 = ___0_combined;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_7;
|
|
L_7 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_8 = ___1_removeCombination;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_10;
|
|
L_10 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(CSG_tC701C313EF780A51A545C77BD50601ACFC01A803_il2cpp_TypeInfo_var);
|
|
Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* L_11;
|
|
L_11 = CSG_Intersect_m332E1AE41BABBE76A22E588613D8377479C7F6BF(L_5, L_6, L_7, L_8, L_9, L_10, (bool)1, NULL);
|
|
V_1 = L_11;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// else if (operation == CSG.BooleanOp.Subtraction)
|
|
int32_t L_12 = ___2_operation;
|
|
if ((!(((uint32_t)L_12) == ((uint32_t)3))))
|
|
{
|
|
goto IL_004b;
|
|
}
|
|
}
|
|
{
|
|
// result = CSG.Subtract(combined, defMat, Matrix4x4.identity, removeCombination, defMat, Matrix4x4.identity, true);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_13 = ___0_combined;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_14 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_15;
|
|
L_15 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_16 = ___1_removeCombination;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_17 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_18;
|
|
L_18 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(CSG_tC701C313EF780A51A545C77BD50601ACFC01A803_il2cpp_TypeInfo_var);
|
|
Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* L_19;
|
|
L_19 = CSG_Subtract_m4DE21344BD36A304C7F9B97F01B2A7C1F756FE42(L_13, L_14, L_15, L_16, L_17, L_18, (bool)1, NULL);
|
|
V_1 = L_19;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
// result = CSG.Union(combined, defMat, Matrix4x4.identity, removeCombination, defMat, Matrix4x4.identity, true);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_20 = ___0_combined;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_21 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_22;
|
|
L_22 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_23 = ___1_removeCombination;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_24 = V_0;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_25;
|
|
L_25 = Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline(NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(CSG_tC701C313EF780A51A545C77BD50601ACFC01A803_il2cpp_TypeInfo_var);
|
|
Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* L_26;
|
|
L_26 = CSG_Union_mAEFEA4D7B95AD020D2BE276BE372590AF70EC1AB(L_20, L_21, L_22, L_23, L_24, L_25, (bool)1, NULL);
|
|
V_1 = L_26;
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// return result.mesh;
|
|
Model_t71596EE8E6DB29226026A3E9F9C48FE71E2F0D5D* L_27 = V_1;
|
|
NullCheck(L_27);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_28;
|
|
L_28 = Model_get_mesh_mDF7516FB0C25F23CF1AD498FA0D391A0F97FD468(L_27, NULL);
|
|
return L_28;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::AdjustOrigin(UnityEngine.Mesh,FIMSpace.Generating.TileMeshSetup/EOrigin)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, int32_t ___1_origin, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_1 = NULL;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_8 = NULL;
|
|
int32_t V_9 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_11 = NULL;
|
|
int32_t V_12 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_17 = NULL;
|
|
int32_t V_18 = 0;
|
|
{
|
|
// m.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
NullCheck(L_0);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_0, NULL);
|
|
// if (origin == TileMeshSetup.EOrigin.Unchanged) return m;
|
|
int32_t L_1 = ___1_origin;
|
|
if (L_1)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (origin == TileMeshSetup.EOrigin.Unchanged) return m;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = ___0_m;
|
|
return L_2;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// else if (origin == TileMeshSetup.EOrigin.Center)
|
|
int32_t L_3 = ___1_origin;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)2))))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = -m.bounds.center;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_4 = ___0_m;
|
|
NullCheck(L_4);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_5;
|
|
L_5 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_4, NULL);
|
|
V_2 = L_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_6, NULL);
|
|
V_0 = L_7;
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_8 = ___0_m;
|
|
NullCheck(L_8);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_9;
|
|
L_9 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_8, NULL);
|
|
V_1 = L_9;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
V_3 = 0;
|
|
goto IL_004a;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = V_1;
|
|
int32_t L_11 = V_3;
|
|
NullCheck(L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_12 = ((L_10)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_11)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_13, L_14, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_12 = L_15;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_16 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_16, 1));
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_17 = V_3;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_18 = V_1;
|
|
NullCheck(L_18);
|
|
if ((((int32_t)L_17) < ((int32_t)((int32_t)(((RuntimeArray*)L_18)->max_length)))))
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// m.SetVerticesUnity2018(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_19 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_20 = V_1;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_19, L_20, NULL);
|
|
goto IL_0318;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// else if (origin == TileMeshSetup.EOrigin.BottomCenter)
|
|
int32_t L_21 = ___1_origin;
|
|
if ((!(((uint32_t)L_21) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00e9;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = new Vector3(-m.bounds.center.x, -m.bounds.min.y, -m.bounds.center.z);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_22 = ___0_m;
|
|
NullCheck(L_22);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_23;
|
|
L_23 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_22, NULL);
|
|
V_2 = L_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
L_24 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
float L_25 = L_24.___x_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_26 = ___0_m;
|
|
NullCheck(L_26);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_27;
|
|
L_27 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_26, NULL);
|
|
V_2 = L_27;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_29 = L_28.___y_3;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_30 = ___0_m;
|
|
NullCheck(L_30);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_31;
|
|
L_31 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_30, NULL);
|
|
V_2 = L_31;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
float L_33 = L_32.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_4), ((-L_25)), ((-L_29)), ((-L_33)), NULL);
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_34 = ___0_m;
|
|
NullCheck(L_34);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_35;
|
|
L_35 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_34, NULL);
|
|
V_5 = L_35;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
V_6 = 0;
|
|
goto IL_00d4;
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_36 = V_5;
|
|
int32_t L_37 = V_6;
|
|
NullCheck(L_36);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_38 = ((L_36)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_37)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_38);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_39, L_40, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_38 = L_41;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_42 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00d4:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_43 = V_6;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_44 = V_5;
|
|
NullCheck(L_44);
|
|
if ((((int32_t)L_43) < ((int32_t)((int32_t)(((RuntimeArray*)L_44)->max_length)))))
|
|
{
|
|
goto IL_00b3;
|
|
}
|
|
}
|
|
{
|
|
// m.SetVerticesUnity2018(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_45 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_46 = V_5;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_45, L_46, NULL);
|
|
goto IL_0318;
|
|
}
|
|
|
|
IL_00e9:
|
|
{
|
|
// else if (origin == TileMeshSetup.EOrigin.TopCenter)
|
|
int32_t L_47 = ___1_origin;
|
|
if ((!(((uint32_t)L_47) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0176;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = new Vector3(-m.bounds.center.x, -m.bounds.max.y, -m.bounds.center.z);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_48 = ___0_m;
|
|
NullCheck(L_48);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_49;
|
|
L_49 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_48, NULL);
|
|
V_2 = L_49;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
float L_51 = L_50.___x_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_52 = ___0_m;
|
|
NullCheck(L_52);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_53;
|
|
L_53 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_52, NULL);
|
|
V_2 = L_53;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_2), NULL);
|
|
float L_55 = L_54.___y_3;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_56 = ___0_m;
|
|
NullCheck(L_56);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_57;
|
|
L_57 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_56, NULL);
|
|
V_2 = L_57;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
float L_59 = L_58.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_7), ((-L_51)), ((-L_55)), ((-L_59)), NULL);
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_60 = ___0_m;
|
|
NullCheck(L_60);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_61;
|
|
L_61 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_60, NULL);
|
|
V_8 = L_61;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
V_9 = 0;
|
|
goto IL_0161;
|
|
}
|
|
|
|
IL_0140:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_62 = V_8;
|
|
int32_t L_63 = V_9;
|
|
NullCheck(L_62);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_64 = ((L_62)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_63)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_64);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
|
|
L_67 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_65, L_66, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_64 = L_67;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_68 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_68, 1));
|
|
}
|
|
|
|
IL_0161:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_69 = V_9;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_70 = V_8;
|
|
NullCheck(L_70);
|
|
if ((((int32_t)L_69) < ((int32_t)((int32_t)(((RuntimeArray*)L_70)->max_length)))))
|
|
{
|
|
goto IL_0140;
|
|
}
|
|
}
|
|
{
|
|
// m.SetVerticesUnity2018(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_71 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_72 = V_8;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_71, L_72, NULL);
|
|
goto IL_0318;
|
|
}
|
|
|
|
IL_0176:
|
|
{
|
|
// else if (origin == TileMeshSetup.EOrigin.BottomLeft)
|
|
int32_t L_73 = ___1_origin;
|
|
if ((!(((uint32_t)L_73) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0203;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = new Vector3(-m.bounds.min.x, -m.bounds.min.y, -m.bounds.min.z);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_74 = ___0_m;
|
|
NullCheck(L_74);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_75;
|
|
L_75 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_74, NULL);
|
|
V_2 = L_75;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
|
|
L_76 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_77 = L_76.___x_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_78 = ___0_m;
|
|
NullCheck(L_78);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_79;
|
|
L_79 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_78, NULL);
|
|
V_2 = L_79;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
|
|
L_80 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_81 = L_80.___y_3;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_82 = ___0_m;
|
|
NullCheck(L_82);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_83;
|
|
L_83 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_82, NULL);
|
|
V_2 = L_83;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
|
|
L_84 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_85 = L_84.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_10), ((-L_77)), ((-L_81)), ((-L_85)), NULL);
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_86 = ___0_m;
|
|
NullCheck(L_86);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_87;
|
|
L_87 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_86, NULL);
|
|
V_11 = L_87;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
V_12 = 0;
|
|
goto IL_01ee;
|
|
}
|
|
|
|
IL_01cd:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_88 = V_11;
|
|
int32_t L_89 = V_12;
|
|
NullCheck(L_88);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_90 = ((L_88)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_89)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_90);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = V_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
|
|
L_93 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_91, L_92, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_90 = L_93;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_94 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_94, 1));
|
|
}
|
|
|
|
IL_01ee:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_95 = V_12;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_96 = V_11;
|
|
NullCheck(L_96);
|
|
if ((((int32_t)L_95) < ((int32_t)((int32_t)(((RuntimeArray*)L_96)->max_length)))))
|
|
{
|
|
goto IL_01cd;
|
|
}
|
|
}
|
|
{
|
|
// m.SetVerticesUnity2018(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_97 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_98 = V_11;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_97, L_98, NULL);
|
|
goto IL_0318;
|
|
}
|
|
|
|
IL_0203:
|
|
{
|
|
// else if (origin == TileMeshSetup.EOrigin.BottomCenterBack)
|
|
int32_t L_99 = ___1_origin;
|
|
if ((!(((uint32_t)L_99) == ((uint32_t)5))))
|
|
{
|
|
goto IL_0290;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = new Vector3(-m.bounds.center.x, -m.bounds.min.y, -m.bounds.min.z);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_100 = ___0_m;
|
|
NullCheck(L_100);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_101;
|
|
L_101 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_100, NULL);
|
|
V_2 = L_101;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102;
|
|
L_102 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
float L_103 = L_102.___x_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_104 = ___0_m;
|
|
NullCheck(L_104);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_105;
|
|
L_105 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_104, NULL);
|
|
V_2 = L_105;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106;
|
|
L_106 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_107 = L_106.___y_3;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_108 = ___0_m;
|
|
NullCheck(L_108);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_109;
|
|
L_109 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_108, NULL);
|
|
V_2 = L_109;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
|
|
L_110 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_111 = L_110.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_13), ((-L_103)), ((-L_107)), ((-L_111)), NULL);
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_112 = ___0_m;
|
|
NullCheck(L_112);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_113;
|
|
L_113 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_112, NULL);
|
|
V_14 = L_113;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
V_15 = 0;
|
|
goto IL_027b;
|
|
}
|
|
|
|
IL_025a:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_114 = V_14;
|
|
int32_t L_115 = V_15;
|
|
NullCheck(L_114);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_116 = ((L_114)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_115)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_116);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
|
|
L_119 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_117, L_118, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_116 = L_119;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_120 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_120, 1));
|
|
}
|
|
|
|
IL_027b:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_121 = V_15;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_122 = V_14;
|
|
NullCheck(L_122);
|
|
if ((((int32_t)L_121) < ((int32_t)((int32_t)(((RuntimeArray*)L_122)->max_length)))))
|
|
{
|
|
goto IL_025a;
|
|
}
|
|
}
|
|
{
|
|
// m.SetVerticesUnity2018(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_123 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_124 = V_14;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_123, L_124, NULL);
|
|
goto IL_0318;
|
|
}
|
|
|
|
IL_0290:
|
|
{
|
|
// else if (origin == TileMeshSetup.EOrigin.BottomCenterFront)
|
|
int32_t L_125 = ___1_origin;
|
|
if ((!(((uint32_t)L_125) == ((uint32_t)6))))
|
|
{
|
|
goto IL_0318;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = new Vector3(-m.bounds.center.x, -m.bounds.min.y, -m.bounds.max.z);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_126 = ___0_m;
|
|
NullCheck(L_126);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_127;
|
|
L_127 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_126, NULL);
|
|
V_2 = L_127;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128;
|
|
L_128 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_2), NULL);
|
|
float L_129 = L_128.___x_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_130 = ___0_m;
|
|
NullCheck(L_130);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_131;
|
|
L_131 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_130, NULL);
|
|
V_2 = L_131;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
|
|
L_132 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13((&V_2), NULL);
|
|
float L_133 = L_132.___y_3;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_134 = ___0_m;
|
|
NullCheck(L_134);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_135;
|
|
L_135 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_134, NULL);
|
|
V_2 = L_135;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_136;
|
|
L_136 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_2), NULL);
|
|
float L_137 = L_136.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_16), ((-L_129)), ((-L_133)), ((-L_137)), NULL);
|
|
// var verts = m.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_138 = ___0_m;
|
|
NullCheck(L_138);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_139;
|
|
L_139 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_138, NULL);
|
|
V_17 = L_139;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
V_18 = 0;
|
|
goto IL_0308;
|
|
}
|
|
|
|
IL_02e7:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_140 = V_17;
|
|
int32_t L_141 = V_18;
|
|
NullCheck(L_140);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_142 = ((L_140)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_141)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_142);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_144 = V_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145;
|
|
L_145 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_143, L_144, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)L_142 = L_145;
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_146 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_146, 1));
|
|
}
|
|
|
|
IL_0308:
|
|
{
|
|
// for (int v = 0; v < verts.Length; v++) verts[v] += off;
|
|
int32_t L_147 = V_18;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_148 = V_17;
|
|
NullCheck(L_148);
|
|
if ((((int32_t)L_147) < ((int32_t)((int32_t)(((RuntimeArray*)L_148)->max_length)))))
|
|
{
|
|
goto IL_02e7;
|
|
}
|
|
}
|
|
{
|
|
// m.SetVerticesUnity2018(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_149 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_150 = V_17;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_149, L_150, NULL);
|
|
}
|
|
|
|
IL_0318:
|
|
{
|
|
// return m;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_151 = ___0_m;
|
|
return L_151;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetVerticesUnity2018(UnityEngine.Mesh,UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___1_verts, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// m.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = ___1_verts;
|
|
NullCheck(L_0);
|
|
Mesh_SetVertices_m881F2A14D298007BFCCFA5FE03825BCCD0B19D12(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetUVUnity2018(UnityEngine.Mesh,UnityEngine.Vector2[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetUVUnity2018_m5F257D0FECF58C151C6F792E55500163F64BBEB8 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* ___1_uv, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// m.SetUVs(0, uv);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_1 = ___1_uv;
|
|
NullCheck(L_0);
|
|
Mesh_SetUVs_m6AFD5BFC4D7FB9EE57D8F19AB1BECD0675771D48(L_0, 0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetNormalsUnity2018(UnityEngine.Mesh,UnityEngine.Vector3[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetNormalsUnity2018_m62107763D3C83CB6AE59B75C27A2031952C5AE8A (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* ___1_norm, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// m.SetNormals(norm);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = ___1_norm;
|
|
NullCheck(L_0);
|
|
Mesh_SetNormals_m7223127D3403D2EC512DBEDFC063F4D04E2B8554(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetTrianglesUnity2018(UnityEngine.Mesh,System.Int32[])
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetTrianglesUnity2018_m773394584E654E79D8163FB96838BCA656F6CF22 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* ___1_tris, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// m.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = ___1_tris;
|
|
NullCheck(L_0);
|
|
Mesh_SetTriangles_mD97664344427EB85BB6DC2EF91479E03B9114258(L_0, L_1, 0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SetColorsUnity2018(UnityEngine.Mesh,System.Collections.Generic.List`1<UnityEngine.Color>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SetColorsUnity2018_mE2A24C9C2A9A132F63131766D20A3D88304457C6 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_m, List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* ___1_c, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// m.SetColors(c);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_m;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_1 = ___1_c;
|
|
NullCheck(L_0);
|
|
Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9(L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::OffsetUV(UnityEngine.Mesh,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_OffsetUV_m43FB024D99B4D3ADFCB0E5D861AE1EC0816E6CB4 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uVOffset, const RuntimeMethod* method)
|
|
{
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// Vector2[] uvs = mesh.uv;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_1;
|
|
L_1 = Mesh_get_uv_mA47805C48AB3493FF3727922C43E77880E73519F(L_0, NULL);
|
|
V_0 = L_1;
|
|
// for (int u = 0; u < uvs.Length; u++)
|
|
V_1 = 0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// uvs[u] = new Vector2((uvs[u].x + uVOffset.x), (uvs[u].y + uVOffset.y));
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_2 = V_0;
|
|
int32_t L_3 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_4 = V_0;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
float L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = ___1_uVOffset;
|
|
float L_8 = L_7.___x_0;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_9 = V_0;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_9);
|
|
float L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = ___1_uVOffset;
|
|
float L_13 = L_12.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
|
|
memset((&L_14), 0, sizeof(L_14));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_14), ((float)il2cpp_codegen_add(L_6, L_8)), ((float)il2cpp_codegen_add(L_11, L_13)), /*hidden argument*/NULL);
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_14);
|
|
// for (int u = 0; u < uvs.Length; u++)
|
|
int32_t L_15 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// for (int u = 0; u < uvs.Length; u++)
|
|
int32_t L_16 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_17 = V_0;
|
|
NullCheck(L_17);
|
|
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetUVUnity2018(uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_18 = ___0_mesh;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_19 = V_0;
|
|
FMeshUtils_SetUVUnity2018_m5F257D0FECF58C151C6F792E55500163F64BBEB8(L_18, L_19, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::RotateUV(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_RotateUV_m82A1C116F7463BE54BB0ECF8B28D209A474640D6 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, float ___1_angle, const RuntimeMethod* method)
|
|
{
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
int32_t V_6 = 0;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
{
|
|
// Vector2[] uvs = mesh.uv;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_1;
|
|
L_1 = Mesh_get_uv_mA47805C48AB3493FF3727922C43E77880E73519F(L_0, NULL);
|
|
V_0 = L_1;
|
|
// float rad = angle * Mathf.Deg2Rad;
|
|
float L_2 = ___1_angle;
|
|
// float rotMatrix00 = Mathf.Cos(rad);
|
|
float L_3 = ((float)il2cpp_codegen_multiply(L_2, (0.0174532924f)));
|
|
float L_4;
|
|
L_4 = cosf(L_3);
|
|
V_1 = L_4;
|
|
// float rotMatrix01 = -Mathf.Sin(rad);
|
|
float L_5 = L_3;
|
|
float L_6;
|
|
L_6 = sinf(L_5);
|
|
V_2 = ((-L_6));
|
|
// float rotMatrix10 = Mathf.Sin(rad);
|
|
float L_7 = L_5;
|
|
float L_8;
|
|
L_8 = sinf(L_7);
|
|
V_3 = L_8;
|
|
// float rotMatrix11 = Mathf.Cos(rad);
|
|
float L_9;
|
|
L_9 = cosf(L_7);
|
|
V_4 = L_9;
|
|
// Vector2 halfV2 = new Vector2(0.5f, 0.5f);
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_5), (0.5f), (0.5f), NULL);
|
|
// for (int j = 0; j < uvs.Length; j++)
|
|
V_6 = 0;
|
|
goto IL_00d9;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// uvs[j] = uvs[j] - halfV2;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_10 = V_0;
|
|
int32_t L_11 = V_6;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_12 = V_0;
|
|
int32_t L_13 = V_6;
|
|
NullCheck(L_12);
|
|
int32_t L_14 = L_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = (L_12)->GetAt(static_cast<il2cpp_array_size_t>(L_14));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = V_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_17;
|
|
L_17 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_15, L_16, NULL);
|
|
NullCheck(L_10);
|
|
(L_10)->SetAt(static_cast<il2cpp_array_size_t>(L_11), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_17);
|
|
// float u = rotMatrix00 * uvs[j].x + rotMatrix01 * uvs[j].y;
|
|
float L_18 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_19 = V_0;
|
|
int32_t L_20 = V_6;
|
|
NullCheck(L_19);
|
|
float L_21 = ((L_19)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_20)))->___x_0;
|
|
float L_22 = V_2;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_23 = V_0;
|
|
int32_t L_24 = V_6;
|
|
NullCheck(L_23);
|
|
float L_25 = ((L_23)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_24)))->___y_1;
|
|
V_7 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_18, L_21)), ((float)il2cpp_codegen_multiply(L_22, L_25))));
|
|
// float v = rotMatrix10 * uvs[j].x + rotMatrix11 * uvs[j].y;
|
|
float L_26 = V_3;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_27 = V_0;
|
|
int32_t L_28 = V_6;
|
|
NullCheck(L_27);
|
|
float L_29 = ((L_27)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_28)))->___x_0;
|
|
float L_30 = V_4;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_31 = V_0;
|
|
int32_t L_32 = V_6;
|
|
NullCheck(L_31);
|
|
float L_33 = ((L_31)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_32)))->___y_1;
|
|
V_8 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_26, L_29)), ((float)il2cpp_codegen_multiply(L_30, L_33))));
|
|
// uvs[j].x = u; uvs[j].y = v;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_34 = V_0;
|
|
int32_t L_35 = V_6;
|
|
NullCheck(L_34);
|
|
float L_36 = V_7;
|
|
((L_34)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_35)))->___x_0 = L_36;
|
|
// uvs[j].x = u; uvs[j].y = v;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_37 = V_0;
|
|
int32_t L_38 = V_6;
|
|
NullCheck(L_37);
|
|
float L_39 = V_8;
|
|
((L_37)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_38)))->___y_1 = L_39;
|
|
// uvs[j] = uvs[j] + halfV2;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_40 = V_0;
|
|
int32_t L_41 = V_6;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_42 = V_0;
|
|
int32_t L_43 = V_6;
|
|
NullCheck(L_42);
|
|
int32_t L_44 = L_43;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_46 = V_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_47;
|
|
L_47 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_45, L_46, NULL);
|
|
NullCheck(L_40);
|
|
(L_40)->SetAt(static_cast<il2cpp_array_size_t>(L_41), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_47);
|
|
// for (int j = 0; j < uvs.Length; j++)
|
|
int32_t L_48 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_48, 1));
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// for (int j = 0; j < uvs.Length; j++)
|
|
int32_t L_49 = V_6;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_50 = V_0;
|
|
NullCheck(L_50);
|
|
if ((((int32_t)L_49) < ((int32_t)((int32_t)(((RuntimeArray*)L_50)->max_length)))))
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetUVUnity2018(uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_51 = ___0_mesh;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_52 = V_0;
|
|
FMeshUtils_SetUVUnity2018_m5F257D0FECF58C151C6F792E55500163F64BBEB8(L_51, L_52, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::RescaleUV(UnityEngine.Mesh,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_RescaleUV_m398E65E16C73B9A12AB96DEF25E9DC13C272A556 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uVReScale, const RuntimeMethod* method)
|
|
{
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// Vector2[] uvs = mesh.uv;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_1;
|
|
L_1 = Mesh_get_uv_mA47805C48AB3493FF3727922C43E77880E73519F(L_0, NULL);
|
|
V_0 = L_1;
|
|
// for (int u = 0; u < uvs.Length; u++)
|
|
V_1 = 0;
|
|
goto IL_0041;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// uvs[u] = new Vector2((uvs[u].x * uVReScale.x), (uvs[u].y * uVReScale.y));
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_2 = V_0;
|
|
int32_t L_3 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_4 = V_0;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
float L_6 = ((L_4)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_5)))->___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = ___1_uVReScale;
|
|
float L_8 = L_7.___x_0;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_9 = V_0;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_9);
|
|
float L_11 = ((L_9)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_10)))->___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = ___1_uVReScale;
|
|
float L_13 = L_12.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
|
|
memset((&L_14), 0, sizeof(L_14));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_14), ((float)il2cpp_codegen_multiply(L_6, L_8)), ((float)il2cpp_codegen_multiply(L_11, L_13)), /*hidden argument*/NULL);
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_14);
|
|
// for (int u = 0; u < uvs.Length; u++)
|
|
int32_t L_15 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// for (int u = 0; u < uvs.Length; u++)
|
|
int32_t L_16 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_17 = V_0;
|
|
NullCheck(L_17);
|
|
if ((((int32_t)L_16) < ((int32_t)((int32_t)(((RuntimeArray*)L_17)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetUVUnity2018(uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_18 = ___0_mesh;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_19 = V_0;
|
|
FMeshUtils_SetUVUnity2018_m5F257D0FECF58C151C6F792E55500163F64BBEB8(L_18, L_19, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::FlipNormals(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_FlipNormals_m36E22A5A3D81EC5092F6691EC56B41590F5B3607 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, const RuntimeMethod* method)
|
|
{
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
{
|
|
// Vector3[] normals = mesh.normals;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1;
|
|
L_1 = Mesh_get_normals_m2B6B159B799E6E235EA651FCAB2E18EE5B18ED62(L_0, NULL);
|
|
V_0 = L_1;
|
|
// for (int i = 0; i < normals.Length; i++) normals[i] = -normals[i];
|
|
V_2 = 0;
|
|
goto IL_0022;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// for (int i = 0; i < normals.Length; i++) normals[i] = -normals[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_2 = V_0;
|
|
int32_t L_3 = V_2;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
|
|
int32_t L_5 = V_2;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_7, NULL);
|
|
NullCheck(L_2);
|
|
(L_2)->SetAt(static_cast<il2cpp_array_size_t>(L_3), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_8);
|
|
// for (int i = 0; i < normals.Length; i++) normals[i] = -normals[i];
|
|
int32_t L_9 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// for (int i = 0; i < normals.Length; i++) normals[i] = -normals[i];
|
|
int32_t L_10 = V_2;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
if ((((int32_t)L_10) < ((int32_t)((int32_t)(((RuntimeArray*)L_11)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetNormalsUnity2018(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_12 = ___0_mesh;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_13 = V_0;
|
|
FMeshUtils_SetNormalsUnity2018_m62107763D3C83CB6AE59B75C27A2031952C5AE8A(L_12, L_13, NULL);
|
|
// int[] triangles = mesh.GetTriangles(0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_14 = ___0_mesh;
|
|
NullCheck(L_14);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_15;
|
|
L_15 = Mesh_GetTriangles_m2B70A746EE624B60BF9BA4528E4239B47EF42E16(L_14, 0, NULL);
|
|
V_1 = L_15;
|
|
// for (int i = 0; i < triangles.Length; i += 3)
|
|
V_3 = 0;
|
|
goto IL_0053;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// int temp = triangles[i + 0];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_16 = V_1;
|
|
int32_t L_17 = V_3;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
int32_t L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
V_4 = L_19;
|
|
// triangles[i + 0] = triangles[i + 1];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_20 = V_1;
|
|
int32_t L_21 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_22 = V_1;
|
|
int32_t L_23 = V_3;
|
|
NullCheck(L_22);
|
|
int32_t L_24 = ((int32_t)il2cpp_codegen_add(L_23, 1));
|
|
int32_t L_25 = (L_22)->GetAt(static_cast<il2cpp_array_size_t>(L_24));
|
|
NullCheck(L_20);
|
|
(L_20)->SetAt(static_cast<il2cpp_array_size_t>(L_21), (int32_t)L_25);
|
|
// triangles[i + 1] = temp;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_26 = V_1;
|
|
int32_t L_27 = V_3;
|
|
int32_t L_28 = V_4;
|
|
NullCheck(L_26);
|
|
(L_26)->SetAt(static_cast<il2cpp_array_size_t>(((int32_t)il2cpp_codegen_add(L_27, 1))), (int32_t)L_28);
|
|
// for (int i = 0; i < triangles.Length; i += 3)
|
|
int32_t L_29 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_29, 3));
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// for (int i = 0; i < triangles.Length; i += 3)
|
|
int32_t L_30 = V_3;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_31 = V_1;
|
|
NullCheck(L_31);
|
|
if ((((int32_t)L_30) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetTrianglesUnity2018(triangles);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_32 = ___0_mesh;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_33 = V_1;
|
|
FMeshUtils_SetTrianglesUnity2018_m773394584E654E79D8163FB96838BCA656F6CF22(L_32, L_33, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils::SmoothNormals(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FMeshUtils_SmoothNormals_mBC7E62AACEA92D4B9A3BEB9BFDFE086BDE6F2137 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, const RuntimeMethod* method)
|
|
{
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
{
|
|
// Vector3[] normals = mesh.normals;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1;
|
|
L_1 = Mesh_get_normals_m2B6B159B799E6E235EA651FCAB2E18EE5B18ED62(L_0, NULL);
|
|
V_0 = L_1;
|
|
// for (int i = 0; i < mesh.vertices.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_0071;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// for (int j = i + 1; j < mesh.vertices.Length; j++)
|
|
int32_t L_2 = V_1;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_2, 1));
|
|
goto IL_0062;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// if (mesh.vertices[i] == mesh.vertices[j])
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_3 = ___0_mesh;
|
|
NullCheck(L_3);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4;
|
|
L_4 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_3, NULL);
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
int32_t L_6 = L_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = (L_4)->GetAt(static_cast<il2cpp_array_size_t>(L_6));
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_8 = ___0_mesh;
|
|
NullCheck(L_8);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_9;
|
|
L_9 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_8, NULL);
|
|
int32_t L_10 = V_2;
|
|
NullCheck(L_9);
|
|
int32_t L_11 = L_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = (L_9)->GetAt(static_cast<il2cpp_array_size_t>(L_11));
|
|
bool L_13;
|
|
L_13 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_7, L_12, NULL);
|
|
if (!L_13)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 averagedNormal = (normals[i] + normals[j]) / 2;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_14 = V_0;
|
|
int32_t L_15 = V_1;
|
|
NullCheck(L_14);
|
|
int32_t L_16 = L_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_18 = V_0;
|
|
int32_t L_19 = V_2;
|
|
NullCheck(L_18);
|
|
int32_t L_20 = L_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = (L_18)->GetAt(static_cast<il2cpp_array_size_t>(L_20));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_17, L_21, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_22, (2.0f), NULL);
|
|
V_3 = L_23;
|
|
// normals[i] = averagedNormal;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_24 = V_0;
|
|
int32_t L_25 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_3;
|
|
NullCheck(L_24);
|
|
(L_24)->SetAt(static_cast<il2cpp_array_size_t>(L_25), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_26);
|
|
// normals[j] = averagedNormal;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_27 = V_0;
|
|
int32_t L_28 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_3;
|
|
NullCheck(L_27);
|
|
(L_27)->SetAt(static_cast<il2cpp_array_size_t>(L_28), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_29);
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// for (int j = i + 1; j < mesh.vertices.Length; j++)
|
|
int32_t L_30 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// for (int j = i + 1; j < mesh.vertices.Length; j++)
|
|
int32_t L_31 = V_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_32 = ___0_mesh;
|
|
NullCheck(L_32);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_33;
|
|
L_33 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_32, NULL);
|
|
NullCheck(L_33);
|
|
if ((((int32_t)L_31) < ((int32_t)((int32_t)(((RuntimeArray*)L_33)->max_length)))))
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < mesh.vertices.Length; i++)
|
|
int32_t L_34 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_34, 1));
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// for (int i = 0; i < mesh.vertices.Length; i++)
|
|
int32_t L_35 = V_1;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_36 = ___0_mesh;
|
|
NullCheck(L_36);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37;
|
|
L_37 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_36, NULL);
|
|
NullCheck(L_37);
|
|
if ((((int32_t)L_35) < ((int32_t)((int32_t)(((RuntimeArray*)L_37)->max_length)))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// mesh.normals = normals;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_38 = ___0_mesh;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_39 = V_0;
|
|
NullCheck(L_38);
|
|
Mesh_set_normals_m85D73193C49211BE9FA135FF72D5749B16A4760B(L_38, L_39, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.FMeshUtils::TriangulateConcavePolygon(System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* FMeshUtils_TriangulateConcavePolygon_m29C4E9D4D87230B9C450502ABAA2DF664BB4F7F9 (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* ___0_vertexPoints, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5F046B8B0C72B68DD5C91DD43A5AC7EE66C9BC66);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_0 = NULL;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* V_1 = NULL;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
int32_t V_7 = 0;
|
|
int32_t V_8 = 0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* V_9 = NULL;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* V_10 = NULL;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* V_11 = NULL;
|
|
{
|
|
// List<int> triangles = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_0 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_0, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// if (vertexPoints.Count < 3) return triangles; // No Shape!
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_1 = ___0_vertexPoints;
|
|
NullCheck(L_1);
|
|
int32_t L_2;
|
|
L_2 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_1, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_2) >= ((int32_t)3)))
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// if (vertexPoints.Count < 3) return triangles; // No Shape!
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// if (vertexPoints.Count == 3) { triangles.Add(vertexPoints[0].index); triangles.Add(vertexPoints[1].index); triangles.Add(vertexPoints[2].index); return triangles; }
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_4 = ___0_vertexPoints;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_4, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((!(((uint32_t)L_5) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// if (vertexPoints.Count == 3) { triangles.Add(vertexPoints[0].index); triangles.Add(vertexPoints[1].index); triangles.Add(vertexPoints[2].index); return triangles; }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_6 = V_0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_7 = ___0_vertexPoints;
|
|
NullCheck(L_7);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_8;
|
|
L_8 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_7, 0, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
int32_t L_9 = L_8->___index_0;
|
|
NullCheck(L_6);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_6, L_9, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (vertexPoints.Count == 3) { triangles.Add(vertexPoints[0].index); triangles.Add(vertexPoints[1].index); triangles.Add(vertexPoints[2].index); return triangles; }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_10 = V_0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_11 = ___0_vertexPoints;
|
|
NullCheck(L_11);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_12;
|
|
L_12 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_11, 1, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_12);
|
|
int32_t L_13 = L_12->___index_0;
|
|
NullCheck(L_10);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_10, L_13, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (vertexPoints.Count == 3) { triangles.Add(vertexPoints[0].index); triangles.Add(vertexPoints[1].index); triangles.Add(vertexPoints[2].index); return triangles; }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_14 = V_0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_15 = ___0_vertexPoints;
|
|
NullCheck(L_15);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_16;
|
|
L_16 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_15, 2, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_16);
|
|
int32_t L_17 = L_16->___index_0;
|
|
NullCheck(L_14);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_14, L_17, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (vertexPoints.Count == 3) { triangles.Add(vertexPoints[0].index); triangles.Add(vertexPoints[1].index); triangles.Add(vertexPoints[2].index); return triangles; }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_18 = V_0;
|
|
return L_18;
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// List<PolyShapeHelpPoint> vertices = new List<PolyShapeHelpPoint>();
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_19 = (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*)il2cpp_codegen_object_new(List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_il2cpp_TypeInfo_var);
|
|
NullCheck(L_19);
|
|
List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04(L_19, List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04_RuntimeMethod_var);
|
|
V_1 = L_19;
|
|
// for (int i = 0; i < vertexPoints.Count; i++) vertices.Add(vertexPoints[i]);
|
|
V_3 = 0;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// for (int i = 0; i < vertexPoints.Count; i++) vertices.Add(vertexPoints[i]);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_20 = V_1;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_21 = ___0_vertexPoints;
|
|
int32_t L_22 = V_3;
|
|
NullCheck(L_21);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_23;
|
|
L_23 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_21, L_22, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_inline(L_20, L_23, List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var);
|
|
// for (int i = 0; i < vertexPoints.Count; i++) vertices.Add(vertexPoints[i]);
|
|
int32_t L_24 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_24, 1));
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// for (int i = 0; i < vertexPoints.Count; i++) vertices.Add(vertexPoints[i]);
|
|
int32_t L_25 = V_3;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_26 = ___0_vertexPoints;
|
|
NullCheck(L_26);
|
|
int32_t L_27;
|
|
L_27 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_26, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_25) < ((int32_t)L_27)))
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
// int nextPos = (i + 1); if (nextPos >= vertices.Count) nextPos = 0;
|
|
int32_t L_28 = V_4;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
// int nextPos = (i + 1); if (nextPos >= vertices.Count) nextPos = 0;
|
|
int32_t L_29 = V_5;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_30 = V_1;
|
|
NullCheck(L_30);
|
|
int32_t L_31;
|
|
L_31 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_30, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_29) < ((int32_t)L_31)))
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
// int nextPos = (i + 1); if (nextPos >= vertices.Count) nextPos = 0;
|
|
V_5 = 0;
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// vertices[i].next = vertices[nextPos];
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_32 = V_1;
|
|
int32_t L_33 = V_4;
|
|
NullCheck(L_32);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_34;
|
|
L_34 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_32, L_33, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_35 = V_1;
|
|
int32_t L_36 = V_5;
|
|
NullCheck(L_35);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_37;
|
|
L_37 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_35, L_36, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_34);
|
|
L_34->___next_6 = L_37;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_34->___next_6), (void*)L_37);
|
|
// int prevPos = (i - 1); if (prevPos < 0) prevPos = vertices.Count - 1;
|
|
int32_t L_38 = V_4;
|
|
V_6 = ((int32_t)il2cpp_codegen_subtract(L_38, 1));
|
|
// int prevPos = (i - 1); if (prevPos < 0) prevPos = vertices.Count - 1;
|
|
int32_t L_39 = V_6;
|
|
if ((((int32_t)L_39) >= ((int32_t)0)))
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
// int prevPos = (i - 1); if (prevPos < 0) prevPos = vertices.Count - 1;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_40 = V_1;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_40, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
V_6 = ((int32_t)il2cpp_codegen_subtract(L_41, 1));
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// vertices[i].previous = vertices[prevPos];
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_42 = V_1;
|
|
int32_t L_43 = V_4;
|
|
NullCheck(L_42);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_44;
|
|
L_44 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_42, L_43, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_45 = V_1;
|
|
int32_t L_46 = V_6;
|
|
NullCheck(L_45);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_47;
|
|
L_47 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_45, L_46, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_44);
|
|
L_44->___previous_5 = L_47;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_44->___previous_5), (void*)L_47);
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
int32_t L_48 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_48, 1));
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
int32_t L_49 = V_4;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_50 = V_1;
|
|
NullCheck(L_50);
|
|
int32_t L_51;
|
|
L_51 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_50, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_49) < ((int32_t)L_51)))
|
|
{
|
|
goto IL_007b;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateReflexOrConvex();
|
|
V_7 = 0;
|
|
goto IL_00f5;
|
|
}
|
|
|
|
IL_00e2:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateReflexOrConvex();
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_52 = V_1;
|
|
int32_t L_53 = V_7;
|
|
NullCheck(L_52);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_54;
|
|
L_54 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_52, L_53, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_54);
|
|
PolyShapeHelpPoint_ValidateReflexOrConvex_mD722536DE7554FBB6555729FD420C8074E290972(L_54, NULL);
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateReflexOrConvex();
|
|
int32_t L_55 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_00f5:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateReflexOrConvex();
|
|
int32_t L_56 = V_7;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_57 = V_1;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_57, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_56) < ((int32_t)L_58)))
|
|
{
|
|
goto IL_00e2;
|
|
}
|
|
}
|
|
{
|
|
// List<PolyShapeHelpPoint> earVertices = new List<PolyShapeHelpPoint>();
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_59 = (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*)il2cpp_codegen_object_new(List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_il2cpp_TypeInfo_var);
|
|
NullCheck(L_59);
|
|
List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04(L_59, List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04_RuntimeMethod_var);
|
|
V_2 = L_59;
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateVertexEar(vertices, earVertices);
|
|
V_8 = 0;
|
|
goto IL_011f;
|
|
}
|
|
|
|
IL_010a:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateVertexEar(vertices, earVertices);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_60 = V_1;
|
|
int32_t L_61 = V_8;
|
|
NullCheck(L_60);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_62;
|
|
L_62 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_60, L_61, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_63 = V_1;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_64 = V_2;
|
|
NullCheck(L_62);
|
|
PolyShapeHelpPoint_ValidateVertexEar_m24490DFE399D3BF70E2E997BD21377EF91C3866B(L_62, L_63, L_64, NULL);
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateVertexEar(vertices, earVertices);
|
|
int32_t L_65 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_65, 1));
|
|
}
|
|
|
|
IL_011f:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++) vertices[i].ValidateVertexEar(vertices, earVertices);
|
|
int32_t L_66 = V_8;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_67 = V_1;
|
|
NullCheck(L_67);
|
|
int32_t L_68;
|
|
L_68 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_67, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_66) < ((int32_t)L_68)))
|
|
{
|
|
goto IL_010a;
|
|
}
|
|
}
|
|
|
|
IL_0129:
|
|
{
|
|
// if (vertices.Count == 3)
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_69 = V_1;
|
|
NullCheck(L_69);
|
|
int32_t L_70;
|
|
L_70 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_69, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((!(((uint32_t)L_70) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0177;
|
|
}
|
|
}
|
|
{
|
|
// triangles.Add(vertices[0].index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_71 = V_0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_72 = V_1;
|
|
NullCheck(L_72);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_73;
|
|
L_73 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_72, 0, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_73);
|
|
int32_t L_74 = L_73->___index_0;
|
|
NullCheck(L_71);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_71, L_74, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// triangles.Add(vertices[0].previous.index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_75 = V_0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_76 = V_1;
|
|
NullCheck(L_76);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_77;
|
|
L_77 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_76, 0, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_77);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_78 = L_77->___previous_5;
|
|
NullCheck(L_78);
|
|
int32_t L_79 = L_78->___index_0;
|
|
NullCheck(L_75);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_75, L_79, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// triangles.Add(vertices[0].next.index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_80 = V_0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_81 = V_1;
|
|
NullCheck(L_81);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_82;
|
|
L_82 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_81, 0, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_82);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_83 = L_82->___next_6;
|
|
NullCheck(L_83);
|
|
int32_t L_84 = L_83->___index_0;
|
|
NullCheck(L_80);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_80, L_84, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// break;
|
|
goto IL_022b;
|
|
}
|
|
|
|
IL_0177:
|
|
{
|
|
// if (earVertices.Count == 0)
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_85 = V_2;
|
|
NullCheck(L_85);
|
|
int32_t L_86;
|
|
L_86 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_85, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if (L_86)
|
|
{
|
|
goto IL_018e;
|
|
}
|
|
}
|
|
{
|
|
// UnityEngine.Debug.Log("[Triangulation] Some exception happened when triangulating. Are vertices positions set correctly (if all vertices are Z=0 it also can cause this error) and in counter-clockwise order?");
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_Log_m87A9A3C761FF5C43ED8A53B16190A53D08F818BB(_stringLiteral5F046B8B0C72B68DD5C91DD43A5AC7EE66C9BC66, NULL);
|
|
// break; // Exception error
|
|
goto IL_022b;
|
|
}
|
|
|
|
IL_018e:
|
|
{
|
|
// PolyShapeHelpPoint earVertex = earVertices[0];
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_87 = V_2;
|
|
NullCheck(L_87);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_88;
|
|
L_88 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_87, 0, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
V_9 = L_88;
|
|
// PolyShapeHelpPoint earVertexPrev = earVertex.previous;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_89 = V_9;
|
|
NullCheck(L_89);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_90 = L_89->___previous_5;
|
|
V_10 = L_90;
|
|
// PolyShapeHelpPoint earVertexNext = earVertex.next;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_91 = V_9;
|
|
NullCheck(L_91);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_92 = L_91->___next_6;
|
|
V_11 = L_92;
|
|
// triangles.Add(earVertex.index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_93 = V_0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_94 = V_9;
|
|
NullCheck(L_94);
|
|
int32_t L_95 = L_94->___index_0;
|
|
NullCheck(L_93);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_93, L_95, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// triangles.Add(earVertexPrev.index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_96 = V_0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_97 = V_10;
|
|
NullCheck(L_97);
|
|
int32_t L_98 = L_97->___index_0;
|
|
NullCheck(L_96);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_96, L_98, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// triangles.Add(earVertexNext.index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_99 = V_0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_100 = V_11;
|
|
NullCheck(L_100);
|
|
int32_t L_101 = L_100->___index_0;
|
|
NullCheck(L_99);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_99, L_101, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// earVertices.Remove(earVertex);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_102 = V_2;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_103 = V_9;
|
|
NullCheck(L_102);
|
|
bool L_104;
|
|
L_104 = List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6(L_102, L_103, List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6_RuntimeMethod_var);
|
|
// vertices.Remove(earVertex);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_105 = V_1;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_106 = V_9;
|
|
NullCheck(L_105);
|
|
bool L_107;
|
|
L_107 = List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6(L_105, L_106, List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6_RuntimeMethod_var);
|
|
// earVertexPrev.next = earVertexNext;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_108 = V_10;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_109 = V_11;
|
|
NullCheck(L_108);
|
|
L_108->___next_6 = L_109;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_108->___next_6), (void*)L_109);
|
|
// earVertexNext.previous = earVertexPrev;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_110 = V_11;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_111 = V_10;
|
|
NullCheck(L_110);
|
|
L_110->___previous_5 = L_111;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_110->___previous_5), (void*)L_111);
|
|
// earVertexPrev.ValidateReflexOrConvex();
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_112 = V_10;
|
|
NullCheck(L_112);
|
|
PolyShapeHelpPoint_ValidateReflexOrConvex_mD722536DE7554FBB6555729FD420C8074E290972(L_112, NULL);
|
|
// earVertexNext.ValidateReflexOrConvex();
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_113 = V_11;
|
|
NullCheck(L_113);
|
|
PolyShapeHelpPoint_ValidateReflexOrConvex_mD722536DE7554FBB6555729FD420C8074E290972(L_113, NULL);
|
|
// earVertices.Remove(earVertexPrev);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_114 = V_2;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_115 = V_10;
|
|
NullCheck(L_114);
|
|
bool L_116;
|
|
L_116 = List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6(L_114, L_115, List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6_RuntimeMethod_var);
|
|
// earVertices.Remove(earVertexNext);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_117 = V_2;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_118 = V_11;
|
|
NullCheck(L_117);
|
|
bool L_119;
|
|
L_119 = List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6(L_117, L_118, List_1_Remove_m26C3DDC0265A97408CD428CFD569496B4E8B7FE6_RuntimeMethod_var);
|
|
// earVertexPrev.ValidateVertexEar(vertices, earVertices);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_120 = V_10;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_121 = V_1;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_122 = V_2;
|
|
NullCheck(L_120);
|
|
PolyShapeHelpPoint_ValidateVertexEar_m24490DFE399D3BF70E2E997BD21377EF91C3866B(L_120, L_121, L_122, NULL);
|
|
// earVertexNext.ValidateVertexEar(vertices, earVertices);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_123 = V_11;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_124 = V_1;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_125 = V_2;
|
|
NullCheck(L_123);
|
|
PolyShapeHelpPoint_ValidateVertexEar_m24490DFE399D3BF70E2E997BD21377EF91C3866B(L_123, L_124, L_125, NULL);
|
|
// while (true)
|
|
goto IL_0129;
|
|
}
|
|
|
|
IL_022b:
|
|
{
|
|
// return triangles;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_126 = V_0;
|
|
return L_126;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::Weld2(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_Weld2_m8359116D68B96A169B5EE8B5103A43FE76738805 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, float ___1_bucketStep, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_1 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_3 = NULL;
|
|
bool V_4 = false;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* V_7 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* V_12 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_13 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_14 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_15 = NULL;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_16 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_17 = NULL;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_18 = NULL;
|
|
int32_t V_19 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
int32_t V_21 = 0;
|
|
int32_t V_22 = 0;
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
int32_t V_25 = 0;
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
{
|
|
// Vector3[] oldVertices = mesh.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1;
|
|
L_1 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_0, NULL);
|
|
V_0 = L_1;
|
|
// Vector3[] newVertices = new Vector3[oldVertices.Length];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_2 = V_0;
|
|
NullCheck(L_2);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_2)->max_length)));
|
|
V_1 = L_3;
|
|
// Vector3[] newNormals = new Vector3[oldVertices.Length];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_5 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length)));
|
|
V_2 = L_5;
|
|
// Color[] newColors = new Color[oldVertices.Length];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_7 = (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)(ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)SZArrayNew(ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_6)->max_length)));
|
|
V_3 = L_7;
|
|
// bool hasColors = mesh.colors.Length > 0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_8 = ___0_mesh;
|
|
NullCheck(L_8);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_9;
|
|
L_9 = Mesh_get_colors_m3A38944EBA064B0E55A24C95C3706193F45B313D(L_8, NULL);
|
|
NullCheck(L_9);
|
|
V_4 = (bool)((!(((uint32_t)(((RuntimeArray*)L_9)->max_length)) <= ((uint32_t)0)))? 1 : 0);
|
|
// int[] old2new = new int[oldVertices.Length];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = V_0;
|
|
NullCheck(L_10);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_10)->max_length)));
|
|
V_5 = L_11;
|
|
// int newSize = 0;
|
|
V_6 = 0;
|
|
// Dictionary<Vector3, Vector2> uvCollect = new Dictionary<Vector3, Vector2>();
|
|
Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* L_12 = (Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654*)il2cpp_codegen_object_new(Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654_il2cpp_TypeInfo_var);
|
|
NullCheck(L_12);
|
|
Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302(L_12, Dictionary_2__ctor_m41CF77B1991C8CA5B7597319651FB755C3C19302_RuntimeMethod_var);
|
|
V_7 = L_12;
|
|
// for (int v = 0; v < mesh.vertices.Length; v++)
|
|
V_19 = 0;
|
|
goto IL_007d;
|
|
}
|
|
|
|
IL_0047:
|
|
{
|
|
// Vector3 vPos = mesh.vertices[v];
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_13 = ___0_mesh;
|
|
NullCheck(L_13);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_14;
|
|
L_14 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_13, NULL);
|
|
int32_t L_15 = V_19;
|
|
NullCheck(L_14);
|
|
int32_t L_16 = L_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = (L_14)->GetAt(static_cast<il2cpp_array_size_t>(L_16));
|
|
V_20 = L_17;
|
|
// if (uvCollect.ContainsKey(vPos) == false) uvCollect.Add(vPos, mesh.uv[v]);
|
|
Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* L_18 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_20;
|
|
NullCheck(L_18);
|
|
bool L_20;
|
|
L_20 = Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53(L_18, L_19, Dictionary_2_ContainsKey_m35EC1D023A235DCFB8B3E6A55306D0C9DD151B53_RuntimeMethod_var);
|
|
if (L_20)
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
// if (uvCollect.ContainsKey(vPos) == false) uvCollect.Add(vPos, mesh.uv[v]);
|
|
Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* L_21 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_20;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_23 = ___0_mesh;
|
|
NullCheck(L_23);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_24;
|
|
L_24 = Mesh_get_uv_mA47805C48AB3493FF3727922C43E77880E73519F(L_23, NULL);
|
|
int32_t L_25 = V_19;
|
|
NullCheck(L_24);
|
|
int32_t L_26 = L_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_27 = (L_24)->GetAt(static_cast<il2cpp_array_size_t>(L_26));
|
|
NullCheck(L_21);
|
|
Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F(L_21, L_22, L_27, Dictionary_2_Add_mA86AC1F1FC321BB1FB4CB4F57B58B53B6C169F5F_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// for (int v = 0; v < mesh.vertices.Length; v++)
|
|
int32_t L_28 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_28, 1));
|
|
}
|
|
|
|
IL_007d:
|
|
{
|
|
// for (int v = 0; v < mesh.vertices.Length; v++)
|
|
int32_t L_29 = V_19;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_30 = ___0_mesh;
|
|
NullCheck(L_30);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_31;
|
|
L_31 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_30, NULL);
|
|
NullCheck(L_31);
|
|
if ((((int32_t)L_29) < ((int32_t)((int32_t)(((RuntimeArray*)L_31)->max_length)))))
|
|
{
|
|
goto IL_0047;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 min = new Vector3(float.MaxValue, float.MaxValue, float.MaxValue);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_8), ((std::numeric_limits<float>::max)()), ((std::numeric_limits<float>::max)()), ((std::numeric_limits<float>::max)()), NULL);
|
|
// Vector3 max = new Vector3(float.MinValue, float.MinValue, float.MinValue);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_9), (-(std::numeric_limits<float>::max)()), (-(std::numeric_limits<float>::max)()), (-(std::numeric_limits<float>::max)()), NULL);
|
|
// for (int i = 0; i < oldVertices.Length; i++)
|
|
V_21 = 0;
|
|
goto IL_01bf;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// if (oldVertices[i].x < min.x) min.x = oldVertices[i].x;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_32 = V_0;
|
|
int32_t L_33 = V_21;
|
|
NullCheck(L_32);
|
|
float L_34 = ((L_32)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_33)))->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_8;
|
|
float L_36 = L_35.___x_2;
|
|
if ((!(((float)L_34) < ((float)L_36))))
|
|
{
|
|
goto IL_00e7;
|
|
}
|
|
}
|
|
{
|
|
// if (oldVertices[i].x < min.x) min.x = oldVertices[i].x;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_37 = V_0;
|
|
int32_t L_38 = V_21;
|
|
NullCheck(L_37);
|
|
float L_39 = ((L_37)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_38)))->___x_2;
|
|
(&V_8)->___x_2 = L_39;
|
|
}
|
|
|
|
IL_00e7:
|
|
{
|
|
// if (oldVertices[i].y < min.y) min.y = oldVertices[i].y;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_40 = V_0;
|
|
int32_t L_41 = V_21;
|
|
NullCheck(L_40);
|
|
float L_42 = ((L_40)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_41)))->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_8;
|
|
float L_44 = L_43.___y_3;
|
|
if ((!(((float)L_42) < ((float)L_44))))
|
|
{
|
|
goto IL_0111;
|
|
}
|
|
}
|
|
{
|
|
// if (oldVertices[i].y < min.y) min.y = oldVertices[i].y;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_45 = V_0;
|
|
int32_t L_46 = V_21;
|
|
NullCheck(L_45);
|
|
float L_47 = ((L_45)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_46)))->___y_3;
|
|
(&V_8)->___y_3 = L_47;
|
|
}
|
|
|
|
IL_0111:
|
|
{
|
|
// if (oldVertices[i].z < min.z) min.z = oldVertices[i].z;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_48 = V_0;
|
|
int32_t L_49 = V_21;
|
|
NullCheck(L_48);
|
|
float L_50 = ((L_48)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_49)))->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_8;
|
|
float L_52 = L_51.___z_4;
|
|
if ((!(((float)L_50) < ((float)L_52))))
|
|
{
|
|
goto IL_013b;
|
|
}
|
|
}
|
|
{
|
|
// if (oldVertices[i].z < min.z) min.z = oldVertices[i].z;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_53 = V_0;
|
|
int32_t L_54 = V_21;
|
|
NullCheck(L_53);
|
|
float L_55 = ((L_53)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_54)))->___z_4;
|
|
(&V_8)->___z_4 = L_55;
|
|
}
|
|
|
|
IL_013b:
|
|
{
|
|
// if (oldVertices[i].x > max.x) max.x = oldVertices[i].x;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_56 = V_0;
|
|
int32_t L_57 = V_21;
|
|
NullCheck(L_56);
|
|
float L_58 = ((L_56)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_57)))->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = V_9;
|
|
float L_60 = L_59.___x_2;
|
|
if ((!(((float)L_58) > ((float)L_60))))
|
|
{
|
|
goto IL_0165;
|
|
}
|
|
}
|
|
{
|
|
// if (oldVertices[i].x > max.x) max.x = oldVertices[i].x;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_61 = V_0;
|
|
int32_t L_62 = V_21;
|
|
NullCheck(L_61);
|
|
float L_63 = ((L_61)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_62)))->___x_2;
|
|
(&V_9)->___x_2 = L_63;
|
|
}
|
|
|
|
IL_0165:
|
|
{
|
|
// if (oldVertices[i].y > max.y) max.y = oldVertices[i].y;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_64 = V_0;
|
|
int32_t L_65 = V_21;
|
|
NullCheck(L_64);
|
|
float L_66 = ((L_64)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_65)))->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_9;
|
|
float L_68 = L_67.___y_3;
|
|
if ((!(((float)L_66) > ((float)L_68))))
|
|
{
|
|
goto IL_018f;
|
|
}
|
|
}
|
|
{
|
|
// if (oldVertices[i].y > max.y) max.y = oldVertices[i].y;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_69 = V_0;
|
|
int32_t L_70 = V_21;
|
|
NullCheck(L_69);
|
|
float L_71 = ((L_69)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_70)))->___y_3;
|
|
(&V_9)->___y_3 = L_71;
|
|
}
|
|
|
|
IL_018f:
|
|
{
|
|
// if (oldVertices[i].z > max.z) max.z = oldVertices[i].z;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_72 = V_0;
|
|
int32_t L_73 = V_21;
|
|
NullCheck(L_72);
|
|
float L_74 = ((L_72)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_73)))->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = V_9;
|
|
float L_76 = L_75.___z_4;
|
|
if ((!(((float)L_74) > ((float)L_76))))
|
|
{
|
|
goto IL_01b9;
|
|
}
|
|
}
|
|
{
|
|
// if (oldVertices[i].z > max.z) max.z = oldVertices[i].z;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_77 = V_0;
|
|
int32_t L_78 = V_21;
|
|
NullCheck(L_77);
|
|
float L_79 = ((L_77)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_78)))->___z_4;
|
|
(&V_9)->___z_4 = L_79;
|
|
}
|
|
|
|
IL_01b9:
|
|
{
|
|
// for (int i = 0; i < oldVertices.Length; i++)
|
|
int32_t L_80 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_80, 1));
|
|
}
|
|
|
|
IL_01bf:
|
|
{
|
|
// for (int i = 0; i < oldVertices.Length; i++)
|
|
int32_t L_81 = V_21;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_82 = V_0;
|
|
NullCheck(L_82);
|
|
if ((((int32_t)L_81) < ((int32_t)((int32_t)(((RuntimeArray*)L_82)->max_length)))))
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
// min -= Vector3.one * 0.111111f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
|
|
L_84 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_84, (0.111111f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
|
|
L_86 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_83, L_85, NULL);
|
|
V_8 = L_86;
|
|
// max += Vector3.one * 0.899999f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
L_88 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89;
|
|
L_89 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_88, (0.899999022f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
|
|
L_90 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_87, L_89, NULL);
|
|
V_9 = L_90;
|
|
// int bucketSizeX = Mathf.FloorToInt((max.x - min.x) / bucketStep) + 1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = V_9;
|
|
float L_92 = L_91.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = V_8;
|
|
float L_94 = L_93.___x_2;
|
|
float L_95 = ___1_bucketStep;
|
|
int32_t L_96;
|
|
L_96 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_92, L_94))/L_95)), NULL);
|
|
// int bucketSizeY = Mathf.FloorToInt((max.y - min.y) / bucketStep) + 1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97 = V_9;
|
|
float L_98 = L_97.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = V_8;
|
|
float L_100 = L_99.___y_3;
|
|
float L_101 = ___1_bucketStep;
|
|
int32_t L_102;
|
|
L_102 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_98, L_100))/L_101)), NULL);
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_102, 1));
|
|
// int bucketSizeZ = Mathf.FloorToInt((max.z - min.z) / bucketStep) + 1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103 = V_9;
|
|
float L_104 = L_103.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105 = V_8;
|
|
float L_106 = L_105.___z_4;
|
|
float L_107 = ___1_bucketStep;
|
|
int32_t L_108;
|
|
L_108 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_104, L_106))/L_107)), NULL);
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_108, 1));
|
|
// List<int>[,,] buckets = new List<int>[bucketSizeX, bucketSizeY, bucketSizeZ];
|
|
int32_t L_109 = V_10;
|
|
int32_t L_110 = V_11;
|
|
il2cpp_array_size_t L_112[] = { (il2cpp_array_size_t)((int32_t)il2cpp_codegen_add(L_96, 1)), (il2cpp_array_size_t)L_109, (il2cpp_array_size_t)L_110 };
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_111 = (List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA*)GenArrayNew(List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA_il2cpp_TypeInfo_var, L_112);
|
|
V_12 = L_111;
|
|
// for (int i = 0; i < oldVertices.Length; i++)
|
|
V_22 = 0;
|
|
goto IL_03a7;
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// int x = Mathf.FloorToInt((oldVertices[i].x - min.x) / bucketStep);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_113 = V_0;
|
|
int32_t L_114 = V_22;
|
|
NullCheck(L_113);
|
|
float L_115 = ((L_113)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_114)))->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116 = V_8;
|
|
float L_117 = L_116.___x_2;
|
|
float L_118 = ___1_bucketStep;
|
|
int32_t L_119;
|
|
L_119 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_115, L_117))/L_118)), NULL);
|
|
V_23 = L_119;
|
|
// int y = Mathf.FloorToInt((oldVertices[i].y - min.y) / bucketStep);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_120 = V_0;
|
|
int32_t L_121 = V_22;
|
|
NullCheck(L_120);
|
|
float L_122 = ((L_120)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_121)))->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_123 = V_8;
|
|
float L_124 = L_123.___y_3;
|
|
float L_125 = ___1_bucketStep;
|
|
int32_t L_126;
|
|
L_126 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_122, L_124))/L_125)), NULL);
|
|
V_24 = L_126;
|
|
// int z = Mathf.FloorToInt((oldVertices[i].z - min.z) / bucketStep);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_127 = V_0;
|
|
int32_t L_128 = V_22;
|
|
NullCheck(L_127);
|
|
float L_129 = ((L_127)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_128)))->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_130 = V_8;
|
|
float L_131 = L_130.___z_4;
|
|
float L_132 = ___1_bucketStep;
|
|
int32_t L_133;
|
|
L_133 = Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline(((float)(((float)il2cpp_codegen_subtract(L_129, L_131))/L_132)), NULL);
|
|
V_25 = L_133;
|
|
// if (buckets[x, y, z] == null)
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_134 = V_12;
|
|
int32_t L_135 = V_23;
|
|
int32_t L_136 = V_24;
|
|
int32_t L_137 = V_25;
|
|
NullCheck(L_134);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_138;
|
|
L_138 = (L_134)->GetAt(L_135, L_136, L_137);
|
|
if (L_138)
|
|
{
|
|
goto IL_02d3;
|
|
}
|
|
}
|
|
{
|
|
// buckets[x, y, z] = new List<int>(); // Make buckets lazily
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_139 = V_12;
|
|
int32_t L_140 = V_23;
|
|
int32_t L_141 = V_24;
|
|
int32_t L_142 = V_25;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_143 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_143);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_143, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
NullCheck(L_139);
|
|
(L_139)->SetAt(L_140, L_141, L_142, L_143);
|
|
}
|
|
|
|
IL_02d3:
|
|
{
|
|
// for (int j = 0; j < buckets[x, y, z].Count; j++)
|
|
V_26 = 0;
|
|
goto IL_032c;
|
|
}
|
|
|
|
IL_02d8:
|
|
{
|
|
// Vector3 to = newVertices[buckets[x, y, z][j]] - oldVertices[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_144 = V_1;
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_145 = V_12;
|
|
int32_t L_146 = V_23;
|
|
int32_t L_147 = V_24;
|
|
int32_t L_148 = V_25;
|
|
NullCheck(L_145);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_149;
|
|
L_149 = (L_145)->GetAt(L_146, L_147, L_148);
|
|
int32_t L_150 = V_26;
|
|
NullCheck(L_149);
|
|
int32_t L_151;
|
|
L_151 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_149, L_150, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_144);
|
|
int32_t L_152 = L_151;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_153 = (L_144)->GetAt(static_cast<il2cpp_array_size_t>(L_152));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_154 = V_0;
|
|
int32_t L_155 = V_22;
|
|
NullCheck(L_154);
|
|
int32_t L_156 = L_155;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_157 = (L_154)->GetAt(static_cast<il2cpp_array_size_t>(L_156));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158;
|
|
L_158 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_153, L_157, NULL);
|
|
// if (Vector3.SqrMagnitude(to) < 0.001f)
|
|
float L_159;
|
|
L_159 = Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline(L_158, NULL);
|
|
if ((!(((float)L_159) < ((float)(0.00100000005f)))))
|
|
{
|
|
goto IL_0326;
|
|
}
|
|
}
|
|
{
|
|
// old2new[i] = buckets[x, y, z][j];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_160 = V_5;
|
|
int32_t L_161 = V_22;
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_162 = V_12;
|
|
int32_t L_163 = V_23;
|
|
int32_t L_164 = V_24;
|
|
int32_t L_165 = V_25;
|
|
NullCheck(L_162);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_166;
|
|
L_166 = (L_162)->GetAt(L_163, L_164, L_165);
|
|
int32_t L_167 = V_26;
|
|
NullCheck(L_166);
|
|
int32_t L_168;
|
|
L_168 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_166, L_167, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_160);
|
|
(L_160)->SetAt(static_cast<il2cpp_array_size_t>(L_161), (int32_t)L_168);
|
|
// goto skip; // Skip to next old vertex if this one is already there
|
|
goto IL_03a1;
|
|
}
|
|
|
|
IL_0326:
|
|
{
|
|
// for (int j = 0; j < buckets[x, y, z].Count; j++)
|
|
int32_t L_169 = V_26;
|
|
V_26 = ((int32_t)il2cpp_codegen_add(L_169, 1));
|
|
}
|
|
|
|
IL_032c:
|
|
{
|
|
// for (int j = 0; j < buckets[x, y, z].Count; j++)
|
|
int32_t L_170 = V_26;
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_171 = V_12;
|
|
int32_t L_172 = V_23;
|
|
int32_t L_173 = V_24;
|
|
int32_t L_174 = V_25;
|
|
NullCheck(L_171);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_175;
|
|
L_175 = (L_171)->GetAt(L_172, L_173, L_174);
|
|
NullCheck(L_175);
|
|
int32_t L_176;
|
|
L_176 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_175, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_170) < ((int32_t)L_176)))
|
|
{
|
|
goto IL_02d8;
|
|
}
|
|
}
|
|
{
|
|
// newVertices[newSize] = oldVertices[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_177 = V_1;
|
|
int32_t L_178 = V_6;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_179 = V_0;
|
|
int32_t L_180 = V_22;
|
|
NullCheck(L_179);
|
|
int32_t L_181 = L_180;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_182 = (L_179)->GetAt(static_cast<il2cpp_array_size_t>(L_181));
|
|
NullCheck(L_177);
|
|
(L_177)->SetAt(static_cast<il2cpp_array_size_t>(L_178), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_182);
|
|
// if (hasColors) newColors[newSize] = mesh.colors[i];
|
|
bool L_183 = V_4;
|
|
if (!L_183)
|
|
{
|
|
goto IL_036b;
|
|
}
|
|
}
|
|
{
|
|
// if (hasColors) newColors[newSize] = mesh.colors[i];
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_184 = V_3;
|
|
int32_t L_185 = V_6;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_186 = ___0_mesh;
|
|
NullCheck(L_186);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_187;
|
|
L_187 = Mesh_get_colors_m3A38944EBA064B0E55A24C95C3706193F45B313D(L_186, NULL);
|
|
int32_t L_188 = V_22;
|
|
NullCheck(L_187);
|
|
int32_t L_189 = L_188;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_190 = (L_187)->GetAt(static_cast<il2cpp_array_size_t>(L_189));
|
|
NullCheck(L_184);
|
|
(L_184)->SetAt(static_cast<il2cpp_array_size_t>(L_185), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_190);
|
|
}
|
|
|
|
IL_036b:
|
|
{
|
|
// newNormals[newSize] = mesh.normals[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_191 = V_2;
|
|
int32_t L_192 = V_6;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_193 = ___0_mesh;
|
|
NullCheck(L_193);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_194;
|
|
L_194 = Mesh_get_normals_m2B6B159B799E6E235EA651FCAB2E18EE5B18ED62(L_193, NULL);
|
|
int32_t L_195 = V_22;
|
|
NullCheck(L_194);
|
|
int32_t L_196 = L_195;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_197 = (L_194)->GetAt(static_cast<il2cpp_array_size_t>(L_196));
|
|
NullCheck(L_191);
|
|
(L_191)->SetAt(static_cast<il2cpp_array_size_t>(L_192), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_197);
|
|
// buckets[x, y, z].Add(newSize);
|
|
List_1U5BU2CU2CU5D_t91107AE682495B6629034BA7472A09F2363EAEAA* L_198 = V_12;
|
|
int32_t L_199 = V_23;
|
|
int32_t L_200 = V_24;
|
|
int32_t L_201 = V_25;
|
|
NullCheck(L_198);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_202;
|
|
L_202 = (L_198)->GetAt(L_199, L_200, L_201);
|
|
int32_t L_203 = V_6;
|
|
NullCheck(L_202);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_202, L_203, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// old2new[i] = newSize;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_204 = V_5;
|
|
int32_t L_205 = V_22;
|
|
int32_t L_206 = V_6;
|
|
NullCheck(L_204);
|
|
(L_204)->SetAt(static_cast<il2cpp_array_size_t>(L_205), (int32_t)L_206);
|
|
// newSize++;
|
|
int32_t L_207 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_207, 1));
|
|
}
|
|
|
|
IL_03a1:
|
|
{
|
|
// for (int i = 0; i < oldVertices.Length; i++)
|
|
int32_t L_208 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_208, 1));
|
|
}
|
|
|
|
IL_03a7:
|
|
{
|
|
// for (int i = 0; i < oldVertices.Length; i++)
|
|
int32_t L_209 = V_22;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_210 = V_0;
|
|
NullCheck(L_210);
|
|
if ((((int32_t)L_209) < ((int32_t)((int32_t)(((RuntimeArray*)L_210)->max_length)))))
|
|
{
|
|
goto IL_0258;
|
|
}
|
|
}
|
|
{
|
|
// int[] oldTris = mesh.triangles;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_211 = ___0_mesh;
|
|
NullCheck(L_211);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_212;
|
|
L_212 = Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B(L_211, NULL);
|
|
V_13 = L_212;
|
|
// int[] newTris = new int[oldTris.Length];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_213 = V_13;
|
|
NullCheck(L_213);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_214 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)SZArrayNew(Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C_il2cpp_TypeInfo_var, (uint32_t)((int32_t)(((RuntimeArray*)L_213)->max_length)));
|
|
V_14 = L_214;
|
|
// for (int i = 0; i < oldTris.Length; i++)
|
|
V_27 = 0;
|
|
goto IL_03dc;
|
|
}
|
|
|
|
IL_03c9:
|
|
{
|
|
// newTris[i] = old2new[oldTris[i]];
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_215 = V_14;
|
|
int32_t L_216 = V_27;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_217 = V_5;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_218 = V_13;
|
|
int32_t L_219 = V_27;
|
|
NullCheck(L_218);
|
|
int32_t L_220 = L_219;
|
|
int32_t L_221 = (L_218)->GetAt(static_cast<il2cpp_array_size_t>(L_220));
|
|
NullCheck(L_217);
|
|
int32_t L_222 = L_221;
|
|
int32_t L_223 = (L_217)->GetAt(static_cast<il2cpp_array_size_t>(L_222));
|
|
NullCheck(L_215);
|
|
(L_215)->SetAt(static_cast<il2cpp_array_size_t>(L_216), (int32_t)L_223);
|
|
// for (int i = 0; i < oldTris.Length; i++)
|
|
int32_t L_224 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_224, 1));
|
|
}
|
|
|
|
IL_03dc:
|
|
{
|
|
// for (int i = 0; i < oldTris.Length; i++)
|
|
int32_t L_225 = V_27;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_226 = V_13;
|
|
NullCheck(L_226);
|
|
if ((((int32_t)L_225) < ((int32_t)((int32_t)(((RuntimeArray*)L_226)->max_length)))))
|
|
{
|
|
goto IL_03c9;
|
|
}
|
|
}
|
|
{
|
|
// Vector3[] finalVertices = new Vector3[newSize];
|
|
int32_t L_227 = V_6;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_228 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_227);
|
|
V_15 = L_228;
|
|
// Color[] finalCols = new Color[newSize];
|
|
int32_t L_229 = V_6;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_230 = (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)(ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)SZArrayNew(ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389_il2cpp_TypeInfo_var, (uint32_t)L_229);
|
|
V_16 = L_230;
|
|
// Vector3[] finalNorms = new Vector3[newSize];
|
|
int32_t L_231 = V_6;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_232 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_231);
|
|
V_17 = L_232;
|
|
// Vector2[] finalUvs = new Vector2[newSize];
|
|
int32_t L_233 = V_6;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_234 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, (uint32_t)L_233);
|
|
V_18 = L_234;
|
|
// for (int i = 0; i < newSize; i++)
|
|
V_28 = 0;
|
|
goto IL_0446;
|
|
}
|
|
|
|
IL_040d:
|
|
{
|
|
// finalVertices[i] = newVertices[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_235 = V_15;
|
|
int32_t L_236 = V_28;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_237 = V_1;
|
|
int32_t L_238 = V_28;
|
|
NullCheck(L_237);
|
|
int32_t L_239 = L_238;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_240 = (L_237)->GetAt(static_cast<il2cpp_array_size_t>(L_239));
|
|
NullCheck(L_235);
|
|
(L_235)->SetAt(static_cast<il2cpp_array_size_t>(L_236), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_240);
|
|
// finalNorms[i] = newNormals[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_241 = V_17;
|
|
int32_t L_242 = V_28;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_243 = V_2;
|
|
int32_t L_244 = V_28;
|
|
NullCheck(L_243);
|
|
int32_t L_245 = L_244;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_246 = (L_243)->GetAt(static_cast<il2cpp_array_size_t>(L_245));
|
|
NullCheck(L_241);
|
|
(L_241)->SetAt(static_cast<il2cpp_array_size_t>(L_242), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_246);
|
|
// finalCols[i] = newColors[i];
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_247 = V_16;
|
|
int32_t L_248 = V_28;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_249 = V_3;
|
|
int32_t L_250 = V_28;
|
|
NullCheck(L_249);
|
|
int32_t L_251 = L_250;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_252 = (L_249)->GetAt(static_cast<il2cpp_array_size_t>(L_251));
|
|
NullCheck(L_247);
|
|
(L_247)->SetAt(static_cast<il2cpp_array_size_t>(L_248), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_252);
|
|
// for (int i = 0; i < newSize; i++)
|
|
int32_t L_253 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_253, 1));
|
|
}
|
|
|
|
IL_0446:
|
|
{
|
|
// for (int i = 0; i < newSize; i++)
|
|
int32_t L_254 = V_28;
|
|
int32_t L_255 = V_6;
|
|
if ((((int32_t)L_254) < ((int32_t)L_255)))
|
|
{
|
|
goto IL_040d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < newSize; i++)
|
|
V_29 = 0;
|
|
goto IL_0470;
|
|
}
|
|
|
|
IL_0451:
|
|
{
|
|
// finalUvs[i] = uvCollect[finalVertices[i]];
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_256 = V_18;
|
|
int32_t L_257 = V_29;
|
|
Dictionary_2_t8CB6A64A695E508D5F7722A44646BDAE6E01A654* L_258 = V_7;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_259 = V_15;
|
|
int32_t L_260 = V_29;
|
|
NullCheck(L_259);
|
|
int32_t L_261 = L_260;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_262 = (L_259)->GetAt(static_cast<il2cpp_array_size_t>(L_261));
|
|
NullCheck(L_258);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_263;
|
|
L_263 = Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69(L_258, L_262, Dictionary_2_get_Item_m85FE2521E78197E35088DF926EADF582D04F5F69_RuntimeMethod_var);
|
|
NullCheck(L_256);
|
|
(L_256)->SetAt(static_cast<il2cpp_array_size_t>(L_257), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_263);
|
|
// for (int i = 0; i < newSize; i++)
|
|
int32_t L_264 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_264, 1));
|
|
}
|
|
|
|
IL_0470:
|
|
{
|
|
// for (int i = 0; i < newSize; i++)
|
|
int32_t L_265 = V_29;
|
|
int32_t L_266 = V_6;
|
|
if ((((int32_t)L_265) < ((int32_t)L_266)))
|
|
{
|
|
goto IL_0451;
|
|
}
|
|
}
|
|
{
|
|
// mesh.Clear();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_267 = ___0_mesh;
|
|
NullCheck(L_267);
|
|
Mesh_Clear_m0F95397EA143D31AD0B4D332E8C6FA25A7957BC0(L_267, NULL);
|
|
// FMeshUtils.SetVerticesUnity2018(mesh, finalVertices);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_268 = ___0_mesh;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_269 = V_15;
|
|
FMeshUtils_SetVerticesUnity2018_m40EE572CC26351C6D926326288AD46E1A7DDA1E4(L_268, L_269, NULL);
|
|
// FMeshUtils.SetTrianglesUnity2018(mesh, newTris);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_270 = ___0_mesh;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_271 = V_14;
|
|
FMeshUtils_SetTrianglesUnity2018_m773394584E654E79D8163FB96838BCA656F6CF22(L_270, L_271, NULL);
|
|
// FMeshUtils.SetNormalsUnity2018(mesh, finalNorms);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_272 = ___0_mesh;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_273 = V_17;
|
|
FMeshUtils_SetNormalsUnity2018_m62107763D3C83CB6AE59B75C27A2031952C5AE8A(L_272, L_273, NULL);
|
|
// if (hasColors) mesh.SetColorsUnity2018(finalCols.ToList());
|
|
bool L_274 = V_4;
|
|
if (!L_274)
|
|
{
|
|
goto IL_04a5;
|
|
}
|
|
}
|
|
{
|
|
// if (hasColors) mesh.SetColorsUnity2018(finalCols.ToList());
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_275 = ___0_mesh;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_276 = V_16;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_277;
|
|
L_277 = Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219((RuntimeObject*)L_276, Enumerable_ToList_TisColor_tD001788D726C3A7F1379BEED0260B9591F440C1F_m28425D59265083702FA117A53686147CD7ECD219_RuntimeMethod_var);
|
|
FMeshUtils_SetColorsUnity2018_mE2A24C9C2A9A132F63131766D20A3D88304457C6(L_275, L_277, NULL);
|
|
}
|
|
|
|
IL_04a5:
|
|
{
|
|
// mesh.SetUVUnity2018(finalUvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_278 = ___0_mesh;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_279 = V_18;
|
|
FMeshUtils_SetUVUnity2018_m5F257D0FECF58C151C6F792E55500163F64BBEB8(L_278, L_279, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_280 = ___0_mesh;
|
|
NullCheck(L_280);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_280, NULL);
|
|
// return mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_281 = ___0_mesh;
|
|
return L_281;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.FMeshUtils::Weld(UnityEngine.Mesh,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* FMeshUtils_Weld_m6C3656FC51D060D5C80EBB0203BCA7DBF870FD8A (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, float ___1_gap, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_1 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_2 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_3 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_4 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* V_7 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_8 = NULL;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_9 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_10 = NULL;
|
|
Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* V_11 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
int32_t V_18 = 0;
|
|
WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
int32_t V_20 = 0;
|
|
{
|
|
// MeshExtended extended = new MeshExtended();
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_0 = (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3*)il2cpp_codegen_object_new(MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
MeshExtended__ctor_m6625B1B4B40B140E92FA41ED8B35082392F1D66C(L_0, NULL);
|
|
// extended.Prepare(mesh);
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_1 = L_0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = ___0_mesh;
|
|
NullCheck(L_1);
|
|
MeshExtended_Prepare_m9A840DF3CA8FE9AE17EFD2BA8D3F01535B79AAA8(L_1, L_2, NULL);
|
|
// UVPacker.Box boxes = UVPacker.Pack(extended, gap);
|
|
float L_3 = ___1_gap;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_4;
|
|
L_4 = UVPacker_Pack_m18FF7AAE27881CA158553D2CF34693B81DB8E224(L_1, L_3, NULL);
|
|
// Mesh combined = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_5, NULL);
|
|
V_0 = L_5;
|
|
// List<Vector3> combinedVertices = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_6, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_1 = L_6;
|
|
// List<Vector2> combinedUVs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_7 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_7, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_2 = L_7;
|
|
// List<Vector3> combinedNormals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_8 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_8);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_8, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_3 = L_8;
|
|
// List<Color> combinedColors = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_9 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_9, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_4 = L_9;
|
|
// List<int> combinedTris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_10 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_10, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_5 = L_10;
|
|
// int triOffset = 0;
|
|
V_6 = 0;
|
|
// MeshExtended extmesh = boxes.Extended;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_11 = L_4;
|
|
NullCheck(L_11);
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_12 = L_11->___Extended_7;
|
|
V_7 = L_12;
|
|
// Vector3[] vertices = extmesh.Vertices;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_13 = V_7;
|
|
NullCheck(L_13);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_14 = L_13->___Vertices_0;
|
|
V_8 = L_14;
|
|
// Vector2[] uvs = boxes.PackedUVs;
|
|
NullCheck(L_11);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_15 = L_11->___PackedUVs_8;
|
|
V_9 = L_15;
|
|
// Vector3[] normals = extmesh.Normals;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_16 = V_7;
|
|
NullCheck(L_16);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_17 = L_16->___Normals_3;
|
|
V_10 = L_17;
|
|
// Dictionary<Vector3, WeldHelperVert> welds = new Dictionary<Vector3, WeldHelperVert>();
|
|
Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* L_18 = (Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A*)il2cpp_codegen_object_new(Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A_il2cpp_TypeInfo_var);
|
|
NullCheck(L_18);
|
|
Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85(L_18, Dictionary_2__ctor_m917D0933C948115F7FA7BF62DAD52E6FAA713C85_RuntimeMethod_var);
|
|
V_11 = L_18;
|
|
// for (int i = 0; i < extmesh.Vertices.Length; i++)
|
|
V_15 = 0;
|
|
goto IL_00c6;
|
|
}
|
|
|
|
IL_0068:
|
|
{
|
|
// Vector3 vertPos = vertices[i];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_19 = V_8;
|
|
int32_t L_20 = V_15;
|
|
NullCheck(L_19);
|
|
int32_t L_21 = L_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = (L_19)->GetAt(static_cast<il2cpp_array_size_t>(L_21));
|
|
V_16 = L_22;
|
|
// if (!welds.ContainsKey(vertPos))
|
|
Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* L_23 = V_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_16;
|
|
NullCheck(L_23);
|
|
bool L_25;
|
|
L_25 = Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12(L_23, L_24, Dictionary_2_ContainsKey_m99252E92838B877116A7E854DF3787E9521BAF12_RuntimeMethod_var);
|
|
if (L_25)
|
|
{
|
|
goto IL_00c0;
|
|
}
|
|
}
|
|
{
|
|
// Color col = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_26;
|
|
L_26 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
V_17 = L_26;
|
|
// if (i < extmesh.Colors.Length) col = extmesh.Colors[i];
|
|
int32_t L_27 = V_15;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_28 = V_7;
|
|
NullCheck(L_28);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_29 = L_28->___Colors_1;
|
|
NullCheck(L_29);
|
|
if ((((int32_t)L_27) >= ((int32_t)((int32_t)(((RuntimeArray*)L_29)->max_length)))))
|
|
{
|
|
goto IL_00a2;
|
|
}
|
|
}
|
|
{
|
|
// if (i < extmesh.Colors.Length) col = extmesh.Colors[i];
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_30 = V_7;
|
|
NullCheck(L_30);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_31 = L_30->___Colors_1;
|
|
int32_t L_32 = V_15;
|
|
NullCheck(L_31);
|
|
int32_t L_33 = L_32;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_34 = (L_31)->GetAt(static_cast<il2cpp_array_size_t>(L_33));
|
|
V_17 = L_34;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// welds.Add(vertPos, new WeldHelperVert(col, extmesh.UVs[i]));
|
|
Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* L_35 = V_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_16;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_37 = V_17;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_38 = V_7;
|
|
NullCheck(L_38);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_39 = L_38->___UVs_2;
|
|
int32_t L_40 = V_15;
|
|
NullCheck(L_39);
|
|
int32_t L_41 = L_40;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_42 = (L_39)->GetAt(static_cast<il2cpp_array_size_t>(L_41));
|
|
WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D L_43;
|
|
memset((&L_43), 0, sizeof(L_43));
|
|
WeldHelperVert__ctor_m28E1DF987C7AAA1F0D202B404EFACDC7EB9B7162((&L_43), L_37, L_42, /*hidden argument*/NULL);
|
|
NullCheck(L_35);
|
|
Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6(L_35, L_36, L_43, Dictionary_2_Add_m5AF4BD76A02D6F3CBF41DA10681BBBDD4373DCC6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00c0:
|
|
{
|
|
// for (int i = 0; i < extmesh.Vertices.Length; i++)
|
|
int32_t L_44 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_44, 1));
|
|
}
|
|
|
|
IL_00c6:
|
|
{
|
|
// for (int i = 0; i < extmesh.Vertices.Length; i++)
|
|
int32_t L_45 = V_15;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_46 = V_7;
|
|
NullCheck(L_46);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_47 = L_46->___Vertices_0;
|
|
NullCheck(L_47);
|
|
if ((((int32_t)L_45) < ((int32_t)((int32_t)(((RuntimeArray*)L_47)->max_length)))))
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
// int[] triangles = extmesh.Triangles;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_48 = V_7;
|
|
NullCheck(L_48);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_49 = L_48->___Triangles_4;
|
|
V_12 = L_49;
|
|
// int vertexCount = vertices.Length;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_50 = V_8;
|
|
NullCheck(L_50);
|
|
V_13 = ((int32_t)(((RuntimeArray*)L_50)->max_length));
|
|
// int triCount = triangles.Length;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_51 = V_12;
|
|
NullCheck(L_51);
|
|
V_14 = ((int32_t)(((RuntimeArray*)L_51)->max_length));
|
|
// for (int v = 0; v < vertexCount; v++)
|
|
V_18 = 0;
|
|
goto IL_0140;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// combinedVertices.Add(vertices[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_52 = V_1;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_53 = V_8;
|
|
int32_t L_54 = V_18;
|
|
NullCheck(L_53);
|
|
int32_t L_55 = L_54;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = (L_53)->GetAt(static_cast<il2cpp_array_size_t>(L_55));
|
|
NullCheck(L_52);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_52, L_56, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// combinedUVs.Add(uvs[v]);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_57 = V_2;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_58 = V_9;
|
|
int32_t L_59 = V_18;
|
|
NullCheck(L_58);
|
|
int32_t L_60 = L_59;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_61 = (L_58)->GetAt(static_cast<il2cpp_array_size_t>(L_60));
|
|
NullCheck(L_57);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_57, L_61, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// combinedNormals.Add(normals[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_62 = V_3;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_63 = V_10;
|
|
int32_t L_64 = V_18;
|
|
NullCheck(L_63);
|
|
int32_t L_65 = L_64;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = (L_63)->GetAt(static_cast<il2cpp_array_size_t>(L_65));
|
|
NullCheck(L_62);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_62, L_66, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// var weldHelp = welds[vertices[v]];
|
|
Dictionary_2_tE777554A313BBAC09A0231F11047755C0A4E467A* L_67 = V_11;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_68 = V_8;
|
|
int32_t L_69 = V_18;
|
|
NullCheck(L_68);
|
|
int32_t L_70 = L_69;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = (L_68)->GetAt(static_cast<il2cpp_array_size_t>(L_70));
|
|
NullCheck(L_67);
|
|
WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D L_72;
|
|
L_72 = Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0(L_67, L_71, Dictionary_2_get_Item_mA380E22C84D7F5D5D957073AEAFB58F4D1B24DE0_RuntimeMethod_var);
|
|
V_19 = L_72;
|
|
// combinedColors.Add(weldHelp.c);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_73 = V_4;
|
|
WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D L_74 = V_19;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_75 = L_74.___c_0;
|
|
NullCheck(L_73);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_73, L_75, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// for (int v = 0; v < vertexCount; v++)
|
|
int32_t L_76 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_76, 1));
|
|
}
|
|
|
|
IL_0140:
|
|
{
|
|
// for (int v = 0; v < vertexCount; v++)
|
|
int32_t L_77 = V_18;
|
|
int32_t L_78 = V_13;
|
|
if ((((int32_t)L_77) < ((int32_t)L_78)))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < triCount; t++) combinedTris.Add(triangles[t] + triOffset);
|
|
V_20 = 0;
|
|
goto IL_0160;
|
|
}
|
|
|
|
IL_014b:
|
|
{
|
|
// for (int t = 0; t < triCount; t++) combinedTris.Add(triangles[t] + triOffset);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_79 = V_5;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_80 = V_12;
|
|
int32_t L_81 = V_20;
|
|
NullCheck(L_80);
|
|
int32_t L_82 = L_81;
|
|
int32_t L_83 = (L_80)->GetAt(static_cast<il2cpp_array_size_t>(L_82));
|
|
int32_t L_84 = V_6;
|
|
NullCheck(L_79);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_79, ((int32_t)il2cpp_codegen_add(L_83, L_84)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < triCount; t++) combinedTris.Add(triangles[t] + triOffset);
|
|
int32_t L_85 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_85, 1));
|
|
}
|
|
|
|
IL_0160:
|
|
{
|
|
// for (int t = 0; t < triCount; t++) combinedTris.Add(triangles[t] + triOffset);
|
|
int32_t L_86 = V_20;
|
|
int32_t L_87 = V_14;
|
|
if ((((int32_t)L_86) < ((int32_t)L_87)))
|
|
{
|
|
goto IL_014b;
|
|
}
|
|
}
|
|
{
|
|
// combined.SetVertices(combinedVertices);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_88 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_89 = V_1;
|
|
NullCheck(L_88);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_88, L_89, NULL);
|
|
// combined.SetUVs(0, combinedUVs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_90 = V_0;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_91 = V_2;
|
|
NullCheck(L_90);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_90, 0, L_91, NULL);
|
|
// combined.SetNormals(combinedNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_92 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_93 = V_3;
|
|
NullCheck(L_92);
|
|
Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365(L_92, L_93, NULL);
|
|
// combined.SetColors(combinedColors);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_94 = V_0;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_95 = V_4;
|
|
NullCheck(L_94);
|
|
Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9(L_94, L_95, NULL);
|
|
// combined.SetTriangles(combinedTris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_96 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_97 = V_5;
|
|
NullCheck(L_96);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_96, L_97, 0, NULL);
|
|
// combined.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_98 = V_0;
|
|
NullCheck(L_98);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_98, NULL);
|
|
// return combined;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_99 = V_0;
|
|
return L_99;
|
|
}
|
|
}
|
|
#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.Void FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::.ctor(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyShapeHelpPoint__ctor_mC49C1CADBE861F3CCDBA0569DA8CD24F0B15F147 (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public PolyShapeHelpPoint(Vector3 pos)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// vxPos = pos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_pos;
|
|
__this->___vxPos_2 = L_0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::XZ()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector2(vxPos.x, vxPos.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_0 = (&__this->___vxPos_2);
|
|
float L_1 = L_0->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_2 = (&__this->___vxPos_2);
|
|
float L_3 = L_2->___z_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_1, L_3, /*hidden argument*/NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::ValidateReflexOrConvex()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyShapeHelpPoint_ValidateReflexOrConvex_mD722536DE7554FBB6555729FD420C8074E290972 (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// isReflex = false;
|
|
__this->___isReflex_7 = (bool)0;
|
|
// isConvex = false;
|
|
__this->___isConvex_8 = (bool)0;
|
|
// Vector2 a = previous.XZ();
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_0 = __this->___previous_5;
|
|
NullCheck(L_0);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(L_0, NULL);
|
|
// Vector2 b = XZ();
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(__this, NULL);
|
|
V_0 = L_2;
|
|
// Vector2 c = next.XZ();
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_3 = __this->___next_6;
|
|
NullCheck(L_3);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(L_3, NULL);
|
|
V_1 = L_4;
|
|
// if (IsTriangleOrientedClockwise(a, b, c)) isReflex = true; else isConvex = true;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = V_1;
|
|
bool L_7;
|
|
L_7 = PolyShapeHelpPoint_IsTriangleOrientedClockwise_mD8403DDC3B5AA2974480ADB98F17154F598BB63B(L_1, L_5, L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
// if (IsTriangleOrientedClockwise(a, b, c)) isReflex = true; else isConvex = true;
|
|
__this->___isReflex_7 = (bool)1;
|
|
return;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// if (IsTriangleOrientedClockwise(a, b, c)) isReflex = true; else isConvex = true;
|
|
__this->___isConvex_8 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::ValidateVertexEar(System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>,System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void PolyShapeHelpPoint_ValidateVertexEar_m24490DFE399D3BF70E2E997BD21377EF91C3866B (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* __this, List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* ___0_vertices, List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* ___1_earVertices, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
bool V_3 = false;
|
|
int32_t V_4 = 0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// if (isReflex) { return; }
|
|
bool L_0 = __this->___isReflex_7;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (isReflex) { return; }
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// Vector2 a = previous.XZ();
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_1 = __this->___previous_5;
|
|
NullCheck(L_1);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(L_1, NULL);
|
|
V_0 = L_2;
|
|
// Vector2 b = XZ();
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(__this, NULL);
|
|
V_1 = L_3;
|
|
// Vector2 c = next.XZ();
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_4 = __this->___next_6;
|
|
NullCheck(L_4);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
|
|
L_5 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(L_4, NULL);
|
|
V_2 = L_5;
|
|
// bool hasPointInside = false;
|
|
V_3 = (bool)0;
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_0063;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// if (vertices[i].isReflex)
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_6 = ___0_vertices;
|
|
int32_t L_7 = V_4;
|
|
NullCheck(L_6);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_8;
|
|
L_8 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_6, L_7, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
bool L_9 = L_8->___isReflex_7;
|
|
if (!L_9)
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 p = vertices[i].XZ();
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_10 = ___0_vertices;
|
|
int32_t L_11 = V_4;
|
|
NullCheck(L_10);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_12;
|
|
L_12 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_10, L_11, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_12);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
|
|
L_13 = PolyShapeHelpPoint_XZ_m089E18ECACC6DDAA6EE07498F608E19B74A86AEC(L_12, NULL);
|
|
V_5 = L_13;
|
|
// if (IsPointInTriangle(a, b, c, p))
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = V_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_17 = V_5;
|
|
bool L_18;
|
|
L_18 = PolyShapeHelpPoint_IsPointInTriangle_mF98AEBD64C69EEB2C908EA9914154504AF5206AD(L_14, L_15, L_16, L_17, NULL);
|
|
if (!L_18)
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// hasPointInside = true;
|
|
V_3 = (bool)1;
|
|
// break;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
int32_t L_19 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_19, 1));
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
// for (int i = 0; i < vertices.Count; i++)
|
|
int32_t L_20 = V_4;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_21 = ___0_vertices;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_21, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_20) < ((int32_t)L_22)))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// if (!hasPointInside) earVertices.Add(this);
|
|
bool L_23 = V_3;
|
|
if (L_23)
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
// if (!hasPointInside) earVertices.Add(this);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_24 = ___1_earVertices;
|
|
NullCheck(L_24);
|
|
List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_inline(L_24, __this, List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::IsPointInTriangle(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyShapeHelpPoint_IsPointInTriangle_mF98AEBD64C69EEB2C908EA9914154504AF5206AD (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_p1, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_p2, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_p3, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___3_p, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
{
|
|
// bool isWithinTriangle = false;
|
|
V_0 = (bool)0;
|
|
// float denominator = ((p2.y - p3.y) * (p1.x - p3.x) + (p3.x - p2.x) * (p1.y - p3.y));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___1_p2;
|
|
float L_1 = L_0.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___2_p3;
|
|
float L_3 = L_2.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_p1;
|
|
float L_5 = L_4.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___2_p3;
|
|
float L_7 = L_6.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = ___2_p3;
|
|
float L_9 = L_8.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10 = ___1_p2;
|
|
float L_11 = L_10.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = ___0_p1;
|
|
float L_13 = L_12.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14 = ___2_p3;
|
|
float L_15 = L_14.___y_1;
|
|
V_1 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_9, L_11)), ((float)il2cpp_codegen_subtract(L_13, L_15))))));
|
|
// float a = ((p2.y - p3.y) * (p.x - p3.x) + (p3.x - p2.x) * (p.y - p3.y)) / denominator;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = ___1_p2;
|
|
float L_17 = L_16.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18 = ___2_p3;
|
|
float L_19 = L_18.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = ___3_p;
|
|
float L_21 = L_20.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22 = ___2_p3;
|
|
float L_23 = L_22.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_24 = ___2_p3;
|
|
float L_25 = L_24.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_26 = ___1_p2;
|
|
float L_27 = L_26.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28 = ___3_p;
|
|
float L_29 = L_28.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_30 = ___2_p3;
|
|
float L_31 = L_30.___y_1;
|
|
float L_32 = V_1;
|
|
V_2 = ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_17, L_19)), ((float)il2cpp_codegen_subtract(L_21, L_23)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_25, L_27)), ((float)il2cpp_codegen_subtract(L_29, L_31))))))/L_32));
|
|
// float b = ((p3.y - p1.y) * (p.x - p3.x) + (p1.x - p3.x) * (p.y - p3.y)) / denominator;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_33 = ___2_p3;
|
|
float L_34 = L_33.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_35 = ___0_p1;
|
|
float L_36 = L_35.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_37 = ___3_p;
|
|
float L_38 = L_37.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_39 = ___2_p3;
|
|
float L_40 = L_39.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_41 = ___0_p1;
|
|
float L_42 = L_41.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_43 = ___2_p3;
|
|
float L_44 = L_43.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_45 = ___3_p;
|
|
float L_46 = L_45.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_47 = ___2_p3;
|
|
float L_48 = L_47.___y_1;
|
|
float L_49 = V_1;
|
|
V_3 = ((float)(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_34, L_36)), ((float)il2cpp_codegen_subtract(L_38, L_40)))), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_42, L_44)), ((float)il2cpp_codegen_subtract(L_46, L_48))))))/L_49));
|
|
// float c = 1 - a - b;
|
|
float L_50 = V_2;
|
|
float L_51 = V_3;
|
|
V_4 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract((1.0f), L_50)), L_51));
|
|
// if (a > 0f && a < 1f && b > 0f && b < 1f && c > 0f && c < 1f) isWithinTriangle = true;
|
|
float L_52 = V_2;
|
|
if ((!(((float)L_52) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
float L_53 = V_2;
|
|
if ((!(((float)L_53) < ((float)(1.0f)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
float L_54 = V_3;
|
|
if ((!(((float)L_54) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
float L_55 = V_3;
|
|
if ((!(((float)L_55) < ((float)(1.0f)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
float L_56 = V_4;
|
|
if ((!(((float)L_56) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
float L_57 = V_4;
|
|
if ((!(((float)L_57) < ((float)(1.0f)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// if (a > 0f && a < 1f && b > 0f && b < 1f && c > 0f && c < 1f) isWithinTriangle = true;
|
|
V_0 = (bool)1;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// return isWithinTriangle;
|
|
bool L_58 = V_0;
|
|
return L_58;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/PolyShapeHelpPoint::IsTriangleOrientedClockwise(UnityEngine.Vector2,UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool PolyShapeHelpPoint_IsTriangleOrientedClockwise_mD8403DDC3B5AA2974480ADB98F17154F598BB63B (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_p1, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_p2, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_p3, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
// bool isClockWise = true;
|
|
V_0 = (bool)1;
|
|
// float determinant = p1.x * p2.y + p3.x * p1.y + p2.x * p3.y - p1.x * p3.y - p3.x * p2.y - p2.x * p1.y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_p1;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_p2;
|
|
float L_3 = L_2.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___2_p3;
|
|
float L_5 = L_4.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___0_p1;
|
|
float L_7 = L_6.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = ___1_p2;
|
|
float L_9 = L_8.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10 = ___2_p3;
|
|
float L_11 = L_10.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = ___0_p1;
|
|
float L_13 = L_12.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14 = ___2_p3;
|
|
float L_15 = L_14.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = ___2_p3;
|
|
float L_17 = L_16.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18 = ___1_p2;
|
|
float L_19 = L_18.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = ___1_p2;
|
|
float L_21 = L_20.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22 = ___0_p1;
|
|
float L_23 = L_22.___y_1;
|
|
// if (determinant > 0f) isClockWise = false;
|
|
if ((!(((float)((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11)))), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_multiply(L_17, L_19)))), ((float)il2cpp_codegen_multiply(L_21, L_23))))) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// if (determinant > 0f) isClockWise = false;
|
|
V_0 = (bool)0;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// return isClockWise;
|
|
bool L_24 = V_0;
|
|
return L_24;
|
|
}
|
|
}
|
|
#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
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box FIMSpace.Generating.FMeshUtils/UVPacker::UVBox(FIMSpace.Generating.FMeshUtils/MeshExtended,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* UVPacker_UVBox_m3DC9283D5EAACA31589C11CDDE5226E245BFFBB0 (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* ___0_extended, float ___1_gap, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
float V_7 = 0.0f;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_8 = NULL;
|
|
int32_t V_9 = 0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
{
|
|
// Vector2[] uvs = extended.UVs;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_0 = ___0_extended;
|
|
NullCheck(L_0);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_1 = L_0->___UVs_2;
|
|
// float xMin = Mathf.Infinity;
|
|
V_0 = (std::numeric_limits<float>::infinity());
|
|
// float xMax = -Mathf.Infinity;
|
|
V_1 = (-std::numeric_limits<float>::infinity());
|
|
// float yMin = Mathf.Infinity;
|
|
V_2 = (std::numeric_limits<float>::infinity());
|
|
// float yMax = -Mathf.Infinity;
|
|
V_3 = (-std::numeric_limits<float>::infinity());
|
|
// foreach (Vector2 v2 in uvs)
|
|
V_8 = L_1;
|
|
V_9 = 0;
|
|
goto IL_007e;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// foreach (Vector2 v2 in uvs)
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_2 = V_8;
|
|
int32_t L_3 = V_9;
|
|
NullCheck(L_2);
|
|
int32_t L_4 = L_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = (L_2)->GetAt(static_cast<il2cpp_array_size_t>(L_4));
|
|
V_10 = L_5;
|
|
// if (v2.x < xMin)
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = V_10;
|
|
float L_7 = L_6.___x_0;
|
|
float L_8 = V_0;
|
|
if ((!(((float)L_7) < ((float)L_8))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// xMin = v2.x;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_10;
|
|
float L_10 = L_9.___x_0;
|
|
V_0 = L_10;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// if (v2.x > xMax)
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11 = V_10;
|
|
float L_12 = L_11.___x_0;
|
|
float L_13 = V_1;
|
|
if ((!(((float)L_12) > ((float)L_13))))
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// xMax = v2.x;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14 = V_10;
|
|
float L_15 = L_14.___x_0;
|
|
V_1 = L_15;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// if (v2.y < yMin)
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = V_10;
|
|
float L_17 = L_16.___y_1;
|
|
float L_18 = V_2;
|
|
if ((!(((float)L_17) < ((float)L_18))))
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// yMin = v2.y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_19 = V_10;
|
|
float L_20 = L_19.___y_1;
|
|
V_2 = L_20;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// if (v2.y > yMax)
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21 = V_10;
|
|
float L_22 = L_21.___y_1;
|
|
float L_23 = V_3;
|
|
if ((!(((float)L_22) > ((float)L_23))))
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
{
|
|
// yMax = v2.y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_24 = V_10;
|
|
float L_25 = L_24.___y_1;
|
|
V_3 = L_25;
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
int32_t L_26 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_26, 1));
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// foreach (Vector2 v2 in uvs)
|
|
int32_t L_27 = V_9;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_28 = V_8;
|
|
NullCheck(L_28);
|
|
if ((((int32_t)L_27) < ((int32_t)((int32_t)(((RuntimeArray*)L_28)->max_length)))))
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// float wid = xMax - xMin + gap;
|
|
float L_29 = V_1;
|
|
float L_30 = V_0;
|
|
float L_31 = ___1_gap;
|
|
V_4 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(L_29, L_30)), L_31));
|
|
// float hgt = yMax - yMin + gap;
|
|
float L_32 = V_3;
|
|
float L_33 = V_2;
|
|
float L_34 = ___1_gap;
|
|
V_5 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_subtract(L_32, L_33)), L_34));
|
|
// Vector3 size = extended.Size;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_35 = ___0_extended;
|
|
NullCheck(L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___Size_5;
|
|
V_6 = L_36;
|
|
// float sid = size.x * size.y * size.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_6;
|
|
float L_38 = L_37.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_6;
|
|
float L_40 = L_39.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = V_6;
|
|
float L_42 = L_41.___z_4;
|
|
V_7 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_38, L_40)), L_42));
|
|
// return new Box { Height = hgt, Width = wid, Side = sid, Extended = extended, ShiftX = xMin, ShiftY = yMin };
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_43 = (Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51*)il2cpp_codegen_object_new(Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51_il2cpp_TypeInfo_var);
|
|
NullCheck(L_43);
|
|
Box__ctor_m85935D874E4EB967697502ABC43ABEF19165F0BB(L_43, NULL);
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_44 = L_43;
|
|
float L_45 = V_5;
|
|
NullCheck(L_44);
|
|
L_44->___Height_3 = L_45;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_46 = L_44;
|
|
float L_47 = V_4;
|
|
NullCheck(L_46);
|
|
L_46->___Width_2 = L_47;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_48 = L_46;
|
|
float L_49 = V_7;
|
|
NullCheck(L_48);
|
|
L_48->___Side_6 = L_49;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_50 = L_48;
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_51 = ___0_extended;
|
|
NullCheck(L_50);
|
|
L_50->___Extended_7 = L_51;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_50->___Extended_7), (void*)L_51);
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_52 = L_50;
|
|
float L_53 = V_0;
|
|
NullCheck(L_52);
|
|
L_52->___ShiftX_4 = L_53;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_54 = L_52;
|
|
float L_55 = V_2;
|
|
NullCheck(L_54);
|
|
L_54->___ShiftY_5 = L_55;
|
|
return L_54;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker::FindNode(FIMSpace.Generating.FMeshUtils/UVPacker/Node,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t060F31555626C8316D8637C345234E42B5020B5E* UVPacker_FindNode_mB586500CDF1551E334B41B006BBB57F19E900B7A (Node_t060F31555626C8316D8637C345234E42B5020B5E* ___0_node, float ___1_width, float ___2_height, const RuntimeMethod* method)
|
|
{
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* V_0 = NULL;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* G_B4_0 = NULL;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* G_B9_0 = NULL;
|
|
{
|
|
// if (node.Used)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
bool L_1 = L_0->___Used_7;
|
|
if (!L_1)
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// Node next = node.Child1 == null ? null : FindNode(node.Child1, width, height);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_2 = ___0_node;
|
|
NullCheck(L_2);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_3 = L_2->___Child1_0;
|
|
if (!L_3)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_4 = ___0_node;
|
|
NullCheck(L_4);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_5 = L_4->___Child1_0;
|
|
float L_6 = ___1_width;
|
|
float L_7 = ___2_height;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_8;
|
|
L_8 = UVPacker_FindNode_mB586500CDF1551E334B41B006BBB57F19E900B7A(L_5, L_6, L_7, NULL);
|
|
G_B4_0 = L_8;
|
|
goto IL_0020;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
G_B4_0 = ((Node_t060F31555626C8316D8637C345234E42B5020B5E*)(NULL));
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
V_0 = G_B4_0;
|
|
// if (next != null)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_9 = V_0;
|
|
if (!L_9)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// return next;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// next = node.Child2 == null ? null : FindNode(node.Child2, width, height);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_11 = ___0_node;
|
|
NullCheck(L_11);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_12 = L_11->___Child2_1;
|
|
if (!L_12)
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
{
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_13 = ___0_node;
|
|
NullCheck(L_13);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_14 = L_13->___Child2_1;
|
|
float L_15 = ___1_width;
|
|
float L_16 = ___2_height;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_17;
|
|
L_17 = UVPacker_FindNode_mB586500CDF1551E334B41B006BBB57F19E900B7A(L_14, L_15, L_16, NULL);
|
|
G_B9_0 = L_17;
|
|
goto IL_003e;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
G_B9_0 = ((Node_t060F31555626C8316D8637C345234E42B5020B5E*)(NULL));
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
V_0 = G_B9_0;
|
|
// if (next != null)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_18 = V_0;
|
|
if (!L_18)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// return next;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_19 = V_0;
|
|
return L_19;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// return node.Child3 == null ? null : FindNode(node.Child3, width, height);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_20 = ___0_node;
|
|
NullCheck(L_20);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_21 = L_20->___Child3_2;
|
|
if (!L_21)
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_22 = ___0_node;
|
|
NullCheck(L_22);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_23 = L_22->___Child3_2;
|
|
float L_24 = ___1_width;
|
|
float L_25 = ___2_height;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_26;
|
|
L_26 = UVPacker_FindNode_mB586500CDF1551E334B41B006BBB57F19E900B7A(L_23, L_24, L_25, NULL);
|
|
return L_26;
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
return (Node_t060F31555626C8316D8637C345234E42B5020B5E*)NULL;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// if (width <= node.Width && height <= node.Height)
|
|
float L_27 = ___1_width;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_28 = ___0_node;
|
|
NullCheck(L_28);
|
|
float L_29 = L_28->___Width_5;
|
|
if ((!(((float)L_27) <= ((float)L_29))))
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
float L_30 = ___2_height;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_31 = ___0_node;
|
|
NullCheck(L_31);
|
|
float L_32 = L_31->___Height_6;
|
|
if ((!(((float)L_30) <= ((float)L_32))))
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
// return node;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_33 = ___0_node;
|
|
return L_33;
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// return null;
|
|
return (Node_t060F31555626C8316D8637C345234E42B5020B5E*)NULL;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker::SplitNode(FIMSpace.Generating.FMeshUtils/UVPacker/Node,FIMSpace.Generating.FMeshUtils/UVPacker/Box)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UVPacker_SplitNode_mBA1EF80C6D5694074C095771599E4AFEF51AE8F7 (Node_t060F31555626C8316D8637C345234E42B5020B5E* ___0_node, Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* ___1_box, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
{
|
|
// float x = node.X;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_0 = ___0_node;
|
|
NullCheck(L_0);
|
|
float L_1 = L_0->___X_3;
|
|
V_0 = L_1;
|
|
// float y = node.Y;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_2 = ___0_node;
|
|
NullCheck(L_2);
|
|
float L_3 = L_2->___Y_4;
|
|
V_1 = L_3;
|
|
// box.X = x;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_4 = ___1_box;
|
|
float L_5 = V_0;
|
|
NullCheck(L_4);
|
|
L_4->___X_0 = L_5;
|
|
// box.Y = y;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_6 = ___1_box;
|
|
float L_7 = V_1;
|
|
NullCheck(L_6);
|
|
L_6->___Y_1 = L_7;
|
|
// float dw = node.Width - box.Side;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_8 = ___0_node;
|
|
NullCheck(L_8);
|
|
float L_9 = L_8->___Width_5;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_10 = ___1_box;
|
|
NullCheck(L_10);
|
|
float L_11 = L_10->___Side_6;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
// float dl = node.Height - box.Side;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_12 = ___0_node;
|
|
NullCheck(L_12);
|
|
float L_13 = L_12->___Height_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_14 = ___1_box;
|
|
NullCheck(L_14);
|
|
float L_15 = L_14->___Side_6;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_13, L_15));
|
|
// node.Used = true;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_16 = ___0_node;
|
|
NullCheck(L_16);
|
|
L_16->___Used_7 = (bool)1;
|
|
// node.Width = box.Side;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_17 = ___0_node;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_18 = ___1_box;
|
|
NullCheck(L_18);
|
|
float L_19 = L_18->___Side_6;
|
|
NullCheck(L_17);
|
|
L_17->___Width_5 = L_19;
|
|
// node.Height = box.Side;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_20 = ___0_node;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_21 = ___1_box;
|
|
NullCheck(L_21);
|
|
float L_22 = L_21->___Side_6;
|
|
NullCheck(L_20);
|
|
L_20->___Height_6 = L_22;
|
|
// if (dw > 0)
|
|
float L_23 = V_2;
|
|
if ((!(((float)L_23) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// node.Child1 = new Node { X = x + node.Width, Y = y, Width = dw, Height = node.Height };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_24 = ___0_node;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_25 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_25);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_25, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_26 = L_25;
|
|
float L_27 = V_0;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_28 = ___0_node;
|
|
NullCheck(L_28);
|
|
float L_29 = L_28->___Width_5;
|
|
NullCheck(L_26);
|
|
L_26->___X_3 = ((float)il2cpp_codegen_add(L_27, L_29));
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_30 = L_26;
|
|
float L_31 = V_1;
|
|
NullCheck(L_30);
|
|
L_30->___Y_4 = L_31;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_32 = L_30;
|
|
float L_33 = V_2;
|
|
NullCheck(L_32);
|
|
L_32->___Width_5 = L_33;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_34 = L_32;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_35 = ___0_node;
|
|
NullCheck(L_35);
|
|
float L_36 = L_35->___Height_6;
|
|
NullCheck(L_34);
|
|
L_34->___Height_6 = L_36;
|
|
NullCheck(L_24);
|
|
L_24->___Child1_0 = L_34;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_24->___Child1_0), (void*)L_34);
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// if (dl > 0)
|
|
float L_37 = V_3;
|
|
if ((!(((float)L_37) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_00cf;
|
|
}
|
|
}
|
|
{
|
|
// node.Child2 = new Node { X = x, Y = y + node.Height, Width = node.Width + dw, Height = dl };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_38 = ___0_node;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_39 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_39);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_39, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_40 = L_39;
|
|
float L_41 = V_0;
|
|
NullCheck(L_40);
|
|
L_40->___X_3 = L_41;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_42 = L_40;
|
|
float L_43 = V_1;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_44 = ___0_node;
|
|
NullCheck(L_44);
|
|
float L_45 = L_44->___Height_6;
|
|
NullCheck(L_42);
|
|
L_42->___Y_4 = ((float)il2cpp_codegen_add(L_43, L_45));
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_46 = L_42;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_47 = ___0_node;
|
|
NullCheck(L_47);
|
|
float L_48 = L_47->___Width_5;
|
|
float L_49 = V_2;
|
|
NullCheck(L_46);
|
|
L_46->___Width_5 = ((float)il2cpp_codegen_add(L_48, L_49));
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_50 = L_46;
|
|
float L_51 = V_3;
|
|
NullCheck(L_50);
|
|
L_50->___Height_6 = L_51;
|
|
NullCheck(L_38);
|
|
L_38->___Child2_1 = L_50;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_38->___Child2_1), (void*)L_50);
|
|
}
|
|
|
|
IL_00cf:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Node FIMSpace.Generating.FMeshUtils/UVPacker::AttachNode(FIMSpace.Generating.FMeshUtils/UVPacker/Node,FIMSpace.Generating.FMeshUtils/UVPacker/Box)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Node_t060F31555626C8316D8637C345234E42B5020B5E* UVPacker_AttachNode_m6DEB6F23D7EB8A4C01C3B481E028A713572EC2A8 (Node_t060F31555626C8316D8637C345234E42B5020B5E* ___0_root, Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* ___1_box, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* V_0 = NULL;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* V_1 = NULL;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* V_2 = NULL;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
{
|
|
// if (root.Width > root.Height)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_0 = ___0_root;
|
|
NullCheck(L_0);
|
|
float L_1 = L_0->___Width_5;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_2 = ___0_root;
|
|
NullCheck(L_2);
|
|
float L_3 = L_2->___Height_6;
|
|
if ((!(((float)L_1) > ((float)L_3))))
|
|
{
|
|
goto IL_0136;
|
|
}
|
|
}
|
|
{
|
|
// float dw = Mathf.Abs(root.Width - box.Side);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_4 = ___0_root;
|
|
NullCheck(L_4);
|
|
float L_5 = L_4->___Width_5;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_6 = ___1_box;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___Side_6;
|
|
float L_8;
|
|
L_8 = fabsf(((float)il2cpp_codegen_subtract(L_5, L_7)));
|
|
V_5 = L_8;
|
|
// x = 0;
|
|
V_3 = (0.0f);
|
|
// y = root.Height;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_9 = ___0_root;
|
|
NullCheck(L_9);
|
|
float L_10 = L_9->___Height_6;
|
|
V_4 = L_10;
|
|
// if (root.Width < box.Side)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_11 = ___0_root;
|
|
NullCheck(L_11);
|
|
float L_12 = L_11->___Width_5;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_13 = ___1_box;
|
|
NullCheck(L_13);
|
|
float L_14 = L_13->___Side_6;
|
|
if ((!(((float)L_12) < ((float)L_14))))
|
|
{
|
|
goto IL_0074;
|
|
}
|
|
}
|
|
{
|
|
// empty = new Node { X = root.Width, Y = 0, Width = dw, Height = root.Height };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_15 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_15);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_15, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_16 = L_15;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_17 = ___0_root;
|
|
NullCheck(L_17);
|
|
float L_18 = L_17->___Width_5;
|
|
NullCheck(L_16);
|
|
L_16->___X_3 = L_18;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_19 = L_16;
|
|
NullCheck(L_19);
|
|
L_19->___Y_4 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_20 = L_19;
|
|
float L_21 = V_5;
|
|
NullCheck(L_20);
|
|
L_20->___Width_5 = L_21;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_22 = L_20;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_23 = ___0_root;
|
|
NullCheck(L_23);
|
|
float L_24 = L_23->___Height_6;
|
|
NullCheck(L_22);
|
|
L_22->___Height_6 = L_24;
|
|
V_1 = L_22;
|
|
goto IL_00a2;
|
|
}
|
|
|
|
IL_0074:
|
|
{
|
|
// empty = new Node { X = box.Side, Y = y, Width = dw, Height = box.Side };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_25 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_25);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_25, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_26 = L_25;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_27 = ___1_box;
|
|
NullCheck(L_27);
|
|
float L_28 = L_27->___Side_6;
|
|
NullCheck(L_26);
|
|
L_26->___X_3 = L_28;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_29 = L_26;
|
|
float L_30 = V_4;
|
|
NullCheck(L_29);
|
|
L_29->___Y_4 = L_30;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_31 = L_29;
|
|
float L_32 = V_5;
|
|
NullCheck(L_31);
|
|
L_31->___Width_5 = L_32;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_33 = L_31;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_34 = ___1_box;
|
|
NullCheck(L_34);
|
|
float L_35 = L_34->___Side_6;
|
|
NullCheck(L_33);
|
|
L_33->___Height_6 = L_35;
|
|
V_1 = L_33;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// used = new Node { X = 0, Y = y, Width = box.Side, Height = box.Side, Used = true };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_36 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_36);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_36, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_37 = L_36;
|
|
NullCheck(L_37);
|
|
L_37->___X_3 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_38 = L_37;
|
|
float L_39 = V_4;
|
|
NullCheck(L_38);
|
|
L_38->___Y_4 = L_39;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_40 = L_38;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_41 = ___1_box;
|
|
NullCheck(L_41);
|
|
float L_42 = L_41->___Side_6;
|
|
NullCheck(L_40);
|
|
L_40->___Width_5 = L_42;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_43 = L_40;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_44 = ___1_box;
|
|
NullCheck(L_44);
|
|
float L_45 = L_44->___Side_6;
|
|
NullCheck(L_43);
|
|
L_43->___Height_6 = L_45;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_46 = L_43;
|
|
NullCheck(L_46);
|
|
L_46->___Used_7 = (bool)1;
|
|
V_0 = L_46;
|
|
// parent = new Node { X = 0, Y = 0, Width = root.Width, Height = root.Height + box.Side, Used = true, Child1 = root, Child2 = used, Child3 = empty };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_47 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_47);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_47, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_48 = L_47;
|
|
NullCheck(L_48);
|
|
L_48->___X_3 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_49 = L_48;
|
|
NullCheck(L_49);
|
|
L_49->___Y_4 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_50 = L_49;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_51 = ___0_root;
|
|
NullCheck(L_51);
|
|
float L_52 = L_51->___Width_5;
|
|
NullCheck(L_50);
|
|
L_50->___Width_5 = L_52;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_53 = L_50;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_54 = ___0_root;
|
|
NullCheck(L_54);
|
|
float L_55 = L_54->___Height_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_56 = ___1_box;
|
|
NullCheck(L_56);
|
|
float L_57 = L_56->___Side_6;
|
|
NullCheck(L_53);
|
|
L_53->___Height_6 = ((float)il2cpp_codegen_add(L_55, L_57));
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_58 = L_53;
|
|
NullCheck(L_58);
|
|
L_58->___Used_7 = (bool)1;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_59 = L_58;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_60 = ___0_root;
|
|
NullCheck(L_59);
|
|
L_59->___Child1_0 = L_60;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_59->___Child1_0), (void*)L_60);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_61 = L_59;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_62 = V_0;
|
|
NullCheck(L_61);
|
|
L_61->___Child2_1 = L_62;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_61->___Child2_1), (void*)L_62);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_63 = L_61;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_64 = V_1;
|
|
NullCheck(L_63);
|
|
L_63->___Child3_2 = L_64;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_63->___Child3_2), (void*)L_64);
|
|
V_2 = L_63;
|
|
goto IL_0254;
|
|
}
|
|
|
|
IL_0136:
|
|
{
|
|
// float dl = Mathf.Abs(root.Height - box.Side);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_65 = ___0_root;
|
|
NullCheck(L_65);
|
|
float L_66 = L_65->___Height_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_67 = ___1_box;
|
|
NullCheck(L_67);
|
|
float L_68 = L_67->___Side_6;
|
|
float L_69;
|
|
L_69 = fabsf(((float)il2cpp_codegen_subtract(L_66, L_68)));
|
|
V_6 = L_69;
|
|
// x = root.Width;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_70 = ___0_root;
|
|
NullCheck(L_70);
|
|
float L_71 = L_70->___Width_5;
|
|
V_3 = L_71;
|
|
// y = 0;
|
|
V_4 = (0.0f);
|
|
// if (root.Height < box.Side)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_72 = ___0_root;
|
|
NullCheck(L_72);
|
|
float L_73 = L_72->___Height_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_74 = ___1_box;
|
|
NullCheck(L_74);
|
|
float L_75 = L_74->___Side_6;
|
|
if ((!(((float)L_73) < ((float)L_75))))
|
|
{
|
|
goto IL_0199;
|
|
}
|
|
}
|
|
{
|
|
// empty = new Node { X = 0, Y = root.Height, Width = root.Width, Height = dl };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_76 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_76);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_76, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_77 = L_76;
|
|
NullCheck(L_77);
|
|
L_77->___X_3 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_78 = L_77;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_79 = ___0_root;
|
|
NullCheck(L_79);
|
|
float L_80 = L_79->___Height_6;
|
|
NullCheck(L_78);
|
|
L_78->___Y_4 = L_80;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_81 = L_78;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_82 = ___0_root;
|
|
NullCheck(L_82);
|
|
float L_83 = L_82->___Width_5;
|
|
NullCheck(L_81);
|
|
L_81->___Width_5 = L_83;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_84 = L_81;
|
|
float L_85 = V_6;
|
|
NullCheck(L_84);
|
|
L_84->___Height_6 = L_85;
|
|
V_1 = L_84;
|
|
goto IL_01c6;
|
|
}
|
|
|
|
IL_0199:
|
|
{
|
|
// empty = new Node { X = x, Y = box.Side, Width = box.Side, Height = dl };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_86 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_86);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_86, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_87 = L_86;
|
|
float L_88 = V_3;
|
|
NullCheck(L_87);
|
|
L_87->___X_3 = L_88;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_89 = L_87;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_90 = ___1_box;
|
|
NullCheck(L_90);
|
|
float L_91 = L_90->___Side_6;
|
|
NullCheck(L_89);
|
|
L_89->___Y_4 = L_91;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_92 = L_89;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_93 = ___1_box;
|
|
NullCheck(L_93);
|
|
float L_94 = L_93->___Side_6;
|
|
NullCheck(L_92);
|
|
L_92->___Width_5 = L_94;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_95 = L_92;
|
|
float L_96 = V_6;
|
|
NullCheck(L_95);
|
|
L_95->___Height_6 = L_96;
|
|
V_1 = L_95;
|
|
}
|
|
|
|
IL_01c6:
|
|
{
|
|
// used = new Node { X = x, Y = 0, Width = box.Side, Height = box.Side, Used = true };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_97 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_97);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_97, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_98 = L_97;
|
|
float L_99 = V_3;
|
|
NullCheck(L_98);
|
|
L_98->___X_3 = L_99;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_100 = L_98;
|
|
NullCheck(L_100);
|
|
L_100->___Y_4 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_101 = L_100;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_102 = ___1_box;
|
|
NullCheck(L_102);
|
|
float L_103 = L_102->___Side_6;
|
|
NullCheck(L_101);
|
|
L_101->___Width_5 = L_103;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_104 = L_101;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_105 = ___1_box;
|
|
NullCheck(L_105);
|
|
float L_106 = L_105->___Side_6;
|
|
NullCheck(L_104);
|
|
L_104->___Height_6 = L_106;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_107 = L_104;
|
|
NullCheck(L_107);
|
|
L_107->___Used_7 = (bool)1;
|
|
V_0 = L_107;
|
|
// parent = new Node { X = 0, Y = 0, Width = root.Width + box.Side, Height = root.Height, Used = true, Child1 = root, Child2 = used, Child3 = empty };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_108 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_108);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_108, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_109 = L_108;
|
|
NullCheck(L_109);
|
|
L_109->___X_3 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_110 = L_109;
|
|
NullCheck(L_110);
|
|
L_110->___Y_4 = (0.0f);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_111 = L_110;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_112 = ___0_root;
|
|
NullCheck(L_112);
|
|
float L_113 = L_112->___Width_5;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_114 = ___1_box;
|
|
NullCheck(L_114);
|
|
float L_115 = L_114->___Side_6;
|
|
NullCheck(L_111);
|
|
L_111->___Width_5 = ((float)il2cpp_codegen_add(L_113, L_115));
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_116 = L_111;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_117 = ___0_root;
|
|
NullCheck(L_117);
|
|
float L_118 = L_117->___Height_6;
|
|
NullCheck(L_116);
|
|
L_116->___Height_6 = L_118;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_119 = L_116;
|
|
NullCheck(L_119);
|
|
L_119->___Used_7 = (bool)1;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_120 = L_119;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_121 = ___0_root;
|
|
NullCheck(L_120);
|
|
L_120->___Child1_0 = L_121;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_120->___Child1_0), (void*)L_121);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_122 = L_120;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_123 = V_0;
|
|
NullCheck(L_122);
|
|
L_122->___Child2_1 = L_123;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_122->___Child2_1), (void*)L_123);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_124 = L_122;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_125 = V_1;
|
|
NullCheck(L_124);
|
|
L_124->___Child3_2 = L_125;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_124->___Child3_2), (void*)L_125);
|
|
V_2 = L_124;
|
|
}
|
|
|
|
IL_0254:
|
|
{
|
|
// box.X = x;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_126 = ___1_box;
|
|
float L_127 = V_3;
|
|
NullCheck(L_126);
|
|
L_126->___X_0 = L_127;
|
|
// box.Y = y;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_128 = ___1_box;
|
|
float L_129 = V_4;
|
|
NullCheck(L_128);
|
|
L_128->___Y_1 = L_129;
|
|
// return parent;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_130 = V_2;
|
|
return L_130;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker::AdjustUVs(FIMSpace.Generating.FMeshUtils/UVPacker/Box)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void UVPacker_AdjustUVs_m32013BF7648C398DEE77799C596255E7B76FCDF8 (Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* ___0_box, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
float V_5 = 0.0f;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_8 = NULL;
|
|
int32_t V_9 = 0;
|
|
{
|
|
// Vector2[] uv = box.Extended.UVs;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_0 = ___0_box;
|
|
NullCheck(L_0);
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_1 = L_0->___Extended_7;
|
|
NullCheck(L_1);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_2 = L_1->___UVs_2;
|
|
V_0 = L_2;
|
|
// int count = uv.Length;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
V_1 = ((int32_t)(((RuntimeArray*)L_3)->max_length));
|
|
// float sqx = box.Side / box.Width;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_4 = ___0_box;
|
|
NullCheck(L_4);
|
|
float L_5 = L_4->___Side_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_6 = ___0_box;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___Width_2;
|
|
V_2 = ((float)(L_5/L_7));
|
|
// float sqy = box.Side / box.Height;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_8 = ___0_box;
|
|
NullCheck(L_8);
|
|
float L_9 = L_8->___Side_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_10 = ___0_box;
|
|
NullCheck(L_10);
|
|
float L_11 = L_10->___Height_3;
|
|
V_3 = ((float)(L_9/L_11));
|
|
// float x = box.X;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_12 = ___0_box;
|
|
NullCheck(L_12);
|
|
float L_13 = L_12->___X_0;
|
|
V_4 = L_13;
|
|
// float y = box.Y;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_14 = ___0_box;
|
|
NullCheck(L_14);
|
|
float L_15 = L_14->___Y_1;
|
|
V_5 = L_15;
|
|
// float shiftx = box.ShiftX;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_16 = ___0_box;
|
|
NullCheck(L_16);
|
|
float L_17 = L_16->___ShiftX_4;
|
|
V_6 = L_17;
|
|
// float shifty = box.ShiftY;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_18 = ___0_box;
|
|
NullCheck(L_18);
|
|
float L_19 = L_18->___ShiftY_5;
|
|
V_7 = L_19;
|
|
// Vector2[] packed = new Vector2[count];
|
|
int32_t L_20 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_21 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, (uint32_t)L_20);
|
|
V_8 = L_21;
|
|
// for (int u = 0; u < count; u++)
|
|
V_9 = 0;
|
|
goto IL_00a5;
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// packed[u].x = x + (uv[u].x - shiftx) * sqx;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_22 = V_8;
|
|
int32_t L_23 = V_9;
|
|
NullCheck(L_22);
|
|
float L_24 = V_4;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_25 = V_0;
|
|
int32_t L_26 = V_9;
|
|
NullCheck(L_25);
|
|
float L_27 = ((L_25)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_26)))->___x_0;
|
|
float L_28 = V_6;
|
|
float L_29 = V_2;
|
|
((L_22)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_23)))->___x_0 = ((float)il2cpp_codegen_add(L_24, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_27, L_28)), L_29))));
|
|
// packed[u].y = y + (uv[u].y - shifty) * sqy;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_30 = V_8;
|
|
int32_t L_31 = V_9;
|
|
NullCheck(L_30);
|
|
float L_32 = V_5;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_33 = V_0;
|
|
int32_t L_34 = V_9;
|
|
NullCheck(L_33);
|
|
float L_35 = ((L_33)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_34)))->___y_1;
|
|
float L_36 = V_7;
|
|
float L_37 = V_3;
|
|
((L_30)->GetAddressAt(static_cast<il2cpp_array_size_t>(L_31)))->___y_1 = ((float)il2cpp_codegen_add(L_32, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_35, L_36)), L_37))));
|
|
// for (int u = 0; u < count; u++)
|
|
int32_t L_38 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00a5:
|
|
{
|
|
// for (int u = 0; u < count; u++)
|
|
int32_t L_39 = V_9;
|
|
int32_t L_40 = V_1;
|
|
if ((((int32_t)L_39) < ((int32_t)L_40)))
|
|
{
|
|
goto IL_0059;
|
|
}
|
|
}
|
|
{
|
|
// box.PackedUVs = packed;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_41 = ___0_box;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_42 = V_8;
|
|
NullCheck(L_41);
|
|
L_41->___PackedUVs_8 = L_42;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_41->___PackedUVs_8), (void*)L_42);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FMeshUtils/UVPacker/Box FIMSpace.Generating.FMeshUtils/UVPacker::Pack(FIMSpace.Generating.FMeshUtils/MeshExtended,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* UVPacker_Pack_m18FF7AAE27881CA158553D2CF34693B81DB8E224 (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* ___0_extended, float ___1_gap, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* V_0 = NULL;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* V_1 = NULL;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* V_2 = NULL;
|
|
{
|
|
// Box boxs = UVBox(extended, gap);
|
|
MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* L_0 = ___0_extended;
|
|
float L_1 = ___1_gap;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_2;
|
|
L_2 = UVPacker_UVBox_m3DC9283D5EAACA31589C11CDDE5226E245BFFBB0(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
// boxs.Side = 1f;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
L_3->___Side_6 = (1.0f);
|
|
// Node root = new Node { Height = boxs.Side, Width = boxs.Side };
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_4 = (Node_t060F31555626C8316D8637C345234E42B5020B5E*)il2cpp_codegen_object_new(Node_t060F31555626C8316D8637C345234E42B5020B5E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672(L_4, NULL);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_5 = L_4;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_6 = V_0;
|
|
NullCheck(L_6);
|
|
float L_7 = L_6->___Side_6;
|
|
NullCheck(L_5);
|
|
L_5->___Height_6 = L_7;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_8 = L_5;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
float L_10 = L_9->___Side_6;
|
|
NullCheck(L_8);
|
|
L_8->___Width_5 = L_10;
|
|
V_1 = L_8;
|
|
// Node node = FindNode(root, boxs.Side, boxs.Side);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_11 = V_1;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_12 = V_0;
|
|
NullCheck(L_12);
|
|
float L_13 = L_12->___Side_6;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_14 = V_0;
|
|
NullCheck(L_14);
|
|
float L_15 = L_14->___Side_6;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_16;
|
|
L_16 = UVPacker_FindNode_mB586500CDF1551E334B41B006BBB57F19E900B7A(L_11, L_13, L_15, NULL);
|
|
V_2 = L_16;
|
|
// if (node == null)
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_17 = V_2;
|
|
if (L_17)
|
|
{
|
|
goto IL_0051;
|
|
}
|
|
}
|
|
{
|
|
// root = AttachNode(root, boxs);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_18 = V_1;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_19 = V_0;
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_20;
|
|
L_20 = UVPacker_AttachNode_m6DEB6F23D7EB8A4C01C3B481E028A713572EC2A8(L_18, L_19, NULL);
|
|
V_1 = L_20;
|
|
goto IL_0058;
|
|
}
|
|
|
|
IL_0051:
|
|
{
|
|
// SplitNode(node, boxs);
|
|
Node_t060F31555626C8316D8637C345234E42B5020B5E* L_21 = V_2;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_22 = V_0;
|
|
UVPacker_SplitNode_mBA1EF80C6D5694074C095771599E4AFEF51AE8F7(L_21, L_22, NULL);
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// AdjustUVs(boxs);
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_23 = V_0;
|
|
UVPacker_AdjustUVs_m32013BF7648C398DEE77799C596255E7B76FCDF8(L_23, NULL);
|
|
// return boxs;
|
|
Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* L_24 = V_0;
|
|
return L_24;
|
|
}
|
|
}
|
|
#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.Void FIMSpace.Generating.FMeshUtils/UVPacker/Node::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Node__ctor_m4D4414896ED9DD5B87858FD110E0F8E0705BB672 (Node_t060F31555626C8316D8637C345234E42B5020B5E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.FMeshUtils/UVPacker/Box::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Box__ctor_m85935D874E4EB967697502ABC43ABEF19165F0BB (Box_tD6A17B96158F6D59CC780813CA31BCED135A4C51* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.FMeshUtils/WeldHelperVert::.ctor(UnityEngine.Color,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void WeldHelperVert__ctor_m28E1DF987C7AAA1F0D202B404EFACDC7EB9B7162 (WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_col, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uv, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// c = col;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___0_col;
|
|
__this->___c_0 = L_0;
|
|
// u = uv;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = ___1_uv;
|
|
__this->___u_1 = L_1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void WeldHelperVert__ctor_m28E1DF987C7AAA1F0D202B404EFACDC7EB9B7162_AdjustorThunk (RuntimeObject* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_col, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_uv, const RuntimeMethod* method)
|
|
{
|
|
WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<WeldHelperVert_tD9C71122BE18B6CE31F642E4FCAFC49B52954B6D*>(__this + _offset);
|
|
WeldHelperVert__ctor_m28E1DF987C7AAA1F0D202B404EFACDC7EB9B7162(_thisAdjusted, ___0_col, ___1_uv, method);
|
|
}
|
|
#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 FIMSpace.Generating.FMeshUtils/MeshExtended::FindWeld(System.Collections.Generic.List`1<FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV>,UnityEngine.Vector3,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t MeshExtended_FindWeld_mF533D2FDEE88D7A7B142BBB0687636CDF593CEA9 (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* ___0_list, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_vertex, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_uv, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_FindIndex_mE4284B0415CFC8A1F543A0DB75350B4322D49BDE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass8_0_U3CFindWeldU3Eb__0_mBC3CDFA2FA36181D609B87FE2AD0397C3AF5A845_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* V_0 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* L_0 = (U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass8_0__ctor_m8E9A23602AD564D0C357F23C540769329EBDD037(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* L_1 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_vertex;
|
|
NullCheck(L_1);
|
|
L_1->___vertex_0 = L_2;
|
|
U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* L_3 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___2_uv;
|
|
NullCheck(L_3);
|
|
L_3->___uv_1 = L_4;
|
|
// return list.FindIndex(e =>
|
|
// {
|
|
// Vector3 p = e.Position;
|
|
// Vector3 u = e.UV;
|
|
// return p.x == vertex.x && p.y == vertex.y && p.z == vertex.z && u.x == uv.x && u.y == uv.y;
|
|
// // Notice we take into account the UVs, otherwise we will lose texture info.
|
|
// });
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_5 = ___0_list;
|
|
U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* L_6 = V_0;
|
|
Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23* L_7 = (Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23*)il2cpp_codegen_object_new(Predicate_1_tA10D5829A707B656FE48CE8CB55140CF6F9DAC23_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
Predicate_1__ctor_m8D4908A2545509E318DADFD86088484D1A8D50A5(L_7, L_6, (intptr_t)((void*)U3CU3Ec__DisplayClass8_0_U3CFindWeldU3Eb__0_mBC3CDFA2FA36181D609B87FE2AD0397C3AF5A845_RuntimeMethod_var), NULL);
|
|
NullCheck(L_5);
|
|
int32_t L_8;
|
|
L_8 = List_1_FindIndex_mE4284B0415CFC8A1F543A0DB75350B4322D49BDE(L_5, L_7, List_1_FindIndex_mE4284B0415CFC8A1F543A0DB75350B4322D49BDE_RuntimeMethod_var);
|
|
return L_8;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended::Prepare(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshExtended_Prepare_m9A840DF3CA8FE9AE17EFD2BA8D3F01535B79AAA8 (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_mesh, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m1211D80426768535FA3CB5A1A3DAF9847E14BC61_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m4F4CA9D1CB21BE093F9444CE4DA27E78FA2C395D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_1 = NULL;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_2 = NULL;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_3 = NULL;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
int32_t V_6 = 0;
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* V_7 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_8 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_9 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_10 = NULL;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
{
|
|
// Vector3[] vertices = mesh.vertices;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_mesh;
|
|
NullCheck(L_0);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1;
|
|
L_1 = Mesh_get_vertices_mA3577F1B08EDDD54E26AEB3F8FFE4EC247D2ABB9(L_0, NULL);
|
|
V_0 = L_1;
|
|
// Vector2[] uvs = mesh.uv;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = ___0_mesh;
|
|
NullCheck(L_2);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_3;
|
|
L_3 = Mesh_get_uv_mA47805C48AB3493FF3727922C43E77880E73519F(L_2, NULL);
|
|
V_1 = L_3;
|
|
// Vector3[] normals = mesh.normals;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_4 = ___0_mesh;
|
|
NullCheck(L_4);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_5;
|
|
L_5 = Mesh_get_normals_m2B6B159B799E6E235EA651FCAB2E18EE5B18ED62(L_4, NULL);
|
|
V_2 = L_5;
|
|
// Color[] colors = mesh.colors;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_6 = ___0_mesh;
|
|
NullCheck(L_6);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_7;
|
|
L_7 = Mesh_get_colors_m3A38944EBA064B0E55A24C95C3706193F45B313D(L_6, NULL);
|
|
V_3 = L_7;
|
|
// int[] triangles = mesh.triangles;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_8 = ___0_mesh;
|
|
NullCheck(L_8);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_9;
|
|
L_9 = Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B(L_8, NULL);
|
|
V_4 = L_9;
|
|
// int vertexCount = vertices.Length;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_10 = V_0;
|
|
NullCheck(L_10);
|
|
V_5 = ((int32_t)(((RuntimeArray*)L_10)->max_length));
|
|
// int triCount = triangles.Length;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11 = V_4;
|
|
NullCheck(L_11);
|
|
V_6 = ((int32_t)(((RuntimeArray*)L_11)->max_length));
|
|
// List<VertexUV> wVertices = new List<VertexUV>();
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_12 = (List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380*)il2cpp_codegen_object_new(List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380_il2cpp_TypeInfo_var);
|
|
NullCheck(L_12);
|
|
List_1__ctor_m4F4CA9D1CB21BE093F9444CE4DA27E78FA2C395D(L_12, List_1__ctor_m4F4CA9D1CB21BE093F9444CE4DA27E78FA2C395D_RuntimeMethod_var);
|
|
V_7 = L_12;
|
|
// List<Vector3> wNormals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_13 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_13);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_13, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_8 = L_13;
|
|
// List<Color> wColor = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_14 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_14);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_14, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_9 = L_14;
|
|
// List<int> wTriangles = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_15 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_15);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_15, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_10 = L_15;
|
|
// for (int v = 0; v < vertexCount; v++)
|
|
V_12 = 0;
|
|
goto IL_00ef;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// Vector3 currentVertex = vertices[v];
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_16 = V_0;
|
|
int32_t L_17 = V_12;
|
|
NullCheck(L_16);
|
|
int32_t L_18 = L_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = (L_16)->GetAt(static_cast<il2cpp_array_size_t>(L_18));
|
|
V_13 = L_19;
|
|
// Vector2 currentUV = uvs[v];
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_20 = V_1;
|
|
int32_t L_21 = V_12;
|
|
NullCheck(L_20);
|
|
int32_t L_22 = L_21;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23 = (L_20)->GetAt(static_cast<il2cpp_array_size_t>(L_22));
|
|
V_14 = L_23;
|
|
// int index = FindWeld(wVertices, currentVertex, currentUV);
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_24 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_26 = V_14;
|
|
int32_t L_27;
|
|
L_27 = MeshExtended_FindWeld_mF533D2FDEE88D7A7B142BBB0687636CDF593CEA9(L_24, L_25, L_26, NULL);
|
|
V_15 = L_27;
|
|
// if (index == -1)
|
|
int32_t L_28 = V_15;
|
|
if ((!(((uint32_t)L_28) == ((uint32_t)(-1)))))
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// wVertices.Add(new VertexUV { Position = currentVertex, UV = currentUV });
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_29 = V_7;
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_30 = (VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178*)il2cpp_codegen_object_new(VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178_il2cpp_TypeInfo_var);
|
|
NullCheck(L_30);
|
|
VertexUV__ctor_m7D1917306BD560E4ADB7B8881D6B498821FF5F1B(L_30, NULL);
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_31 = L_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_13;
|
|
NullCheck(L_31);
|
|
L_31->___Position_0 = L_32;
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_33 = L_31;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_34 = V_14;
|
|
NullCheck(L_33);
|
|
L_33->___UV_1 = L_34;
|
|
NullCheck(L_29);
|
|
List_1_Add_m1211D80426768535FA3CB5A1A3DAF9847E14BC61_inline(L_29, L_33, List_1_Add_m1211D80426768535FA3CB5A1A3DAF9847E14BC61_RuntimeMethod_var);
|
|
// wNormals.Add(normals[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_35 = V_8;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_36 = V_2;
|
|
int32_t L_37 = V_12;
|
|
NullCheck(L_36);
|
|
int32_t L_38 = L_37;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = (L_36)->GetAt(static_cast<il2cpp_array_size_t>(L_38));
|
|
NullCheck(L_35);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_35, L_39, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// if (colors.Length > 0) wColor.Add(colors[v]);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_40 = V_3;
|
|
NullCheck(L_40);
|
|
if (!(((RuntimeArray*)L_40)->max_length))
|
|
{
|
|
goto IL_00b7;
|
|
}
|
|
}
|
|
{
|
|
// if (colors.Length > 0) wColor.Add(colors[v]);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_41 = V_9;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_42 = V_3;
|
|
int32_t L_43 = V_12;
|
|
NullCheck(L_42);
|
|
int32_t L_44 = L_43;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_45 = (L_42)->GetAt(static_cast<il2cpp_array_size_t>(L_44));
|
|
NullCheck(L_41);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_41, L_45, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00b7:
|
|
{
|
|
// index = wVertices.Count - 1;
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_46 = V_7;
|
|
NullCheck(L_46);
|
|
int32_t L_47;
|
|
L_47 = List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_inline(L_46, List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_RuntimeMethod_var);
|
|
V_15 = ((int32_t)il2cpp_codegen_subtract(L_47, 1));
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// if (v != index)
|
|
int32_t L_48 = V_12;
|
|
int32_t L_49 = V_15;
|
|
if ((((int32_t)L_48) == ((int32_t)L_49)))
|
|
{
|
|
goto IL_00e9;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < triCount; t++)
|
|
V_16 = 0;
|
|
goto IL_00e3;
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// if (triangles[t] == v)
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_50 = V_4;
|
|
int32_t L_51 = V_16;
|
|
NullCheck(L_50);
|
|
int32_t L_52 = L_51;
|
|
int32_t L_53 = (L_50)->GetAt(static_cast<il2cpp_array_size_t>(L_52));
|
|
int32_t L_54 = V_12;
|
|
if ((!(((uint32_t)L_53) == ((uint32_t)L_54))))
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// triangles[t] = index;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_55 = V_4;
|
|
int32_t L_56 = V_16;
|
|
int32_t L_57 = V_15;
|
|
NullCheck(L_55);
|
|
(L_55)->SetAt(static_cast<il2cpp_array_size_t>(L_56), (int32_t)L_57);
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// for (int t = 0; t < triCount; t++)
|
|
int32_t L_58 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_58, 1));
|
|
}
|
|
|
|
IL_00e3:
|
|
{
|
|
// for (int t = 0; t < triCount; t++)
|
|
int32_t L_59 = V_16;
|
|
int32_t L_60 = V_6;
|
|
if ((((int32_t)L_59) < ((int32_t)L_60)))
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
|
|
IL_00e9:
|
|
{
|
|
// for (int v = 0; v < vertexCount; v++)
|
|
int32_t L_61 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_61, 1));
|
|
}
|
|
|
|
IL_00ef:
|
|
{
|
|
// for (int v = 0; v < vertexCount; v++)
|
|
int32_t L_62 = V_12;
|
|
int32_t L_63 = V_5;
|
|
if ((((int32_t)L_62) < ((int32_t)L_63)))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < triCount; t++)
|
|
V_17 = 0;
|
|
goto IL_010f;
|
|
}
|
|
|
|
IL_00fd:
|
|
{
|
|
// wTriangles.Add(triangles[t]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_64 = V_10;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_65 = V_4;
|
|
int32_t L_66 = V_17;
|
|
NullCheck(L_65);
|
|
int32_t L_67 = L_66;
|
|
int32_t L_68 = (L_65)->GetAt(static_cast<il2cpp_array_size_t>(L_67));
|
|
NullCheck(L_64);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_64, L_68, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < triCount; t++)
|
|
int32_t L_69 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_69, 1));
|
|
}
|
|
|
|
IL_010f:
|
|
{
|
|
// for (int t = 0; t < triCount; t++)
|
|
int32_t L_70 = V_17;
|
|
int32_t L_71 = V_6;
|
|
if ((((int32_t)L_70) < ((int32_t)L_71)))
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
// Normals = wNormals.ToArray();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_72 = V_8;
|
|
NullCheck(L_72);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_73;
|
|
L_73 = List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3(L_72, List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
|
|
__this->___Normals_3 = L_73;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Normals_3), (void*)L_73);
|
|
// Colors = wColor.ToArray();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_74 = V_9;
|
|
NullCheck(L_74);
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_75;
|
|
L_75 = List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F(L_74, List_1_ToArray_mD1EFBC7A0C9E4DF640DF58EC90D5494500C0571F_RuntimeMethod_var);
|
|
__this->___Colors_1 = L_75;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Colors_1), (void*)L_75);
|
|
// Triangles = wTriangles.ToArray();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_76 = V_10;
|
|
NullCheck(L_76);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_77;
|
|
L_77 = List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA(L_76, List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_RuntimeMethod_var);
|
|
__this->___Triangles_4 = L_77;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Triangles_4), (void*)L_77);
|
|
// Size = mesh.bounds.size;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_78 = ___0_mesh;
|
|
NullCheck(L_78);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_79;
|
|
L_79 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_78, NULL);
|
|
V_18 = L_79;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
|
|
L_80 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_18), NULL);
|
|
__this->___Size_5 = L_80;
|
|
// int pcount = wVertices.Count;
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_81 = V_7;
|
|
NullCheck(L_81);
|
|
int32_t L_82;
|
|
L_82 = List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_inline(L_81, List_1_get_Count_mD0735746AEB48C5272A6311CCF526B3CB9FC15E4_RuntimeMethod_var);
|
|
V_11 = L_82;
|
|
// Vertices = new Vector3[pcount];
|
|
int32_t L_83 = V_11;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_84 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)SZArrayNew(Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C_il2cpp_TypeInfo_var, (uint32_t)L_83);
|
|
__this->___Vertices_0 = L_84;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Vertices_0), (void*)L_84);
|
|
// UVs = new Vector2[pcount];
|
|
int32_t L_85 = V_11;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_86 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)SZArrayNew(Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA_il2cpp_TypeInfo_var, (uint32_t)L_85);
|
|
__this->___UVs_2 = L_86;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___UVs_2), (void*)L_86);
|
|
// for (int v = 0; v < pcount; v++)
|
|
V_19 = 0;
|
|
goto IL_01b9;
|
|
}
|
|
|
|
IL_0179:
|
|
{
|
|
// Vector3 worldPos = wVertices[v].Position;
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_87 = V_7;
|
|
int32_t L_88 = V_19;
|
|
NullCheck(L_87);
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_89;
|
|
L_89 = List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7(L_87, L_88, List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7_RuntimeMethod_var);
|
|
NullCheck(L_89);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90 = L_89->___Position_0;
|
|
V_20 = L_90;
|
|
// Vertices[v] = worldPos;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_91 = __this->___Vertices_0;
|
|
int32_t L_92 = V_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = V_20;
|
|
NullCheck(L_91);
|
|
(L_91)->SetAt(static_cast<il2cpp_array_size_t>(L_92), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_93);
|
|
// UVs[v] = wVertices[v].UV;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_94 = __this->___UVs_2;
|
|
int32_t L_95 = V_19;
|
|
List_1_tCCAF7444182B95C9267B9E1E00D4D97A6376D380* L_96 = V_7;
|
|
int32_t L_97 = V_19;
|
|
NullCheck(L_96);
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_98;
|
|
L_98 = List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7(L_96, L_97, List_1_get_Item_m0C25FD2173CAAD8121EB8ACBAF07A3CD64DFFCF7_RuntimeMethod_var);
|
|
NullCheck(L_98);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_99 = L_98->___UV_1;
|
|
NullCheck(L_94);
|
|
(L_94)->SetAt(static_cast<il2cpp_array_size_t>(L_95), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_99);
|
|
// for (int v = 0; v < pcount; v++)
|
|
int32_t L_100 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_100, 1));
|
|
}
|
|
|
|
IL_01b9:
|
|
{
|
|
// for (int v = 0; v < pcount; v++)
|
|
int32_t L_101 = V_19;
|
|
int32_t L_102 = V_11;
|
|
if ((((int32_t)L_101) < ((int32_t)L_102)))
|
|
{
|
|
goto IL_0179;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshExtended__ctor_m6625B1B4B40B140E92FA41ED8B35082392F1D66C (MeshExtended_tFA5A54363C6661C34AA4C6ED5A98AC99A05B9BC3* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void VertexUV__ctor_m7D1917306BD560E4ADB7B8881D6B498821FF5F1B (VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass8_0__ctor_m8E9A23602AD564D0C357F23C540769329EBDD037 (U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.FMeshUtils/MeshExtended/<>c__DisplayClass8_0::<FindWeld>b__0(FIMSpace.Generating.FMeshUtils/MeshExtended/VertexUV)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool U3CU3Ec__DisplayClass8_0_U3CFindWeldU3Eb__0_mBC3CDFA2FA36181D609B87FE2AD0397C3AF5A845 (U3CU3Ec__DisplayClass8_0_t0B294524BE0E1A770056BE1BB60289C6EEB7C86C* __this, VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* ___0_e, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// Vector3 p = e.Position;
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_0 = ___0_e;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___Position_0;
|
|
V_0 = L_1;
|
|
// Vector3 u = e.UV;
|
|
VertexUV_t1517EB0F11EEDAC74D4CFDDECBD092DB5BA12178* L_2 = ___0_e;
|
|
NullCheck(L_2);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = L_2->___UV_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_3, NULL);
|
|
V_1 = L_4;
|
|
// return p.x == vertex.x && p.y == vertex.y && p.z == vertex.z && u.x == uv.x && u.y == uv.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
|
|
float L_6 = L_5.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_7 = (&__this->___vertex_0);
|
|
float L_8 = L_7->___x_2;
|
|
if ((!(((float)L_6) == ((float)L_8))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
|
|
float L_10 = L_9.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_11 = (&__this->___vertex_0);
|
|
float L_12 = L_11->___y_3;
|
|
if ((!(((float)L_10) == ((float)L_12))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
float L_14 = L_13.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_15 = (&__this->___vertex_0);
|
|
float L_16 = L_15->___z_4;
|
|
if ((!(((float)L_14) == ((float)L_16))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_1;
|
|
float L_18 = L_17.___x_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_19 = (&__this->___uv_1);
|
|
float L_20 = L_19->___x_0;
|
|
if ((!(((float)L_18) == ((float)L_20))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = V_1;
|
|
float L_22 = L_21.___y_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_23 = (&__this->___uv_1);
|
|
float L_24 = L_23->___y_1;
|
|
return (bool)((((float)L_22) == ((float)L_24))? 1 : 0);
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
#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
|
|
// UnityEngine.Material FIMSpace.Generating.TileDesign::GetMaterial(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TileDesign_GetMaterial_mCD1C49D2863BE0037171636019E91D6B5DD36BC0 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_setup, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (setup != null)
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_0 = ___0_setup;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// if (setup.Material) return setup.Material;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_1 = ___0_setup;
|
|
NullCheck(L_1);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_2 = L_1->___Material_57;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// if (setup.Material) return setup.Material;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4 = ___0_setup;
|
|
NullCheck(L_4);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_5 = L_4->___Material_57;
|
|
return L_5;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// if (DefaultMaterial) return DefaultMaterial;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_6 = __this->___DefaultMaterial_6;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// if (DefaultMaterial) return DefaultMaterial;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_8 = __this->___DefaultMaterial_6;
|
|
return L_8;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// return DefaultDiffuseMaterial;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_9;
|
|
L_9 = TileDesign_get_DefaultDiffuseMaterial_mB50BA5BEC1A5A1AE9C53B7FF36E96ED594ADDD85(NULL);
|
|
return L_9;
|
|
}
|
|
}
|
|
// UnityEngine.Material FIMSpace.Generating.TileDesign::get_DefaultDiffuseMaterial()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* TileDesign_get_DefaultDiffuseMaterial_mB50BA5BEC1A5A1AE9C53B7FF36E96ED594ADDD85 (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3EC3372E82B3B91672EF4EC7D6C8F3FB8E934642);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return new Material(Shader.Find("Diffuse"));
|
|
Shader_tADC867D36B7876EE22427FAA2CE485105F4EE692* L_0;
|
|
L_0 = Shader_Find_m183AA54F78320212DDEC811592F98456898A41C5(_stringLiteral3EC3372E82B3B91672EF4EC7D6C8F3FB8E934642, NULL);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = (Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3*)il2cpp_codegen_object_new(Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
Material__ctor_m7FDF47105D66D19591BE505A0C42B0F90D88C9BF(L_1, L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// UnityEngine.GameObject FIMSpace.Generating.TileDesign::GeneratePrefab()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* TileDesign_GeneratePrefab_mCFD176A77B197BBE03F5CC842042A7882F7431D3 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_AddComponent_TisSphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275_m3D05F19667844A2949840753F7A3287115BE029E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mC82B05036EF8568D67042AA2F73632C0D0DA2E2F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m21AEC50E791371101DC22ABCF96A2E46800811F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mBF3BB7EE985ACB3AF2DBE110250E94BDF0409BEE_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileDesign_GeneratePrefab_mCFD176A77B197BBE03F5CC842042A7882F7431D3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_GetType_m71A077E0B5DA3BD1DC0AB9AE387056CFCF56F93F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Type_t_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* V_9 = NULL;
|
|
int32_t V_10 = 0;
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* V_11 = NULL;
|
|
int32_t V_12 = 0;
|
|
Type_t* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B17_0 = NULL;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B11_0 = NULL;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B13_0 = NULL;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B12_0 = NULL;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B15_0 = NULL;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B14_0 = NULL;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* G_B16_0 = NULL;
|
|
{
|
|
// _UsedCombinedCollisionMesh = null;
|
|
__this->____UsedCombinedCollisionMesh_20 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____UsedCombinedCollisionMesh_20), (void*)(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL);
|
|
// GameObject pf = new GameObject(DesignName);
|
|
String_t* L_0 = __this->___DesignName_0;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_1, L_0, NULL);
|
|
V_0 = L_1;
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_00dd;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (i == 0)
|
|
int32_t L_2 = V_1;
|
|
if (L_2)
|
|
{
|
|
goto IL_0050;
|
|
}
|
|
}
|
|
{
|
|
// MeshFilter filter = pf.AddComponent<MeshFilter>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_3 = V_0;
|
|
NullCheck(L_3);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_4;
|
|
L_4 = GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94(L_3, GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94_RuntimeMethod_var);
|
|
// filter.sharedMesh = LatestGeneratedMeshes[0];
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_5 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_5);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_6;
|
|
L_6 = List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B(L_5, 0, List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
NullCheck(L_4);
|
|
MeshFilter_set_sharedMesh_m946F7E3F583761982642BDA4753784AF1DF6E16F(L_4, L_6, NULL);
|
|
// MeshRenderer rend = pf.AddComponent<MeshRenderer>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_7 = V_0;
|
|
NullCheck(L_7);
|
|
MeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE* L_8;
|
|
L_8 = GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D(L_7, GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D_RuntimeMethod_var);
|
|
// rend.sharedMaterial = LatestGeneratedMeshesMaterials[0];
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* L_9 = __this->___LatestGeneratedMeshesMaterials_19;
|
|
NullCheck(L_9);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_10;
|
|
L_10 = List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456(L_9, 0, List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_8, L_10, NULL);
|
|
goto IL_00d9;
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// GameObject subMesh = new GameObject(DesignName + (i + 1));
|
|
String_t* L_11 = __this->___DesignName_0;
|
|
int32_t L_12 = V_1;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
String_t* L_13;
|
|
L_13 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_2), NULL);
|
|
String_t* L_14;
|
|
L_14 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_11, L_13, NULL);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_15 = (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)il2cpp_codegen_object_new(GameObject_t76FEDD663AB33C991A9C9A23129337651094216F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_15);
|
|
GameObject__ctor_m37D512B05D292F954792225E6C6EEE95293A9B88(L_15, L_14, NULL);
|
|
// subMesh.transform.SetParent(pf.transform);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_16 = L_15;
|
|
NullCheck(L_16);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_17;
|
|
L_17 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_16, NULL);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_18 = V_0;
|
|
NullCheck(L_18);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_19;
|
|
L_19 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_18, NULL);
|
|
NullCheck(L_17);
|
|
Transform_SetParent_m6677538B60246D958DD91F931C50F969CCBB5250(L_17, L_19, NULL);
|
|
// subMesh.transform.localPosition = Vector3.zero;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_20 = L_16;
|
|
NullCheck(L_20);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_21;
|
|
L_21 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_20, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_21);
|
|
Transform_set_localPosition_mDE1C997F7D79C0885210B7732B4BA50EE7D73134(L_21, L_22, NULL);
|
|
// subMesh.transform.localRotation = Quaternion.identity;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_23 = L_20;
|
|
NullCheck(L_23);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_24;
|
|
L_24 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_23, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
|
|
L_25 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
NullCheck(L_24);
|
|
Transform_set_localRotation_mAB4A011D134BA58AB780BECC0025CA65F16185FA(L_24, L_25, NULL);
|
|
// subMesh.transform.localScale = Vector3.one;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_26 = L_23;
|
|
NullCheck(L_26);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_27;
|
|
L_27 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_26, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
NullCheck(L_27);
|
|
Transform_set_localScale_mBA79E811BAF6C47B80FF76414C12B47B3CD03633(L_27, L_28, NULL);
|
|
// MeshFilter filter = subMesh.AddComponent<MeshFilter>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_29 = L_26;
|
|
NullCheck(L_29);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_30;
|
|
L_30 = GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94(L_29, GameObject_AddComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mEAB8177A64DF1A50BB7996ACEEEADCD65358AC94_RuntimeMethod_var);
|
|
// filter.sharedMesh = LatestGeneratedMeshes[i];
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_31 = __this->___LatestGeneratedMeshes_18;
|
|
int32_t L_32 = V_1;
|
|
NullCheck(L_31);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_33;
|
|
L_33 = List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B(L_31, L_32, List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
NullCheck(L_30);
|
|
MeshFilter_set_sharedMesh_m946F7E3F583761982642BDA4753784AF1DF6E16F(L_30, L_33, NULL);
|
|
// MeshRenderer rend = subMesh.AddComponent<MeshRenderer>();
|
|
NullCheck(L_29);
|
|
MeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE* L_34;
|
|
L_34 = GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D(L_29, GameObject_AddComponent_TisMeshRenderer_t4B7747212F0B88244BB7790C61AE124BFC15BAAE_mCDD3E77673305199F52C772AE8C7952F3864740D_RuntimeMethod_var);
|
|
// rend.sharedMaterial = LatestGeneratedMeshesMaterials[i];
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* L_35 = __this->___LatestGeneratedMeshesMaterials_19;
|
|
int32_t L_36 = V_1;
|
|
NullCheck(L_35);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_37;
|
|
L_37 = List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456(L_35, L_36, List_1_get_Item_m70F5CFC2DEA9332B78C5ADC0EE1CE1B7465B1456_RuntimeMethod_var);
|
|
NullCheck(L_34);
|
|
Renderer_set_sharedMaterial_m5E842F9A06CFB7B77656EB319881CB4B3E8E4288(L_34, L_37, NULL);
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_38 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_39 = V_1;
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_40 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline(L_40, List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
if ((((int32_t)L_39) < ((int32_t)L_41)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// pf.isStatic = Static;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_42 = V_0;
|
|
bool L_43 = __this->___Static_3;
|
|
NullCheck(L_42);
|
|
GameObject_set_isStatic_m0468F0E4553F5B3DDBE03F3788BE0A1A3736839C(L_42, L_43, NULL);
|
|
// pf.layer = Layer;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_44 = V_0;
|
|
int32_t L_45 = __this->___Layer_5;
|
|
NullCheck(L_44);
|
|
GameObject_set_layer_m6E1AF478A2CC86BD222B96317BEB78B7D89B18D0(L_44, L_45, NULL);
|
|
// pf.tag = Tag;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_46 = V_0;
|
|
String_t* L_47 = __this->___Tag_4;
|
|
NullCheck(L_46);
|
|
GameObject_set_tag_m0A41528AFD8C83E1CEC5D769921159897CDD2B24(L_46, L_47, NULL);
|
|
// if (AddRigidbody)
|
|
bool L_48 = __this->___AddRigidbody_9;
|
|
if (!L_48)
|
|
{
|
|
goto IL_0137;
|
|
}
|
|
}
|
|
{
|
|
// Rigidbody rig = pf.AddComponent<Rigidbody>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_49 = V_0;
|
|
NullCheck(L_49);
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_50;
|
|
L_50 = GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093(L_49, GameObject_AddComponent_TisRigidbody_t268697F5A994213ED97393309870968BC1C7393C_m03A761629A3F71B0248F1B26EF612F592B757093_RuntimeMethod_var);
|
|
// rig.isKinematic = IsKinematic;
|
|
Rigidbody_t268697F5A994213ED97393309870968BC1C7393C* L_51 = L_50;
|
|
bool L_52 = __this->___IsKinematic_10;
|
|
NullCheck(L_51);
|
|
Rigidbody_set_isKinematic_m6C3FD3EA358DADA3B191F2449CF1C4F8B22695ED(L_51, L_52, NULL);
|
|
// rig.mass = RigidbodyMass;
|
|
float L_53 = __this->___RigidbodyMass_11;
|
|
NullCheck(L_51);
|
|
Rigidbody_set_mass_mC7F886DEDB57C742A16F8B6B779F69AFE164CA4B(L_51, L_53, NULL);
|
|
}
|
|
|
|
IL_0137:
|
|
{
|
|
// if (_LatestGen_Bounds.size.sqrMagnitude > 0f)
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_54 = (&__this->____LatestGen_Bounds_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_54, NULL);
|
|
V_3 = L_55;
|
|
float L_56;
|
|
L_56 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_3), NULL);
|
|
if ((!(((float)L_56) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0424;
|
|
}
|
|
}
|
|
{
|
|
// if (ColliderMode == EColliderMode.BoundingBox)
|
|
int32_t L_57 = __this->___ColliderMode_13;
|
|
if ((!(((uint32_t)L_57) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0283;
|
|
}
|
|
}
|
|
{
|
|
// BoxCollider box = pf.AddComponent<BoxCollider>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_58 = V_0;
|
|
NullCheck(L_58);
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_59;
|
|
L_59 = GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23(L_58, GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var);
|
|
// Vector3 boxCenter = _LatestGen_Bounds.center;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_60 = (&__this->____LatestGen_Bounds_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_60, NULL);
|
|
V_4 = L_61;
|
|
// Vector3 boxSize = _LatestGen_Bounds.size * ScaleColliders;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_62 = (&__this->____LatestGen_Bounds_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
|
|
L_63 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_62, NULL);
|
|
float L_64 = __this->___ScaleColliders_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
|
|
L_65 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_63, L_64, NULL);
|
|
V_5 = L_65;
|
|
// box.sharedMaterial = CollidersMaterial;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_66 = L_59;
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* L_67 = __this->___CollidersMaterial_12;
|
|
NullCheck(L_66);
|
|
Collider_set_sharedMaterial_m2AC21AB939A377ABACF8282CDC52EE61B54107ED(L_66, L_67, NULL);
|
|
// if (ExpandThinCollider != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = __this->___ExpandThinCollider_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
|
|
L_69 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_70;
|
|
L_70 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_68, L_69, NULL);
|
|
G_B11_0 = L_66;
|
|
if (!L_70)
|
|
{
|
|
G_B17_0 = L_66;
|
|
goto IL_026f;
|
|
}
|
|
}
|
|
{
|
|
// if (ExpandThinCollider.x != 0f)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_71 = (&__this->___ExpandThinCollider_17);
|
|
float L_72 = L_71->___x_2;
|
|
G_B12_0 = G_B11_0;
|
|
if ((((float)L_72) == ((float)(0.0f))))
|
|
{
|
|
G_B13_0 = G_B11_0;
|
|
goto IL_01ed;
|
|
}
|
|
}
|
|
{
|
|
// boxSize.x = Mathf.Abs(ExpandThinCollider.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_73 = (&__this->___ExpandThinCollider_17);
|
|
float L_74 = L_73->___x_2;
|
|
float L_75;
|
|
L_75 = fabsf(L_74);
|
|
(&V_5)->___x_2 = L_75;
|
|
// boxCenter.x = ExpandThinCollider.x / 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_76 = (&__this->___ExpandThinCollider_17);
|
|
float L_77 = L_76->___x_2;
|
|
(&V_4)->___x_2 = ((float)(L_77/(2.0f)));
|
|
G_B13_0 = G_B12_0;
|
|
}
|
|
|
|
IL_01ed:
|
|
{
|
|
// if (ExpandThinCollider.y != 0f)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_78 = (&__this->___ExpandThinCollider_17);
|
|
float L_79 = L_78->___y_3;
|
|
G_B14_0 = G_B13_0;
|
|
if ((((float)L_79) == ((float)(0.0f))))
|
|
{
|
|
G_B15_0 = G_B13_0;
|
|
goto IL_022e;
|
|
}
|
|
}
|
|
{
|
|
// boxSize.y = Mathf.Abs(ExpandThinCollider.y);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_80 = (&__this->___ExpandThinCollider_17);
|
|
float L_81 = L_80->___y_3;
|
|
float L_82;
|
|
L_82 = fabsf(L_81);
|
|
(&V_5)->___y_3 = L_82;
|
|
// boxCenter.y = ExpandThinCollider.y / 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_83 = (&__this->___ExpandThinCollider_17);
|
|
float L_84 = L_83->___y_3;
|
|
(&V_4)->___y_3 = ((float)(L_84/(2.0f)));
|
|
G_B15_0 = G_B14_0;
|
|
}
|
|
|
|
IL_022e:
|
|
{
|
|
// if (ExpandThinCollider.z != 0f)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_85 = (&__this->___ExpandThinCollider_17);
|
|
float L_86 = L_85->___z_4;
|
|
G_B16_0 = G_B15_0;
|
|
if ((((float)L_86) == ((float)(0.0f))))
|
|
{
|
|
G_B17_0 = G_B15_0;
|
|
goto IL_026f;
|
|
}
|
|
}
|
|
{
|
|
// boxSize.z = Mathf.Abs(ExpandThinCollider.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_87 = (&__this->___ExpandThinCollider_17);
|
|
float L_88 = L_87->___z_4;
|
|
float L_89;
|
|
L_89 = fabsf(L_88);
|
|
(&V_5)->___z_4 = L_89;
|
|
// boxCenter.z = ExpandThinCollider.z / 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_90 = (&__this->___ExpandThinCollider_17);
|
|
float L_91 = L_90->___z_4;
|
|
(&V_4)->___z_4 = ((float)(L_91/(2.0f)));
|
|
G_B17_0 = G_B16_0;
|
|
}
|
|
|
|
IL_026f:
|
|
{
|
|
// box.size = boxSize;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_92 = G_B17_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = V_5;
|
|
NullCheck(L_92);
|
|
BoxCollider_set_size_m8374267FDE5DD628973E0E5E1331E781552B855A(L_92, L_93, NULL);
|
|
// box.center = boxCenter;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = V_4;
|
|
NullCheck(L_92);
|
|
BoxCollider_set_center_m0AB0482699735FEE8306A7FCAAE66A76C479F0F0(L_92, L_94, NULL);
|
|
goto IL_0424;
|
|
}
|
|
|
|
IL_0283:
|
|
{
|
|
// else if (ColliderMode == EColliderMode.MultipleBoundingBoxes)
|
|
int32_t L_95 = __this->___ColliderMode_13;
|
|
if ((!(((uint32_t)L_95) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0325;
|
|
}
|
|
}
|
|
{
|
|
// var filters = FTransformMethods.FindComponentsInAllChildren<MeshFilter>(pf.transform);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_96 = V_0;
|
|
NullCheck(L_96);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_97;
|
|
L_97 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_96, NULL);
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_98;
|
|
L_98 = FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD(L_97, (bool)0, FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD_RuntimeMethod_var);
|
|
V_6 = L_98;
|
|
// for (int f = 0; f < filters.Count; f++)
|
|
V_7 = 0;
|
|
goto IL_0315;
|
|
}
|
|
|
|
IL_02a2:
|
|
{
|
|
// BoxCollider box = filters[f].gameObject.AddComponent<BoxCollider>();
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_99 = V_6;
|
|
int32_t L_100 = V_7;
|
|
NullCheck(L_99);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_101;
|
|
L_101 = List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348(L_99, L_100, List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var);
|
|
NullCheck(L_101);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_102;
|
|
L_102 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_101, NULL);
|
|
NullCheck(L_102);
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_103;
|
|
L_103 = GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23(L_102, GameObject_AddComponent_TisBoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23_m655518C8454E418FE8CF0E4770881B7A2B12BB23_RuntimeMethod_var);
|
|
// box.size = filters[f].sharedMesh.bounds.size * ScaleColliders;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_104 = L_103;
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_105 = V_6;
|
|
int32_t L_106 = V_7;
|
|
NullCheck(L_105);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_107;
|
|
L_107 = List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348(L_105, L_106, List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var);
|
|
NullCheck(L_107);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_108;
|
|
L_108 = MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C(L_107, NULL);
|
|
NullCheck(L_108);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_109;
|
|
L_109 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_108, NULL);
|
|
V_8 = L_109;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
|
|
L_110 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_8), NULL);
|
|
float L_111 = __this->___ScaleColliders_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
|
|
L_112 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_110, L_111, NULL);
|
|
NullCheck(L_104);
|
|
BoxCollider_set_size_m8374267FDE5DD628973E0E5E1331E781552B855A(L_104, L_112, NULL);
|
|
// box.center = filters[f].sharedMesh.bounds.center;
|
|
BoxCollider_tFA5D239388334D6DE0B8FFDAD6825C5B03786E23* L_113 = L_104;
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_114 = V_6;
|
|
int32_t L_115 = V_7;
|
|
NullCheck(L_114);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_116;
|
|
L_116 = List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348(L_114, L_115, List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var);
|
|
NullCheck(L_116);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_117;
|
|
L_117 = MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C(L_116, NULL);
|
|
NullCheck(L_117);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_118;
|
|
L_118 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_117, NULL);
|
|
V_8 = L_118;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
|
|
L_119 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_8), NULL);
|
|
NullCheck(L_113);
|
|
BoxCollider_set_center_m0AB0482699735FEE8306A7FCAAE66A76C479F0F0(L_113, L_119, NULL);
|
|
// box.sharedMaterial = CollidersMaterial;
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* L_120 = __this->___CollidersMaterial_12;
|
|
NullCheck(L_113);
|
|
Collider_set_sharedMaterial_m2AC21AB939A377ABACF8282CDC52EE61B54107ED(L_113, L_120, NULL);
|
|
// for (int f = 0; f < filters.Count; f++)
|
|
int32_t L_121 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_121, 1));
|
|
}
|
|
|
|
IL_0315:
|
|
{
|
|
// for (int f = 0; f < filters.Count; f++)
|
|
int32_t L_122 = V_7;
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_123 = V_6;
|
|
NullCheck(L_123);
|
|
int32_t L_124;
|
|
L_124 = List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_inline(L_123, List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_RuntimeMethod_var);
|
|
if ((((int32_t)L_122) < ((int32_t)L_124)))
|
|
{
|
|
goto IL_02a2;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0424;
|
|
}
|
|
|
|
IL_0325:
|
|
{
|
|
// else if (ColliderMode == EColliderMode.SphereCollider)
|
|
int32_t L_125 = __this->___ColliderMode_13;
|
|
if ((!(((uint32_t)L_125) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0372;
|
|
}
|
|
}
|
|
{
|
|
// SphereCollider sph = pf.AddComponent<SphereCollider>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_126 = V_0;
|
|
NullCheck(L_126);
|
|
SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* L_127;
|
|
L_127 = GameObject_AddComponent_TisSphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275_m3D05F19667844A2949840753F7A3287115BE029E(L_126, GameObject_AddComponent_TisSphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275_m3D05F19667844A2949840753F7A3287115BE029E_RuntimeMethod_var);
|
|
// sph.radius = _LatestGen_Bounds.extents.x * ScaleColliders;
|
|
SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* L_128 = L_127;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_129 = (&__this->____LatestGen_Bounds_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_130;
|
|
L_130 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_129, NULL);
|
|
float L_131 = L_130.___x_2;
|
|
float L_132 = __this->___ScaleColliders_14;
|
|
NullCheck(L_128);
|
|
SphereCollider_set_radius_m6119FE18C6739B077AB17334B1B53984911017FF(L_128, ((float)il2cpp_codegen_multiply(L_131, L_132)), NULL);
|
|
// sph.center = _LatestGen_Bounds.center;
|
|
SphereCollider_tBA111C542CE97F6873DE742757213D6265C7D275* L_133 = L_128;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_134 = (&__this->____LatestGen_Bounds_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_135;
|
|
L_135 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_134, NULL);
|
|
NullCheck(L_133);
|
|
SphereCollider_set_center_m83F6CC0056B491CD577B9AC08FA1E331074203D4(L_133, L_135, NULL);
|
|
// sph.sharedMaterial = CollidersMaterial;
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* L_136 = __this->___CollidersMaterial_12;
|
|
NullCheck(L_133);
|
|
Collider_set_sharedMaterial_m2AC21AB939A377ABACF8282CDC52EE61B54107ED(L_133, L_136, NULL);
|
|
goto IL_0424;
|
|
}
|
|
|
|
IL_0372:
|
|
{
|
|
// else if (ColliderMode == EColliderMode.MeshColliders)
|
|
int32_t L_137 = __this->___ColliderMode_13;
|
|
if ((!(((uint32_t)L_137) == ((uint32_t)4))))
|
|
{
|
|
goto IL_03df;
|
|
}
|
|
}
|
|
{
|
|
// var filters = FTransformMethods.FindComponentsInAllChildren<MeshFilter>(pf.transform);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_138 = V_0;
|
|
NullCheck(L_138);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_139;
|
|
L_139 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_138, NULL);
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_140;
|
|
L_140 = FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD(L_139, (bool)0, FTransformMethods_FindComponentsInAllChildren_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mD3023DE7176880101C90C7B522E87292A77476CD_RuntimeMethod_var);
|
|
V_9 = L_140;
|
|
// for (int f = 0; f < filters.Count; f++)
|
|
V_10 = 0;
|
|
goto IL_03d2;
|
|
}
|
|
|
|
IL_038e:
|
|
{
|
|
// MeshCollider msh = filters[f].gameObject.AddComponent<MeshCollider>();
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_141 = V_9;
|
|
int32_t L_142 = V_10;
|
|
NullCheck(L_141);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_143;
|
|
L_143 = List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348(L_141, L_142, List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var);
|
|
NullCheck(L_143);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_144;
|
|
L_144 = Component_get_gameObject_m57AEFBB14DB39EC476F740BA000E170355DE691B(L_143, NULL);
|
|
NullCheck(L_144);
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_145;
|
|
L_145 = GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7(L_144, GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7_RuntimeMethod_var);
|
|
// msh.sharedMesh = filters[f].sharedMesh;
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_146 = L_145;
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_147 = V_9;
|
|
int32_t L_148 = V_10;
|
|
NullCheck(L_147);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_149;
|
|
L_149 = List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348(L_147, L_148, List_1_get_Item_m1DDAF5804C36E171686D1F31AEDD7D32876E8348_RuntimeMethod_var);
|
|
NullCheck(L_149);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_150;
|
|
L_150 = MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C(L_149, NULL);
|
|
NullCheck(L_146);
|
|
MeshCollider_set_sharedMesh_m05F87B9AC04139285EBBCC159F77B51C6940E79C(L_146, L_150, NULL);
|
|
// msh.sharedMaterial = CollidersMaterial;
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_151 = L_146;
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* L_152 = __this->___CollidersMaterial_12;
|
|
NullCheck(L_151);
|
|
Collider_set_sharedMaterial_m2AC21AB939A377ABACF8282CDC52EE61B54107ED(L_151, L_152, NULL);
|
|
// msh.convex = ConvexCollider;
|
|
bool L_153 = __this->___ConvexCollider_15;
|
|
NullCheck(L_151);
|
|
MeshCollider_set_convex_m20482D687240D0921BA76B77983403E55A2E3CE1(L_151, L_153, NULL);
|
|
// for (int f = 0; f < filters.Count; f++)
|
|
int32_t L_154 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_154, 1));
|
|
}
|
|
|
|
IL_03d2:
|
|
{
|
|
// for (int f = 0; f < filters.Count; f++)
|
|
int32_t L_155 = V_10;
|
|
List_1_tF38D1A45CF65189578ADAC12AED34802EB2B8930* L_156 = V_9;
|
|
NullCheck(L_156);
|
|
int32_t L_157;
|
|
L_157 = List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_inline(L_156, List_1_get_Count_mEA72181DA04067D7475922C8DBA014128689F30B_RuntimeMethod_var);
|
|
if ((((int32_t)L_155) < ((int32_t)L_157)))
|
|
{
|
|
goto IL_038e;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0424;
|
|
}
|
|
|
|
IL_03df:
|
|
{
|
|
// else if (ColliderMode == EColliderMode.CombinedMeshCollider)
|
|
int32_t L_158 = __this->___ColliderMode_13;
|
|
if ((!(((uint32_t)L_158) == ((uint32_t)5))))
|
|
{
|
|
goto IL_0424;
|
|
}
|
|
}
|
|
{
|
|
// MeshCollider msh = pf.AddComponent<MeshCollider>();
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_159 = V_0;
|
|
NullCheck(L_159);
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_160;
|
|
L_160 = GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7(L_159, GameObject_AddComponent_TisMeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455_mFE0E36B3C1670C308B04C39EDC76838DD59826B7_RuntimeMethod_var);
|
|
V_11 = L_160;
|
|
// msh.sharedMesh = GetCombinedCollisionMesh();
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_161 = V_11;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_162;
|
|
L_162 = TileDesign_GetCombinedCollisionMesh_m6CD3E1786F5318084BDBD5E073015A3C28C35AB4(__this, NULL);
|
|
NullCheck(L_161);
|
|
MeshCollider_set_sharedMesh_m05F87B9AC04139285EBBCC159F77B51C6940E79C(L_161, L_162, NULL);
|
|
// _UsedCombinedCollisionMesh = msh.sharedMesh;
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_163 = V_11;
|
|
NullCheck(L_163);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_164;
|
|
L_164 = MeshCollider_get_sharedMesh_mFB4B8534501C29930D2D3710D6D82E60093FA21E(L_163, NULL);
|
|
__this->____UsedCombinedCollisionMesh_20 = L_164;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____UsedCombinedCollisionMesh_20), (void*)L_164);
|
|
// msh.sharedMaterial = CollidersMaterial;
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_165 = V_11;
|
|
PhysicMaterial_t4ECED34E04BB2148333467208361A5FBFDCD7131* L_166 = __this->___CollidersMaterial_12;
|
|
NullCheck(L_165);
|
|
Collider_set_sharedMaterial_m2AC21AB939A377ABACF8282CDC52EE61B54107ED(L_165, L_166, NULL);
|
|
// msh.convex = ConvexCollider;
|
|
MeshCollider_tB525E4DDE383252364ED0BDD32CF2B53914EE455* L_167 = V_11;
|
|
bool L_168 = __this->___ConvexCollider_15;
|
|
NullCheck(L_167);
|
|
MeshCollider_set_convex_m20482D687240D0921BA76B77983403E55A2E3CE1(L_167, L_168, NULL);
|
|
}
|
|
|
|
IL_0424:
|
|
{
|
|
// for (int i = 0; i < _string_ToAttach.Count; i++)
|
|
V_12 = 0;
|
|
goto IL_0456;
|
|
}
|
|
|
|
IL_0429:
|
|
{
|
|
// var compType = System.Type.GetType(_string_ToAttach[i]);
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_169 = __this->____string_ToAttach_7;
|
|
int32_t L_170 = V_12;
|
|
NullCheck(L_169);
|
|
String_t* L_171;
|
|
L_171 = List_1_get_Item_m21AEC50E791371101DC22ABCF96A2E46800811F8(L_169, L_170, List_1_get_Item_m21AEC50E791371101DC22ABCF96A2E46800811F8_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(Type_t_il2cpp_TypeInfo_var);
|
|
Type_t* L_172;
|
|
L_172 = il2cpp_codegen_get_type(L_171, Type_GetType_m71A077E0B5DA3BD1DC0AB9AE387056CFCF56F93F_RuntimeMethod_var, TileDesign_GeneratePrefab_mCFD176A77B197BBE03F5CC842042A7882F7431D3_RuntimeMethod_var);
|
|
V_13 = L_172;
|
|
// if (compType != null) pf.AddComponent(compType);
|
|
Type_t* L_173 = V_13;
|
|
bool L_174;
|
|
L_174 = Type_op_Inequality_m83209C7BB3C05DFBEA3B6199B0BEFE8037301172(L_173, (Type_t*)NULL, NULL);
|
|
if (!L_174)
|
|
{
|
|
goto IL_0450;
|
|
}
|
|
}
|
|
{
|
|
// if (compType != null) pf.AddComponent(compType);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_175 = V_0;
|
|
Type_t* L_176 = V_13;
|
|
NullCheck(L_175);
|
|
Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3* L_177;
|
|
L_177 = GameObject_AddComponent_mDF246771EC34613FA6AF0C98D443368FB43E9F36(L_175, L_176, NULL);
|
|
}
|
|
|
|
IL_0450:
|
|
{
|
|
// for (int i = 0; i < _string_ToAttach.Count; i++)
|
|
int32_t L_178 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_178, 1));
|
|
}
|
|
|
|
IL_0456:
|
|
{
|
|
// for (int i = 0; i < _string_ToAttach.Count; i++)
|
|
int32_t L_179 = V_12;
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_180 = __this->____string_ToAttach_7;
|
|
NullCheck(L_180);
|
|
int32_t L_181;
|
|
L_181 = List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_inline(L_180, List_1_get_Count_mB63183A9151F4345A9DD444A7CBE0D6E03F77C7C_RuntimeMethod_var);
|
|
if ((((int32_t)L_179) < ((int32_t)L_181)))
|
|
{
|
|
goto IL_0429;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < SendMessages.Count; i++)
|
|
V_14 = 0;
|
|
goto IL_0483;
|
|
}
|
|
|
|
IL_046a:
|
|
{
|
|
// var mess = SendMessages[i];
|
|
List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* L_182 = __this->___SendMessages_8;
|
|
int32_t L_183 = V_14;
|
|
NullCheck(L_182);
|
|
SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* L_184;
|
|
L_184 = List_1_get_Item_mBF3BB7EE985ACB3AF2DBE110250E94BDF0409BEE(L_182, L_183, List_1_get_Item_mBF3BB7EE985ACB3AF2DBE110250E94BDF0409BEE_RuntimeMethod_var);
|
|
// mess.SendTo(pf);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_185 = V_0;
|
|
NullCheck(L_184);
|
|
SendMessageHelper_SendTo_m16856D06CB04902E7DD9E876F4B6DFCA5BB96495(L_184, L_185, NULL);
|
|
// for (int i = 0; i < SendMessages.Count; i++)
|
|
int32_t L_186 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_186, 1));
|
|
}
|
|
|
|
IL_0483:
|
|
{
|
|
// for (int i = 0; i < SendMessages.Count; i++)
|
|
int32_t L_187 = V_14;
|
|
List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* L_188 = __this->___SendMessages_8;
|
|
NullCheck(L_188);
|
|
int32_t L_189;
|
|
L_189 = List_1_get_Count_mC82B05036EF8568D67042AA2F73632C0D0DA2E2F_inline(L_188, List_1_get_Count_mC82B05036EF8568D67042AA2F73632C0D0DA2E2F_RuntimeMethod_var);
|
|
if ((((int32_t)L_187) < ((int32_t)L_189)))
|
|
{
|
|
goto IL_046a;
|
|
}
|
|
}
|
|
{
|
|
// return pf;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_190 = V_0;
|
|
return L_190;
|
|
}
|
|
}
|
|
// UnityEngine.Bounds FIMSpace.Generating.TileDesign::GetFullBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 TileDesign_GetFullBounds_mA66E54C9FC6D42A9B9B1386EE5057B5562DFFBF5 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
{
|
|
// Bounds b = new Bounds();
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_0028;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// b.Encapsulate(LatestGeneratedMeshes[i].bounds);
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_0 = __this->___LatestGeneratedMeshes_18;
|
|
int32_t L_1 = V_1;
|
|
NullCheck(L_0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2;
|
|
L_2 = List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B(L_0, L_1, List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
NullCheck(L_2);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_3;
|
|
L_3 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_2, NULL);
|
|
Bounds_Encapsulate_m7C70C382B9380A8C962074C78E189B53CE8F7A22((&V_0), L_3, NULL);
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_4 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_5 = V_1;
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_6 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline(L_6, List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
if ((((int32_t)L_5) < ((int32_t)L_7)))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
{
|
|
// return b;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_8 = V_0;
|
|
return L_8;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign::AddInstanceTo(UnityEngine.Material,FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance,System.Collections.Generic.Dictionary`2<UnityEngine.Material,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance>>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign_AddInstanceTo_m349A7B49C177CEBAD130C3E11101CF3C3CD3B18B (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* ___0_key, TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* ___1_tileInst, Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* ___2_inst, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_Add_m50B7F81F8D7A42EF1C6ED821C4F37F1F798540F3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_ContainsKey_m14956EE7B5B0E92CED6CD60B3B17CA1E61134A16_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_get_Item_m2D2E48F59A08CE7C3AA2271DEA028D73B7CFE603_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (!inst.ContainsKey(key)) inst.Add(key, new List<TileMeshSetup.TileMeshCombineInstance>());
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_0 = ___2_inst;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_1 = ___0_key;
|
|
NullCheck(L_0);
|
|
bool L_2;
|
|
L_2 = Dictionary_2_ContainsKey_m14956EE7B5B0E92CED6CD60B3B17CA1E61134A16(L_0, L_1, Dictionary_2_ContainsKey_m14956EE7B5B0E92CED6CD60B3B17CA1E61134A16_RuntimeMethod_var);
|
|
if (L_2)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (!inst.ContainsKey(key)) inst.Add(key, new List<TileMeshSetup.TileMeshCombineInstance>());
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_3 = ___2_inst;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_4 = ___0_key;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_5 = (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*)il2cpp_codegen_object_new(List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA(L_5, List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var);
|
|
NullCheck(L_3);
|
|
Dictionary_2_Add_m50B7F81F8D7A42EF1C6ED821C4F37F1F798540F3(L_3, L_4, L_5, Dictionary_2_Add_m50B7F81F8D7A42EF1C6ED821C4F37F1F798540F3_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// inst[key].Add(tileInst);
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_6 = ___2_inst;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_7 = ___0_key;
|
|
NullCheck(L_6);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_8;
|
|
L_8 = Dictionary_2_get_Item_m2D2E48F59A08CE7C3AA2271DEA028D73B7CFE603(L_6, L_7, Dictionary_2_get_Item_m2D2E48F59A08CE7C3AA2271DEA028D73B7CFE603_RuntimeMethod_var);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_9 = ___1_tileInst;
|
|
NullCheck(L_8);
|
|
List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_inline(L_8, L_9, List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign::FullGenerateStack()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign_FullGenerateStack_mFE40F2AF2475F94B2FCED28EF89516BA03BB5BFA (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2__ctor_mEA7C4EFB730D89291BB8F0EA36C4E1446B6E3383_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m2A7F6C398C8494D1C584E5B59E33A460BBEDC75F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_mB542E879C436E98D901D3068C891582A25F85711_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_mB24A044C1D1D8E0CAD9D696D1C3E8A96F897D127_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* V_0 = NULL;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_1 = NULL;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_2 = NULL;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
bool V_5 = false;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_6 = NULL;
|
|
bool V_7 = false;
|
|
int32_t V_8 = 0;
|
|
int32_t V_9 = 0;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* V_10 = NULL;
|
|
int32_t V_11 = 0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_12 = NULL;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_13 = NULL;
|
|
Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2 V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
int32_t V_16 = 0;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
int32_t V_18 = 0;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* V_19 = NULL;
|
|
int32_t V_20 = 0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_21 = NULL;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_22;
|
|
memset((&V_22), 0, sizeof(V_22));
|
|
int32_t V_23 = 0;
|
|
int32_t V_24 = 0;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* V_25 = NULL;
|
|
int32_t V_26 = 0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_27 = NULL;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* V_28 = NULL;
|
|
KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 V_29;
|
|
memset((&V_29), 0, sizeof(V_29));
|
|
bool V_30 = false;
|
|
int32_t V_31 = 0;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_32;
|
|
memset((&V_32), 0, sizeof(V_32));
|
|
{
|
|
// LatestGeneratedMeshes.Clear();
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_0 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_0);
|
|
List_1_Clear_m2A7F6C398C8494D1C584E5B59E33A460BBEDC75F_inline(L_0, List_1_Clear_m2A7F6C398C8494D1C584E5B59E33A460BBEDC75F_RuntimeMethod_var);
|
|
// LatestGeneratedMeshesMaterials.Clear();
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* L_1 = __this->___LatestGeneratedMeshesMaterials_19;
|
|
NullCheck(L_1);
|
|
List_1_Clear_mB542E879C436E98D901D3068C891582A25F85711_inline(L_1, List_1_Clear_mB542E879C436E98D901D3068C891582A25F85711_RuntimeMethod_var);
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
V_8 = 0;
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// var tile = TileMeshes[i];
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_2 = __this->___TileMeshes_1;
|
|
int32_t L_3 = V_8;
|
|
NullCheck(L_2);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4;
|
|
L_4 = List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4(L_2, L_3, List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
// tile.FullGenerateMesh();
|
|
NullCheck(L_4);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5;
|
|
L_5 = TileMeshSetup_FullGenerateMesh_m4BDA5344659A3CBB4AEBBD2E6B4DB29D7550C6A8(L_4, NULL);
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_6 = V_8;
|
|
V_8 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_7 = V_8;
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_8 = __this->___TileMeshes_1;
|
|
NullCheck(L_8);
|
|
int32_t L_9;
|
|
L_9 = List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline(L_8, List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
if ((((int32_t)L_7) < ((int32_t)L_9)))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// Dictionary<Material, List<TileMeshSetup.TileMeshCombineInstance>> materialMeshes = new System.Collections.Generic.Dictionary<Material, List<TileMeshSetup.TileMeshCombineInstance>>();
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_10 = (Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01*)il2cpp_codegen_object_new(Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01_il2cpp_TypeInfo_var);
|
|
NullCheck(L_10);
|
|
Dictionary_2__ctor_mEA7C4EFB730D89291BB8F0EA36C4E1446B6E3383(L_10, Dictionary_2__ctor_mEA7C4EFB730D89291BB8F0EA36C4E1446B6E3383_RuntimeMethod_var);
|
|
V_0 = L_10;
|
|
// Material defaultMat = DefaultMaterial;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_11 = __this->___DefaultMaterial_6;
|
|
V_1 = L_11;
|
|
// if (defaultMat == null) defaultMat = DefaultDiffuseMaterial;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_12 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_13;
|
|
L_13 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_12, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_13)
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (defaultMat == null) defaultMat = DefaultDiffuseMaterial;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_14;
|
|
L_14 = TileDesign_get_DefaultDiffuseMaterial_mB50BA5BEC1A5A1AE9C53B7FF36E96ED594ADDD85(NULL);
|
|
V_1 = L_14;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
V_9 = 0;
|
|
goto IL_01af;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// TileMeshSetup tile = TileMeshes[i];
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_15 = __this->___TileMeshes_1;
|
|
int32_t L_16 = V_9;
|
|
NullCheck(L_15);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_17;
|
|
L_17 = List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4(L_15, L_16, List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
V_10 = L_17;
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
V_11 = 0;
|
|
goto IL_019b;
|
|
}
|
|
|
|
IL_007e:
|
|
{
|
|
// TileMeshSetup.TileMeshCombineInstance inst = tile.Instances[c];
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_18 = V_10;
|
|
NullCheck(L_18);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_19;
|
|
L_19 = TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB(L_18, NULL);
|
|
int32_t L_20 = V_11;
|
|
NullCheck(L_19);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_21;
|
|
L_21 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_19, L_20, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
V_12 = L_21;
|
|
// inst._bake_Combined = false;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_22 = V_12;
|
|
NullCheck(L_22);
|
|
L_22->____bake_Combined_16 = (bool)0;
|
|
// if (inst.Enabled == false) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_23 = V_12;
|
|
NullCheck(L_23);
|
|
bool L_24 = L_23->___Enabled_0;
|
|
if (!L_24)
|
|
{
|
|
goto IL_0195;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.MeshMode != TileMeshSetup.TileMeshCombineInstance.EMeshMode.Default) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_25 = V_12;
|
|
NullCheck(L_25);
|
|
int32_t L_26 = L_25->___MeshMode_1;
|
|
if (L_26)
|
|
{
|
|
goto IL_0195;
|
|
}
|
|
}
|
|
{
|
|
// inst._BakeParent = tile;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_27 = V_12;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_28 = V_10;
|
|
NullCheck(L_27);
|
|
L_27->____BakeParent_12 = L_28;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_27->____BakeParent_12), (void*)L_28);
|
|
// Material targetMat = inst.OverrideMaterial;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_29 = V_12;
|
|
NullCheck(L_29);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_30 = L_29->___OverrideMaterial_5;
|
|
V_13 = L_30;
|
|
// if (targetMat == null) targetMat = tile.Material;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_31 = V_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_32;
|
|
L_32 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_31, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_32)
|
|
{
|
|
goto IL_00d3;
|
|
}
|
|
}
|
|
{
|
|
// if (targetMat == null) targetMat = tile.Material;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_33 = V_10;
|
|
NullCheck(L_33);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_34 = L_33->___Material_57;
|
|
V_13 = L_34;
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// if (targetMat == null) targetMat = defaultMat;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_35 = V_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_36;
|
|
L_36 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_35, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_36)
|
|
{
|
|
goto IL_00e0;
|
|
}
|
|
}
|
|
{
|
|
// if (targetMat == null) targetMat = defaultMat;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_37 = V_1;
|
|
V_13 = L_37;
|
|
}
|
|
|
|
IL_00e0:
|
|
{
|
|
// inst._ModMesh = null;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_38 = V_12;
|
|
NullCheck(L_38);
|
|
L_38->____ModMesh_13 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_38->____ModMesh_13), (void*)(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL);
|
|
// if (inst.UVOffset != Vector2.zero) { inst.RefreshModMesh(); FMeshUtils.OffsetUV(inst._ModMesh, inst.UVOffset); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_39 = V_12;
|
|
NullCheck(L_39);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = L_39->___UVOffset_8;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_41;
|
|
L_41 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_42;
|
|
L_42 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_40, L_41, NULL);
|
|
if (!L_42)
|
|
{
|
|
goto IL_0116;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UVOffset != Vector2.zero) { inst.RefreshModMesh(); FMeshUtils.OffsetUV(inst._ModMesh, inst.UVOffset); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_43 = V_12;
|
|
NullCheck(L_43);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_43, (bool)0, NULL);
|
|
// if (inst.UVOffset != Vector2.zero) { inst.RefreshModMesh(); FMeshUtils.OffsetUV(inst._ModMesh, inst.UVOffset); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_44 = V_12;
|
|
NullCheck(L_44);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_45 = L_44->____ModMesh_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_46 = V_12;
|
|
NullCheck(L_46);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_47 = L_46->___UVOffset_8;
|
|
FMeshUtils_OffsetUV_m43FB024D99B4D3ADFCB0E5D861AE1EC0816E6CB4(L_45, L_47, NULL);
|
|
}
|
|
|
|
IL_0116:
|
|
{
|
|
// if (inst.UVRotate != 0f) { inst.RefreshModMesh(); FMeshUtils.RotateUV(inst._ModMesh, inst.UVRotate); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_48 = V_12;
|
|
NullCheck(L_48);
|
|
float L_49 = L_48->___UVRotate_9;
|
|
if ((((float)L_49) == ((float)(0.0f))))
|
|
{
|
|
goto IL_013f;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UVRotate != 0f) { inst.RefreshModMesh(); FMeshUtils.RotateUV(inst._ModMesh, inst.UVRotate); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_50 = V_12;
|
|
NullCheck(L_50);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_50, (bool)0, NULL);
|
|
// if (inst.UVRotate != 0f) { inst.RefreshModMesh(); FMeshUtils.RotateUV(inst._ModMesh, inst.UVRotate); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_51 = V_12;
|
|
NullCheck(L_51);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_52 = L_51->____ModMesh_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_53 = V_12;
|
|
NullCheck(L_53);
|
|
float L_54 = L_53->___UVRotate_9;
|
|
FMeshUtils_RotateUV_m82A1C116F7463BE54BB0ECF8B28D209A474640D6(L_52, L_54, NULL);
|
|
}
|
|
|
|
IL_013f:
|
|
{
|
|
// if (inst.UVReScale != Vector2.one) { inst.RefreshModMesh(); FMeshUtils.RescaleUV(inst._ModMesh, inst.UVReScale); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_55 = V_12;
|
|
NullCheck(L_55);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_56 = L_55->___UVReScale_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_57;
|
|
L_57 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
bool L_58;
|
|
L_58 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_56, L_57, NULL);
|
|
if (!L_58)
|
|
{
|
|
goto IL_016d;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UVReScale != Vector2.one) { inst.RefreshModMesh(); FMeshUtils.RescaleUV(inst._ModMesh, inst.UVReScale); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_59 = V_12;
|
|
NullCheck(L_59);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_59, (bool)0, NULL);
|
|
// if (inst.UVReScale != Vector2.one) { inst.RefreshModMesh(); FMeshUtils.RescaleUV(inst._ModMesh, inst.UVReScale); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_60 = V_12;
|
|
NullCheck(L_60);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_61 = L_60->____ModMesh_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_62 = V_12;
|
|
NullCheck(L_62);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_63 = L_62->___UVReScale_10;
|
|
FMeshUtils_RescaleUV_m398E65E16C73B9A12AB96DEF25E9DC13C272A556(L_61, L_63, NULL);
|
|
}
|
|
|
|
IL_016d:
|
|
{
|
|
// if (inst.FlipNormals) { inst.RefreshModMesh(); FMeshUtils.FlipNormals(inst._ModMesh); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_64 = V_12;
|
|
NullCheck(L_64);
|
|
bool L_65 = L_64->___FlipNormals_7;
|
|
if (!L_65)
|
|
{
|
|
goto IL_018a;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.FlipNormals) { inst.RefreshModMesh(); FMeshUtils.FlipNormals(inst._ModMesh); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_66 = V_12;
|
|
NullCheck(L_66);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_66, (bool)0, NULL);
|
|
// if (inst.FlipNormals) { inst.RefreshModMesh(); FMeshUtils.FlipNormals(inst._ModMesh); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_67 = V_12;
|
|
NullCheck(L_67);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_68 = L_67->____ModMesh_13;
|
|
FMeshUtils_FlipNormals_m36E22A5A3D81EC5092F6691EC56B41590F5B3607(L_68, NULL);
|
|
}
|
|
|
|
IL_018a:
|
|
{
|
|
// AddInstanceTo(targetMat, inst, materialMeshes);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_69 = V_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_70 = V_12;
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_71 = V_0;
|
|
TileDesign_AddInstanceTo_m349A7B49C177CEBAD130C3E11101CF3C3CD3B18B(__this, L_69, L_70, L_71, NULL);
|
|
}
|
|
|
|
IL_0195:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_72 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_72, 1));
|
|
}
|
|
|
|
IL_019b:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_73 = V_11;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_74 = V_10;
|
|
NullCheck(L_74);
|
|
int32_t L_75 = L_74->___Copies_0;
|
|
if ((((int32_t)L_73) < ((int32_t)L_75)))
|
|
{
|
|
goto IL_007e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_76 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_76, 1));
|
|
}
|
|
|
|
IL_01af:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_77 = V_9;
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_78 = __this->___TileMeshes_1;
|
|
NullCheck(L_78);
|
|
int32_t L_79;
|
|
L_79 = List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline(L_78, List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
if ((((int32_t)L_77) < ((int32_t)L_79)))
|
|
{
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
// List<CombineInstance> combination = new List<CombineInstance>();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_80 = (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*)il2cpp_codegen_object_new(List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_80);
|
|
List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C(L_80, List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
V_3 = L_80;
|
|
// int indexer = 1;
|
|
V_4 = 1;
|
|
// foreach (var item in materialMeshes)
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_81 = V_0;
|
|
NullCheck(L_81);
|
|
Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2 L_82;
|
|
L_82 = Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526(L_81, Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526_RuntimeMethod_var);
|
|
V_14 = L_82;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_02fa:
|
|
{// begin finally (depth: 1)
|
|
Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F((&V_14), Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F_RuntimeMethod_var);
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_02ec_1;
|
|
}
|
|
|
|
IL_01d7_1:
|
|
{
|
|
// foreach (var item in materialMeshes)
|
|
KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 L_83;
|
|
L_83 = Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_inline((&V_14), Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_RuntimeMethod_var);
|
|
V_15 = L_83;
|
|
// combined = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_84 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_84);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_84, NULL);
|
|
V_2 = L_84;
|
|
// combination.Clear();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_85 = V_3;
|
|
NullCheck(L_85);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_85, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// for (int i = 0; i < item.Value.Count; i++)
|
|
V_16 = 0;
|
|
goto IL_028e_1;
|
|
}
|
|
|
|
IL_01f4_1:
|
|
{
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_17), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// if (item.Value[i]._ModMesh == null)
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_86;
|
|
L_86 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_15), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_87 = V_16;
|
|
NullCheck(L_86);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_88;
|
|
L_88 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_86, L_87, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_88);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_89 = L_88->____ModMesh_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_90;
|
|
L_90 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_89, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_90)
|
|
{
|
|
goto IL_0238_1;
|
|
}
|
|
}
|
|
{
|
|
// comb.mesh = item.Value[i]._BakeParent.LatestGeneratedMesh;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_91;
|
|
L_91 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_15), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_92 = V_16;
|
|
NullCheck(L_91);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_93;
|
|
L_93 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_91, L_92, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_93);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_94 = L_93->____BakeParent_12;
|
|
NullCheck(L_94);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_95;
|
|
L_95 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(L_94, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_17), L_95, NULL);
|
|
goto IL_0252_1;
|
|
}
|
|
|
|
IL_0238_1:
|
|
{
|
|
// comb.mesh = item.Value[i]._ModMesh;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_96;
|
|
L_96 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_15), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_97 = V_16;
|
|
NullCheck(L_96);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_98;
|
|
L_98 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_96, L_97, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_98);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_99 = L_98->____ModMesh_13;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_17), L_99, NULL);
|
|
}
|
|
|
|
IL_0252_1:
|
|
{
|
|
// comb.transform = item.Value[i].GenerateMatrix();
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_100;
|
|
L_100 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_15), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_101 = V_16;
|
|
NullCheck(L_100);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_102;
|
|
L_102 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_100, L_101, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_102);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_103;
|
|
L_103 = TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD(L_102, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_17), L_103, NULL);
|
|
// combination.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_104 = V_3;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_105 = V_17;
|
|
NullCheck(L_104);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_104, L_105, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// item.Value[i]._bake_Combined = true;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_106;
|
|
L_106 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_15), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_107 = V_16;
|
|
NullCheck(L_106);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_108;
|
|
L_108 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_106, L_107, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_108);
|
|
L_108->____bake_Combined_16 = (bool)1;
|
|
// for (int i = 0; i < item.Value.Count; i++)
|
|
int32_t L_109 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_109, 1));
|
|
}
|
|
|
|
IL_028e_1:
|
|
{
|
|
// for (int i = 0; i < item.Value.Count; i++)
|
|
int32_t L_110 = V_16;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_111;
|
|
L_111 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_15), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
NullCheck(L_111);
|
|
int32_t L_112;
|
|
L_112 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_111, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
if ((((int32_t)L_110) < ((int32_t)L_112)))
|
|
{
|
|
goto IL_01f4_1;
|
|
}
|
|
}
|
|
{
|
|
// combined.CombineMeshes(combination.ToArray(), true, true, false);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_113 = V_2;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_114 = V_3;
|
|
NullCheck(L_114);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_115;
|
|
L_115 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_114, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_113);
|
|
Mesh_CombineMeshes_m1AA1A424DBA00B8F1CDA38D06F4609D779AEC5F9(L_113, L_115, (bool)1, (bool)1, (bool)0, NULL);
|
|
// combined.name = DesignName + indexer.ToString();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_116 = V_2;
|
|
String_t* L_117 = __this->___DesignName_0;
|
|
String_t* L_118;
|
|
L_118 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
|
|
String_t* L_119;
|
|
L_119 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_117, L_118, NULL);
|
|
NullCheck(L_116);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_116, L_119, NULL);
|
|
// LatestGeneratedMeshes.Add(combined);
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_120 = __this->___LatestGeneratedMeshes_18;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_121 = V_2;
|
|
NullCheck(L_120);
|
|
List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_inline(L_120, L_121, List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_RuntimeMethod_var);
|
|
// LatestGeneratedMeshesMaterials.Add(item.Key);
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* L_122 = __this->___LatestGeneratedMeshesMaterials_19;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_123;
|
|
L_123 = KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_inline((&V_15), KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_RuntimeMethod_var);
|
|
NullCheck(L_122);
|
|
List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_inline(L_122, L_123, List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_RuntimeMethod_var);
|
|
// indexer += 1;
|
|
int32_t L_124 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_124, 1));
|
|
}
|
|
|
|
IL_02ec_1:
|
|
{
|
|
// foreach (var item in materialMeshes)
|
|
bool L_125;
|
|
L_125 = Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069((&V_14), Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069_RuntimeMethod_var);
|
|
if (L_125)
|
|
{
|
|
goto IL_01d7_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_0308;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_0308:
|
|
{
|
|
// combination.Clear();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_126 = V_3;
|
|
NullCheck(L_126);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_126, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// bool willRemove = false;
|
|
V_5 = (bool)0;
|
|
// Mesh removeCombination = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_127 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_127);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_127, NULL);
|
|
V_6 = L_127;
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
V_18 = 0;
|
|
goto IL_039a;
|
|
}
|
|
|
|
IL_031d:
|
|
{
|
|
// var tile = TileMeshes[i];
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_128 = __this->___TileMeshes_1;
|
|
int32_t L_129 = V_18;
|
|
NullCheck(L_128);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_130;
|
|
L_130 = List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4(L_128, L_129, List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
V_19 = L_130;
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
V_20 = 0;
|
|
goto IL_0389;
|
|
}
|
|
|
|
IL_0331:
|
|
{
|
|
// var inst = tile.Instances[c];
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_131 = V_19;
|
|
NullCheck(L_131);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_132;
|
|
L_132 = TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB(L_131, NULL);
|
|
int32_t L_133 = V_20;
|
|
NullCheck(L_132);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_134;
|
|
L_134 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_132, L_133, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
V_21 = L_134;
|
|
// if (inst.Enabled == false) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_135 = V_21;
|
|
NullCheck(L_135);
|
|
bool L_136 = L_135->___Enabled_0;
|
|
if (!L_136)
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.MeshMode != TileMeshSetup.TileMeshCombineInstance.EMeshMode.Remove) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_137 = V_21;
|
|
NullCheck(L_137);
|
|
int32_t L_138 = L_137->___MeshMode_1;
|
|
if ((!(((uint32_t)L_138) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0383;
|
|
}
|
|
}
|
|
{
|
|
// willRemove = true;
|
|
V_5 = (bool)1;
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_22), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = tile.LatestGeneratedMesh;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_139 = V_19;
|
|
NullCheck(L_139);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_140;
|
|
L_140 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(L_139, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_22), L_140, NULL);
|
|
// comb.transform = inst.GenerateMatrix();
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_141 = V_21;
|
|
NullCheck(L_141);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_142;
|
|
L_142 = TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD(L_141, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_22), L_142, NULL);
|
|
// combination.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_143 = V_3;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_144 = V_22;
|
|
NullCheck(L_143);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_143, L_144, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0383:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_145 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_145, 1));
|
|
}
|
|
|
|
IL_0389:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_146 = V_20;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_147 = V_19;
|
|
NullCheck(L_147);
|
|
int32_t L_148 = L_147->___Copies_0;
|
|
if ((((int32_t)L_146) < ((int32_t)L_148)))
|
|
{
|
|
goto IL_0331;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_149 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_149, 1));
|
|
}
|
|
|
|
IL_039a:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_150 = V_18;
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_151 = __this->___TileMeshes_1;
|
|
NullCheck(L_151);
|
|
int32_t L_152;
|
|
L_152 = List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline(L_151, List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
if ((((int32_t)L_150) < ((int32_t)L_152)))
|
|
{
|
|
goto IL_031d;
|
|
}
|
|
}
|
|
{
|
|
// if (willRemove)
|
|
bool L_153 = V_5;
|
|
if (!L_153)
|
|
{
|
|
goto IL_03fc;
|
|
}
|
|
}
|
|
{
|
|
// removeCombination.CombineMeshes(combination.ToArray(), true, true, false);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_154 = V_6;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_155 = V_3;
|
|
NullCheck(L_155);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_156;
|
|
L_156 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_155, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_154);
|
|
Mesh_CombineMeshes_m1AA1A424DBA00B8F1CDA38D06F4609D779AEC5F9(L_154, L_156, (bool)1, (bool)1, (bool)0, NULL);
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
V_23 = 0;
|
|
goto IL_03ed;
|
|
}
|
|
|
|
IL_03c5:
|
|
{
|
|
// LatestGeneratedMeshes[i] = FMeshUtils.MeshesOperation(LatestGeneratedMeshes[i], removeCombination, Parabox.CSG.CSG.BooleanOp.Subtraction);
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_157 = __this->___LatestGeneratedMeshes_18;
|
|
int32_t L_158 = V_23;
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_159 = __this->___LatestGeneratedMeshes_18;
|
|
int32_t L_160 = V_23;
|
|
NullCheck(L_159);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_161;
|
|
L_161 = List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B(L_159, L_160, List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_162 = V_6;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_163;
|
|
L_163 = FMeshUtils_MeshesOperation_m7C2CBF9681486B973B6768620035C8F691415541(L_161, L_162, 3, NULL);
|
|
NullCheck(L_157);
|
|
List_1_set_Item_mB24A044C1D1D8E0CAD9D696D1C3E8A96F897D127(L_157, L_158, L_163, List_1_set_Item_mB24A044C1D1D8E0CAD9D696D1C3E8A96F897D127_RuntimeMethod_var);
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_164 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_164, 1));
|
|
}
|
|
|
|
IL_03ed:
|
|
{
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_165 = V_23;
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_166 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_166);
|
|
int32_t L_167;
|
|
L_167 = List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline(L_166, List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
if ((((int32_t)L_165) < ((int32_t)L_167)))
|
|
{
|
|
goto IL_03c5;
|
|
}
|
|
}
|
|
|
|
IL_03fc:
|
|
{
|
|
// bool areNotRemoved = false;
|
|
V_7 = (bool)0;
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
V_24 = 0;
|
|
goto IL_0553;
|
|
}
|
|
|
|
IL_0407:
|
|
{
|
|
// TileMeshSetup tile = TileMeshes[i];
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_168 = __this->___TileMeshes_1;
|
|
int32_t L_169 = V_24;
|
|
NullCheck(L_168);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_170;
|
|
L_170 = List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4(L_168, L_169, List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
V_25 = L_170;
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
V_26 = 0;
|
|
goto IL_053f;
|
|
}
|
|
|
|
IL_041e:
|
|
{
|
|
// TileMeshSetup.TileMeshCombineInstance inst = tile.Instances[c];
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_171 = V_25;
|
|
NullCheck(L_171);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_172;
|
|
L_172 = TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB(L_171, NULL);
|
|
int32_t L_173 = V_26;
|
|
NullCheck(L_172);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_174;
|
|
L_174 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_172, L_173, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
V_27 = L_174;
|
|
// inst._BakeParent = tile;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_175 = V_27;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_176 = V_25;
|
|
NullCheck(L_175);
|
|
L_175->____BakeParent_12 = L_176;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_175->____BakeParent_12), (void*)L_176);
|
|
// if (inst.Enabled == false) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_177 = V_27;
|
|
NullCheck(L_177);
|
|
bool L_178 = L_177->___Enabled_0;
|
|
if (!L_178)
|
|
{
|
|
goto IL_0539;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.MeshMode != TileMeshSetup.TileMeshCombineInstance.EMeshMode.ForceDontRemove) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_179 = V_27;
|
|
NullCheck(L_179);
|
|
int32_t L_180 = L_179->___MeshMode_1;
|
|
if ((!(((uint32_t)L_180) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0539;
|
|
}
|
|
}
|
|
{
|
|
// areNotRemoved = true;
|
|
V_7 = (bool)1;
|
|
// inst._bake_Combined = false;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_181 = V_27;
|
|
NullCheck(L_181);
|
|
L_181->____bake_Combined_16 = (bool)0;
|
|
// Material targetMat = inst.OverrideMaterial;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_182 = V_27;
|
|
NullCheck(L_182);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_183 = L_182->___OverrideMaterial_5;
|
|
V_28 = L_183;
|
|
// if (targetMat == null) targetMat = tile.Material;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_184 = V_28;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_185;
|
|
L_185 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_184, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_185)
|
|
{
|
|
goto IL_0477;
|
|
}
|
|
}
|
|
{
|
|
// if (targetMat == null) targetMat = tile.Material;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_186 = V_25;
|
|
NullCheck(L_186);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_187 = L_186->___Material_57;
|
|
V_28 = L_187;
|
|
}
|
|
|
|
IL_0477:
|
|
{
|
|
// if (targetMat == null) targetMat = defaultMat;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_188 = V_28;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_189;
|
|
L_189 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_188, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_189)
|
|
{
|
|
goto IL_0484;
|
|
}
|
|
}
|
|
{
|
|
// if (targetMat == null) targetMat = defaultMat;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_190 = V_1;
|
|
V_28 = L_190;
|
|
}
|
|
|
|
IL_0484:
|
|
{
|
|
// inst._ModMesh = null;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_191 = V_27;
|
|
NullCheck(L_191);
|
|
L_191->____ModMesh_13 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_191->____ModMesh_13), (void*)(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL);
|
|
// if (inst.UVOffset != Vector2.zero) { inst.RefreshModMesh(); FMeshUtils.OffsetUV(inst._ModMesh, inst.UVOffset); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_192 = V_27;
|
|
NullCheck(L_192);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_193 = L_192->___UVOffset_8;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_194;
|
|
L_194 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_195;
|
|
L_195 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_193, L_194, NULL);
|
|
if (!L_195)
|
|
{
|
|
goto IL_04ba;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UVOffset != Vector2.zero) { inst.RefreshModMesh(); FMeshUtils.OffsetUV(inst._ModMesh, inst.UVOffset); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_196 = V_27;
|
|
NullCheck(L_196);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_196, (bool)0, NULL);
|
|
// if (inst.UVOffset != Vector2.zero) { inst.RefreshModMesh(); FMeshUtils.OffsetUV(inst._ModMesh, inst.UVOffset); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_197 = V_27;
|
|
NullCheck(L_197);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_198 = L_197->____ModMesh_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_199 = V_27;
|
|
NullCheck(L_199);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_200 = L_199->___UVOffset_8;
|
|
FMeshUtils_OffsetUV_m43FB024D99B4D3ADFCB0E5D861AE1EC0816E6CB4(L_198, L_200, NULL);
|
|
}
|
|
|
|
IL_04ba:
|
|
{
|
|
// if (inst.UVRotate != 0f) { inst.RefreshModMesh(); FMeshUtils.RotateUV(inst._ModMesh, inst.UVRotate); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_201 = V_27;
|
|
NullCheck(L_201);
|
|
float L_202 = L_201->___UVRotate_9;
|
|
if ((((float)L_202) == ((float)(0.0f))))
|
|
{
|
|
goto IL_04e3;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UVRotate != 0f) { inst.RefreshModMesh(); FMeshUtils.RotateUV(inst._ModMesh, inst.UVRotate); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_203 = V_27;
|
|
NullCheck(L_203);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_203, (bool)0, NULL);
|
|
// if (inst.UVRotate != 0f) { inst.RefreshModMesh(); FMeshUtils.RotateUV(inst._ModMesh, inst.UVRotate); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_204 = V_27;
|
|
NullCheck(L_204);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_205 = L_204->____ModMesh_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_206 = V_27;
|
|
NullCheck(L_206);
|
|
float L_207 = L_206->___UVRotate_9;
|
|
FMeshUtils_RotateUV_m82A1C116F7463BE54BB0ECF8B28D209A474640D6(L_205, L_207, NULL);
|
|
}
|
|
|
|
IL_04e3:
|
|
{
|
|
// if (inst.UVReScale != Vector2.one) { inst.RefreshModMesh(); FMeshUtils.RescaleUV(inst._ModMesh, inst.UVReScale); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_208 = V_27;
|
|
NullCheck(L_208);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_209 = L_208->___UVReScale_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_210;
|
|
L_210 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
bool L_211;
|
|
L_211 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_209, L_210, NULL);
|
|
if (!L_211)
|
|
{
|
|
goto IL_0511;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UVReScale != Vector2.one) { inst.RefreshModMesh(); FMeshUtils.RescaleUV(inst._ModMesh, inst.UVReScale); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_212 = V_27;
|
|
NullCheck(L_212);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_212, (bool)0, NULL);
|
|
// if (inst.UVReScale != Vector2.one) { inst.RefreshModMesh(); FMeshUtils.RescaleUV(inst._ModMesh, inst.UVReScale); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_213 = V_27;
|
|
NullCheck(L_213);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_214 = L_213->____ModMesh_13;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_215 = V_27;
|
|
NullCheck(L_215);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_216 = L_215->___UVReScale_10;
|
|
FMeshUtils_RescaleUV_m398E65E16C73B9A12AB96DEF25E9DC13C272A556(L_214, L_216, NULL);
|
|
}
|
|
|
|
IL_0511:
|
|
{
|
|
// if (inst.FlipNormals) { inst.RefreshModMesh(); FMeshUtils.FlipNormals(inst._ModMesh); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_217 = V_27;
|
|
NullCheck(L_217);
|
|
bool L_218 = L_217->___FlipNormals_7;
|
|
if (!L_218)
|
|
{
|
|
goto IL_052e;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.FlipNormals) { inst.RefreshModMesh(); FMeshUtils.FlipNormals(inst._ModMesh); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_219 = V_27;
|
|
NullCheck(L_219);
|
|
TileMeshCombineInstance_RefreshModMesh_m41913E263A5F4F1B95369C3B0E86B24D2E22CD80(L_219, (bool)0, NULL);
|
|
// if (inst.FlipNormals) { inst.RefreshModMesh(); FMeshUtils.FlipNormals(inst._ModMesh); }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_220 = V_27;
|
|
NullCheck(L_220);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_221 = L_220->____ModMesh_13;
|
|
FMeshUtils_FlipNormals_m36E22A5A3D81EC5092F6691EC56B41590F5B3607(L_221, NULL);
|
|
}
|
|
|
|
IL_052e:
|
|
{
|
|
// AddInstanceTo(targetMat, inst, materialMeshes);
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_222 = V_28;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_223 = V_27;
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_224 = V_0;
|
|
TileDesign_AddInstanceTo_m349A7B49C177CEBAD130C3E11101CF3C3CD3B18B(__this, L_222, L_223, L_224, NULL);
|
|
}
|
|
|
|
IL_0539:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_225 = V_26;
|
|
V_26 = ((int32_t)il2cpp_codegen_add(L_225, 1));
|
|
}
|
|
|
|
IL_053f:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_226 = V_26;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_227 = V_25;
|
|
NullCheck(L_227);
|
|
int32_t L_228 = L_227->___Copies_0;
|
|
if ((((int32_t)L_226) < ((int32_t)L_228)))
|
|
{
|
|
goto IL_041e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_229 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_229, 1));
|
|
}
|
|
|
|
IL_0553:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_230 = V_24;
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_231 = __this->___TileMeshes_1;
|
|
NullCheck(L_231);
|
|
int32_t L_232;
|
|
L_232 = List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline(L_231, List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
if ((((int32_t)L_230) < ((int32_t)L_232)))
|
|
{
|
|
goto IL_0407;
|
|
}
|
|
}
|
|
{
|
|
// if (areNotRemoved)
|
|
bool L_233 = V_7;
|
|
if (!L_233)
|
|
{
|
|
goto IL_06d5;
|
|
}
|
|
}
|
|
{
|
|
// combination = new List<CombineInstance>();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_234 = (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*)il2cpp_codegen_object_new(List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_234);
|
|
List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C(L_234, List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
V_3 = L_234;
|
|
// indexer = 1;
|
|
V_4 = 1;
|
|
// foreach (var item in materialMeshes)
|
|
Dictionary_2_t523D60175C84CD84195793D8A6EB3AC888BAFF01* L_235 = V_0;
|
|
NullCheck(L_235);
|
|
Enumerator_t14DD0B78B7EEB046A15CC877D250C3D4C8DB78F2 L_236;
|
|
L_236 = Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526(L_235, Dictionary_2_GetEnumerator_m37195FC77DED80FC8E8EC64E646B8116F8CE9526_RuntimeMethod_var);
|
|
V_14 = L_236;
|
|
}
|
|
{
|
|
auto __finallyBlock = il2cpp::utils::Finally([&]
|
|
{
|
|
|
|
FINALLY_06c7:
|
|
{// begin finally (depth: 1)
|
|
Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F((&V_14), Enumerator_Dispose_m483DDEABEDE3986345864DF92E9AF43EF747081F_RuntimeMethod_var);
|
|
return;
|
|
}// end finally (depth: 1)
|
|
});
|
|
try
|
|
{// begin try (depth: 1)
|
|
{
|
|
goto IL_06b9_1;
|
|
}
|
|
|
|
IL_0582_1:
|
|
{
|
|
// foreach (var item in materialMeshes)
|
|
KeyValuePair_2_t129FB6C3F9AC5592C38BD2007FC829D4F928A2B5 L_237;
|
|
L_237 = Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_inline((&V_14), Enumerator_get_Current_mF1296A57D9F731339170B06743AF1A460DA9F1CC_RuntimeMethod_var);
|
|
V_29 = L_237;
|
|
// combined = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_238 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_238);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_238, NULL);
|
|
V_2 = L_238;
|
|
// combination.Clear();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_239 = V_3;
|
|
NullCheck(L_239);
|
|
List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_inline(L_239, List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_RuntimeMethod_var);
|
|
// bool wasComb = false;
|
|
V_30 = (bool)0;
|
|
// for (int i = 0; i < item.Value.Count; i++)
|
|
V_31 = 0;
|
|
goto IL_0657_1;
|
|
}
|
|
|
|
IL_05a2_1:
|
|
{
|
|
// if (item.Value[i]._bake_Combined) continue;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_240;
|
|
L_240 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_241 = V_31;
|
|
NullCheck(L_240);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_242;
|
|
L_242 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_240, L_241, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_242);
|
|
bool L_243 = L_242->____bake_Combined_16;
|
|
if (L_243)
|
|
{
|
|
goto IL_0651_1;
|
|
}
|
|
}
|
|
{
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_32), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// if (item.Value[i]._ModMesh == null)
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_244;
|
|
L_244 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_245 = V_31;
|
|
NullCheck(L_244);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_246;
|
|
L_246 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_244, L_245, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_246);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_247 = L_246->____ModMesh_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_248;
|
|
L_248 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_247, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_248)
|
|
{
|
|
goto IL_05fe_1;
|
|
}
|
|
}
|
|
{
|
|
// comb.mesh = item.Value[i]._BakeParent.LatestGeneratedMesh;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_249;
|
|
L_249 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_250 = V_31;
|
|
NullCheck(L_249);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_251;
|
|
L_251 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_249, L_250, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_251);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_252 = L_251->____BakeParent_12;
|
|
NullCheck(L_252);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_253;
|
|
L_253 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(L_252, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_32), L_253, NULL);
|
|
goto IL_0618_1;
|
|
}
|
|
|
|
IL_05fe_1:
|
|
{
|
|
// comb.mesh = item.Value[i]._ModMesh;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_254;
|
|
L_254 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_255 = V_31;
|
|
NullCheck(L_254);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_256;
|
|
L_256 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_254, L_255, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_256);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_257 = L_256->____ModMesh_13;
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_32), L_257, NULL);
|
|
}
|
|
|
|
IL_0618_1:
|
|
{
|
|
// comb.transform = item.Value[i].GenerateMatrix();
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_258;
|
|
L_258 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_259 = V_31;
|
|
NullCheck(L_258);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_260;
|
|
L_260 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_258, L_259, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_260);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_261;
|
|
L_261 = TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD(L_260, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_32), L_261, NULL);
|
|
// combination.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_262 = V_3;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_263 = V_32;
|
|
NullCheck(L_262);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_262, L_263, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
// item.Value[i]._bake_Combined = true;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_264;
|
|
L_264 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
int32_t L_265 = V_31;
|
|
NullCheck(L_264);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_266;
|
|
L_266 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_264, L_265, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_266);
|
|
L_266->____bake_Combined_16 = (bool)1;
|
|
// wasComb = true;
|
|
V_30 = (bool)1;
|
|
}
|
|
|
|
IL_0651_1:
|
|
{
|
|
// for (int i = 0; i < item.Value.Count; i++)
|
|
int32_t L_267 = V_31;
|
|
V_31 = ((int32_t)il2cpp_codegen_add(L_267, 1));
|
|
}
|
|
|
|
IL_0657_1:
|
|
{
|
|
// for (int i = 0; i < item.Value.Count; i++)
|
|
int32_t L_268 = V_31;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_269;
|
|
L_269 = KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_inline((&V_29), KeyValuePair_2_get_Value_m34A0A2B722242EBBCE40190D5B67E8A3DC187051_RuntimeMethod_var);
|
|
NullCheck(L_269);
|
|
int32_t L_270;
|
|
L_270 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_269, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
if ((((int32_t)L_268) < ((int32_t)L_270)))
|
|
{
|
|
goto IL_05a2_1;
|
|
}
|
|
}
|
|
{
|
|
// if (wasComb)
|
|
bool L_271 = V_30;
|
|
if (!L_271)
|
|
{
|
|
goto IL_06b3_1;
|
|
}
|
|
}
|
|
{
|
|
// combined.CombineMeshes(combination.ToArray(), true, true, false);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_272 = V_2;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_273 = V_3;
|
|
NullCheck(L_273);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_274;
|
|
L_274 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_273, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_272);
|
|
Mesh_CombineMeshes_m1AA1A424DBA00B8F1CDA38D06F4609D779AEC5F9(L_272, L_274, (bool)1, (bool)1, (bool)0, NULL);
|
|
// combined.name = DesignName + indexer.ToString();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_275 = V_2;
|
|
String_t* L_276 = __this->___DesignName_0;
|
|
String_t* L_277;
|
|
L_277 = Int32_ToString_m030E01C24E294D6762FB0B6F37CB541581F55CA5((&V_4), NULL);
|
|
String_t* L_278;
|
|
L_278 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_276, L_277, NULL);
|
|
NullCheck(L_275);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_275, L_278, NULL);
|
|
// LatestGeneratedMeshes.Add(combined);
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_279 = __this->___LatestGeneratedMeshes_18;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_280 = V_2;
|
|
NullCheck(L_279);
|
|
List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_inline(L_279, L_280, List_1_Add_m0AA44AA37E6B2131E4A3A94A5D1C42F44336D28A_RuntimeMethod_var);
|
|
// LatestGeneratedMeshesMaterials.Add(item.Key);
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* L_281 = __this->___LatestGeneratedMeshesMaterials_19;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_282;
|
|
L_282 = KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_inline((&V_29), KeyValuePair_2_get_Key_m8FB9F37CF57FFC9EE864EDF967A3ADCFCE63786D_RuntimeMethod_var);
|
|
NullCheck(L_281);
|
|
List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_inline(L_281, L_282, List_1_Add_m5F62EE992DBCC5323267265794235C9EEE07997B_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_06b3_1:
|
|
{
|
|
// indexer += 1;
|
|
int32_t L_283 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_283, 1));
|
|
}
|
|
|
|
IL_06b9_1:
|
|
{
|
|
// foreach (var item in materialMeshes)
|
|
bool L_284;
|
|
L_284 = Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069((&V_14), Enumerator_MoveNext_m06C53024722C4C7A447493EF5275BD1F99A6C069_RuntimeMethod_var);
|
|
if (L_284)
|
|
{
|
|
goto IL_0582_1;
|
|
}
|
|
}
|
|
{
|
|
goto IL_06d5;
|
|
}
|
|
}// end try (depth: 1)
|
|
catch(Il2CppExceptionWrapper& e)
|
|
{
|
|
__finallyBlock.StoreException(e.ex);
|
|
}
|
|
}
|
|
|
|
IL_06d5:
|
|
{
|
|
// RefreshGenerateMeshesInfo();
|
|
TileDesign_RefreshGenerateMeshesInfo_m886E905A89595482C20193125BC841AC7E8F4AA1(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.TileDesign::get_IsSomethingGenerated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TileDesign_get_IsSomethingGenerated_m21CE2C41DCD26FB45FEEE48E24006B14929E4524 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public bool IsSomethingGenerated { get { return LatestGeneratedMeshes.Count > 0; } }
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_0 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline(L_0, List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
return (bool)((((int32_t)L_1) > ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileDesign::GetCombinedCollisionMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileDesign_GetCombinedCollisionMesh_m6CD3E1786F5318084BDBD5E073015A3C28C35AB4 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB9AD376F18AA59841368F2986DF52B9871DEC217);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* V_1 = NULL;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_2 = NULL;
|
|
bool V_3 = false;
|
|
int32_t V_4 = 0;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* V_5 = NULL;
|
|
int32_t V_6 = 0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_7 = NULL;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
int32_t V_9 = 0;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* V_10 = NULL;
|
|
int32_t V_11 = 0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_12 = NULL;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
{
|
|
// Mesh combined = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_0, NULL);
|
|
V_0 = L_0;
|
|
// List<CombineInstance> combination = new List<CombineInstance>();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_1 = (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*)il2cpp_codegen_object_new(List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C(L_1, List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
V_1 = L_1;
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_00c2;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// TileMeshSetup tile = TileMeshes[i];
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_2 = __this->___TileMeshes_1;
|
|
int32_t L_3 = V_4;
|
|
NullCheck(L_2);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4;
|
|
L_4 = List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4(L_2, L_3, List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
V_5 = L_4;
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
V_6 = 0;
|
|
goto IL_00ae;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// TileMeshSetup.TileMeshCombineInstance inst = tile.Instances[c];
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_5 = V_5;
|
|
NullCheck(L_5);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_6;
|
|
L_6 = TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB(L_5, NULL);
|
|
int32_t L_7 = V_6;
|
|
NullCheck(L_6);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_8;
|
|
L_8 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_6, L_7, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
V_7 = L_8;
|
|
// if (inst.Enabled == false) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_9 = V_7;
|
|
NullCheck(L_9);
|
|
bool L_10 = L_9->___Enabled_0;
|
|
if (!L_10)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.MeshMode == TileMeshSetup.TileMeshCombineInstance.EMeshMode.Default)
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_11 = V_7;
|
|
NullCheck(L_11);
|
|
int32_t L_12 = L_11->___MeshMode_1;
|
|
if (L_12)
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// if (!inst.UseInCollider) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_13 = V_7;
|
|
NullCheck(L_13);
|
|
bool L_14 = L_13->___UseInCollider_11;
|
|
if (L_14)
|
|
{
|
|
goto IL_0062;
|
|
}
|
|
}
|
|
{
|
|
// if (!inst.UseInCollider) continue;
|
|
goto IL_00a8;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// else if (inst.MeshMode != TileMeshSetup.TileMeshCombineInstance.EMeshMode.JustCollider)
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_15 = V_7;
|
|
NullCheck(L_15);
|
|
int32_t L_16 = L_15->___MeshMode_1;
|
|
if ((!(((uint32_t)L_16) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_8), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = inst._BakeParent.LatestGeneratedMesh;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_17 = V_7;
|
|
NullCheck(L_17);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_18 = L_17->____BakeParent_12;
|
|
NullCheck(L_18);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_19;
|
|
L_19 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(L_18, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_8), L_19, NULL);
|
|
// if (inst.FlipNormals) FMeshUtils.FlipNormals(comb.mesh);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_20 = V_7;
|
|
NullCheck(L_20);
|
|
bool L_21 = L_20->___FlipNormals_7;
|
|
if (!L_21)
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.FlipNormals) FMeshUtils.FlipNormals(comb.mesh);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_22;
|
|
L_22 = CombineInstance_get_mesh_m85416E24709E1C5314B8FAD8B8F2D155B9C2481C((&V_8), NULL);
|
|
FMeshUtils_FlipNormals_m36E22A5A3D81EC5092F6691EC56B41590F5B3607(L_22, NULL);
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// comb.transform = inst.GenerateMatrix();
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_23 = V_7;
|
|
NullCheck(L_23);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_24;
|
|
L_24 = TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD(L_23, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_8), L_24, NULL);
|
|
// combination.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_25 = V_1;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_26 = V_8;
|
|
NullCheck(L_25);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_25, L_26, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_27 = V_6;
|
|
V_6 = ((int32_t)il2cpp_codegen_add(L_27, 1));
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_28 = V_6;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_29 = V_5;
|
|
NullCheck(L_29);
|
|
int32_t L_30 = L_29->___Copies_0;
|
|
if ((((int32_t)L_28) < ((int32_t)L_30)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_31 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_31, 1));
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_32 = V_4;
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_33 = __this->___TileMeshes_1;
|
|
NullCheck(L_33);
|
|
int32_t L_34;
|
|
L_34 = List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline(L_33, List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
if ((((int32_t)L_32) < ((int32_t)L_34)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// combined.CombineMeshes(combination.ToArray(), true, true, false);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_35 = V_0;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_36 = V_1;
|
|
NullCheck(L_36);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_37;
|
|
L_37 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_36, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_35);
|
|
Mesh_CombineMeshes_m1AA1A424DBA00B8F1CDA38D06F4609D779AEC5F9(L_35, L_37, (bool)1, (bool)1, (bool)0, NULL);
|
|
// Mesh combinedRemoveShape = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_38 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_38);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_38, NULL);
|
|
V_2 = L_38;
|
|
// combination = new List<CombineInstance>();
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_39 = (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*)il2cpp_codegen_object_new(List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE_il2cpp_TypeInfo_var);
|
|
NullCheck(L_39);
|
|
List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C(L_39, List_1__ctor_m0303AE6DA20CC79D5D751CEF897F7BA6100B7C8C_RuntimeMethod_var);
|
|
V_1 = L_39;
|
|
// bool willRemove = false;
|
|
V_3 = (bool)0;
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
V_9 = 0;
|
|
goto IL_017e;
|
|
}
|
|
|
|
IL_00f9:
|
|
{
|
|
// TileMeshSetup tile = TileMeshes[i];
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_40 = __this->___TileMeshes_1;
|
|
int32_t L_41 = V_9;
|
|
NullCheck(L_40);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_42;
|
|
L_42 = List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4(L_40, L_41, List_1_get_Item_m00D67611656D2FD229D0CD747D7C42A60131E6C4_RuntimeMethod_var);
|
|
V_10 = L_42;
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
V_11 = 0;
|
|
goto IL_016d;
|
|
}
|
|
|
|
IL_010d:
|
|
{
|
|
// TileMeshSetup.TileMeshCombineInstance inst = tile.Instances[c];
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_43 = V_10;
|
|
NullCheck(L_43);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_44;
|
|
L_44 = TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB(L_43, NULL);
|
|
int32_t L_45 = V_11;
|
|
NullCheck(L_44);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_46;
|
|
L_46 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_44, L_45, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
V_12 = L_46;
|
|
// if (inst.Enabled == false) { continue; }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_47 = V_12;
|
|
NullCheck(L_47);
|
|
bool L_48 = L_47->___Enabled_0;
|
|
if (!L_48)
|
|
{
|
|
goto IL_0167;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.MeshMode != TileMeshSetup.TileMeshCombineInstance.EMeshMode.Remove) { continue; }
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_49 = V_12;
|
|
NullCheck(L_49);
|
|
int32_t L_50 = L_49->___MeshMode_1;
|
|
if ((!(((uint32_t)L_50) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0167;
|
|
}
|
|
}
|
|
{
|
|
// if (inst.UseInCollider == false) continue;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_51 = V_12;
|
|
NullCheck(L_51);
|
|
bool L_52 = L_51->___UseInCollider_11;
|
|
if (!L_52)
|
|
{
|
|
goto IL_0167;
|
|
}
|
|
}
|
|
{
|
|
// willRemove = true;
|
|
V_3 = (bool)1;
|
|
// CombineInstance comb = new CombineInstance();
|
|
il2cpp_codegen_initobj((&V_13), sizeof(CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE));
|
|
// comb.mesh = tile.LatestGeneratedMesh;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_53 = V_10;
|
|
NullCheck(L_53);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_54;
|
|
L_54 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(L_53, NULL);
|
|
CombineInstance_set_mesh_mB74AB585ED11B0D8B619F7ADC8B55286DD50A1B5((&V_13), L_54, NULL);
|
|
// comb.transform = inst.GenerateMatrix();
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_55 = V_12;
|
|
NullCheck(L_55);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_56;
|
|
L_56 = TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD(L_55, NULL);
|
|
CombineInstance_set_transform_m9C9911DE1F613A1B949DF89CD46B0E8F742F3BEE((&V_13), L_56, NULL);
|
|
// combination.Add(comb);
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_57 = V_1;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_58 = V_13;
|
|
NullCheck(L_57);
|
|
List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_inline(L_57, L_58, List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0167:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_59 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_59, 1));
|
|
}
|
|
|
|
IL_016d:
|
|
{
|
|
// for (int c = 0; c < tile.Copies; c++)
|
|
int32_t L_60 = V_11;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_61 = V_10;
|
|
NullCheck(L_61);
|
|
int32_t L_62 = L_61->___Copies_0;
|
|
if ((((int32_t)L_60) < ((int32_t)L_62)))
|
|
{
|
|
goto IL_010d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_63 = V_9;
|
|
V_9 = ((int32_t)il2cpp_codegen_add(L_63, 1));
|
|
}
|
|
|
|
IL_017e:
|
|
{
|
|
// for (int i = 0; i < TileMeshes.Count; i++)
|
|
int32_t L_64 = V_9;
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_65 = __this->___TileMeshes_1;
|
|
NullCheck(L_65);
|
|
int32_t L_66;
|
|
L_66 = List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_inline(L_65, List_1_get_Count_m543D3F1822552364DC55C8BD5E1107C4F981470E_RuntimeMethod_var);
|
|
if ((((int32_t)L_64) < ((int32_t)L_66)))
|
|
{
|
|
goto IL_00f9;
|
|
}
|
|
}
|
|
{
|
|
// if (willRemove)
|
|
bool L_67 = V_3;
|
|
if (!L_67)
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
// combinedRemoveShape.CombineMeshes(combination.ToArray(), true, true, false);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_68 = V_2;
|
|
List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* L_69 = V_1;
|
|
NullCheck(L_69);
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_70;
|
|
L_70 = List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7(L_69, List_1_ToArray_m2DE8525FAA1486AC4AC3FB949335022082A74BC7_RuntimeMethod_var);
|
|
NullCheck(L_68);
|
|
Mesh_CombineMeshes_m1AA1A424DBA00B8F1CDA38D06F4609D779AEC5F9(L_68, L_70, (bool)1, (bool)1, (bool)0, NULL);
|
|
// combined = FMeshUtils.MeshesOperation(combined, combinedRemoveShape, Parabox.CSG.CSG.BooleanOp.Subtraction);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_71 = V_0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_72 = V_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_73;
|
|
L_73 = FMeshUtils_MeshesOperation_m7C2CBF9681486B973B6768620035C8F691415541(L_71, L_72, 3, NULL);
|
|
V_0 = L_73;
|
|
}
|
|
|
|
IL_01ab:
|
|
{
|
|
// combined.name = DesignName + "_Collider";
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_74 = V_0;
|
|
String_t* L_75 = __this->___DesignName_0;
|
|
String_t* L_76;
|
|
L_76 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(L_75, _stringLiteralB9AD376F18AA59841368F2986DF52B9871DEC217, NULL);
|
|
NullCheck(L_74);
|
|
Object_set_name_mC79E6DC8FFD72479C90F0C4CC7F42A0FEAF5AE47(L_74, L_76, NULL);
|
|
// return combined;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_77 = V_0;
|
|
return L_77;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign::RefreshGenerateMeshesInfo()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign_RefreshGenerateMeshesInfo_m886E905A89595482C20193125BC841AC7E8F4AA1 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_1 = NULL;
|
|
{
|
|
// _LatestGen_Meshes = LatestGeneratedMeshes.Count;
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_0 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline(L_0, List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
__this->____LatestGen_Meshes_21 = L_1;
|
|
// _LatestGen_Vertices = 0;
|
|
__this->____LatestGen_Vertices_22 = 0;
|
|
// _LatestGen_Tris = 0;
|
|
__this->____LatestGen_Tris_23 = 0;
|
|
// _LatestGen_Bounds = new Bounds();
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_2 = (&__this->____LatestGen_Bounds_24);
|
|
il2cpp_codegen_initobj(L_2, sizeof(Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3));
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_007b;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// var mesh = LatestGeneratedMeshes[i];
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_3 = __this->___LatestGeneratedMeshes_18;
|
|
int32_t L_4 = V_0;
|
|
NullCheck(L_3);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5;
|
|
L_5 = List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B(L_3, L_4, List_1_get_Item_mAE6B44C3127586ED9DF5B88833C3148B546AA39B_RuntimeMethod_var);
|
|
V_1 = L_5;
|
|
// _LatestGen_Vertices += mesh.vertexCount;
|
|
int32_t L_6 = __this->____LatestGen_Vertices_22;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_7 = V_1;
|
|
NullCheck(L_7);
|
|
int32_t L_8;
|
|
L_8 = Mesh_get_vertexCount_mB7BE0340AAF272933068D830C8E711FC8978E12C(L_7, NULL);
|
|
__this->____LatestGen_Vertices_22 = ((int32_t)il2cpp_codegen_add(L_6, L_8));
|
|
// _LatestGen_Tris += mesh.triangles.Length / 3;
|
|
int32_t L_9 = __this->____LatestGen_Tris_23;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_10 = V_1;
|
|
NullCheck(L_10);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_11;
|
|
L_11 = Mesh_get_triangles_m33E39B4A383CC613C760FA7E297AC417A433F24B(L_10, NULL);
|
|
NullCheck(L_11);
|
|
__this->____LatestGen_Tris_23 = ((int32_t)il2cpp_codegen_add(L_9, ((int32_t)(((int32_t)(((RuntimeArray*)L_11)->max_length))/3))));
|
|
// _LatestGen_Bounds.Encapsulate(mesh.bounds);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_12 = (&__this->____LatestGen_Bounds_24);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_13 = V_1;
|
|
NullCheck(L_13);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_14;
|
|
L_14 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_13, NULL);
|
|
Bounds_Encapsulate_m7C70C382B9380A8C962074C78E189B53CE8F7A22(L_12, L_14, NULL);
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_15 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_15, 1));
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
// for (int i = 0; i < LatestGeneratedMeshes.Count; i++)
|
|
int32_t L_16 = V_0;
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_17 = __this->___LatestGeneratedMeshes_18;
|
|
NullCheck(L_17);
|
|
int32_t L_18;
|
|
L_18 = List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_inline(L_17, List_1_get_Count_m6536F496993F98391DCF9D74A9EFC620FDE476CD_RuntimeMethod_var);
|
|
if ((((int32_t)L_16) < ((int32_t)L_18)))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesign__ctor_m671E274A0E52E0C354475F5DA9539ED64DCEF959 (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m38500C20418699AEC04B1946434E06EC96FB4B1C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m4BE0AABF1BBA5C6630FCD0978CFBF1F6AE920AD0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m995E7F898C1F728554AFCBE93329D6529B039FE2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCA8DD57EAC70C2B5923DBB9D5A77CEAC22E7068E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCE9A346DD934EB013274F9CABE1C5B887A7B7D47_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB59F0EFCC2B82196C428CFD6D80A08F8B47573FC);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFB0A5F3A1587D636267F8650629F0B4F68669F47);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string DesignName = "New Tile";
|
|
__this->___DesignName_0 = _stringLiteralFB0A5F3A1587D636267F8650629F0B4F68669F47;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___DesignName_0), (void*)_stringLiteralFB0A5F3A1587D636267F8650629F0B4F68669F47);
|
|
// public List<TileMeshSetup> TileMeshes = new List<TileMeshSetup>();
|
|
List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B* L_0 = (List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B*)il2cpp_codegen_object_new(List_1_t875C91D88A0CF043A54E0AB4DF4BB6DC5CBFD07B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m995E7F898C1F728554AFCBE93329D6529B039FE2(L_0, List_1__ctor_m995E7F898C1F728554AFCBE93329D6529B039FE2_RuntimeMethod_var);
|
|
__this->___TileMeshes_1 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___TileMeshes_1), (void*)L_0);
|
|
// public string Tag = "Untagged";
|
|
__this->___Tag_4 = _stringLiteralB59F0EFCC2B82196C428CFD6D80A08F8B47573FC;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Tag_4), (void*)_stringLiteralB59F0EFCC2B82196C428CFD6D80A08F8B47573FC);
|
|
// public List<string> _string_ToAttach = new List<string>();
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* L_1 = (List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD*)il2cpp_codegen_object_new(List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_mCA8DD57EAC70C2B5923DBB9D5A77CEAC22E7068E(L_1, List_1__ctor_mCA8DD57EAC70C2B5923DBB9D5A77CEAC22E7068E_RuntimeMethod_var);
|
|
__this->____string_ToAttach_7 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____string_ToAttach_7), (void*)L_1);
|
|
// public List<SendMessageHelper> SendMessages = new List<SendMessageHelper>();
|
|
List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641* L_2 = (List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641*)il2cpp_codegen_object_new(List_1_tEE39E695231322E6D3CC72AE6BA9CD5AACF44641_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m4BE0AABF1BBA5C6630FCD0978CFBF1F6AE920AD0(L_2, List_1__ctor_m4BE0AABF1BBA5C6630FCD0978CFBF1F6AE920AD0_RuntimeMethod_var);
|
|
__this->___SendMessages_8 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___SendMessages_8), (void*)L_2);
|
|
// public bool IsKinematic = true;
|
|
__this->___IsKinematic_10 = (bool)1;
|
|
// public float RigidbodyMass = 10f;
|
|
__this->___RigidbodyMass_11 = (10.0f);
|
|
// public EColliderMode ColliderMode = EColliderMode.CombinedMeshCollider;
|
|
__this->___ColliderMode_13 = 5;
|
|
// public float ScaleColliders = 1f;
|
|
__this->___ScaleColliders_14 = (1.0f);
|
|
// public Vector3 ExpandThinCollider = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___ExpandThinCollider_17 = L_3;
|
|
// public List<Mesh> LatestGeneratedMeshes = new List<Mesh>();
|
|
List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4* L_4 = (List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4*)il2cpp_codegen_object_new(List_1_t43FB89B126C93A6B04630BC64C751BBE95AFEAF4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_mCE9A346DD934EB013274F9CABE1C5B887A7B7D47(L_4, List_1__ctor_mCE9A346DD934EB013274F9CABE1C5B887A7B7D47_RuntimeMethod_var);
|
|
__this->___LatestGeneratedMeshes_18 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___LatestGeneratedMeshes_18), (void*)L_4);
|
|
// public List<Material> LatestGeneratedMeshesMaterials = new List<Material>();
|
|
List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B* L_5 = (List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B*)il2cpp_codegen_object_new(List_1_t386E09F4F22DDE4D2AC41A8567FFF283C254537B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m38500C20418699AEC04B1946434E06EC96FB4B1C(L_5, List_1__ctor_m38500C20418699AEC04B1946434E06EC96FB4B1C_RuntimeMethod_var);
|
|
__this->___LatestGeneratedMeshesMaterials_19 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___LatestGeneratedMeshesMaterials_19), (void*)L_5);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// System.Void FIMSpace.Generating.TileDesign/SendMessageHelper::SendTo(UnityEngine.GameObject)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SendMessageHelper_SendTo_m16856D06CB04902E7DD9E876F4B6DFCA5BB96495 (SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* __this, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___0_pf, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (SendValue == false)
|
|
bool L_0 = __this->___SendValue_2;
|
|
if (L_0)
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// pf.SendMessage(Message, SendMessageOptions.DontRequireReceiver);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_1 = ___0_pf;
|
|
String_t* L_2 = __this->___Message_0;
|
|
NullCheck(L_1);
|
|
GameObject_SendMessage_mA78D98EDC835AE3DFC8E899AF24068C31AE92E46(L_1, L_2, 1, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// if (string.IsNullOrEmpty(MessageString))
|
|
String_t* L_3 = __this->___MessageString_4;
|
|
bool L_4;
|
|
L_4 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
// pf.SendMessage(Message, MessageValue, SendMessageOptions.DontRequireReceiver);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_5 = ___0_pf;
|
|
String_t* L_6 = __this->___Message_0;
|
|
float L_7 = __this->___MessageValue_3;
|
|
float L_8 = L_7;
|
|
RuntimeObject* L_9 = Box(Single_t4530F2FF86FCB0DC29F35385CA1BD21BE294761C_il2cpp_TypeInfo_var, &L_8);
|
|
NullCheck(L_5);
|
|
GameObject_SendMessage_m452B3418BE240EC79550C15E1F2EAE61488F06DF(L_5, L_6, L_9, 1, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// pf.SendMessage(Message, MessageString, SendMessageOptions.DontRequireReceiver);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_10 = ___0_pf;
|
|
String_t* L_11 = __this->___Message_0;
|
|
String_t* L_12 = __this->___MessageString_4;
|
|
NullCheck(L_10);
|
|
GameObject_SendMessage_m452B3418BE240EC79550C15E1F2EAE61488F06DF(L_10, L_11, L_12, 1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.TileDesign/SendMessageHelper FIMSpace.Generating.TileDesign/SendMessageHelper::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* SendMessageHelper_Copy_mFDECDE0A59CA177FD3282F7C4F6073513A2B613B (SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return (SendMessageHelper)MemberwiseClone();
|
|
RuntimeObject* L_0;
|
|
L_0 = Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3(__this, NULL);
|
|
return ((SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615*)CastclassClass((RuntimeObject*)L_0, SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615_il2cpp_TypeInfo_var));
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesign/SendMessageHelper::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SendMessageHelper__ctor_m18CAB03599E8223302D49FF0F0D28379A78B55C7 (SendMessageHelper_tF0764A79C365A8512A913BCDA5D8FD3DED33A615* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral49AF58FDAC7B8E865CB6FFF5DADA947817260FB4);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string Message = "SetMyValue";
|
|
__this->___Message_0 = _stringLiteral49AF58FDAC7B8E865CB6FFF5DADA947817260FB4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Message_0), (void*)_stringLiteral49AF58FDAC7B8E865CB6FFF5DADA947817260FB4);
|
|
// public EMessageSend SendOn = EMessageSend.PlaymodeStart;
|
|
__this->___SendOn_1 = 1;
|
|
// public bool SendValue = true;
|
|
__this->___SendValue_2 = (bool)1;
|
|
// public float MessageValue = 1f;
|
|
__this->___MessageValue_3 = (1.0f);
|
|
// public string MessageString = "";
|
|
__this->___MessageString_4 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___MessageString_4), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
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
|
|
// FIMSpace.Generating.TileDesign FIMSpace.Generating.TileDesignPreset::get_BaseDesign()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* TileDesignPreset_get_BaseDesign_mED620046C3A7E047A97ECAB263004F068FE39438 (TileDesignPreset_t46FCB3F3582CEBCB5C767684E71A638C3596F99C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0F5F91B54DEDF452902D5003DBF534D953DF21A2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m9F85777F60234F0D023B52E6F6C47B13A5D9FB26_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (Designs.Count > 0) return Designs[0];
|
|
List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* L_0 = __this->___Designs_4;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_m9F85777F60234F0D023B52E6F6C47B13A5D9FB26_inline(L_0, List_1_get_Count_m9F85777F60234F0D023B52E6F6C47B13A5D9FB26_RuntimeMethod_var);
|
|
if ((((int32_t)L_1) <= ((int32_t)0)))
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
// if (Designs.Count > 0) return Designs[0];
|
|
List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* L_2 = __this->___Designs_4;
|
|
NullCheck(L_2);
|
|
TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* L_3;
|
|
L_3 = List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649(L_2, 0, List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649_RuntimeMethod_var);
|
|
return L_3;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// Designs.Add(new TileDesign());
|
|
List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* L_4 = __this->___Designs_4;
|
|
TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* L_5 = (TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC*)il2cpp_codegen_object_new(TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
TileDesign__ctor_m671E274A0E52E0C354475F5DA9539ED64DCEF959(L_5, NULL);
|
|
NullCheck(L_4);
|
|
List_1_Add_m0F5F91B54DEDF452902D5003DBF534D953DF21A2_inline(L_4, L_5, List_1_Add_m0F5F91B54DEDF452902D5003DBF534D953DF21A2_RuntimeMethod_var);
|
|
// return Designs[0];
|
|
List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* L_6 = __this->___Designs_4;
|
|
NullCheck(L_6);
|
|
TileDesign_t0DD78943910475870EDF4FA2AE056CE471DD40CC* L_7;
|
|
L_7 = List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649(L_6, 0, List_1_get_Item_m729B3879B5A651B6FDC846F9EC083C7447A28649_RuntimeMethod_var);
|
|
return L_7;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileDesignPreset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileDesignPreset__ctor_m7E2A0522A6024CBCB63B721668C3D08C8A2ADB07 (TileDesignPreset_t46FCB3F3582CEBCB5C767684E71A638C3596F99C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mF21F40616446AA752850E4DCB24BE9B888BA7B5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public List<TileDesign> Designs = new List<TileDesign>();
|
|
List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E* L_0 = (List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E*)il2cpp_codegen_object_new(List_1_t3F1C78FB6F36CFF3DA07FD7BE49C1C4C8D21800E_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_mF21F40616446AA752850E4DCB24BE9B888BA7B5F(L_0, List_1__ctor_mF21F40616446AA752850E4DCB24BE9B888BA7B5F_RuntimeMethod_var);
|
|
__this->___Designs_4 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Designs_4), (void*)L_0);
|
|
ScriptableObject__ctor_mD037FDB0B487295EA47F79A4DB1BF1846C9087FF(__this, NULL);
|
|
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
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance> FIMSpace.Generating.TileMeshSetup::get_Instances()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// CheckInstances();
|
|
TileMeshSetup_CheckInstances_mCA58E16CB0388D0FA408770A05364658C23BCC5B(__this, NULL);
|
|
// return _instances;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_0 = __this->____instances_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::CheckInstances()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_CheckInstances_mCA58E16CB0388D0FA408770A05364658C23BCC5B (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (Copies < 1) Copies = 1;
|
|
int32_t L_0 = __this->___Copies_0;
|
|
if ((((int32_t)L_0) >= ((int32_t)1)))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// if (Copies < 1) Copies = 1;
|
|
__this->___Copies_0 = 1;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// if (_instances == null) _instances = new List<TileMeshCombineInstance>();
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_1 = __this->____instances_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// if (_instances == null) _instances = new List<TileMeshCombineInstance>();
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_2 = (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*)il2cpp_codegen_object_new(List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA(L_2, List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var);
|
|
__this->____instances_1 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____instances_1), (void*)L_2);
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// if (_instances.Count == 0) _instances.Add(new TileMeshCombineInstance());
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_3 = __this->____instances_1;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_3, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
if (L_4)
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
{
|
|
// if (_instances.Count == 0) _instances.Add(new TileMeshCombineInstance());
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_5 = __this->____instances_1;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_6 = (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9*)il2cpp_codegen_object_new(TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
TileMeshCombineInstance__ctor_m82933B4F6C57124D7FBA0D4A1BF78C1E354BA243(L_6, NULL);
|
|
NullCheck(L_5);
|
|
List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_inline(L_5, L_6, List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::QuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_QuickUpdate_mEE0A032936EE9D1AF20D85FF14FF6B08B01DC199 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (GenTechnique == EMeshGenerator.Lathe) LatheQuickUpdate();
|
|
int32_t L_0 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// if (GenTechnique == EMeshGenerator.Lathe) LatheQuickUpdate();
|
|
TileMeshSetup_LatheQuickUpdate_m1A83841C8DD374683625D4C7D95BC9C7BA6952F2(__this, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Loft) LoftQuickUpdate();
|
|
int32_t L_1 = __this->___GenTechnique_46;
|
|
if (L_1)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Loft) LoftQuickUpdate();
|
|
TileMeshSetup_LoftQuickUpdate_m2913D96128A2168C2F0E22F33FCEDABC1B75E6C3(__this, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Extrude) ExtrudeQuickUpdate();
|
|
int32_t L_2 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)2))))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Extrude) ExtrudeQuickUpdate();
|
|
TileMeshSetup_ExtrudeQuickUpdate_mA1463DE38FF0C6345736106A374A71CA5488C2A5(__this, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Sweep) SweepQuickUpdate();
|
|
int32_t L_3 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)3))))
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Sweep) SweepQuickUpdate();
|
|
TileMeshSetup_SweepQuickUpdate_m29930D282CE5FD58A17F1809B5BD1093DD3669AA(__this, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.CustomMeshAndExtras) CustomAndExtraQuickUpdate();
|
|
int32_t L_4 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_4) == ((uint32_t)4))))
|
|
{
|
|
goto IL_004e;
|
|
}
|
|
}
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.CustomMeshAndExtras) CustomAndExtraQuickUpdate();
|
|
TileMeshSetup_CustomAndExtraQuickUpdate_mAD724EDFF0204ADB6BAAD07148557487E52363A6(__this, NULL);
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PrepareCurves()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PrepareCurves_m81CB23439D0717144290F98CB0EC8F04550E7AD7 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (previewShape == null) previewShape = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_0 = __this->___previewShape_2;
|
|
if (L_0)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (previewShape == null) previewShape = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_1 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_1, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
__this->___previewShape_2 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___previewShape_2), (void*)L_1);
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// if (previewShape2 == null) previewShape2 = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_2 = __this->___previewShape2_3;
|
|
if (L_2)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
// if (previewShape2 == null) previewShape2 = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_3 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_3, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
__this->___previewShape2_3 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___previewShape2_3), (void*)L_3);
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// if (previewShape3 == null) previewShape3 = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_4 = __this->___previewShape3_4;
|
|
if (L_4)
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// if (previewShape3 == null) previewShape3 = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_5 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_5, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
__this->___previewShape3_4 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___previewShape3_4), (void*)L_5);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// if (_extrudePreview == null) _extrudePreview = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_6 = __this->____extrudePreview_18;
|
|
if (L_6)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// if (_extrudePreview == null) _extrudePreview = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_7 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_7, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____extrudePreview_18 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____extrudePreview_18), (void*)L_7);
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// if (_loft_depth == null) _loft_depth = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_8 = __this->____loft_depth_43;
|
|
if (L_8)
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_depth == null) _loft_depth = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_9, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____loft_depth_43 = L_9;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____loft_depth_43), (void*)L_9);
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// if (_loft_distribute == null) _loft_distribute = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_10 = __this->____loft_distribute_44;
|
|
if (L_10)
|
|
{
|
|
goto IL_0072;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_distribute == null) _loft_distribute = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_11 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_11);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_11, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____loft_distribute_44 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____loft_distribute_44), (void*)L_11);
|
|
}
|
|
|
|
IL_0072:
|
|
{
|
|
// if (_loft_height == null) _loft_height = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_12 = __this->____loft_height_45;
|
|
if (L_12)
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_height == null) _loft_height = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_13 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_13);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_13, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____loft_height_45 = L_13;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____loft_height_45), (void*)L_13);
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// if (_lathe_points == null) _lathe_points = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_14 = __this->____lathe_points_38;
|
|
if (L_14)
|
|
{
|
|
goto IL_0098;
|
|
}
|
|
}
|
|
{
|
|
// if (_lathe_points == null) _lathe_points = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_15 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_15);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_15, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____lathe_points_38 = L_15;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____lathe_points_38), (void*)L_15);
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
// if (_extrude_curve == null) _extrude_curve = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_16 = __this->____extrude_curve_17;
|
|
if (L_16)
|
|
{
|
|
goto IL_00ab;
|
|
}
|
|
}
|
|
{
|
|
// if (_extrude_curve == null) _extrude_curve = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_17 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_17);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_17, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____extrude_curve_17 = L_17;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____extrude_curve_17), (void*)L_17);
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// if (_sweep_path == null) _sweep_path = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_18 = __this->____sweep_path_69;
|
|
if (L_18)
|
|
{
|
|
goto IL_00be;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_path == null) _sweep_path = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_19 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_19);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_19, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____sweep_path_69 = L_19;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____sweep_path_69), (void*)L_19);
|
|
}
|
|
|
|
IL_00be:
|
|
{
|
|
// if (_sweep_shape == null) _sweep_shape = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = __this->____sweep_shape_70;
|
|
if (L_20)
|
|
{
|
|
goto IL_00d1;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_shape == null) _sweep_shape = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_21 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_21);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_21, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____sweep_shape_70 = L_21;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____sweep_shape_70), (void*)L_21);
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// if (_sweep_radius == null) _sweep_radius = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_22 = __this->____sweep_radius_71;
|
|
if (L_22)
|
|
{
|
|
goto IL_00e4;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_radius == null) _sweep_radius = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_23 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_23);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_23, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____sweep_radius_71 = L_23;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____sweep_radius_71), (void*)L_23);
|
|
}
|
|
|
|
IL_00e4:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::.ctor(System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup__ctor_mBB1AD69B2BC4BA1115F4F466BA77299C3051D041 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, String_t* ___0_name, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral91BB00851EDA0625691EBC043B5C4567362EFFB2);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public int Copies = 1;
|
|
__this->___Copies_0 = 1;
|
|
// [SerializeField] private List<TileMeshCombineInstance> _instances = new List<TileMeshCombineInstance>();
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_0 = (List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189*)il2cpp_codegen_object_new(List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA(L_0, List_1__ctor_mCEAA55BEB9A944A31266E1C66417F1A699A549BA_RuntimeMethod_var);
|
|
__this->____instances_1 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____instances_1), (void*)L_0);
|
|
// [NonSerialized] public List<MeshShapePoint> previewShape = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_1 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_1, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
__this->___previewShape_2 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___previewShape_2), (void*)L_1);
|
|
// [NonSerialized] public List<MeshShapePoint> previewShape2 = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_2 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_2, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
__this->___previewShape2_3 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___previewShape2_3), (void*)L_2);
|
|
// [NonSerialized] public List<MeshShapePoint> previewShape3 = new List<MeshShapePoint>();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_3 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_3, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
__this->___previewShape3_4 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___previewShape3_4), (void*)L_3);
|
|
// public float splineLength = 1f;
|
|
__this->___splineLength_5 = (1.0f);
|
|
// public float splineLength2 = 1f;
|
|
__this->___splineLength2_6 = (1.0f);
|
|
// public float splineLength3 = 1f;
|
|
__this->___splineLength3_7 = (1.0f);
|
|
// public string Name = "Tile Mesh";
|
|
__this->___Name_8 = _stringLiteral91BB00851EDA0625691EBC043B5C4567362EFFB2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Name_8), (void*)_stringLiteral91BB00851EDA0625691EBC043B5C4567362EFFB2);
|
|
// public bool _extrudeMirror = true;
|
|
__this->____extrudeMirror_13 = (bool)1;
|
|
// public float _extrude_SubdivLimit = 30f;
|
|
__this->____extrude_SubdivLimit_16 = (30.0f);
|
|
// public List<CurvePoint> _extrude_curve = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_4 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_4, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____extrude_curve_17 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____extrude_curve_17), (void*)L_4);
|
|
// public List<CurvePoint> _extrudePreview = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_5, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____extrudePreview_18 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____extrudePreview_18), (void*)L_5);
|
|
// public Vector3 _randomizeVerticesOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->____randomizeVerticesOffset_21 = L_6;
|
|
// public Vector2 _randomizeVerticesNoiseScale = Vector2.one;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7;
|
|
L_7 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
__this->____randomizeVerticesNoiseScale_22 = L_7;
|
|
// public Color _customMeshOverwriteVertexColorValues = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8;
|
|
L_8 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
__this->____customMeshOverwriteVertexColorValues_24 = L_8;
|
|
// public List<Vector3> _CablePoints = new List<Vector3>() { new Vector3(0f, 0f, -0.5f), new Vector3(0f, 0f, 0.5f) };
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_9 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_9, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_10 = L_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
memset((&L_11), 0, sizeof(L_11));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_11), (0.0f), (0.0f), (-0.5f), /*hidden argument*/NULL);
|
|
NullCheck(L_10);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_10, L_11, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_12 = L_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_13), (0.0f), (0.0f), (0.5f), /*hidden argument*/NULL);
|
|
NullCheck(L_12);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_12, L_13, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
__this->____CablePoints_25 = L_12;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____CablePoints_25), (void*)L_12);
|
|
// public float _CableRadius = 0.02f;
|
|
__this->____CableRadius_26 = (0.0199999996f);
|
|
// public float _CableLoose = 1.5f;
|
|
__this->____CableLoose_27 = (1.5f);
|
|
// public int _lathe_fillAngle = 360;
|
|
__this->____lathe_fillAngle_35 = ((int32_t)360);
|
|
// public int _lathe_xSubdivCount = 8;
|
|
__this->____lathe_xSubdivCount_36 = 8;
|
|
// public float _lathe_ySubdivLimit = 30;
|
|
__this->____lathe_ySubdivLimit_37 = (30.0f);
|
|
// public List<CurvePoint> _lathe_points = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_14 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_14);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_14, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____lathe_points_38 = L_14;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____lathe_points_38), (void*)L_14);
|
|
// public float _loftDepthCurveWidener = 0.5f;
|
|
__this->____loftDepthCurveWidener_39 = (0.5f);
|
|
// public float _loft_DepthSubdivLimit = 30;
|
|
__this->____loft_DepthSubdivLimit_40 = (30.0f);
|
|
// public float _loft_DistribSubdivLimit = 30f;
|
|
__this->____loft_DistribSubdivLimit_41 = (30.0f);
|
|
// public List<CurvePoint> _loft_depth = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_15 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_15);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_15, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____loft_depth_43 = L_15;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____loft_depth_43), (void*)L_15);
|
|
// public List<CurvePoint> _loft_distribute = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_16 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_16);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_16, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____loft_distribute_44 = L_16;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____loft_distribute_44), (void*)L_16);
|
|
// public List<CurvePoint> _loft_height = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_17 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_17);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_17, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____loft_height_45 = L_17;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____loft_height_45), (void*)L_17);
|
|
// public EUVFit UVFit = EUVFit.FitXY;
|
|
__this->___UVFit_48 = 2;
|
|
// public Vector2 UVMul = Vector2.one;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18;
|
|
L_18 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
__this->___UVMul_49 = L_18;
|
|
// public float width = 1.5f;
|
|
__this->___width_53 = (1.5f);
|
|
// public float height = 2f;
|
|
__this->___height_54 = (2.0f);
|
|
// public float depth = 0.5f;
|
|
__this->___depth_55 = (0.5f);
|
|
// public float _loft_depthDim = 1.5f;
|
|
__this->____loft_depthDim_56 = (1.5f);
|
|
// public Vector3 _primitive_scale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->____primitive_scale_59 = L_19;
|
|
// public bool _primitive_cube_topFace = true;
|
|
__this->____primitive_cube_topFace_60 = (bool)1;
|
|
// public bool _primitive_cube_bottomFace = true;
|
|
__this->____primitive_cube_bottomFace_61 = (bool)1;
|
|
// public bool _primitive_cube_leftFace = true;
|
|
__this->____primitive_cube_leftFace_62 = (bool)1;
|
|
// public bool _primitive_cube_rightFace = true;
|
|
__this->____primitive_cube_rightFace_63 = (bool)1;
|
|
// public bool _primitive_cube_frontFace = true;
|
|
__this->____primitive_cube_frontFace_64 = (bool)1;
|
|
// public bool _primitive_cube_backFace = true;
|
|
__this->____primitive_cube_backFace_65 = (bool)1;
|
|
// public int _primitive_cube_bevelSubdivs = 1;
|
|
__this->____primitive_cube_bevelSubdivs_67 = 1;
|
|
// public Vector3Int _primitive_plane_subdivs = new Vector3Int(1, 1, 1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_20;
|
|
memset((&L_20), 0, sizeof(L_20));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_20), 1, 1, 1, /*hidden argument*/NULL);
|
|
__this->____primitive_plane_subdivs_68 = L_20;
|
|
// public List<CurvePoint> _sweep_path = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_21 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_21);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_21, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____sweep_path_69 = L_21;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____sweep_path_69), (void*)L_21);
|
|
// public List<CurvePoint> _sweep_shape = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_22 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_22);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_22, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____sweep_shape_70 = L_22;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____sweep_shape_70), (void*)L_22);
|
|
// public List<CurvePoint> _sweep_radius = new List<CurvePoint>();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_23 = (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8*)il2cpp_codegen_object_new(List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_23);
|
|
List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B(L_23, List_1__ctor_m7C349AEDD1545CF939BE58DA62A2ED5629FF5F7B_RuntimeMethod_var);
|
|
__this->____sweep_radius_71 = L_23;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____sweep_radius_71), (void*)L_23);
|
|
// public float _sweep_radiusMul = 0.5f;
|
|
__this->____sweep_radiusMul_72 = (0.5f);
|
|
// public bool _sweep_Close = true;
|
|
__this->____sweep_Close_73 = (bool)1;
|
|
// public float _sweep_shapeSubdivLimit = 30;
|
|
__this->____sweep_shapeSubdivLimit_74 = (30.0f);
|
|
// public float _sweep_distribSubdivLimit = 30f;
|
|
__this->____sweep_distribSubdivLimit_75 = (30.0f);
|
|
// public TileMeshSetup(string name = "")
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// if (name != "") Name = name;
|
|
String_t* L_24 = ___0_name;
|
|
bool L_25;
|
|
L_25 = String_op_Inequality_m8C940F3CFC42866709D7CA931B3D77B4BE94BCB6(L_24, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, NULL);
|
|
if (!L_25)
|
|
{
|
|
goto IL_0252;
|
|
}
|
|
}
|
|
{
|
|
// if (name != "") Name = name;
|
|
String_t* L_26 = ___0_name;
|
|
__this->___Name_8 = L_26;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___Name_8), (void*)L_26);
|
|
}
|
|
|
|
IL_0252:
|
|
{
|
|
// _lathe_fillAngle = 360;
|
|
__this->____lathe_fillAngle_35 = ((int32_t)360);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteMainTo(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteMainTo_m6D3FF56568BDA7E54ADF340498C09CEB8CB8800B (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// to.Name = Name;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_0 = ___0_to;
|
|
String_t* L_1 = __this->___Name_8;
|
|
NullCheck(L_0);
|
|
L_0->___Name_8 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_0->___Name_8), (void*)L_1);
|
|
// to.Material = Material;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_2 = ___0_to;
|
|
Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3* L_3 = __this->___Material_57;
|
|
NullCheck(L_2);
|
|
L_2->___Material_57 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___Material_57), (void*)L_3);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteParametersTo(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteParametersTo_m865BEE443BD4464073CEDC9853CDD8A36E01A7FB (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// to.Origin = Origin;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_0 = ___0_to;
|
|
int32_t L_1 = __this->___Origin_47;
|
|
NullCheck(L_0);
|
|
L_0->___Origin_47 = L_1;
|
|
// to.GenTechnique = GenTechnique;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_2 = ___0_to;
|
|
int32_t L_3 = __this->___GenTechnique_46;
|
|
NullCheck(L_2);
|
|
L_2->___GenTechnique_46 = L_3;
|
|
// to.UVFit = UVFit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4 = ___0_to;
|
|
int32_t L_5 = __this->___UVFit_48;
|
|
NullCheck(L_4);
|
|
L_4->___UVFit_48 = L_5;
|
|
// to.UVMul = UVMul;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_6 = ___0_to;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = __this->___UVMul_49;
|
|
NullCheck(L_6);
|
|
L_6->___UVMul_49 = L_7;
|
|
// to.HardNormals = HardNormals;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_8 = ___0_to;
|
|
float L_9 = __this->___HardNormals_51;
|
|
NullCheck(L_8);
|
|
L_8->___HardNormals_51 = L_9;
|
|
// to.SubdivMode = SubdivMode;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_10 = ___0_to;
|
|
int32_t L_11 = __this->___SubdivMode_52;
|
|
NullCheck(L_10);
|
|
L_10->___SubdivMode_52 = L_11;
|
|
// to.width = width;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_12 = ___0_to;
|
|
float L_13 = __this->___width_53;
|
|
NullCheck(L_12);
|
|
L_12->___width_53 = L_13;
|
|
// to.height = height;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_14 = ___0_to;
|
|
float L_15 = __this->___height_54;
|
|
NullCheck(L_14);
|
|
L_14->___height_54 = L_15;
|
|
// to.depth = depth;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_16 = ___0_to;
|
|
float L_17 = __this->___depth_55;
|
|
NullCheck(L_16);
|
|
L_16->___depth_55 = L_17;
|
|
// if (GenTechnique == EMeshGenerator.Loft)
|
|
int32_t L_18 = __this->___GenTechnique_46;
|
|
if (L_18)
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
// to._loftDepthCurveWidener = _loftDepthCurveWidener;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_19 = ___0_to;
|
|
float L_20 = __this->____loftDepthCurveWidener_39;
|
|
NullCheck(L_19);
|
|
L_19->____loftDepthCurveWidener_39 = L_20;
|
|
// to._loft_DepthSubdivLimit = _loft_DepthSubdivLimit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_21 = ___0_to;
|
|
float L_22 = __this->____loft_DepthSubdivLimit_40;
|
|
NullCheck(L_21);
|
|
L_21->____loft_DepthSubdivLimit_40 = L_22;
|
|
// to._loft_DistribSubdivLimit = _loft_DistribSubdivLimit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_23 = ___0_to;
|
|
float L_24 = __this->____loft_DistribSubdivLimit_41;
|
|
NullCheck(L_23);
|
|
L_23->____loft_DistribSubdivLimit_41 = L_24;
|
|
return;
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Lathe)
|
|
int32_t L_25 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_25) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00c7;
|
|
}
|
|
}
|
|
{
|
|
// to._lathe_fillAngle = _lathe_fillAngle;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_26 = ___0_to;
|
|
int32_t L_27 = __this->____lathe_fillAngle_35;
|
|
NullCheck(L_26);
|
|
L_26->____lathe_fillAngle_35 = L_27;
|
|
// to._lathe_xSubdivCount = _lathe_xSubdivCount;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_28 = ___0_to;
|
|
int32_t L_29 = __this->____lathe_xSubdivCount_36;
|
|
NullCheck(L_28);
|
|
L_28->____lathe_xSubdivCount_36 = L_29;
|
|
// to._lathe_ySubdivLimit = _lathe_ySubdivLimit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_30 = ___0_to;
|
|
float L_31 = __this->____lathe_ySubdivLimit_37;
|
|
NullCheck(L_30);
|
|
L_30->____lathe_ySubdivLimit_37 = L_31;
|
|
return;
|
|
}
|
|
|
|
IL_00c7:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Extrude)
|
|
int32_t L_32 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_32) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0101;
|
|
}
|
|
}
|
|
{
|
|
// to._extrude_SubdivLimit = _extrude_SubdivLimit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_33 = ___0_to;
|
|
float L_34 = __this->____extrude_SubdivLimit_16;
|
|
NullCheck(L_33);
|
|
L_33->____extrude_SubdivLimit_16 = L_34;
|
|
// to._extrudeMirror = _extrudeMirror;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_35 = ___0_to;
|
|
bool L_36 = __this->____extrudeMirror_13;
|
|
NullCheck(L_35);
|
|
L_35->____extrudeMirror_13 = L_36;
|
|
// to._extrudeFrontCap = _extrudeFrontCap;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_37 = ___0_to;
|
|
bool L_38 = __this->____extrudeFrontCap_14;
|
|
NullCheck(L_37);
|
|
L_37->____extrudeFrontCap_14 = L_38;
|
|
// to._extrudeBackCap = _extrudeBackCap;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_39 = ___0_to;
|
|
bool L_40 = __this->____extrudeBackCap_15;
|
|
NullCheck(L_39);
|
|
L_39->____extrudeBackCap_15 = L_40;
|
|
return;
|
|
}
|
|
|
|
IL_0101:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Sweep)
|
|
int32_t L_41 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_41) == ((uint32_t)3))))
|
|
{
|
|
goto IL_013b;
|
|
}
|
|
}
|
|
{
|
|
// to._sweep_Close = _sweep_Close;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_42 = ___0_to;
|
|
bool L_43 = __this->____sweep_Close_73;
|
|
NullCheck(L_42);
|
|
L_42->____sweep_Close_73 = L_43;
|
|
// to._sweep_distribSubdivLimit = _sweep_distribSubdivLimit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_44 = ___0_to;
|
|
float L_45 = __this->____sweep_distribSubdivLimit_75;
|
|
NullCheck(L_44);
|
|
L_44->____sweep_distribSubdivLimit_75 = L_45;
|
|
// to._sweep_radiusMul = _sweep_radiusMul;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_46 = ___0_to;
|
|
float L_47 = __this->____sweep_radiusMul_72;
|
|
NullCheck(L_46);
|
|
L_46->____sweep_radiusMul_72 = L_47;
|
|
// to._sweep_shapeSubdivLimit = _sweep_shapeSubdivLimit;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_48 = ___0_to;
|
|
float L_49 = __this->____sweep_shapeSubdivLimit_74;
|
|
NullCheck(L_48);
|
|
L_48->____sweep_shapeSubdivLimit_74 = L_49;
|
|
return;
|
|
}
|
|
|
|
IL_013b:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Primitive)
|
|
int32_t L_50 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_50) == ((uint32_t)5))))
|
|
{
|
|
goto IL_01cc;
|
|
}
|
|
}
|
|
{
|
|
// to._primitive_cube_backFace = _primitive_cube_backFace;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_51 = ___0_to;
|
|
bool L_52 = __this->____primitive_cube_backFace_65;
|
|
NullCheck(L_51);
|
|
L_51->____primitive_cube_backFace_65 = L_52;
|
|
// to._primitive_cube_bevel = _primitive_cube_bevel;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_53 = ___0_to;
|
|
float L_54 = __this->____primitive_cube_bevel_66;
|
|
NullCheck(L_53);
|
|
L_53->____primitive_cube_bevel_66 = L_54;
|
|
// to._primitive_cube_bevelSubdivs = _primitive_cube_bevelSubdivs;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_55 = ___0_to;
|
|
int32_t L_56 = __this->____primitive_cube_bevelSubdivs_67;
|
|
NullCheck(L_55);
|
|
L_55->____primitive_cube_bevelSubdivs_67 = L_56;
|
|
// to._primitive_cube_bottomFace = _primitive_cube_bottomFace;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_57 = ___0_to;
|
|
bool L_58 = __this->____primitive_cube_bottomFace_61;
|
|
NullCheck(L_57);
|
|
L_57->____primitive_cube_bottomFace_61 = L_58;
|
|
// to._primitive_cube_frontFace = _primitive_cube_frontFace;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_59 = ___0_to;
|
|
bool L_60 = __this->____primitive_cube_frontFace_64;
|
|
NullCheck(L_59);
|
|
L_59->____primitive_cube_frontFace_64 = L_60;
|
|
// to._primitive_cube_leftFace = _primitive_cube_leftFace;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_61 = ___0_to;
|
|
bool L_62 = __this->____primitive_cube_leftFace_62;
|
|
NullCheck(L_61);
|
|
L_61->____primitive_cube_leftFace_62 = L_62;
|
|
// to._primitive_cube_rightFace = _primitive_cube_rightFace;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_63 = ___0_to;
|
|
bool L_64 = __this->____primitive_cube_rightFace_63;
|
|
NullCheck(L_63);
|
|
L_63->____primitive_cube_rightFace_63 = L_64;
|
|
// to._primitive_cube_topFace = _primitive_cube_topFace;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_65 = ___0_to;
|
|
bool L_66 = __this->____primitive_cube_topFace_60;
|
|
NullCheck(L_65);
|
|
L_65->____primitive_cube_topFace_60 = L_66;
|
|
// to._primitive_plane_subdivs = _primitive_plane_subdivs;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_67 = ___0_to;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_68 = __this->____primitive_plane_subdivs_68;
|
|
NullCheck(L_67);
|
|
L_67->____primitive_plane_subdivs_68 = L_68;
|
|
// to._primitive_scale = _primitive_scale;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_69 = ___0_to;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = __this->____primitive_scale_59;
|
|
NullCheck(L_69);
|
|
L_69->____primitive_scale_59 = L_70;
|
|
// to._primitive_Type = _primitive_Type;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_71 = ___0_to;
|
|
int32_t L_72 = __this->____primitive_Type_58;
|
|
NullCheck(L_71);
|
|
L_71->____primitive_Type_58 = L_72;
|
|
return;
|
|
}
|
|
|
|
IL_01cc:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.CustomMeshAndExtras)
|
|
int32_t L_73 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_73) == ((uint32_t)4))))
|
|
{
|
|
goto IL_01ed;
|
|
}
|
|
}
|
|
{
|
|
// to._customMeshOverwriteVertexColor = _customMeshOverwriteVertexColor;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_74 = ___0_to;
|
|
bool L_75 = __this->____customMeshOverwriteVertexColor_23;
|
|
NullCheck(L_74);
|
|
L_74->____customMeshOverwriteVertexColor_23 = L_75;
|
|
// to._customMeshOverwriteVertexColorValues = _customMeshOverwriteVertexColorValues;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_76 = ___0_to;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_77 = __this->____customMeshOverwriteVertexColorValues_24;
|
|
NullCheck(L_76);
|
|
L_76->____customMeshOverwriteVertexColorValues_24 = L_77;
|
|
}
|
|
|
|
IL_01ed:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteCurvesTo(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteCurvesTo_m9447A6F3F10871DA5BDA91972E9A3094B48ACDD5 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// CurvePoint.CopyListFromTo(_loft_depth, to._loft_depth);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = __this->____loft_depth_43;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_1 = ___0_to;
|
|
NullCheck(L_1);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_2 = L_1->____loft_depth_43;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_0, L_2, NULL);
|
|
// CurvePoint.CopyListFromTo(_loft_distribute, to._loft_distribute);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_3 = __this->____loft_distribute_44;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4 = ___0_to;
|
|
NullCheck(L_4);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = L_4->____loft_distribute_44;
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_3, L_5, NULL);
|
|
// CurvePoint.CopyListFromTo(_lathe_points, to._lathe_points);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_6 = __this->____lathe_points_38;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_7 = ___0_to;
|
|
NullCheck(L_7);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_8 = L_7->____lathe_points_38;
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_6, L_8, NULL);
|
|
// CurvePoint.CopyListFromTo(_extrude_curve, to._extrude_curve);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = __this->____extrude_curve_17;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_10 = ___0_to;
|
|
NullCheck(L_10);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_11 = L_10->____extrude_curve_17;
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_9, L_11, NULL);
|
|
// CurvePoint.CopyListFromTo(_sweep_path, to._sweep_path);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_12 = __this->____sweep_path_69;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_13 = ___0_to;
|
|
NullCheck(L_13);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_14 = L_13->____sweep_path_69;
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_12, L_14, NULL);
|
|
// CurvePoint.CopyListFromTo(_sweep_radius, to._sweep_radius);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_15 = __this->____sweep_radius_71;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_16 = ___0_to;
|
|
NullCheck(L_16);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_17 = L_16->____sweep_radius_71;
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_15, L_17, NULL);
|
|
// CurvePoint.CopyListFromTo(_sweep_shape, to._sweep_shape);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_18 = __this->____sweep_shape_70;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_19 = ___0_to;
|
|
NullCheck(L_19);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = L_19->____sweep_shape_70;
|
|
CurvePoint_CopyListFromTo_m0E90383CC49AE2C0A78EDF0C30C64A51F01CA899(L_18, L_20, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteAllSetupTo(FIMSpace.Generating.TileMeshSetup,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteAllSetupTo_mBE7049D29CCBB27BE25FE61775999ABB9E9B2399 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_to, bool ___1_copyInstances, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m82A3007B8E3D15F8D824AB835B24C1011B89025B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_1 = NULL;
|
|
{
|
|
// PasteMainTo(to);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_0 = ___0_to;
|
|
TileMeshSetup_PasteMainTo_m6D3FF56568BDA7E54ADF340498C09CEB8CB8800B(__this, L_0, NULL);
|
|
// PasteParametersTo(to);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_1 = ___0_to;
|
|
TileMeshSetup_PasteParametersTo_m865BEE443BD4464073CEDC9853CDD8A36E01A7FB(__this, L_1, NULL);
|
|
// PasteCurvesTo(to);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_2 = ___0_to;
|
|
TileMeshSetup_PasteCurvesTo_m9447A6F3F10871DA5BDA91972E9A3094B48ACDD5(__this, L_2, NULL);
|
|
// if (copyInstances)
|
|
bool L_3 = ___1_copyInstances;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0063;
|
|
}
|
|
}
|
|
{
|
|
// to._instances.Clear();
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4 = ___0_to;
|
|
NullCheck(L_4);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_5 = L_4->____instances_1;
|
|
NullCheck(L_5);
|
|
List_1_Clear_m82A3007B8E3D15F8D824AB835B24C1011B89025B_inline(L_5, List_1_Clear_m82A3007B8E3D15F8D824AB835B24C1011B89025B_RuntimeMethod_var);
|
|
// for (int i = 0; i < _instances.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0049;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
// TileMeshCombineInstance inst = _instances[i].Copy();
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_6 = __this->____instances_1;
|
|
int32_t L_7 = V_0;
|
|
NullCheck(L_6);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_8;
|
|
L_8 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_6, L_7, List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_8);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_9;
|
|
L_9 = TileMeshCombineInstance_Copy_m1505EC96C0B229119C867E9EB3A6F3B36EC7DA8F(L_8, NULL);
|
|
V_1 = L_9;
|
|
// to._instances.Add(inst);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_10 = ___0_to;
|
|
NullCheck(L_10);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_11 = L_10->____instances_1;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_12 = V_1;
|
|
NullCheck(L_11);
|
|
List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_inline(L_11, L_12, List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
// for (int i = 0; i < _instances.Count; i++)
|
|
int32_t L_13 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// for (int i = 0; i < _instances.Count; i++)
|
|
int32_t L_14 = V_0;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_15 = __this->____instances_1;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_15, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
if ((((int32_t)L_14) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
// to.Copies = Copies;
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_17 = ___0_to;
|
|
int32_t L_18 = __this->___Copies_0;
|
|
NullCheck(L_17);
|
|
L_17->___Copies_0 = L_18;
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
// _CopyInstances = false;
|
|
((TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15_StaticFields*)il2cpp_codegen_static_fields_for(TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15_il2cpp_TypeInfo_var))->____CopyInstances_10 = (bool)0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::DrawSnappingPX()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TileMeshSetup_DrawSnappingPX_m800D173D8DD2E838467CA789E634E69C559A533E (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GenTechnique != EMeshGenerator.CustomMeshAndExtras && GenTechnique != EMeshGenerator.Primitive;
|
|
int32_t L_0 = __this->___GenTechnique_46;
|
|
if ((((int32_t)L_0) == ((int32_t)4)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = __this->___GenTechnique_46;
|
|
return (bool)((((int32_t)((((int32_t)L_1) == ((int32_t)5))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.TileMeshSetup::DrawMeshOptions()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool TileMeshSetup_DrawMeshOptions_mEF52A97398A2E9E41C8377C2DE6E4F0598CFC5EE (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return GenTechnique != EMeshGenerator.CustomMeshAndExtras;
|
|
int32_t L_0 = __this->___GenTechnique_46;
|
|
return (bool)((((int32_t)((((int32_t)L_0) == ((int32_t)4))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::CustomAndExtraQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_CustomAndExtraQuickUpdate_mAD724EDFF0204ADB6BAAD07148557487E52363A6 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::ExtrudeQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_ExtrudeQuickUpdate_mA1463DE38FF0C6345736106A374A71CA5488C2A5 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
{
|
|
// if (_extrude_curve.Count <= 1) return;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = __this->____extrude_curve_17;
|
|
NullCheck(L_0);
|
|
int32_t L_1;
|
|
L_1 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_0, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_1) > ((int32_t)1)))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (_extrude_curve.Count <= 1) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// splineLength = 0f;
|
|
__this->___splineLength_5 = (0.0f);
|
|
// _extrudePreview.Clear();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_2 = __this->____extrudePreview_18;
|
|
NullCheck(L_2);
|
|
List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_inline(L_2, List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_RuntimeMethod_var);
|
|
// if (_extrudeMirror)
|
|
bool L_3 = __this->____extrudeMirror_13;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0089;
|
|
}
|
|
}
|
|
{
|
|
// p = _extrude_curve[0].localPos;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_4 = __this->____extrude_curve_17;
|
|
NullCheck(L_4);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_5;
|
|
L_5 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_4, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_5);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = L_5->___localPos_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_6, NULL);
|
|
V_0 = L_7;
|
|
// p.x = 1f;
|
|
(&V_0)->___x_2 = (1.0f);
|
|
// _extrudePreview.Add(new CurvePoint(p, true));
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_8 = __this->____extrudePreview_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10;
|
|
L_10 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_9, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_11 = (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*)il2cpp_codegen_object_new(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_11);
|
|
CurvePoint__ctor_m079FE2B3670F069F3ECBCDD1413837A5F28FB081(L_11, L_10, (bool)1, NULL);
|
|
NullCheck(L_8);
|
|
List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_inline(L_8, L_11, List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_RuntimeMethod_var);
|
|
// _extrudePreview[0].VertexColor = _extrude_curve[0].VertexColor;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_12 = __this->____extrudePreview_18;
|
|
NullCheck(L_12);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_13;
|
|
L_13 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_12, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_14 = __this->____extrude_curve_17;
|
|
NullCheck(L_14);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_15;
|
|
L_15 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_14, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_15);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_16 = L_15->___VertexColor_3;
|
|
NullCheck(L_13);
|
|
L_13->___VertexColor_3 = L_16;
|
|
}
|
|
|
|
IL_0089:
|
|
{
|
|
// for (int i = 0; i < _extrude_curve.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_00fa;
|
|
}
|
|
|
|
IL_008d:
|
|
{
|
|
// CurvePoint np = new CurvePoint(_extrude_curve[i].localPos, true);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_17 = __this->____extrude_curve_17;
|
|
int32_t L_18 = V_1;
|
|
NullCheck(L_17);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_19;
|
|
L_19 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_17, L_18, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_19);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = L_19->___localPos_9;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_21 = (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*)il2cpp_codegen_object_new(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_21);
|
|
CurvePoint__ctor_m079FE2B3670F069F3ECBCDD1413837A5F28FB081(L_21, L_20, (bool)1, NULL);
|
|
V_2 = L_21;
|
|
// np.localInTan = _extrude_curve[i].localInTan;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_22 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_23 = __this->____extrude_curve_17;
|
|
int32_t L_24 = V_1;
|
|
NullCheck(L_23);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_25;
|
|
L_25 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_23, L_24, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_25);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_26 = L_25->___localInTan_10;
|
|
NullCheck(L_22);
|
|
L_22->___localInTan_10 = L_26;
|
|
// np.localNextTan = _extrude_curve[i].localNextTan;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_27 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_28 = __this->____extrude_curve_17;
|
|
int32_t L_29 = V_1;
|
|
NullCheck(L_28);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_30;
|
|
L_30 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_28, L_29, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_30);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_31 = L_30->___localNextTan_11;
|
|
NullCheck(L_27);
|
|
L_27->___localNextTan_11 = L_31;
|
|
// np.VertexColor = _extrude_curve[i].VertexColor;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_32 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_33 = __this->____extrude_curve_17;
|
|
int32_t L_34 = V_1;
|
|
NullCheck(L_33);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_35;
|
|
L_35 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_33, L_34, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_35);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_36 = L_35->___VertexColor_3;
|
|
NullCheck(L_32);
|
|
L_32->___VertexColor_3 = L_36;
|
|
// _extrudePreview.Add(np);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_37 = __this->____extrudePreview_18;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_38 = V_2;
|
|
NullCheck(L_37);
|
|
List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_inline(L_37, L_38, List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_RuntimeMethod_var);
|
|
// for (int i = 0; i < _extrude_curve.Count; i++)
|
|
int32_t L_39 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_39, 1));
|
|
}
|
|
|
|
IL_00fa:
|
|
{
|
|
// for (int i = 0; i < _extrude_curve.Count; i++)
|
|
int32_t L_40 = V_1;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_41 = __this->____extrude_curve_17;
|
|
NullCheck(L_41);
|
|
int32_t L_42;
|
|
L_42 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_41, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_40) < ((int32_t)L_42)))
|
|
{
|
|
goto IL_008d;
|
|
}
|
|
}
|
|
{
|
|
// if (_extrudeMirror)
|
|
bool L_43 = __this->____extrudeMirror_13;
|
|
if (!L_43)
|
|
{
|
|
goto IL_0193;
|
|
}
|
|
}
|
|
{
|
|
// p = _extrude_curve[_extrude_curve.Count - 1].localPos;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_44 = __this->____extrude_curve_17;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_45 = __this->____extrude_curve_17;
|
|
NullCheck(L_45);
|
|
int32_t L_46;
|
|
L_46 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_45, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_44);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_47;
|
|
L_47 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_44, ((int32_t)il2cpp_codegen_subtract(L_46, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_47);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_48 = L_47->___localPos_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
|
|
L_49 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_48, NULL);
|
|
V_0 = L_49;
|
|
// p.x = 1f;
|
|
(&V_0)->___x_2 = (1.0f);
|
|
// _extrudePreview.Add(new CurvePoint(p, true));
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_50 = __this->____extrudePreview_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_52;
|
|
L_52 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_51, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_53 = (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*)il2cpp_codegen_object_new(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
NullCheck(L_53);
|
|
CurvePoint__ctor_m079FE2B3670F069F3ECBCDD1413837A5F28FB081(L_53, L_52, (bool)1, NULL);
|
|
NullCheck(L_50);
|
|
List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_inline(L_50, L_53, List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_RuntimeMethod_var);
|
|
// _extrudePreview[_extrudePreview.Count - 1].VertexColor = _extrude_curve[_extrude_curve.Count - 1].VertexColor;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_54 = __this->____extrudePreview_18;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_55 = __this->____extrudePreview_18;
|
|
NullCheck(L_55);
|
|
int32_t L_56;
|
|
L_56 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_55, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_54);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_57;
|
|
L_57 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_54, ((int32_t)il2cpp_codegen_subtract(L_56, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_58 = __this->____extrude_curve_17;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_59 = __this->____extrude_curve_17;
|
|
NullCheck(L_59);
|
|
int32_t L_60;
|
|
L_60 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_59, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_58);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_61;
|
|
L_61 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_58, ((int32_t)il2cpp_codegen_subtract(L_60, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_61);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_62 = L_61->___VertexColor_3;
|
|
NullCheck(L_57);
|
|
L_57->___VertexColor_3 = L_62;
|
|
}
|
|
|
|
IL_0193:
|
|
{
|
|
// for (int i = 0; i < _extrudePreview.Count - 1; i++)
|
|
V_3 = 0;
|
|
goto IL_01e8;
|
|
}
|
|
|
|
IL_0197:
|
|
{
|
|
// _extrudePreview[i].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_63 = __this->____extrudePreview_18;
|
|
int32_t L_64 = V_3;
|
|
NullCheck(L_63);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_65;
|
|
L_65 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_63, L_64, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_66 = __this->___splineLength_5;
|
|
NullCheck(L_65);
|
|
L_65->___distanceInSpline_1 = L_66;
|
|
// splineLength += Vector2.Distance(_extrudePreview[i].localPos, _extrudePreview[i + 1].localPos);
|
|
float L_67 = __this->___splineLength_5;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_68 = __this->____extrudePreview_18;
|
|
int32_t L_69 = V_3;
|
|
NullCheck(L_68);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_70;
|
|
L_70 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_68, L_69, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_70);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_71 = L_70->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_72 = __this->____extrudePreview_18;
|
|
int32_t L_73 = V_3;
|
|
NullCheck(L_72);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_74;
|
|
L_74 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_72, ((int32_t)il2cpp_codegen_add(L_73, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_74);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_75 = L_74->___localPos_9;
|
|
float L_76;
|
|
L_76 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_71, L_75, NULL);
|
|
__this->___splineLength_5 = ((float)il2cpp_codegen_add(L_67, L_76));
|
|
// for (int i = 0; i < _extrudePreview.Count - 1; i++)
|
|
int32_t L_77 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_77, 1));
|
|
}
|
|
|
|
IL_01e8:
|
|
{
|
|
// for (int i = 0; i < _extrudePreview.Count - 1; i++)
|
|
int32_t L_78 = V_3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_79 = __this->____extrudePreview_18;
|
|
NullCheck(L_79);
|
|
int32_t L_80;
|
|
L_80 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_79, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_78) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_80, 1)))))
|
|
{
|
|
goto IL_0197;
|
|
}
|
|
}
|
|
{
|
|
// if (_extrudePreview.Count > 1) _extrudePreview[_extrudePreview.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_81 = __this->____extrudePreview_18;
|
|
NullCheck(L_81);
|
|
int32_t L_82;
|
|
L_82 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_81, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_82) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0229;
|
|
}
|
|
}
|
|
{
|
|
// if (_extrudePreview.Count > 1) _extrudePreview[_extrudePreview.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_83 = __this->____extrudePreview_18;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_84 = __this->____extrudePreview_18;
|
|
NullCheck(L_84);
|
|
int32_t L_85;
|
|
L_85 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_84, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_83);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_86;
|
|
L_86 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_83, ((int32_t)il2cpp_codegen_subtract(L_85, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_87 = __this->___splineLength_5;
|
|
NullCheck(L_86);
|
|
L_86->___distanceInSpline_1 = L_87;
|
|
}
|
|
|
|
IL_0229:
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
float L_88 = __this->___splineLength_5;
|
|
if ((!(((float)L_88) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0241;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
__this->___splineLength_5 = (0.100000001f);
|
|
}
|
|
|
|
IL_0241:
|
|
{
|
|
// GenerateMeshShape(_extrudePreview, splineLength, _extrude_SubdivLimit, previewShape, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_89 = __this->____extrudePreview_18;
|
|
float L_90 = __this->___splineLength_5;
|
|
float L_91 = __this->____extrude_SubdivLimit_16;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_92 = __this->___previewShape_2;
|
|
int32_t L_93 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_94;
|
|
L_94 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_89, L_90, L_91, L_92, L_93, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::get_LatestGeneratedMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Mesh LatestGeneratedMesh { get; private set; }
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->___U3CLatestGeneratedMeshU3Ek__BackingField_34;
|
|
return L_0;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::set_LatestGeneratedMesh(UnityEngine.Mesh)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Mesh LatestGeneratedMesh { get; private set; }
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_value;
|
|
__this->___U3CLatestGeneratedMeshU3Ek__BackingField_34 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CLatestGeneratedMeshU3Ek__BackingField_34), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::FullGenerateMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_FullGenerateMesh_m4BDA5344659A3CBB4AEBBD2E6B4DB29D7550C6A8 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (GenTechnique == EMeshGenerator.CustomMeshAndExtras)
|
|
int32_t L_0 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// if (ExtraMesh == EExtraMesh.CustomMesh)
|
|
int32_t L_1 = __this->___ExtraMesh_11;
|
|
if (L_1)
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// if (CustomMesh == null) return null;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = __this->___CustomMesh_12;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_3;
|
|
L_3 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_2, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// if (CustomMesh == null) return null;
|
|
return (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// LatestGeneratedMesh = GenerateCustomMesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_4;
|
|
L_4 = TileMeshSetup_GenerateCustomMesh_m3B906F72FEEC38F13FC636A060F4EBA326414FAD(__this, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_4, NULL);
|
|
// return LatestGeneratedMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5;
|
|
L_5 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(__this, NULL);
|
|
return L_5;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// CheckInstances();
|
|
TileMeshSetup_CheckInstances_mCA58E16CB0388D0FA408770A05364658C23BCC5B(__this, NULL);
|
|
// PrepareCurves();
|
|
TileMeshSetup_PrepareCurves_m81CB23439D0717144290F98CB0EC8F04550E7AD7(__this, NULL);
|
|
// QuickUpdate();
|
|
TileMeshSetup_QuickUpdate_mEE0A032936EE9D1AF20D85FF14FF6B08B01DC199(__this, NULL);
|
|
// GenerateMesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_6;
|
|
L_6 = TileMeshSetup_GenerateMesh_m95DF16B164A30ADA5FFD3C530D979B39A64679C4(__this, NULL);
|
|
// return LatestGeneratedMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_7;
|
|
L_7 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(__this, NULL);
|
|
return L_7;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateMesh_m95DF16B164A30ADA5FFD3C530D979B39A64679C4 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (GenTechnique == EMeshGenerator.Lathe)
|
|
int32_t L_0 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
// LatestGeneratedMesh = GenerateLathe(previewShape, new Vector2(width, height), Mathf.RoundToInt(_lathe_xSubdivCount), _lathe_fillAngle, HardNormals, UVMul, UVFit, NormalsMode);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_1 = __this->___previewShape_2;
|
|
float L_2 = __this->___width_53;
|
|
float L_3 = __this->___height_54;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_2, L_3, /*hidden argument*/NULL);
|
|
int32_t L_5 = __this->____lathe_xSubdivCount_36;
|
|
int32_t L_6;
|
|
L_6 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(((float)L_5), NULL);
|
|
int32_t L_7 = __this->____lathe_fillAngle_35;
|
|
float L_8 = __this->___HardNormals_51;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = __this->___UVMul_49;
|
|
int32_t L_10 = __this->___UVFit_48;
|
|
int32_t L_11 = __this->___NormalsMode_50;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_12;
|
|
L_12 = TileMeshSetup_GenerateLathe_m6CDB5A413BD7F33DC9FE6AF2AA501DE228041ED0(__this, L_1, L_4, L_6, L_7, L_8, L_9, L_10, L_11, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_12, NULL);
|
|
goto IL_01c4;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Loft)
|
|
int32_t L_13 = __this->___GenTechnique_46;
|
|
if (L_13)
|
|
{
|
|
goto IL_00c9;
|
|
}
|
|
}
|
|
{
|
|
// LatestGeneratedMesh = GenerateLoft(previewShape, previewShape2, new Vector3(width, height, (width + height) * _loftDepthCurveWidener), HardNormals, UVMul, UVFit, NormalsMode, _loft_depthDim, _loft_height);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_14 = __this->___previewShape_2;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_15 = __this->___previewShape2_3;
|
|
float L_16 = __this->___width_53;
|
|
float L_17 = __this->___height_54;
|
|
float L_18 = __this->___width_53;
|
|
float L_19 = __this->___height_54;
|
|
float L_20 = __this->____loftDepthCurveWidener_39;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
memset((&L_21), 0, sizeof(L_21));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_21), L_16, L_17, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_18, L_19)), L_20)), /*hidden argument*/NULL);
|
|
float L_22 = __this->___HardNormals_51;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23 = __this->___UVMul_49;
|
|
int32_t L_24 = __this->___UVFit_48;
|
|
int32_t L_25 = __this->___NormalsMode_50;
|
|
float L_26 = __this->____loft_depthDim_56;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_27 = __this->____loft_height_45;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_28;
|
|
L_28 = TileMeshSetup_GenerateLoft_mFB10B049FC94011D59DE91BB7E954F2D3E18BE24(__this, L_14, L_15, L_21, L_22, L_23, L_24, L_25, L_26, L_27, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_28, NULL);
|
|
goto IL_01c4;
|
|
}
|
|
|
|
IL_00c9:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Extrude)
|
|
int32_t L_29 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_29) == ((uint32_t)2))))
|
|
{
|
|
goto IL_012a;
|
|
}
|
|
}
|
|
{
|
|
// LatestGeneratedMesh = GenerateExtrude(previewShape, new Vector3(width, height, depth), _extrudeFrontCap, _extrudeBackCap, HardNormals, UVMul, UVFit, NormalsMode, _extrudeMirror);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_30 = __this->___previewShape_2;
|
|
float L_31 = __this->___width_53;
|
|
float L_32 = __this->___height_54;
|
|
float L_33 = __this->___depth_55;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
memset((&L_34), 0, sizeof(L_34));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_34), L_31, L_32, L_33, /*hidden argument*/NULL);
|
|
bool L_35 = __this->____extrudeFrontCap_14;
|
|
bool L_36 = __this->____extrudeBackCap_15;
|
|
float L_37 = __this->___HardNormals_51;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_38 = __this->___UVMul_49;
|
|
int32_t L_39 = __this->___UVFit_48;
|
|
int32_t L_40 = __this->___NormalsMode_50;
|
|
bool L_41 = __this->____extrudeMirror_13;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_42;
|
|
L_42 = TileMeshSetup_GenerateExtrude_mA5770077B7C7D86B15C5C285C2C0CD823069B4A7(__this, L_30, L_34, L_35, L_36, L_37, L_38, L_39, L_40, L_41, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_42, NULL);
|
|
goto IL_01c4;
|
|
}
|
|
|
|
IL_012a:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.CustomMeshAndExtras)
|
|
int32_t L_43 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_43) == ((uint32_t)4))))
|
|
{
|
|
goto IL_0144;
|
|
}
|
|
}
|
|
{
|
|
// LatestGeneratedMesh = GenerateCustomMesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_44;
|
|
L_44 = TileMeshSetup_GenerateCustomMesh_m3B906F72FEEC38F13FC636A060F4EBA326414FAD(__this, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_44, NULL);
|
|
goto IL_01c4;
|
|
}
|
|
|
|
IL_0144:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Primitive)
|
|
int32_t L_45 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_45) == ((uint32_t)5))))
|
|
{
|
|
goto IL_015b;
|
|
}
|
|
}
|
|
{
|
|
// LatestGeneratedMesh = GeneratePrimitiveMesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_46;
|
|
L_46 = TileMeshSetup_GeneratePrimitiveMesh_m4E17FE2713E593EA59CDDE52B4E7BC7B8EB49467(__this, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_46, NULL);
|
|
goto IL_01c4;
|
|
}
|
|
|
|
IL_015b:
|
|
{
|
|
// else if (GenTechnique == EMeshGenerator.Sweep)
|
|
int32_t L_47 = __this->___GenTechnique_46;
|
|
if ((!(((uint32_t)L_47) == ((uint32_t)3))))
|
|
{
|
|
goto IL_01c4;
|
|
}
|
|
}
|
|
{
|
|
// LatestGeneratedMesh = GenerateSweep(previewShape, previewShape2, new Vector3(width, height, (width + height)), HardNormals, UVMul, UVFit, NormalsMode, _sweep_radiusMul, _sweep_radius, _sweep_Close);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_48 = __this->___previewShape_2;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_49 = __this->___previewShape2_3;
|
|
float L_50 = __this->___width_53;
|
|
float L_51 = __this->___height_54;
|
|
float L_52 = __this->___width_53;
|
|
float L_53 = __this->___height_54;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
memset((&L_54), 0, sizeof(L_54));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_54), L_50, L_51, ((float)il2cpp_codegen_add(L_52, L_53)), /*hidden argument*/NULL);
|
|
float L_55 = __this->___HardNormals_51;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_56 = __this->___UVMul_49;
|
|
int32_t L_57 = __this->___UVFit_48;
|
|
int32_t L_58 = __this->___NormalsMode_50;
|
|
float L_59 = __this->____sweep_radiusMul_72;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_60 = __this->____sweep_radius_71;
|
|
bool L_61 = __this->____sweep_Close_73;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_62;
|
|
L_62 = TileMeshSetup_GenerateSweep_m18F4EC9693F5F1F76DAD5364A53747AE21E01E89(__this, L_48, L_49, L_54, L_55, L_56, L_57, L_58, L_59, L_60, L_61, NULL);
|
|
TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline(__this, L_62, NULL);
|
|
}
|
|
|
|
IL_01c4:
|
|
{
|
|
// return LatestGeneratedMesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_63;
|
|
L_63 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(__this, NULL);
|
|
return L_63;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateLoft(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector3,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateLoft_mFB10B049FC94011D59DE91BB7E954F2D3E18BE24 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_shape, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___1_shapeDistrib, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_dimensions, float ___3_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___4_uvMul, int32_t ___5_uvFit, int32_t ___6_normalsCompute, float ___7_distribDepth, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___8_shapeHeight, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* V_5 = NULL;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_8 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_9 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_10 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_11 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
float V_14 = 0.0f;
|
|
float V_15 = 0.0f;
|
|
float V_16 = 0.0f;
|
|
bool V_17 = false;
|
|
float V_18 = 0.0f;
|
|
float V_19 = 0.0f;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_20 = NULL;
|
|
int32_t V_21 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_22;
|
|
memset((&V_22), 0, sizeof(V_22));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_23;
|
|
memset((&V_23), 0, sizeof(V_23));
|
|
int32_t V_24 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_25;
|
|
memset((&V_25), 0, sizeof(V_25));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_26;
|
|
memset((&V_26), 0, sizeof(V_26));
|
|
bool V_27 = false;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_30;
|
|
memset((&V_30), 0, sizeof(V_30));
|
|
float V_31 = 0.0f;
|
|
int32_t V_32 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_33;
|
|
memset((&V_33), 0, sizeof(V_33));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_34;
|
|
memset((&V_34), 0, sizeof(V_34));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_35;
|
|
memset((&V_35), 0, sizeof(V_35));
|
|
float V_36 = 0.0f;
|
|
bool V_37 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_38;
|
|
memset((&V_38), 0, sizeof(V_38));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_39;
|
|
memset((&V_39), 0, sizeof(V_39));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_40;
|
|
memset((&V_40), 0, sizeof(V_40));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_41;
|
|
memset((&V_41), 0, sizeof(V_41));
|
|
int32_t V_42 = 0;
|
|
int32_t V_43 = 0;
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___4_uvMul;
|
|
float L_1 = L_0.___x_0;
|
|
if ((!(((float)L_1) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
(&___4_uvMul)->___x_0 = (1.0f);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___4_uvMul;
|
|
float L_3 = L_2.___y_1;
|
|
if ((!(((float)L_3) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
(&___4_uvMul)->___y_1 = (1.0f);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// List<MeshVertPoint> shapeZY = new List<MeshVertPoint>();
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_4 = (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*)il2cpp_codegen_object_new(List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098(L_4, List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
V_0 = L_4;
|
|
// float zyLength = 0f;
|
|
V_1 = (0.0f);
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue;
|
|
V_2 = ((std::numeric_limits<float>::max)());
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue;
|
|
V_3 = (-(std::numeric_limits<float>::max)());
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
V_21 = 0;
|
|
goto IL_0169;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// MeshShapePoint sh = shape[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_5 = ___0_shape;
|
|
int32_t L_6 = V_21;
|
|
NullCheck(L_5);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_7;
|
|
L_7 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_5, L_6, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_22 = L_7;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_23), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// m.pos = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
(&V_23)->___pos_0 = L_8;
|
|
// m.pos.y = (1f - sh.p.y) * dimensions.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_9 = (&(&V_23)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_10 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = L_10.___p_0;
|
|
float L_12 = L_11.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___2_dimensions;
|
|
float L_14 = L_13.___y_3;
|
|
L_9->___y_3 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_12)), L_14));
|
|
// m.pos.z = (1f - sh.p.x - 1f) * dimensions.z * -0.5f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_15 = (&(&V_23)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_16 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16.___p_0;
|
|
float L_18 = L_17.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = ___2_dimensions;
|
|
float L_20 = L_19.___z_4;
|
|
L_15->___z_4 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract((1.0f), L_18)), (1.0f))), L_20)), (-0.5f)));
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_21 = V_22;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_22 = L_21.___c_2;
|
|
(&V_23)->___vCol_1 = L_22;
|
|
// m.norm = new Vector3(0, m.norm.y, -m.norm.x);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_23 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23.___norm_2;
|
|
float L_25 = L_24.___y_3;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_26 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26.___norm_2;
|
|
float L_28 = L_27.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
memset((&L_29), 0, sizeof(L_29));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_29), (0.0f), L_25, ((-L_28)), /*hidden argument*/NULL);
|
|
(&V_23)->___norm_2 = L_29;
|
|
// if (m.pos.y < lowestY) lowestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_30 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = L_30.___pos_0;
|
|
float L_32 = L_31.___y_3;
|
|
float L_33 = V_2;
|
|
if ((!(((float)L_32) < ((float)L_33))))
|
|
{
|
|
goto IL_011c;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.y < lowestY) lowestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_34 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = L_34.___pos_0;
|
|
float L_36 = L_35.___y_3;
|
|
V_2 = L_36;
|
|
}
|
|
|
|
IL_011c:
|
|
{
|
|
// if (m.pos.y > highestY) highestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_37 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = L_37.___pos_0;
|
|
float L_39 = L_38.___y_3;
|
|
float L_40 = V_3;
|
|
if ((!(((float)L_39) > ((float)L_40))))
|
|
{
|
|
goto IL_0138;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.y > highestY) highestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_41 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41.___pos_0;
|
|
float L_43 = L_42.___y_3;
|
|
V_3 = L_43;
|
|
}
|
|
|
|
IL_0138:
|
|
{
|
|
// shapeZY.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_44 = V_0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_45 = V_23;
|
|
NullCheck(L_44);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_44, L_45, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// if (s > 0) zyLength += Vector3.Distance(m.pos, shapeZY[s - 1].pos);
|
|
int32_t L_46 = V_21;
|
|
if ((((int32_t)L_46) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0163;
|
|
}
|
|
}
|
|
{
|
|
// if (s > 0) zyLength += Vector3.Distance(m.pos, shapeZY[s - 1].pos);
|
|
float L_47 = V_1;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_48 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49 = L_48.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_50 = V_0;
|
|
int32_t L_51 = V_21;
|
|
NullCheck(L_50);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_52;
|
|
L_52 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_50, ((int32_t)il2cpp_codegen_subtract(L_51, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = L_52.___pos_0;
|
|
float L_54;
|
|
L_54 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_49, L_53, NULL);
|
|
V_1 = ((float)il2cpp_codegen_add(L_47, L_54));
|
|
}
|
|
|
|
IL_0163:
|
|
{
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
int32_t L_55 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
int32_t L_56 = V_21;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_57 = ___0_shape;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_57, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_56) < ((int32_t)L_58)))
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// float distrLength = 0f;
|
|
V_4 = (0.0f);
|
|
// List<MeshVertPoint> distr = new List<MeshVertPoint>();
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_59 = (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*)il2cpp_codegen_object_new(List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_59);
|
|
List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098(L_59, List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
V_5 = L_59;
|
|
// float lowestX = float.MaxValue, mostX = float.MinValue;
|
|
V_6 = ((std::numeric_limits<float>::max)());
|
|
// float lowestX = float.MaxValue, mostX = float.MinValue;
|
|
V_7 = (-(std::numeric_limits<float>::max)());
|
|
// for (int s = 0; s < shapeDistrib.Count; s++)
|
|
V_24 = 0;
|
|
goto IL_02bb;
|
|
}
|
|
|
|
IL_019a:
|
|
{
|
|
// MeshShapePoint sh = shapeDistrib[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_60 = ___1_shapeDistrib;
|
|
int32_t L_61 = V_24;
|
|
NullCheck(L_60);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_62;
|
|
L_62 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_60, L_61, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_25 = L_62;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_26), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// m.pos = sh.p;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_63 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = L_63.___p_0;
|
|
(&V_26)->___pos_0 = L_64;
|
|
// m.pos.x = (sh.p.x - 0.5f) * dimensions.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_65 = (&(&V_26)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_66 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = L_66.___p_0;
|
|
float L_68 = L_67.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = ___2_dimensions;
|
|
float L_70 = L_69.___x_2;
|
|
L_65->___x_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_68, (0.5f))), L_70));
|
|
// m.pos.y = 0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_71 = (&(&V_26)->___pos_0);
|
|
L_71->___y_3 = (0.0f);
|
|
// m.pos.z = (-sh.p.y + 0.5f) * distribDepth;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_72 = (&(&V_26)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_73 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = L_73.___p_0;
|
|
float L_75 = L_74.___y_3;
|
|
float L_76 = ___7_distribDepth;
|
|
L_72->___z_4 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((-L_75)), (0.5f))), L_76));
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_77 = V_25;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_78 = L_77.___c_2;
|
|
(&V_26)->___vCol_1 = L_78;
|
|
// m.norm = new Vector3(sh.normal.x, 0f, -sh.normal.y);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_79 = V_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_80 = L_79.___normal_1;
|
|
float L_81 = L_80.___x_0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_82 = V_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_83 = L_82.___normal_1;
|
|
float L_84 = L_83.___y_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
memset((&L_85), 0, sizeof(L_85));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_85), L_81, (0.0f), ((-L_84)), /*hidden argument*/NULL);
|
|
(&V_26)->___norm_2 = L_85;
|
|
// if (m.pos.x < lowestX) lowestX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_86 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = L_86.___pos_0;
|
|
float L_88 = L_87.___x_2;
|
|
float L_89 = V_6;
|
|
if ((!(((float)L_88) < ((float)L_89))))
|
|
{
|
|
goto IL_0268;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.x < lowestX) lowestX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_90 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = L_90.___pos_0;
|
|
float L_92 = L_91.___x_2;
|
|
V_6 = L_92;
|
|
}
|
|
|
|
IL_0268:
|
|
{
|
|
// if (m.pos.x > mostX) mostX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_93 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94 = L_93.___pos_0;
|
|
float L_95 = L_94.___x_2;
|
|
float L_96 = V_7;
|
|
if ((!(((float)L_95) > ((float)L_96))))
|
|
{
|
|
goto IL_0286;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.x > mostX) mostX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_97 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98 = L_97.___pos_0;
|
|
float L_99 = L_98.___x_2;
|
|
V_7 = L_99;
|
|
}
|
|
|
|
IL_0286:
|
|
{
|
|
// distr.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_100 = V_5;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_101 = V_26;
|
|
NullCheck(L_100);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_100, L_101, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// if (s > 0) distrLength += Vector3.Distance(m.pos, distr[s - 1].pos);
|
|
int32_t L_102 = V_24;
|
|
if ((((int32_t)L_102) <= ((int32_t)0)))
|
|
{
|
|
goto IL_02b5;
|
|
}
|
|
}
|
|
{
|
|
// if (s > 0) distrLength += Vector3.Distance(m.pos, distr[s - 1].pos);
|
|
float L_103 = V_4;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_104 = V_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105 = L_104.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_106 = V_5;
|
|
int32_t L_107 = V_24;
|
|
NullCheck(L_106);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_108;
|
|
L_108 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_106, ((int32_t)il2cpp_codegen_subtract(L_107, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109 = L_108.___pos_0;
|
|
float L_110;
|
|
L_110 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_105, L_109, NULL);
|
|
V_4 = ((float)il2cpp_codegen_add(L_103, L_110));
|
|
}
|
|
|
|
IL_02b5:
|
|
{
|
|
// for (int s = 0; s < shapeDistrib.Count; s++)
|
|
int32_t L_111 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_111, 1));
|
|
}
|
|
|
|
IL_02bb:
|
|
{
|
|
// for (int s = 0; s < shapeDistrib.Count; s++)
|
|
int32_t L_112 = V_24;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_113 = ___1_shapeDistrib;
|
|
NullCheck(L_113);
|
|
int32_t L_114;
|
|
L_114 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_113, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_112) < ((int32_t)L_114)))
|
|
{
|
|
goto IL_019a;
|
|
}
|
|
}
|
|
{
|
|
// List<Vector3> verts = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_115 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_115);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_115, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_8 = L_115;
|
|
// List<Vector3> normals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_116 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_116);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_116, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_9 = L_116;
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_117 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_117);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_117, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_10 = L_117;
|
|
// List<int> tris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_118 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_118);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_118, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_11 = L_118;
|
|
// List<Color> vCol = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_119 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_119);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_119, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_12 = L_119;
|
|
// int subDivsMul = shapeZY.Count;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_120 = V_0;
|
|
NullCheck(L_120);
|
|
int32_t L_121;
|
|
L_121 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_120, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
V_13 = L_121;
|
|
// if (distrLength == 0f) distrLength = 1f;
|
|
float L_122 = V_4;
|
|
if ((!(((float)L_122) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0303;
|
|
}
|
|
}
|
|
{
|
|
// if (distrLength == 0f) distrLength = 1f;
|
|
V_4 = (1.0f);
|
|
}
|
|
|
|
IL_0303:
|
|
{
|
|
// if (zyLength == 0f) zyLength = 1f;
|
|
float L_123 = V_1;
|
|
if ((!(((float)L_123) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0311;
|
|
}
|
|
}
|
|
{
|
|
// if (zyLength == 0f) zyLength = 1f;
|
|
V_1 = (1.0f);
|
|
}
|
|
|
|
IL_0311:
|
|
{
|
|
// float ratio = 1f / Mathf.Abs(highestY - lowestY);
|
|
float L_124 = V_3;
|
|
float L_125 = V_2;
|
|
float L_126;
|
|
L_126 = fabsf(((float)il2cpp_codegen_subtract(L_124, L_125)));
|
|
V_14 = ((float)((1.0f)/L_126));
|
|
// float xElapsed = 0f, yElapsed = 0f;
|
|
V_15 = (0.0f);
|
|
// float xElapsed = 0f, yElapsed = 0f;
|
|
V_16 = (0.0f);
|
|
// bool useHeight = false;
|
|
V_17 = (bool)0;
|
|
// float heightSplineLength = 0f;
|
|
V_18 = (0.0f);
|
|
// if (shapeHeight != null)
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_127 = ___8_shapeHeight;
|
|
if (!L_127)
|
|
{
|
|
goto IL_03c0;
|
|
}
|
|
}
|
|
{
|
|
// if (shapeHeight.Count > 1)
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_128 = ___8_shapeHeight;
|
|
NullCheck(L_128);
|
|
int32_t L_129;
|
|
L_129 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_128, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_129) <= ((int32_t)1)))
|
|
{
|
|
goto IL_03c0;
|
|
}
|
|
}
|
|
{
|
|
// bool allZero = false;
|
|
V_27 = (bool)0;
|
|
// for (int d = 0; d < shapeHeight.Count; d++)
|
|
V_28 = 0;
|
|
goto IL_03ae;
|
|
}
|
|
|
|
IL_0352:
|
|
{
|
|
// if (d < shapeHeight.Count - 1)
|
|
int32_t L_130 = V_28;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_131 = ___8_shapeHeight;
|
|
NullCheck(L_131);
|
|
int32_t L_132;
|
|
L_132 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_131, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_130) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_132, 1)))))
|
|
{
|
|
goto IL_0387;
|
|
}
|
|
}
|
|
{
|
|
// heightSplineLength += Vector2.Distance(shapeHeight[d].localPos, shapeHeight[d + 1].localPos);
|
|
float L_133 = V_18;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_134 = ___8_shapeHeight;
|
|
int32_t L_135 = V_28;
|
|
NullCheck(L_134);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_136;
|
|
L_136 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_134, L_135, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_136);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_137 = L_136->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_138 = ___8_shapeHeight;
|
|
int32_t L_139 = V_28;
|
|
NullCheck(L_138);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_140;
|
|
L_140 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_138, ((int32_t)il2cpp_codegen_add(L_139, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_140);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_141 = L_140->___localPos_9;
|
|
float L_142;
|
|
L_142 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_137, L_141, NULL);
|
|
V_18 = ((float)il2cpp_codegen_add(L_133, L_142));
|
|
}
|
|
|
|
IL_0387:
|
|
{
|
|
// if (allZero == false) if (shapeHeight[d].localPos.y > 0.0001f) { allZero = false; }
|
|
bool L_143 = V_27;
|
|
if (L_143)
|
|
{
|
|
goto IL_03a8;
|
|
}
|
|
}
|
|
{
|
|
// if (allZero == false) if (shapeHeight[d].localPos.y > 0.0001f) { allZero = false; }
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_144 = ___8_shapeHeight;
|
|
int32_t L_145 = V_28;
|
|
NullCheck(L_144);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_146;
|
|
L_146 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_144, L_145, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_146);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_147 = (&L_146->___localPos_9);
|
|
float L_148 = L_147->___y_1;
|
|
if ((!(((float)L_148) > ((float)(9.99999975E-05f)))))
|
|
{
|
|
goto IL_03a8;
|
|
}
|
|
}
|
|
{
|
|
// if (allZero == false) if (shapeHeight[d].localPos.y > 0.0001f) { allZero = false; }
|
|
V_27 = (bool)0;
|
|
}
|
|
|
|
IL_03a8:
|
|
{
|
|
// for (int d = 0; d < shapeHeight.Count; d++)
|
|
int32_t L_149 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_149, 1));
|
|
}
|
|
|
|
IL_03ae:
|
|
{
|
|
// for (int d = 0; d < shapeHeight.Count; d++)
|
|
int32_t L_150 = V_28;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_151 = ___8_shapeHeight;
|
|
NullCheck(L_151);
|
|
int32_t L_152;
|
|
L_152 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_151, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_150) < ((int32_t)L_152)))
|
|
{
|
|
goto IL_0352;
|
|
}
|
|
}
|
|
{
|
|
// if (!allZero) useHeight = true;
|
|
bool L_153 = V_27;
|
|
if (L_153)
|
|
{
|
|
goto IL_03c0;
|
|
}
|
|
}
|
|
{
|
|
// if (!allZero) useHeight = true;
|
|
V_17 = (bool)1;
|
|
}
|
|
|
|
IL_03c0:
|
|
{
|
|
// float collapsRev = 1f - _loft_Collapse;
|
|
float L_154 = __this->____loft_Collapse_42;
|
|
V_19 = ((float)il2cpp_codegen_subtract((1.0f), L_154));
|
|
// for (int x = 0; x < distr.Count; x += 1)
|
|
V_29 = 0;
|
|
goto IL_073f;
|
|
}
|
|
|
|
IL_03d6:
|
|
{
|
|
// var xStep = distr[x];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_155 = V_5;
|
|
int32_t L_156 = V_29;
|
|
NullCheck(L_155);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_157;
|
|
L_157 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_155, L_156, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_30 = L_157;
|
|
// float distrProgr = (float)((float)x / (float)(distr.Count - 1));
|
|
int32_t L_158 = V_29;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_159 = V_5;
|
|
NullCheck(L_159);
|
|
int32_t L_160;
|
|
L_160 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_159, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
V_31 = ((float)((float)(((float)L_158)/((float)((int32_t)il2cpp_codegen_subtract(L_160, 1))))));
|
|
// for (int y = 0; y < shapeZY.Count; y += 1)
|
|
V_32 = 0;
|
|
goto IL_06f0;
|
|
}
|
|
|
|
IL_03fa:
|
|
{
|
|
// var yStep = shapeZY[y];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_161 = V_0;
|
|
int32_t L_162 = V_32;
|
|
NullCheck(L_161);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_163;
|
|
L_163 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_161, L_162, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_33 = L_163;
|
|
// if (_loft_Collapse > 0.001f)
|
|
float L_164 = __this->____loft_Collapse_42;
|
|
// Vector3 dir = new Vector3(xStep.norm.x, 0f, xStep.norm.z);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_165 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_166 = L_165.___norm_2;
|
|
float L_167 = L_166.___x_2;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_168 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_169 = L_168.___norm_2;
|
|
float L_170 = L_169.___z_4;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_34), L_167, (0.0f), L_170, NULL);
|
|
// Quaternion populateDir = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_171;
|
|
L_171 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
V_35 = L_171;
|
|
// if (dir.sqrMagnitude > Mathf.Epsilon) { populateDir = Quaternion.LookRotation(dir); }
|
|
float L_172;
|
|
L_172 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_34), NULL);
|
|
float L_173 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon_0;
|
|
if ((!(((float)L_172) > ((float)L_173))))
|
|
{
|
|
goto IL_0453;
|
|
}
|
|
}
|
|
{
|
|
// if (dir.sqrMagnitude > Mathf.Epsilon) { populateDir = Quaternion.LookRotation(dir); }
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_174 = V_34;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_175;
|
|
L_175 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_174, NULL);
|
|
V_35 = L_175;
|
|
}
|
|
|
|
IL_0453:
|
|
{
|
|
// float heightMul = 1f;
|
|
V_36 = (1.0f);
|
|
// bool shiftDown = false;
|
|
V_37 = (bool)0;
|
|
// if (useHeight)
|
|
bool L_176 = V_17;
|
|
if (!L_176)
|
|
{
|
|
goto IL_048c;
|
|
}
|
|
}
|
|
{
|
|
// heightMul = 1f - CurvePoint.GetPosAt(shapeHeight, distrProgr, heightSplineLength).y;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_177 = ___8_shapeHeight;
|
|
float L_178 = V_31;
|
|
float L_179 = V_18;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_180;
|
|
L_180 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_177, L_178, L_179, NULL);
|
|
float L_181 = L_180.___y_1;
|
|
V_36 = ((float)il2cpp_codegen_subtract((1.0f), L_181));
|
|
// var hP = CurvePoint.GetPointAt(shapeHeight, distrProgr, heightSplineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_182 = ___8_shapeHeight;
|
|
float L_183 = V_31;
|
|
float L_184 = V_18;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_185;
|
|
L_185 = CurvePoint_GetPointAt_m12BEDB96CF9C7F9F7988F11EFE637B5286A3598D(L_182, L_183, L_184, (bool)0, NULL);
|
|
// shiftDown = hP._Loft_Height_ShiftWhole;
|
|
NullCheck(L_185);
|
|
bool L_186 = L_185->____Loft_Height_ShiftWhole_15;
|
|
V_37 = L_186;
|
|
}
|
|
|
|
IL_048c:
|
|
{
|
|
// if (_loft_Collapse > 0.001f)
|
|
float L_187 = __this->____loft_Collapse_42;
|
|
if ((!(((float)L_187) > ((float)(0.00100000005f)))))
|
|
{
|
|
goto IL_04bd;
|
|
}
|
|
}
|
|
{
|
|
// xStep.pos.x *= collapsRev;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_188 = (&(&V_30)->___pos_0);
|
|
float* L_189 = (&L_188->___x_2);
|
|
float* L_190 = L_189;
|
|
float L_191 = *((float*)L_190);
|
|
float L_192 = V_19;
|
|
*((float*)L_190) = (float)((float)il2cpp_codegen_multiply(L_191, L_192));
|
|
// xStep.pos.z *= collapsRev;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_193 = (&(&V_30)->___pos_0);
|
|
float* L_194 = (&L_193->___z_4);
|
|
float* L_195 = L_194;
|
|
float L_196 = *((float*)L_195);
|
|
float L_197 = V_19;
|
|
*((float*)L_195) = (float)((float)il2cpp_codegen_multiply(L_196, L_197));
|
|
}
|
|
|
|
IL_04bd:
|
|
{
|
|
// Vector3 vPos = xStep.pos;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_198 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_199 = L_198.___pos_0;
|
|
V_38 = L_199;
|
|
// if (!shiftDown)
|
|
bool L_200 = V_37;
|
|
if (L_200)
|
|
{
|
|
goto IL_04e2;
|
|
}
|
|
}
|
|
{
|
|
// vPos.y = yStep.pos.y * heightMul;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_201 = V_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_202 = L_201.___pos_0;
|
|
float L_203 = L_202.___y_3;
|
|
float L_204 = V_36;
|
|
(&V_38)->___y_3 = ((float)il2cpp_codegen_multiply(L_203, L_204));
|
|
goto IL_0500;
|
|
}
|
|
|
|
IL_04e2:
|
|
{
|
|
// vPos.y = yStep.pos.y - highestY * (1f - heightMul);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_205 = V_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206 = L_205.___pos_0;
|
|
float L_207 = L_206.___y_3;
|
|
float L_208 = V_3;
|
|
float L_209 = V_36;
|
|
(&V_38)->___y_3 = ((float)il2cpp_codegen_subtract(L_207, ((float)il2cpp_codegen_multiply(L_208, ((float)il2cpp_codegen_subtract((1.0f), L_209))))));
|
|
}
|
|
|
|
IL_0500:
|
|
{
|
|
// vPos += (populateDir * new Vector3(0f, 0f, yStep.pos.z * xStep.norm.magnitude));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_210 = V_38;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_211 = V_35;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_212 = V_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_213 = L_212.___pos_0;
|
|
float L_214 = L_213.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_215 = (&(&V_30)->___norm_2);
|
|
float L_216;
|
|
L_216 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline(L_215, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_217;
|
|
memset((&L_217), 0, sizeof(L_217));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_217), (0.0f), (0.0f), ((float)il2cpp_codegen_multiply(L_214, L_216)), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_218;
|
|
L_218 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_211, L_217, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_219;
|
|
L_219 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_210, L_218, NULL);
|
|
V_38 = L_219;
|
|
// verts.Add(vPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_220 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_221 = V_38;
|
|
NullCheck(L_220);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_220, L_221, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// vCol.Add(yStep.vCol);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_222 = V_12;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_223 = V_33;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_224 = L_223.___vCol_1;
|
|
NullCheck(L_222);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_222, L_224, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// Vector3 normal = (xStep.norm + yStep.norm).normalized;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_225 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_226 = L_225.___norm_2;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_227 = V_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_228 = L_227.___norm_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_229;
|
|
L_229 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_226, L_228, NULL);
|
|
V_41 = L_229;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_230;
|
|
L_230 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_41), NULL);
|
|
V_39 = L_230;
|
|
// normals.Add(normal);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_231 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_232 = V_39;
|
|
NullCheck(L_231);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_231, L_232, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// Vector2 uv = new Vector2();
|
|
il2cpp_codegen_initobj((&V_40), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// if (uvFit == EUVFit.FitX)
|
|
int32_t L_233 = ___5_uvFit;
|
|
if (L_233)
|
|
{
|
|
goto IL_05bd;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (xElapsed / distrLength)) * uvMul.x;
|
|
float L_234 = V_15;
|
|
float L_235 = V_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_236 = ___4_uvMul;
|
|
float L_237 = L_236.___x_0;
|
|
(&V_40)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_234/L_235)))), L_237));
|
|
// uv.y = (1f - (yElapsed / zyLength)) * heightMul * uvMul.y / ratio;
|
|
float L_238 = V_16;
|
|
float L_239 = V_1;
|
|
float L_240 = V_36;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_241 = ___4_uvMul;
|
|
float L_242 = L_241.___y_1;
|
|
float L_243 = V_14;
|
|
(&V_40)->___y_1 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_238/L_239)))), L_240)), L_242))/L_243));
|
|
goto IL_0638;
|
|
}
|
|
|
|
IL_05bd:
|
|
{
|
|
// else if (uvFit == EUVFit.FitY)
|
|
int32_t L_244 = ___5_uvFit;
|
|
if ((!(((uint32_t)L_244) == ((uint32_t)1))))
|
|
{
|
|
goto IL_05fd;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (xElapsed / distrLength)) * uvMul.x * ratio;
|
|
float L_245 = V_15;
|
|
float L_246 = V_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_247 = ___4_uvMul;
|
|
float L_248 = L_247.___x_0;
|
|
float L_249 = V_14;
|
|
(&V_40)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_245/L_246)))), L_248)), L_249));
|
|
// uv.y = (1f - (yElapsed / zyLength)) * heightMul * uvMul.y;
|
|
float L_250 = V_16;
|
|
float L_251 = V_1;
|
|
float L_252 = V_36;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_253 = ___4_uvMul;
|
|
float L_254 = L_253.___y_1;
|
|
(&V_40)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_250/L_251)))), L_252)), L_254));
|
|
goto IL_0638;
|
|
}
|
|
|
|
IL_05fd:
|
|
{
|
|
// else if (uvFit == EUVFit.FitXY)
|
|
int32_t L_255 = ___5_uvFit;
|
|
if ((!(((uint32_t)L_255) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0638;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (xElapsed / distrLength)) * uvMul.x;
|
|
float L_256 = V_15;
|
|
float L_257 = V_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_258 = ___4_uvMul;
|
|
float L_259 = L_258.___x_0;
|
|
(&V_40)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_256/L_257)))), L_259));
|
|
// uv.y = (1f - (yElapsed / zyLength)) * heightMul * uvMul.y;
|
|
float L_260 = V_16;
|
|
float L_261 = V_1;
|
|
float L_262 = V_36;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_263 = ___4_uvMul;
|
|
float L_264 = L_263.___y_1;
|
|
(&V_40)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_260/L_261)))), L_262)), L_264));
|
|
}
|
|
|
|
IL_0638:
|
|
{
|
|
// uvs.Add(uv);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_265 = V_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_266 = V_40;
|
|
NullCheck(L_265);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_265, L_266, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// if (y < shapeZY.Count - 1 && x < distr.Count - 1)
|
|
int32_t L_267 = V_32;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_268 = V_0;
|
|
NullCheck(L_268);
|
|
int32_t L_269;
|
|
L_269 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_268, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_267) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_269, 1)))))
|
|
{
|
|
goto IL_06b8;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_270 = V_29;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_271 = V_5;
|
|
NullCheck(L_271);
|
|
int32_t L_272;
|
|
L_272 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_271, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_270) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_272, 1)))))
|
|
{
|
|
goto IL_06b8;
|
|
}
|
|
}
|
|
{
|
|
// int ls = x * (subDivsMul);
|
|
int32_t L_273 = V_29;
|
|
int32_t L_274 = V_13;
|
|
V_42 = ((int32_t)il2cpp_codegen_multiply(L_273, L_274));
|
|
// int uls = (x + 1) * (subDivsMul);
|
|
int32_t L_275 = V_29;
|
|
int32_t L_276 = V_13;
|
|
V_43 = ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_275, 1)), L_276));
|
|
// tris.Add(ls + y); // ld
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_277 = V_11;
|
|
int32_t L_278 = V_42;
|
|
int32_t L_279 = V_32;
|
|
NullCheck(L_277);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_277, ((int32_t)il2cpp_codegen_add(L_278, L_279)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(ls + y + 1); // rd
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_280 = V_11;
|
|
int32_t L_281 = V_42;
|
|
int32_t L_282 = V_32;
|
|
NullCheck(L_280);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_280, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_281, L_282)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + y); // lup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_283 = V_11;
|
|
int32_t L_284 = V_43;
|
|
int32_t L_285 = V_32;
|
|
NullCheck(L_283);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_283, ((int32_t)il2cpp_codegen_add(L_284, L_285)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(ls + y + 1); // rd
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_286 = V_11;
|
|
int32_t L_287 = V_42;
|
|
int32_t L_288 = V_32;
|
|
NullCheck(L_286);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_286, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_287, L_288)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + y + 1); // rup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_289 = V_11;
|
|
int32_t L_290 = V_43;
|
|
int32_t L_291 = V_32;
|
|
NullCheck(L_289);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_289, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_290, L_291)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + y); // lup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_292 = V_11;
|
|
int32_t L_293 = V_43;
|
|
int32_t L_294 = V_32;
|
|
NullCheck(L_292);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_292, ((int32_t)il2cpp_codegen_add(L_293, L_294)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_06b8:
|
|
{
|
|
// if (y < shapeZY.Count - 1) yElapsed += Vector3.Distance(shapeZY[y].pos, shapeZY[y + 1].pos);
|
|
int32_t L_295 = V_32;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_296 = V_0;
|
|
NullCheck(L_296);
|
|
int32_t L_297;
|
|
L_297 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_296, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_295) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_297, 1)))))
|
|
{
|
|
goto IL_06ea;
|
|
}
|
|
}
|
|
{
|
|
// if (y < shapeZY.Count - 1) yElapsed += Vector3.Distance(shapeZY[y].pos, shapeZY[y + 1].pos);
|
|
float L_298 = V_16;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_299 = V_0;
|
|
int32_t L_300 = V_32;
|
|
NullCheck(L_299);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_301;
|
|
L_301 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_299, L_300, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_302 = L_301.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_303 = V_0;
|
|
int32_t L_304 = V_32;
|
|
NullCheck(L_303);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_305;
|
|
L_305 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_303, ((int32_t)il2cpp_codegen_add(L_304, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_306 = L_305.___pos_0;
|
|
float L_307;
|
|
L_307 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_302, L_306, NULL);
|
|
V_16 = ((float)il2cpp_codegen_add(L_298, L_307));
|
|
}
|
|
|
|
IL_06ea:
|
|
{
|
|
// for (int y = 0; y < shapeZY.Count; y += 1)
|
|
int32_t L_308 = V_32;
|
|
V_32 = ((int32_t)il2cpp_codegen_add(L_308, 1));
|
|
}
|
|
|
|
IL_06f0:
|
|
{
|
|
// for (int y = 0; y < shapeZY.Count; y += 1)
|
|
int32_t L_309 = V_32;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_310 = V_0;
|
|
NullCheck(L_310);
|
|
int32_t L_311;
|
|
L_311 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_310, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_309) < ((int32_t)L_311)))
|
|
{
|
|
goto IL_03fa;
|
|
}
|
|
}
|
|
{
|
|
// yElapsed = 0f;
|
|
V_16 = (0.0f);
|
|
// if (x < distr.Count - 1) xElapsed += Vector3.Distance(distr[x].pos, distr[x + 1].pos);
|
|
int32_t L_312 = V_29;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_313 = V_5;
|
|
NullCheck(L_313);
|
|
int32_t L_314;
|
|
L_314 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_313, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_312) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_314, 1)))))
|
|
{
|
|
goto IL_0739;
|
|
}
|
|
}
|
|
{
|
|
// if (x < distr.Count - 1) xElapsed += Vector3.Distance(distr[x].pos, distr[x + 1].pos);
|
|
float L_315 = V_15;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_316 = V_5;
|
|
int32_t L_317 = V_29;
|
|
NullCheck(L_316);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_318;
|
|
L_318 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_316, L_317, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_319 = L_318.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_320 = V_5;
|
|
int32_t L_321 = V_29;
|
|
NullCheck(L_320);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_322;
|
|
L_322 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_320, ((int32_t)il2cpp_codegen_add(L_321, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_323 = L_322.___pos_0;
|
|
float L_324;
|
|
L_324 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_319, L_323, NULL);
|
|
V_15 = ((float)il2cpp_codegen_add(L_315, L_324));
|
|
}
|
|
|
|
IL_0739:
|
|
{
|
|
// for (int x = 0; x < distr.Count; x += 1)
|
|
int32_t L_325 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_325, 1));
|
|
}
|
|
|
|
IL_073f:
|
|
{
|
|
// for (int x = 0; x < distr.Count; x += 1)
|
|
int32_t L_326 = V_29;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_327 = V_5;
|
|
NullCheck(L_327);
|
|
int32_t L_328;
|
|
L_328 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_327, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_326) < ((int32_t)L_328)))
|
|
{
|
|
goto IL_03d6;
|
|
}
|
|
}
|
|
{
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_329 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_329);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_329, NULL);
|
|
V_20 = L_329;
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_330 = V_20;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_331 = V_8;
|
|
NullCheck(L_330);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_330, L_331, NULL);
|
|
// mesh.SetColors(vCol);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_332 = V_20;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_333 = V_12;
|
|
NullCheck(L_332);
|
|
Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9(L_332, L_333, NULL);
|
|
// mesh.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_334 = V_20;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_335 = V_11;
|
|
NullCheck(L_334);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_334, L_335, 0, NULL);
|
|
// mesh.SetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_336 = V_20;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_337 = V_10;
|
|
NullCheck(L_336);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_336, 0, L_337, NULL);
|
|
// if (normalsCompute == ENormalsMode.NormalsAsSubdivView)
|
|
int32_t L_338 = ___6_normalsCompute;
|
|
if (L_338)
|
|
{
|
|
goto IL_0789;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_339 = V_20;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_340 = V_9;
|
|
NullCheck(L_339);
|
|
Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365(L_339, L_340, NULL);
|
|
goto IL_07ab;
|
|
}
|
|
|
|
IL_0789:
|
|
{
|
|
// if (hardNormals <= 0f)
|
|
float L_341 = ___3_hardNormals;
|
|
if ((!(((float)L_341) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_07a2;
|
|
}
|
|
}
|
|
{
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_342 = V_20;
|
|
NullCheck(L_342);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_342, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_343 = V_20;
|
|
NullCheck(L_343);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_343, NULL);
|
|
goto IL_07ab;
|
|
}
|
|
|
|
IL_07a2:
|
|
{
|
|
// FMeshUtils.SmoothMeshNormals(mesh, hardNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_344 = V_20;
|
|
float L_345 = ___3_hardNormals;
|
|
FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7(L_344, L_345, NULL);
|
|
}
|
|
|
|
IL_07ab:
|
|
{
|
|
// mesh = FMeshUtils.AdjustOrigin(mesh, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_346 = V_20;
|
|
int32_t L_347 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_348;
|
|
L_348 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_346, L_347, NULL);
|
|
V_20 = L_348;
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_349 = V_20;
|
|
NullCheck(L_349);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_349, NULL);
|
|
// return mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_350 = V_20;
|
|
return L_350;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateLathe(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector2,System.Int32,System.Int32,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateLathe_m6CDB5A413BD7F33DC9FE6AF2AA501DE228041ED0 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_shape, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_dimensions, int32_t ___2_subdivs, int32_t ___3_fillTo, float ___4_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___5_uvMul, int32_t ___6_uvFit, int32_t ___7_normalsCompute, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* V_1 = NULL;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_5 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_6 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_7 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_8 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_9 = NULL;
|
|
float V_10 = 0.0f;
|
|
float V_11 = 0.0f;
|
|
float V_12 = 0.0f;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_13 = NULL;
|
|
int32_t V_14 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_15;
|
|
memset((&V_15), 0, sizeof(V_15));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_16;
|
|
memset((&V_16), 0, sizeof(V_16));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_17;
|
|
memset((&V_17), 0, sizeof(V_17));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
int32_t V_19 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_20;
|
|
memset((&V_20), 0, sizeof(V_20));
|
|
int32_t V_21 = 0;
|
|
float V_22 = 0.0f;
|
|
float V_23 = 0.0f;
|
|
float V_24 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_25;
|
|
memset((&V_25), 0, sizeof(V_25));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_26;
|
|
memset((&V_26), 0, sizeof(V_26));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_27;
|
|
memset((&V_27), 0, sizeof(V_27));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_28;
|
|
memset((&V_28), 0, sizeof(V_28));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_29;
|
|
memset((&V_29), 0, sizeof(V_29));
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
int32_t V_32 = 0;
|
|
{
|
|
// subdivs += 1;
|
|
int32_t L_0 = ___2_subdivs;
|
|
___2_subdivs = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
// int subDivsMul = subdivs + 1;
|
|
int32_t L_1 = ___2_subdivs;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_1, 1));
|
|
// dimensions.x *= 0.5f;
|
|
float* L_2 = (&(&___1_dimensions)->___x_0);
|
|
float* L_3 = L_2;
|
|
float L_4 = *((float*)L_3);
|
|
*((float*)L_3) = (float)((float)il2cpp_codegen_multiply(L_4, (0.5f)));
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = ___5_uvMul;
|
|
float L_6 = L_5.___x_0;
|
|
if ((!(((float)L_6) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
(&___5_uvMul)->___x_0 = (1.0f);
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = ___5_uvMul;
|
|
float L_8 = L_7.___y_1;
|
|
if ((!(((float)L_8) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
(&___5_uvMul)->___y_1 = (1.0f);
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// List<MeshVertPoint> latheShape = new List<MeshVertPoint>();
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_9 = (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*)il2cpp_codegen_object_new(List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098(L_9, List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
V_1 = L_9;
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue, farthestOff = float.MinValue;
|
|
V_2 = ((std::numeric_limits<float>::max)());
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue, farthestOff = float.MinValue;
|
|
V_3 = (-(std::numeric_limits<float>::max)());
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue, farthestOff = float.MinValue;
|
|
V_4 = (-(std::numeric_limits<float>::max)());
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
V_14 = 0;
|
|
goto IL_014c;
|
|
}
|
|
|
|
IL_006e:
|
|
{
|
|
// MeshShapePoint sh = shape[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_10 = ___0_shape;
|
|
int32_t L_11 = V_14;
|
|
NullCheck(L_10);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_12;
|
|
L_12 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_10, L_11, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_15 = L_12;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_16), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// Vector3 refPos = sh.p;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_13 = V_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13.___p_0;
|
|
V_17 = L_14;
|
|
// refPos.x = 1f - refPos.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_17;
|
|
float L_16 = L_15.___x_2;
|
|
(&V_17)->___x_2 = ((float)il2cpp_codegen_subtract((1.0f), L_16));
|
|
// refPos.y = -refPos.y + 1f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = V_17;
|
|
float L_18 = L_17.___y_3;
|
|
(&V_17)->___y_3 = ((float)il2cpp_codegen_add(((-L_18)), (1.0f)));
|
|
// Vector3 newPos = Vector2.Scale(refPos, dimensions);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = V_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20;
|
|
L_20 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_19, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21 = ___1_dimensions;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22;
|
|
L_22 = Vector2_Scale_m8D61A8D2272549F1EF41256F7E8A206C6500EA6C_inline(L_20, L_21, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_22, NULL);
|
|
V_18 = L_23;
|
|
// m.pos = newPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_18;
|
|
(&V_16)->___pos_0 = L_24;
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_25 = V_15;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_26 = L_25.___c_2;
|
|
(&V_16)->___vCol_1 = L_26;
|
|
// m.norm = new Vector3(sh.normal.x, sh.normal.y, 0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_27 = V_15;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28 = L_27.___normal_1;
|
|
float L_29 = L_28.___x_0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_30 = V_15;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_31 = L_30.___normal_1;
|
|
float L_32 = L_31.___y_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33;
|
|
memset((&L_33), 0, sizeof(L_33));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_33), L_29, L_32, (0.0f), /*hidden argument*/NULL);
|
|
(&V_16)->___norm_2 = L_33;
|
|
// if (newPos.y < lowestY) lowestY = newPos.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_18;
|
|
float L_35 = L_34.___y_3;
|
|
float L_36 = V_2;
|
|
if ((!(((float)L_35) < ((float)L_36))))
|
|
{
|
|
goto IL_0118;
|
|
}
|
|
}
|
|
{
|
|
// if (newPos.y < lowestY) lowestY = newPos.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_18;
|
|
float L_38 = L_37.___y_3;
|
|
V_2 = L_38;
|
|
}
|
|
|
|
IL_0118:
|
|
{
|
|
// if (newPos.y > highestY) highestY = newPos.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_18;
|
|
float L_40 = L_39.___y_3;
|
|
float L_41 = V_3;
|
|
if ((!(((float)L_40) > ((float)L_41))))
|
|
{
|
|
goto IL_012a;
|
|
}
|
|
}
|
|
{
|
|
// if (newPos.y > highestY) highestY = newPos.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_18;
|
|
float L_43 = L_42.___y_3;
|
|
V_3 = L_43;
|
|
}
|
|
|
|
IL_012a:
|
|
{
|
|
// if (newPos.x > farthestOff) farthestOff = newPos.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_18;
|
|
float L_45 = L_44.___x_2;
|
|
float L_46 = V_4;
|
|
if ((!(((float)L_45) > ((float)L_46))))
|
|
{
|
|
goto IL_013e;
|
|
}
|
|
}
|
|
{
|
|
// if (newPos.x > farthestOff) farthestOff = newPos.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47 = V_18;
|
|
float L_48 = L_47.___x_2;
|
|
V_4 = L_48;
|
|
}
|
|
|
|
IL_013e:
|
|
{
|
|
// latheShape.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_49 = V_1;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_50 = V_16;
|
|
NullCheck(L_49);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_49, L_50, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
int32_t L_51 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_51, 1));
|
|
}
|
|
|
|
IL_014c:
|
|
{
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
int32_t L_52 = V_14;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_53 = ___0_shape;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_53, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_52) < ((int32_t)L_54)))
|
|
{
|
|
goto IL_006e;
|
|
}
|
|
}
|
|
{
|
|
// List<Vector3> verts = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_55 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_55);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_55, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_5 = L_55;
|
|
// List<Vector3> normals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_56 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_56);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_56, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_6 = L_56;
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_57 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_57);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_57, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_7 = L_57;
|
|
// List<Color> vCol = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_58 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_58);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_58, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_8 = L_58;
|
|
// List<int> tris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_59 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_59);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_59, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_9 = L_59;
|
|
// float stepAngle = (float)fillTo / (float)(subdivs - 1f); // 360 or less fill step
|
|
int32_t L_60 = ___3_fillTo;
|
|
int32_t L_61 = ___2_subdivs;
|
|
V_10 = ((float)(((float)L_60)/((float)((float)il2cpp_codegen_subtract(((float)L_61), (1.0f))))));
|
|
// stepAngle *= Mathf.Deg2Rad; // when quat then comment this line
|
|
float L_62 = V_10;
|
|
V_10 = ((float)il2cpp_codegen_multiply(L_62, (0.0174532924f)));
|
|
// float ratio = 1f / Mathf.Abs(highestY - lowestY);
|
|
float L_63 = V_3;
|
|
float L_64 = V_2;
|
|
float L_65;
|
|
L_65 = fabsf(((float)il2cpp_codegen_subtract(L_63, L_64)));
|
|
V_11 = ((float)((1.0f)/L_65));
|
|
// float xStep = 1f / (float)(subdivs);
|
|
int32_t L_66 = ___2_subdivs;
|
|
V_12 = ((float)((1.0f)/((float)L_66)));
|
|
// for (int y = 0; y < latheShape.Count; y += 1)
|
|
V_19 = 0;
|
|
goto IL_03e0;
|
|
}
|
|
|
|
IL_01b7:
|
|
{
|
|
// var lth = latheShape[y];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_67 = V_1;
|
|
int32_t L_68 = V_19;
|
|
NullCheck(L_67);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_69;
|
|
L_69 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_67, L_68, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_20 = L_69;
|
|
// for (int x = 0; x <= subdivs; x += 1)
|
|
V_21 = 0;
|
|
goto IL_03d2;
|
|
}
|
|
|
|
IL_01c9:
|
|
{
|
|
// float xOff = Mathf.Sin(x * stepAngle);
|
|
int32_t L_70 = V_21;
|
|
float L_71 = V_10;
|
|
float L_72;
|
|
L_72 = sinf(((float)il2cpp_codegen_multiply(((float)L_70), L_71)));
|
|
V_22 = L_72;
|
|
// float zOff = Mathf.Cos(x * stepAngle);
|
|
int32_t L_73 = V_21;
|
|
float L_74 = V_10;
|
|
float L_75;
|
|
L_75 = cosf(((float)il2cpp_codegen_multiply(((float)L_73), L_74)));
|
|
V_23 = L_75;
|
|
// float yPos = lth.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_76 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = L_76.___pos_0;
|
|
float L_78 = L_77.___y_3;
|
|
V_24 = L_78;
|
|
// Vector3 angleOff = new Vector3(xOff * lth.pos.x, 0f, zOff * lth.pos.x);
|
|
float L_79 = V_22;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_80 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = L_80.___pos_0;
|
|
float L_82 = L_81.___x_2;
|
|
float L_83 = V_23;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_84 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = L_84.___pos_0;
|
|
float L_86 = L_85.___x_2;
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_25), ((float)il2cpp_codegen_multiply(L_79, L_82)), (0.0f), ((float)il2cpp_codegen_multiply(L_83, L_86)), NULL);
|
|
// Vector3 vPos = new Vector3(0, yPos, 0) + angleOff;
|
|
float L_87 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
memset((&L_88), 0, sizeof(L_88));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_88), (0.0f), L_87, (0.0f), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_89 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
|
|
L_90 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_88, L_89, NULL);
|
|
V_26 = L_90;
|
|
// verts.Add(vPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_91 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = V_26;
|
|
NullCheck(L_91);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_91, L_92, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// Vector3 norm = ((angleOff.normalized) + new Vector3(0f, lth.norm.y, 0f)).normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
|
|
L_93 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_25), NULL);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_94 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = L_94.___norm_2;
|
|
float L_96 = L_95.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
|
|
memset((&L_97), 0, sizeof(L_97));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_97), (0.0f), L_96, (0.0f), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
|
|
L_98 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_93, L_97, NULL);
|
|
V_29 = L_98;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
|
|
L_99 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_29), NULL);
|
|
V_27 = L_99;
|
|
// normals.Add(norm);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_100 = V_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101 = V_27;
|
|
NullCheck(L_100);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_100, L_101, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// Vector2 uv = new Vector2();
|
|
il2cpp_codegen_initobj((&V_28), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// if (uvFit == EUVFit.FitX)
|
|
int32_t L_102 = ___6_uvFit;
|
|
if (L_102)
|
|
{
|
|
goto IL_02bd;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (x * xStep)) * uvMul.x;
|
|
int32_t L_103 = V_21;
|
|
float L_104 = V_12;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_105 = ___5_uvMul;
|
|
float L_106 = L_105.___x_0;
|
|
(&V_28)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)L_103), L_104)))), L_106));
|
|
// uv.y = Mathf.InverseLerp(lowestY, highestY, yPos) * uvMul.y / ratio;
|
|
float L_107 = V_2;
|
|
float L_108 = V_3;
|
|
float L_109 = V_24;
|
|
float L_110;
|
|
L_110 = Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline(L_107, L_108, L_109, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_111 = ___5_uvMul;
|
|
float L_112 = L_111.___y_1;
|
|
float L_113 = V_11;
|
|
(&V_28)->___y_1 = ((float)(((float)il2cpp_codegen_multiply(L_110, L_112))/L_113));
|
|
goto IL_0332;
|
|
}
|
|
|
|
IL_02bd:
|
|
{
|
|
// else if (uvFit == EUVFit.FitY)
|
|
int32_t L_114 = ___6_uvFit;
|
|
if ((!(((uint32_t)L_114) == ((uint32_t)1))))
|
|
{
|
|
goto IL_02fa;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (x * xStep)) * uvMul.x * ratio;
|
|
int32_t L_115 = V_21;
|
|
float L_116 = V_12;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_117 = ___5_uvMul;
|
|
float L_118 = L_117.___x_0;
|
|
float L_119 = V_11;
|
|
(&V_28)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)L_115), L_116)))), L_118)), L_119));
|
|
// uv.y = Mathf.InverseLerp(lowestY, highestY, yPos) * uvMul.y;
|
|
float L_120 = V_2;
|
|
float L_121 = V_3;
|
|
float L_122 = V_24;
|
|
float L_123;
|
|
L_123 = Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline(L_120, L_121, L_122, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_124 = ___5_uvMul;
|
|
float L_125 = L_124.___y_1;
|
|
(&V_28)->___y_1 = ((float)il2cpp_codegen_multiply(L_123, L_125));
|
|
goto IL_0332;
|
|
}
|
|
|
|
IL_02fa:
|
|
{
|
|
// else if (uvFit == EUVFit.FitXY)
|
|
int32_t L_126 = ___6_uvFit;
|
|
if ((!(((uint32_t)L_126) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0332;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (x * xStep)) * uvMul.x;
|
|
int32_t L_127 = V_21;
|
|
float L_128 = V_12;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_129 = ___5_uvMul;
|
|
float L_130 = L_129.___x_0;
|
|
(&V_28)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)il2cpp_codegen_multiply(((float)L_127), L_128)))), L_130));
|
|
// uv.y = Mathf.InverseLerp(lowestY, highestY, yPos) * uvMul.y;
|
|
float L_131 = V_2;
|
|
float L_132 = V_3;
|
|
float L_133 = V_24;
|
|
float L_134;
|
|
L_134 = Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline(L_131, L_132, L_133, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_135 = ___5_uvMul;
|
|
float L_136 = L_135.___y_1;
|
|
(&V_28)->___y_1 = ((float)il2cpp_codegen_multiply(L_134, L_136));
|
|
}
|
|
|
|
IL_0332:
|
|
{
|
|
// uvs.Add(uv);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_137 = V_7;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_138 = V_28;
|
|
NullCheck(L_137);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_137, L_138, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// if (x < subdivs - 1 && y < latheShape.Count - 1)
|
|
int32_t L_139 = V_21;
|
|
int32_t L_140 = ___2_subdivs;
|
|
if ((((int32_t)L_139) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_140, 1)))))
|
|
{
|
|
goto IL_03be;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_141 = V_19;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_142 = V_1;
|
|
NullCheck(L_142);
|
|
int32_t L_143;
|
|
L_143 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_142, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_141) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_143, 1)))))
|
|
{
|
|
goto IL_03be;
|
|
}
|
|
}
|
|
{
|
|
// int ls = y * (subDivsMul);
|
|
int32_t L_144 = V_19;
|
|
int32_t L_145 = V_0;
|
|
V_30 = ((int32_t)il2cpp_codegen_multiply(L_144, L_145));
|
|
// int uls = (y + 1) * (subDivsMul);
|
|
int32_t L_146 = V_19;
|
|
int32_t L_147 = V_0;
|
|
V_31 = ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_146, 1)), L_147));
|
|
// int xn = x + 1;
|
|
int32_t L_148 = V_21;
|
|
V_32 = ((int32_t)il2cpp_codegen_add(L_148, 1));
|
|
// if (fillTo >= 360f) if (x == subdivs - 2) xn = 0;
|
|
int32_t L_149 = ___3_fillTo;
|
|
if ((!(((float)((float)L_149)) >= ((float)(360.0f)))))
|
|
{
|
|
goto IL_0376;
|
|
}
|
|
}
|
|
{
|
|
// if (fillTo >= 360f) if (x == subdivs - 2) xn = 0;
|
|
int32_t L_150 = V_21;
|
|
int32_t L_151 = ___2_subdivs;
|
|
if ((!(((uint32_t)L_150) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(L_151, 2))))))
|
|
{
|
|
goto IL_0376;
|
|
}
|
|
}
|
|
{
|
|
// if (fillTo >= 360f) if (x == subdivs - 2) xn = 0;
|
|
V_32 = 0;
|
|
}
|
|
|
|
IL_0376:
|
|
{
|
|
// tris.Add(ls + x); // ld
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_152 = V_9;
|
|
int32_t L_153 = V_30;
|
|
int32_t L_154 = V_21;
|
|
NullCheck(L_152);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_152, ((int32_t)il2cpp_codegen_add(L_153, L_154)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(ls + xn); // rd
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_155 = V_9;
|
|
int32_t L_156 = V_30;
|
|
int32_t L_157 = V_32;
|
|
NullCheck(L_155);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_155, ((int32_t)il2cpp_codegen_add(L_156, L_157)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + x); // lup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_158 = V_9;
|
|
int32_t L_159 = V_31;
|
|
int32_t L_160 = V_21;
|
|
NullCheck(L_158);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_158, ((int32_t)il2cpp_codegen_add(L_159, L_160)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(ls + xn); // rd
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_161 = V_9;
|
|
int32_t L_162 = V_30;
|
|
int32_t L_163 = V_32;
|
|
NullCheck(L_161);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_161, ((int32_t)il2cpp_codegen_add(L_162, L_163)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + xn); // rup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_164 = V_9;
|
|
int32_t L_165 = V_31;
|
|
int32_t L_166 = V_32;
|
|
NullCheck(L_164);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_164, ((int32_t)il2cpp_codegen_add(L_165, L_166)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + x); // lup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_167 = V_9;
|
|
int32_t L_168 = V_31;
|
|
int32_t L_169 = V_21;
|
|
NullCheck(L_167);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_167, ((int32_t)il2cpp_codegen_add(L_168, L_169)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_03be:
|
|
{
|
|
// vCol.Add(lth.vCol);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_170 = V_8;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_171 = V_20;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_172 = L_171.___vCol_1;
|
|
NullCheck(L_170);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_170, L_172, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// for (int x = 0; x <= subdivs; x += 1)
|
|
int32_t L_173 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_173, 1));
|
|
}
|
|
|
|
IL_03d2:
|
|
{
|
|
// for (int x = 0; x <= subdivs; x += 1)
|
|
int32_t L_174 = V_21;
|
|
int32_t L_175 = ___2_subdivs;
|
|
if ((((int32_t)L_174) <= ((int32_t)L_175)))
|
|
{
|
|
goto IL_01c9;
|
|
}
|
|
}
|
|
{
|
|
// for (int y = 0; y < latheShape.Count; y += 1)
|
|
int32_t L_176 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_176, 1));
|
|
}
|
|
|
|
IL_03e0:
|
|
{
|
|
// for (int y = 0; y < latheShape.Count; y += 1)
|
|
int32_t L_177 = V_19;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_178 = V_1;
|
|
NullCheck(L_178);
|
|
int32_t L_179;
|
|
L_179 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_178, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_177) < ((int32_t)L_179)))
|
|
{
|
|
goto IL_01b7;
|
|
}
|
|
}
|
|
{
|
|
// verts.Reverse();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_180 = V_5;
|
|
NullCheck(L_180);
|
|
List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72(L_180, List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
|
|
// tris.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_181 = V_9;
|
|
NullCheck(L_181);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_181, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
// normals.Reverse();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_182 = V_6;
|
|
NullCheck(L_182);
|
|
List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72(L_182, List_1_Reverse_m6176C1C61287BC196A8039EFD94C4C197C592F72_RuntimeMethod_var);
|
|
// uvs.Reverse();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_183 = V_7;
|
|
NullCheck(L_183);
|
|
List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF(L_183, List_1_Reverse_m9D5D6524E78A4D1590BACA474B193AC2E0DA93EF_RuntimeMethod_var);
|
|
// vCol.Reverse();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_184 = V_8;
|
|
NullCheck(L_184);
|
|
List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43(L_184, List_1_Reverse_m23D2E951E485B520789A7A38A877AD3DFC562B43_RuntimeMethod_var);
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_185 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_185);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_185, NULL);
|
|
V_13 = L_185;
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_186 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_187 = V_5;
|
|
NullCheck(L_186);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_186, L_187, NULL);
|
|
// mesh.SetColors(vCol);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_188 = V_13;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_189 = V_8;
|
|
NullCheck(L_188);
|
|
Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9(L_188, L_189, NULL);
|
|
// mesh.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_190 = V_13;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_191 = V_9;
|
|
NullCheck(L_190);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_190, L_191, 0, NULL);
|
|
// if (normalsCompute == ENormalsMode.NormalsAsSubdivView)
|
|
int32_t L_192 = ___7_normalsCompute;
|
|
if (L_192)
|
|
{
|
|
goto IL_0442;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_193 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_194 = V_6;
|
|
NullCheck(L_193);
|
|
Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365(L_193, L_194, NULL);
|
|
goto IL_0464;
|
|
}
|
|
|
|
IL_0442:
|
|
{
|
|
// if (hardNormals <= 0f)
|
|
float L_195 = ___4_hardNormals;
|
|
if ((!(((float)L_195) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_045b;
|
|
}
|
|
}
|
|
{
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_196 = V_13;
|
|
NullCheck(L_196);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_196, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_197 = V_13;
|
|
NullCheck(L_197);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_197, NULL);
|
|
goto IL_0464;
|
|
}
|
|
|
|
IL_045b:
|
|
{
|
|
// FMeshUtils.SmoothMeshNormals(mesh, hardNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_198 = V_13;
|
|
float L_199 = ___4_hardNormals;
|
|
FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7(L_198, L_199, NULL);
|
|
}
|
|
|
|
IL_0464:
|
|
{
|
|
// mesh.SetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_200 = V_13;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_201 = V_7;
|
|
NullCheck(L_200);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_200, 0, L_201, NULL);
|
|
// mesh = FMeshUtils.AdjustOrigin(mesh, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_202 = V_13;
|
|
int32_t L_203 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_204;
|
|
L_204 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_202, L_203, NULL);
|
|
V_13 = L_204;
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_205 = V_13;
|
|
NullCheck(L_205);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_205, NULL);
|
|
// return mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_206 = V_13;
|
|
return L_206;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateSweep(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector3,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateSweep_m18F4EC9693F5F1F76DAD5364A53747AE21E01E89 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_splineShape, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___1_shapeCirc, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_dimensions, float ___3_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___4_uvMul, int32_t ___5_uvFit, int32_t ___6_normalsCompute, float ___7_radius, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___8_sweepRadius, bool ___9_close, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* V_5 = NULL;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_8 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_9 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_10 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_11 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
float V_14 = 0.0f;
|
|
float V_15 = 0.0f;
|
|
float V_16 = 0.0f;
|
|
bool V_17 = false;
|
|
float V_18 = 0.0f;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_19 = NULL;
|
|
int32_t V_20 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_21;
|
|
memset((&V_21), 0, sizeof(V_21));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_22;
|
|
memset((&V_22), 0, sizeof(V_22));
|
|
int32_t V_23 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_25;
|
|
memset((&V_25), 0, sizeof(V_25));
|
|
bool V_26 = false;
|
|
int32_t V_27 = 0;
|
|
int32_t V_28 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_29;
|
|
memset((&V_29), 0, sizeof(V_29));
|
|
int32_t V_30 = 0;
|
|
float V_31 = 0.0f;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_32;
|
|
memset((&V_32), 0, sizeof(V_32));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_33;
|
|
memset((&V_33), 0, sizeof(V_33));
|
|
float V_34 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_35;
|
|
memset((&V_35), 0, sizeof(V_35));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_36;
|
|
memset((&V_36), 0, sizeof(V_36));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_37;
|
|
memset((&V_37), 0, sizeof(V_37));
|
|
float V_38 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_39;
|
|
memset((&V_39), 0, sizeof(V_39));
|
|
int32_t V_40 = 0;
|
|
int32_t V_41 = 0;
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___4_uvMul;
|
|
float L_1 = L_0.___x_0;
|
|
if ((!(((float)L_1) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
(&___4_uvMul)->___x_0 = (1.0f);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___4_uvMul;
|
|
float L_3 = L_2.___y_1;
|
|
if ((!(((float)L_3) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
(&___4_uvMul)->___y_1 = (1.0f);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// if (radius < 0.01f) radius = 0.01f;
|
|
float L_4 = ___7_radius;
|
|
if ((!(((float)L_4) < ((float)(0.00999999978f)))))
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// if (radius < 0.01f) radius = 0.01f;
|
|
___7_radius = (0.00999999978f);
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// List<MeshVertPoint> splineShapeXY = new List<MeshVertPoint>();
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_5 = (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*)il2cpp_codegen_object_new(List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098(L_5, List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
V_0 = L_5;
|
|
// float zyLength = 0f;
|
|
V_1 = (0.0f);
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue;
|
|
V_2 = ((std::numeric_limits<float>::max)());
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue;
|
|
V_3 = (-(std::numeric_limits<float>::max)());
|
|
// for (int s = 0; s < splineShape.Count; s++)
|
|
V_20 = 0;
|
|
goto IL_016e;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// MeshShapePoint sh = splineShape[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_6 = ___0_splineShape;
|
|
int32_t L_7 = V_20;
|
|
NullCheck(L_6);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_8;
|
|
L_8 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_6, L_7, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_21 = L_8;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_22), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// m.pos = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
(&V_22)->___pos_0 = L_9;
|
|
// m.pos.y = (1f - sh.p.y) * dimensions.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_10 = (&(&V_22)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_11 = V_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11.___p_0;
|
|
float L_13 = L_12.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___2_dimensions;
|
|
float L_15 = L_14.___y_3;
|
|
L_10->___y_3 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_13)), L_15));
|
|
// m.pos.x = (sh.p.x - 0.5f) * dimensions.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_16 = (&(&V_22)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_17 = V_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = L_17.___p_0;
|
|
float L_19 = L_18.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___2_dimensions;
|
|
float L_21 = L_20.___x_2;
|
|
L_16->___x_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_19, (0.5f))), L_21));
|
|
// m.pos.z = sh.p.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = (&(&V_22)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_23 = V_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23.___p_0;
|
|
float L_25 = L_24.___z_4;
|
|
L_22->___z_4 = L_25;
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_26 = V_21;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_27 = L_26.___c_2;
|
|
(&V_22)->___vCol_1 = L_27;
|
|
// m.norm = sh.normal;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_28 = V_21;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_29 = L_28.___normal_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_29, NULL);
|
|
(&V_22)->___norm_2 = L_30;
|
|
// if (m.pos.y < lowestY) lowestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_31 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = L_31.___pos_0;
|
|
float L_33 = L_32.___y_3;
|
|
float L_34 = V_2;
|
|
if ((!(((float)L_33) < ((float)L_34))))
|
|
{
|
|
goto IL_0121;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.y < lowestY) lowestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_35 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35.___pos_0;
|
|
float L_37 = L_36.___y_3;
|
|
V_2 = L_37;
|
|
}
|
|
|
|
IL_0121:
|
|
{
|
|
// if (m.pos.y > highestY) highestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_38 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = L_38.___pos_0;
|
|
float L_40 = L_39.___y_3;
|
|
float L_41 = V_3;
|
|
if ((!(((float)L_40) > ((float)L_41))))
|
|
{
|
|
goto IL_013d;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.y > highestY) highestY = m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_42 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42.___pos_0;
|
|
float L_44 = L_43.___y_3;
|
|
V_3 = L_44;
|
|
}
|
|
|
|
IL_013d:
|
|
{
|
|
// splineShapeXY.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_45 = V_0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_46 = V_22;
|
|
NullCheck(L_45);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_45, L_46, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// if (s > 0) zyLength += Vector3.Distance(m.pos, splineShapeXY[s - 1].pos);
|
|
int32_t L_47 = V_20;
|
|
if ((((int32_t)L_47) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0168;
|
|
}
|
|
}
|
|
{
|
|
// if (s > 0) zyLength += Vector3.Distance(m.pos, splineShapeXY[s - 1].pos);
|
|
float L_48 = V_1;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_49 = V_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = L_49.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_51 = V_0;
|
|
int32_t L_52 = V_20;
|
|
NullCheck(L_51);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_53;
|
|
L_53 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_51, ((int32_t)il2cpp_codegen_subtract(L_52, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = L_53.___pos_0;
|
|
float L_55;
|
|
L_55 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_50, L_54, NULL);
|
|
V_1 = ((float)il2cpp_codegen_add(L_48, L_55));
|
|
}
|
|
|
|
IL_0168:
|
|
{
|
|
// for (int s = 0; s < splineShape.Count; s++)
|
|
int32_t L_56 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_56, 1));
|
|
}
|
|
|
|
IL_016e:
|
|
{
|
|
// for (int s = 0; s < splineShape.Count; s++)
|
|
int32_t L_57 = V_20;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_58 = ___0_splineShape;
|
|
NullCheck(L_58);
|
|
int32_t L_59;
|
|
L_59 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_58, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_57) < ((int32_t)L_59)))
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// float distrLength = 0f;
|
|
V_4 = (0.0f);
|
|
// List<MeshVertPoint> sweepCircShape = new List<MeshVertPoint>();
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_60 = (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*)il2cpp_codegen_object_new(List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_60);
|
|
List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098(L_60, List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
V_5 = L_60;
|
|
// float lowestX = float.MaxValue, mostX = float.MinValue;
|
|
V_6 = ((std::numeric_limits<float>::max)());
|
|
// float lowestX = float.MaxValue, mostX = float.MinValue;
|
|
V_7 = (-(std::numeric_limits<float>::max)());
|
|
// for (int s = 0; s < shapeCirc.Count; s++)
|
|
V_23 = 0;
|
|
goto IL_02ab;
|
|
}
|
|
|
|
IL_019f:
|
|
{
|
|
// MeshShapePoint sh = shapeCirc[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_61 = ___1_shapeCirc;
|
|
int32_t L_62 = V_23;
|
|
NullCheck(L_61);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_63;
|
|
L_63 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_61, L_62, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_24 = L_63;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_25), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// m.pos = sh.p;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_64 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65 = L_64.___p_0;
|
|
(&V_25)->___pos_0 = L_65;
|
|
// m.pos.x = (sh.p.x - 0.5f) * 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_66 = (&(&V_25)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_67 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = L_67.___p_0;
|
|
float L_69 = L_68.___x_2;
|
|
L_66->___x_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_69, (0.5f))), (2.0f)));
|
|
// m.pos.z = (-sh.p.y + 0.5f) * 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_70 = (&(&V_25)->___pos_0);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_71 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72 = L_71.___p_0;
|
|
float L_73 = L_72.___y_3;
|
|
L_70->___z_4 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(((-L_73)), (0.5f))), (2.0f)));
|
|
// m.pos.y = 0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_74 = (&(&V_25)->___pos_0);
|
|
L_74->___y_3 = (0.0f);
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_75 = V_24;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_76 = L_75.___c_2;
|
|
(&V_25)->___vCol_1 = L_76;
|
|
// m.norm = sh.normal;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_77 = V_24;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_78 = L_77.___normal_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
L_79 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_78, NULL);
|
|
(&V_25)->___norm_2 = L_79;
|
|
// if (m.pos.x < lowestX) lowestX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_80 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = L_80.___pos_0;
|
|
float L_82 = L_81.___x_2;
|
|
float L_83 = V_6;
|
|
if ((!(((float)L_82) < ((float)L_83))))
|
|
{
|
|
goto IL_0258;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.x < lowestX) lowestX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_84 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = L_84.___pos_0;
|
|
float L_86 = L_85.___x_2;
|
|
V_6 = L_86;
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// if (m.pos.x > mostX) mostX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_87 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = L_87.___pos_0;
|
|
float L_89 = L_88.___x_2;
|
|
float L_90 = V_7;
|
|
if ((!(((float)L_89) > ((float)L_90))))
|
|
{
|
|
goto IL_0276;
|
|
}
|
|
}
|
|
{
|
|
// if (m.pos.x > mostX) mostX = m.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_91 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = L_91.___pos_0;
|
|
float L_93 = L_92.___x_2;
|
|
V_7 = L_93;
|
|
}
|
|
|
|
IL_0276:
|
|
{
|
|
// sweepCircShape.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_94 = V_5;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_95 = V_25;
|
|
NullCheck(L_94);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_94, L_95, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// if (s > 0) distrLength += Vector3.Distance(m.pos, sweepCircShape[s - 1].pos);
|
|
int32_t L_96 = V_23;
|
|
if ((((int32_t)L_96) <= ((int32_t)0)))
|
|
{
|
|
goto IL_02a5;
|
|
}
|
|
}
|
|
{
|
|
// if (s > 0) distrLength += Vector3.Distance(m.pos, sweepCircShape[s - 1].pos);
|
|
float L_97 = V_4;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_98 = V_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = L_98.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_100 = V_5;
|
|
int32_t L_101 = V_23;
|
|
NullCheck(L_100);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_102;
|
|
L_102 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_100, ((int32_t)il2cpp_codegen_subtract(L_101, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103 = L_102.___pos_0;
|
|
float L_104;
|
|
L_104 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_99, L_103, NULL);
|
|
V_4 = ((float)il2cpp_codegen_add(L_97, L_104));
|
|
}
|
|
|
|
IL_02a5:
|
|
{
|
|
// for (int s = 0; s < shapeCirc.Count; s++)
|
|
int32_t L_105 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_105, 1));
|
|
}
|
|
|
|
IL_02ab:
|
|
{
|
|
// for (int s = 0; s < shapeCirc.Count; s++)
|
|
int32_t L_106 = V_23;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_107 = ___1_shapeCirc;
|
|
NullCheck(L_107);
|
|
int32_t L_108;
|
|
L_108 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_107, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_106) < ((int32_t)L_108)))
|
|
{
|
|
goto IL_019f;
|
|
}
|
|
}
|
|
{
|
|
// if (close) sweepCircShape.Add(sweepCircShape[0]);
|
|
bool L_109 = ___9_close;
|
|
if (!L_109)
|
|
{
|
|
goto IL_02cb;
|
|
}
|
|
}
|
|
{
|
|
// if (close) sweepCircShape.Add(sweepCircShape[0]);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_110 = V_5;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_111 = V_5;
|
|
NullCheck(L_111);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_112;
|
|
L_112 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_111, 0, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
NullCheck(L_110);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_110, L_112, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_02cb:
|
|
{
|
|
// List<Vector3> verts = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_113 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_113);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_113, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_8 = L_113;
|
|
// List<Vector3> normals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_114 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_114);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_114, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_9 = L_114;
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_115 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_115);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_115, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_10 = L_115;
|
|
// List<int> tris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_116 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_116);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_116, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_11 = L_116;
|
|
// List<Color> vCol = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_117 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_117);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_117, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_12 = L_117;
|
|
// int subDivsMul = splineShapeXY.Count;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_118 = V_0;
|
|
NullCheck(L_118);
|
|
int32_t L_119;
|
|
L_119 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_118, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
V_13 = L_119;
|
|
// if (distrLength == 0f) distrLength = 1f;
|
|
float L_120 = V_4;
|
|
if ((!(((float)L_120) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0306;
|
|
}
|
|
}
|
|
{
|
|
// if (distrLength == 0f) distrLength = 1f;
|
|
V_4 = (1.0f);
|
|
}
|
|
|
|
IL_0306:
|
|
{
|
|
// if (zyLength == 0f) zyLength = 1f;
|
|
float L_121 = V_1;
|
|
if ((!(((float)L_121) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0314;
|
|
}
|
|
}
|
|
{
|
|
// if (zyLength == 0f) zyLength = 1f;
|
|
V_1 = (1.0f);
|
|
}
|
|
|
|
IL_0314:
|
|
{
|
|
// float ratio = 1f / Mathf.Abs(highestY - lowestY);
|
|
float L_122 = V_3;
|
|
float L_123 = V_2;
|
|
float L_124;
|
|
L_124 = fabsf(((float)il2cpp_codegen_subtract(L_122, L_123)));
|
|
V_14 = ((float)((1.0f)/L_124));
|
|
// float xElapsed = 0f, yElapsed = 0f;
|
|
V_15 = (0.0f);
|
|
// float xElapsed = 0f, yElapsed = 0f;
|
|
V_16 = (0.0f);
|
|
// bool useRadius = false;
|
|
V_17 = (bool)0;
|
|
// float heightSplineLength = 0f;
|
|
V_18 = (0.0f);
|
|
// if (sweepRadius != null)
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_125 = ___8_sweepRadius;
|
|
if (!L_125)
|
|
{
|
|
goto IL_03c3;
|
|
}
|
|
}
|
|
{
|
|
// if (sweepRadius.Count > 1)
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_126 = ___8_sweepRadius;
|
|
NullCheck(L_126);
|
|
int32_t L_127;
|
|
L_127 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_126, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_127) <= ((int32_t)1)))
|
|
{
|
|
goto IL_03c3;
|
|
}
|
|
}
|
|
{
|
|
// bool allZero = false;
|
|
V_26 = (bool)0;
|
|
// for (int d = 0; d < sweepRadius.Count; d++)
|
|
V_27 = 0;
|
|
goto IL_03b1;
|
|
}
|
|
|
|
IL_0355:
|
|
{
|
|
// if (d < sweepRadius.Count - 1)
|
|
int32_t L_128 = V_27;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_129 = ___8_sweepRadius;
|
|
NullCheck(L_129);
|
|
int32_t L_130;
|
|
L_130 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_129, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_128) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_130, 1)))))
|
|
{
|
|
goto IL_038a;
|
|
}
|
|
}
|
|
{
|
|
// heightSplineLength += Vector2.Distance(sweepRadius[d].localPos, sweepRadius[d + 1].localPos);
|
|
float L_131 = V_18;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_132 = ___8_sweepRadius;
|
|
int32_t L_133 = V_27;
|
|
NullCheck(L_132);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_134;
|
|
L_134 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_132, L_133, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_134);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_135 = L_134->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_136 = ___8_sweepRadius;
|
|
int32_t L_137 = V_27;
|
|
NullCheck(L_136);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_138;
|
|
L_138 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_136, ((int32_t)il2cpp_codegen_add(L_137, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_138);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_139 = L_138->___localPos_9;
|
|
float L_140;
|
|
L_140 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_135, L_139, NULL);
|
|
V_18 = ((float)il2cpp_codegen_add(L_131, L_140));
|
|
}
|
|
|
|
IL_038a:
|
|
{
|
|
// if (allZero == false) if (sweepRadius[d].localPos.y > 0.0001f) { allZero = false; }
|
|
bool L_141 = V_26;
|
|
if (L_141)
|
|
{
|
|
goto IL_03ab;
|
|
}
|
|
}
|
|
{
|
|
// if (allZero == false) if (sweepRadius[d].localPos.y > 0.0001f) { allZero = false; }
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_142 = ___8_sweepRadius;
|
|
int32_t L_143 = V_27;
|
|
NullCheck(L_142);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_144;
|
|
L_144 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_142, L_143, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_144);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_145 = (&L_144->___localPos_9);
|
|
float L_146 = L_145->___y_1;
|
|
if ((!(((float)L_146) > ((float)(9.99999975E-05f)))))
|
|
{
|
|
goto IL_03ab;
|
|
}
|
|
}
|
|
{
|
|
// if (allZero == false) if (sweepRadius[d].localPos.y > 0.0001f) { allZero = false; }
|
|
V_26 = (bool)0;
|
|
}
|
|
|
|
IL_03ab:
|
|
{
|
|
// for (int d = 0; d < sweepRadius.Count; d++)
|
|
int32_t L_147 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_147, 1));
|
|
}
|
|
|
|
IL_03b1:
|
|
{
|
|
// for (int d = 0; d < sweepRadius.Count; d++)
|
|
int32_t L_148 = V_27;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_149 = ___8_sweepRadius;
|
|
NullCheck(L_149);
|
|
int32_t L_150;
|
|
L_150 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_149, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_148) < ((int32_t)L_150)))
|
|
{
|
|
goto IL_0355;
|
|
}
|
|
}
|
|
{
|
|
// if (!allZero) useRadius = true;
|
|
bool L_151 = V_26;
|
|
if (L_151)
|
|
{
|
|
goto IL_03c3;
|
|
}
|
|
}
|
|
{
|
|
// if (!allZero) useRadius = true;
|
|
V_17 = (bool)1;
|
|
}
|
|
|
|
IL_03c3:
|
|
{
|
|
// for (int c = 0; c < sweepCircShape.Count; c += 1) // circle shape step
|
|
V_28 = 0;
|
|
goto IL_067c;
|
|
}
|
|
|
|
IL_03cb:
|
|
{
|
|
// var circStepXZ = sweepCircShape[c];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_152 = V_5;
|
|
int32_t L_153 = V_28;
|
|
NullCheck(L_152);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_154;
|
|
L_154 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_152, L_153, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_29 = L_154;
|
|
// for (int s = 0; s < splineShapeXY.Count; s += 1) // move along path length
|
|
V_30 = 0;
|
|
goto IL_062d;
|
|
}
|
|
|
|
IL_03de:
|
|
{
|
|
// float radiusMul = 1f;
|
|
V_31 = (1.0f);
|
|
// if (useRadius)
|
|
bool L_155 = V_17;
|
|
if (!L_155)
|
|
{
|
|
goto IL_0414;
|
|
}
|
|
}
|
|
{
|
|
// float distrProgr = 1f - ((float)((float)s / (float)(splineShapeXY.Count - 1)));
|
|
int32_t L_156 = V_30;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_157 = V_0;
|
|
NullCheck(L_157);
|
|
int32_t L_158;
|
|
L_158 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_157, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
V_38 = ((float)il2cpp_codegen_subtract((1.0f), ((float)((float)(((float)L_156)/((float)((int32_t)il2cpp_codegen_subtract(L_158, 1))))))));
|
|
// radiusMul *= CurvePoint.GetPosAt(sweepRadius, distrProgr, heightSplineLength).x;
|
|
float L_159 = V_31;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_160 = ___8_sweepRadius;
|
|
float L_161 = V_38;
|
|
float L_162 = V_18;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_163;
|
|
L_163 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_160, L_161, L_162, NULL);
|
|
float L_164 = L_163.___x_0;
|
|
V_31 = ((float)il2cpp_codegen_multiply(L_159, L_164));
|
|
}
|
|
|
|
IL_0414:
|
|
{
|
|
// var yStep = splineShapeXY[s];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_165 = V_0;
|
|
int32_t L_166 = V_30;
|
|
NullCheck(L_165);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_167;
|
|
L_167 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_165, L_166, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_32 = L_167;
|
|
// Vector3 vPos = yStep.pos; // origin position on path - ref for circle shape
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_168 = V_32;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_169 = L_168.___pos_0;
|
|
V_33 = L_169;
|
|
// float zAngle = Mathf.Atan2(yStep.norm.x, yStep.norm.y) * Mathf.Rad2Deg - 90;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_170 = V_32;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171 = L_170.___norm_2;
|
|
float L_172 = L_171.___x_2;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_173 = V_32;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_174 = L_173.___norm_2;
|
|
float L_175 = L_174.___y_3;
|
|
float L_176;
|
|
L_176 = atan2f(L_172, L_175);
|
|
V_34 = ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_176, (57.2957802f))), (90.0f)));
|
|
// float xAngle = 0f; // Z axis offset to implement
|
|
// Quaternion pathRot = Quaternion.Euler(xAngle, 0f, zAngle);
|
|
float L_177 = V_34;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_178;
|
|
L_178 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (0.0f), L_177, NULL);
|
|
// Vector3 off = pathRot * circStepXZ.pos;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_179 = V_29;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_180 = L_179.___pos_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_181;
|
|
L_181 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_178, L_180, NULL);
|
|
V_35 = L_181;
|
|
// vPos += off * radius * radiusMul;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_182 = V_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_183 = V_35;
|
|
float L_184 = ___7_radius;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_185;
|
|
L_185 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_183, L_184, NULL);
|
|
float L_186 = V_31;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_187;
|
|
L_187 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_185, L_186, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_188;
|
|
L_188 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_182, L_187, NULL);
|
|
V_33 = L_188;
|
|
// verts.Add(vPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_189 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_190 = V_33;
|
|
NullCheck(L_189);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_189, L_190, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// vCol.Add(yStep.vCol);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_191 = V_12;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_192 = V_32;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_193 = L_192.___vCol_1;
|
|
NullCheck(L_191);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_191, L_193, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// Vector3 normal = (off.normalized).normalized;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194;
|
|
L_194 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_35), NULL);
|
|
V_39 = L_194;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_195;
|
|
L_195 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_39), NULL);
|
|
V_36 = L_195;
|
|
// normals.Add(normal);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_196 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_197 = V_36;
|
|
NullCheck(L_196);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_196, L_197, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// Vector2 uv = new Vector2();
|
|
il2cpp_codegen_initobj((&V_37), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// if (uvFit == EUVFit.FitX)
|
|
int32_t L_198 = ___5_uvFit;
|
|
if (L_198)
|
|
{
|
|
goto IL_0500;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (xElapsed / distrLength)) * uvMul.x;
|
|
float L_199 = V_15;
|
|
float L_200 = V_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_201 = ___4_uvMul;
|
|
float L_202 = L_201.___x_0;
|
|
(&V_37)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_199/L_200)))), L_202));
|
|
// uv.y = (1f - (yElapsed / zyLength)) * uvMul.y / ratio;
|
|
float L_203 = V_16;
|
|
float L_204 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_205 = ___4_uvMul;
|
|
float L_206 = L_205.___y_1;
|
|
float L_207 = V_14;
|
|
(&V_37)->___y_1 = ((float)(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_203/L_204)))), L_206))/L_207));
|
|
goto IL_0575;
|
|
}
|
|
|
|
IL_0500:
|
|
{
|
|
// else if (uvFit == EUVFit.FitY)
|
|
int32_t L_208 = ___5_uvFit;
|
|
if ((!(((uint32_t)L_208) == ((uint32_t)1))))
|
|
{
|
|
goto IL_053d;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (xElapsed / distrLength)) * uvMul.x * ratio;
|
|
float L_209 = V_15;
|
|
float L_210 = V_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_211 = ___4_uvMul;
|
|
float L_212 = L_211.___x_0;
|
|
float L_213 = V_14;
|
|
(&V_37)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_209/L_210)))), L_212)), L_213));
|
|
// uv.y = (1f - (yElapsed / zyLength)) * uvMul.y;
|
|
float L_214 = V_16;
|
|
float L_215 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_216 = ___4_uvMul;
|
|
float L_217 = L_216.___y_1;
|
|
(&V_37)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_214/L_215)))), L_217));
|
|
goto IL_0575;
|
|
}
|
|
|
|
IL_053d:
|
|
{
|
|
// else if (uvFit == EUVFit.FitXY)
|
|
int32_t L_218 = ___5_uvFit;
|
|
if ((!(((uint32_t)L_218) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0575;
|
|
}
|
|
}
|
|
{
|
|
// uv.x = (1f - (xElapsed / distrLength)) * uvMul.x;
|
|
float L_219 = V_15;
|
|
float L_220 = V_4;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_221 = ___4_uvMul;
|
|
float L_222 = L_221.___x_0;
|
|
(&V_37)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_219/L_220)))), L_222));
|
|
// uv.y = (1f - (yElapsed / zyLength)) * uvMul.y;
|
|
float L_223 = V_16;
|
|
float L_224 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_225 = ___4_uvMul;
|
|
float L_226 = L_225.___y_1;
|
|
(&V_37)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), ((float)(L_223/L_224)))), L_226));
|
|
}
|
|
|
|
IL_0575:
|
|
{
|
|
// uvs.Add(uv);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_227 = V_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_228 = V_37;
|
|
NullCheck(L_227);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_227, L_228, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// if (s < splineShapeXY.Count - 1 && c < sweepCircShape.Count - 1)
|
|
int32_t L_229 = V_30;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_230 = V_0;
|
|
NullCheck(L_230);
|
|
int32_t L_231;
|
|
L_231 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_230, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_229) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_231, 1)))))
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_232 = V_28;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_233 = V_5;
|
|
NullCheck(L_233);
|
|
int32_t L_234;
|
|
L_234 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_233, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_232) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_234, 1)))))
|
|
{
|
|
goto IL_05f5;
|
|
}
|
|
}
|
|
{
|
|
// int ls = c * (subDivsMul);
|
|
int32_t L_235 = V_28;
|
|
int32_t L_236 = V_13;
|
|
V_40 = ((int32_t)il2cpp_codegen_multiply(L_235, L_236));
|
|
// int uls = (c + 1) * (subDivsMul);
|
|
int32_t L_237 = V_28;
|
|
int32_t L_238 = V_13;
|
|
V_41 = ((int32_t)il2cpp_codegen_multiply(((int32_t)il2cpp_codegen_add(L_237, 1)), L_238));
|
|
// tris.Add(ls + s); // ld
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_239 = V_11;
|
|
int32_t L_240 = V_40;
|
|
int32_t L_241 = V_30;
|
|
NullCheck(L_239);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_239, ((int32_t)il2cpp_codegen_add(L_240, L_241)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(ls + s + 1); // rd
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_242 = V_11;
|
|
int32_t L_243 = V_40;
|
|
int32_t L_244 = V_30;
|
|
NullCheck(L_242);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_242, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_243, L_244)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + s); // lup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_245 = V_11;
|
|
int32_t L_246 = V_41;
|
|
int32_t L_247 = V_30;
|
|
NullCheck(L_245);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_245, ((int32_t)il2cpp_codegen_add(L_246, L_247)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(ls + s + 1); // rd
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_248 = V_11;
|
|
int32_t L_249 = V_40;
|
|
int32_t L_250 = V_30;
|
|
NullCheck(L_248);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_248, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_249, L_250)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + s + 1); // rup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_251 = V_11;
|
|
int32_t L_252 = V_41;
|
|
int32_t L_253 = V_30;
|
|
NullCheck(L_251);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_251, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_252, L_253)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(uls + s); // lup
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_254 = V_11;
|
|
int32_t L_255 = V_41;
|
|
int32_t L_256 = V_30;
|
|
NullCheck(L_254);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_254, ((int32_t)il2cpp_codegen_add(L_255, L_256)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_05f5:
|
|
{
|
|
// if (s < splineShapeXY.Count - 1) yElapsed += Vector3.Distance(splineShapeXY[s].pos, splineShapeXY[s + 1].pos);
|
|
int32_t L_257 = V_30;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_258 = V_0;
|
|
NullCheck(L_258);
|
|
int32_t L_259;
|
|
L_259 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_258, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_257) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_259, 1)))))
|
|
{
|
|
goto IL_0627;
|
|
}
|
|
}
|
|
{
|
|
// if (s < splineShapeXY.Count - 1) yElapsed += Vector3.Distance(splineShapeXY[s].pos, splineShapeXY[s + 1].pos);
|
|
float L_260 = V_16;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_261 = V_0;
|
|
int32_t L_262 = V_30;
|
|
NullCheck(L_261);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_263;
|
|
L_263 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_261, L_262, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_264 = L_263.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_265 = V_0;
|
|
int32_t L_266 = V_30;
|
|
NullCheck(L_265);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_267;
|
|
L_267 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_265, ((int32_t)il2cpp_codegen_add(L_266, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_268 = L_267.___pos_0;
|
|
float L_269;
|
|
L_269 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_264, L_268, NULL);
|
|
V_16 = ((float)il2cpp_codegen_add(L_260, L_269));
|
|
}
|
|
|
|
IL_0627:
|
|
{
|
|
// for (int s = 0; s < splineShapeXY.Count; s += 1) // move along path length
|
|
int32_t L_270 = V_30;
|
|
V_30 = ((int32_t)il2cpp_codegen_add(L_270, 1));
|
|
}
|
|
|
|
IL_062d:
|
|
{
|
|
// for (int s = 0; s < splineShapeXY.Count; s += 1) // move along path length
|
|
int32_t L_271 = V_30;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_272 = V_0;
|
|
NullCheck(L_272);
|
|
int32_t L_273;
|
|
L_273 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_272, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_271) < ((int32_t)L_273)))
|
|
{
|
|
goto IL_03de;
|
|
}
|
|
}
|
|
{
|
|
// yElapsed = 0f;
|
|
V_16 = (0.0f);
|
|
// if (c < sweepCircShape.Count - 1) xElapsed += Vector3.Distance(sweepCircShape[c].pos, sweepCircShape[c + 1].pos);
|
|
int32_t L_274 = V_28;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_275 = V_5;
|
|
NullCheck(L_275);
|
|
int32_t L_276;
|
|
L_276 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_275, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_274) >= ((int32_t)((int32_t)il2cpp_codegen_subtract(L_276, 1)))))
|
|
{
|
|
goto IL_0676;
|
|
}
|
|
}
|
|
{
|
|
// if (c < sweepCircShape.Count - 1) xElapsed += Vector3.Distance(sweepCircShape[c].pos, sweepCircShape[c + 1].pos);
|
|
float L_277 = V_15;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_278 = V_5;
|
|
int32_t L_279 = V_28;
|
|
NullCheck(L_278);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_280;
|
|
L_280 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_278, L_279, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_281 = L_280.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_282 = V_5;
|
|
int32_t L_283 = V_28;
|
|
NullCheck(L_282);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_284;
|
|
L_284 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_282, ((int32_t)il2cpp_codegen_add(L_283, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_285 = L_284.___pos_0;
|
|
float L_286;
|
|
L_286 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_281, L_285, NULL);
|
|
V_15 = ((float)il2cpp_codegen_add(L_277, L_286));
|
|
}
|
|
|
|
IL_0676:
|
|
{
|
|
// for (int c = 0; c < sweepCircShape.Count; c += 1) // circle shape step
|
|
int32_t L_287 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_287, 1));
|
|
}
|
|
|
|
IL_067c:
|
|
{
|
|
// for (int c = 0; c < sweepCircShape.Count; c += 1) // circle shape step
|
|
int32_t L_288 = V_28;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_289 = V_5;
|
|
NullCheck(L_289);
|
|
int32_t L_290;
|
|
L_290 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_289, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_288) < ((int32_t)L_290)))
|
|
{
|
|
goto IL_03cb;
|
|
}
|
|
}
|
|
{
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_291 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_291);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_291, NULL);
|
|
V_19 = L_291;
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_292 = V_19;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_293 = V_8;
|
|
NullCheck(L_292);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_292, L_293, NULL);
|
|
// mesh.SetColors(vCol);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_294 = V_19;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_295 = V_12;
|
|
NullCheck(L_294);
|
|
Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9(L_294, L_295, NULL);
|
|
// mesh.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_296 = V_19;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_297 = V_11;
|
|
NullCheck(L_296);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_296, L_297, 0, NULL);
|
|
// mesh.SetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_298 = V_19;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_299 = V_10;
|
|
NullCheck(L_298);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_298, 0, L_299, NULL);
|
|
// if (normalsCompute == ENormalsMode.NormalsAsSubdivView)
|
|
int32_t L_300 = ___6_normalsCompute;
|
|
if (L_300)
|
|
{
|
|
goto IL_06c6;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_301 = V_19;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_302 = V_9;
|
|
NullCheck(L_301);
|
|
Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365(L_301, L_302, NULL);
|
|
goto IL_06e8;
|
|
}
|
|
|
|
IL_06c6:
|
|
{
|
|
// if (hardNormals <= 0f)
|
|
float L_303 = ___3_hardNormals;
|
|
if ((!(((float)L_303) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_06df;
|
|
}
|
|
}
|
|
{
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_304 = V_19;
|
|
NullCheck(L_304);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_304, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_305 = V_19;
|
|
NullCheck(L_305);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_305, NULL);
|
|
goto IL_06e8;
|
|
}
|
|
|
|
IL_06df:
|
|
{
|
|
// FMeshUtils.SmoothMeshNormals(mesh, hardNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_306 = V_19;
|
|
float L_307 = ___3_hardNormals;
|
|
FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7(L_306, L_307, NULL);
|
|
}
|
|
|
|
IL_06e8:
|
|
{
|
|
// mesh = FMeshUtils.AdjustOrigin(mesh, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_308 = V_19;
|
|
int32_t L_309 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_310;
|
|
L_310 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_308, L_309, NULL);
|
|
V_19 = L_310;
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_311 = V_19;
|
|
NullCheck(L_311);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_311, NULL);
|
|
// return mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_312 = V_19;
|
|
return L_312;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateExtrude(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,UnityEngine.Vector3,System.Boolean,System.Boolean,System.Single,UnityEngine.Vector2,FIMSpace.Generating.TileMeshSetup/EUVFit,FIMSpace.Generating.TileMeshSetup/ENormalsMode,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateExtrude_mA5770077B7C7D86B15C5C285C2C0CD823069B4A7 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___0_shape, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_dimensions, bool ___2_extrudeFrontCap, bool ___3_extrudeBackCap, float ___4_hardNormals, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___5_uvMul, int32_t ___6_uvFit, int32_t ___7_normalsCompute, bool ___8_extrudeMirror, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m1B393BC5AECD0184216271E29ECF596462761AFD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_4 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_5 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_6 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_7 = NULL;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_8 = NULL;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* V_9 = NULL;
|
|
float V_10 = 0.0f;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_14;
|
|
memset((&V_14), 0, sizeof(V_14));
|
|
float V_15 = 0.0f;
|
|
float V_16 = 0.0f;
|
|
int32_t V_17 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_19;
|
|
memset((&V_19), 0, sizeof(V_19));
|
|
int32_t V_20 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_21;
|
|
memset((&V_21), 0, sizeof(V_21));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_22;
|
|
memset((&V_22), 0, sizeof(V_22));
|
|
int32_t V_23 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_25;
|
|
memset((&V_25), 0, sizeof(V_25));
|
|
int32_t V_26 = 0;
|
|
int32_t V_27 = 0;
|
|
int32_t V_28 = 0;
|
|
int32_t V_29 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_30;
|
|
memset((&V_30), 0, sizeof(V_30));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_31;
|
|
memset((&V_31), 0, sizeof(V_31));
|
|
float V_32 = 0.0f;
|
|
float V_33 = 0.0f;
|
|
float V_34 = 0.0f;
|
|
float V_35 = 0.0f;
|
|
int32_t V_36 = 0;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD V_37;
|
|
memset((&V_37), 0, sizeof(V_37));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_38;
|
|
memset((&V_38), 0, sizeof(V_38));
|
|
float V_39 = 0.0f;
|
|
float V_40 = 0.0f;
|
|
float V_41 = 0.0f;
|
|
float V_42 = 0.0f;
|
|
int32_t V_43 = 0;
|
|
int32_t V_44 = 0;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* V_45 = NULL;
|
|
bool V_46 = false;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_47 = NULL;
|
|
int32_t V_48 = 0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* V_49 = NULL;
|
|
int32_t V_50 = 0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* V_51 = NULL;
|
|
int32_t V_52 = 0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* V_53 = NULL;
|
|
int32_t V_54 = 0;
|
|
int32_t V_55 = 0;
|
|
int32_t V_56 = 0;
|
|
int32_t V_57 = 0;
|
|
int32_t V_58 = 0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_59;
|
|
memset((&V_59), 0, sizeof(V_59));
|
|
float V_60 = 0.0f;
|
|
int32_t V_61 = 0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_62;
|
|
memset((&V_62), 0, sizeof(V_62));
|
|
int32_t V_63 = 0;
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___5_uvMul;
|
|
float L_1 = L_0.___x_0;
|
|
if ((!(((float)L_1) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.x == 0f) uvMul.x = 1f;
|
|
(&___5_uvMul)->___x_0 = (1.0f);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___5_uvMul;
|
|
float L_3 = L_2.___y_1;
|
|
if ((!(((float)L_3) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// if (uvMul.y == 0f) uvMul.y = 1f;
|
|
(&___5_uvMul)->___y_1 = (1.0f);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue;
|
|
V_0 = ((std::numeric_limits<float>::max)());
|
|
// float lowestY = float.MaxValue, highestY = float.MinValue;
|
|
V_1 = (-(std::numeric_limits<float>::max)());
|
|
// float mostLeft = float.MaxValue, mostRight = float.MinValue;
|
|
V_2 = ((std::numeric_limits<float>::max)());
|
|
// float mostLeft = float.MaxValue, mostRight = float.MinValue;
|
|
V_3 = (-(std::numeric_limits<float>::max)());
|
|
// List<Vector3> verts = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_4 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_4, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_4 = L_4;
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_5 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_5, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_5 = L_5;
|
|
// List<int> tris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_6 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_6, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_6 = L_6;
|
|
// List<Color> vCol = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_7 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_7);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_7, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_7 = L_7;
|
|
// if (extrudeMirror)
|
|
bool L_8 = ___8_extrudeMirror;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0682;
|
|
}
|
|
}
|
|
{
|
|
// List<MeshVertPoint> fullSymmShape = new List<MeshVertPoint>();
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_9 = (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*)il2cpp_codegen_object_new(List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098(L_9, List_1__ctor_m7F83D30A1020BF270E2FFC7EBF31044491572098_RuntimeMethod_var);
|
|
V_9 = L_9;
|
|
// float shpLength = 0f;
|
|
V_10 = (0.0f);
|
|
// for (int s = 1; s < shape.Count - 1; s++) // Remove extra symmetry points
|
|
V_12 = 1;
|
|
goto IL_0177;
|
|
}
|
|
|
|
IL_0085:
|
|
{
|
|
// MeshShapePoint sh = shape[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_10 = ___0_shape;
|
|
int32_t L_11 = V_12;
|
|
NullCheck(L_10);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_12;
|
|
L_12 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_10, L_11, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_13 = L_12;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_14), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// m.pos = sh.p;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_13 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13.___p_0;
|
|
(&V_14)->___pos_0 = L_14;
|
|
// m.pos.y = 1f - m.pos.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_15 = (&(&V_14)->___pos_0);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_16 = V_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = L_16.___pos_0;
|
|
float L_18 = L_17.___y_3;
|
|
L_15->___y_3 = ((float)il2cpp_codegen_subtract((1.0f), L_18));
|
|
// m.pos.x = (1f - m.pos.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_19 = (&(&V_14)->___pos_0);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_20 = V_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20.___pos_0;
|
|
float L_22 = L_21.___x_2;
|
|
L_19->___x_2 = ((float)il2cpp_codegen_subtract((1.0f), L_22));
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_23 = V_13;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_24 = L_23.___c_2;
|
|
(&V_14)->___vCol_1 = L_24;
|
|
// m.norm = sh.normal;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_25 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_26 = L_25.___normal_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_26, NULL);
|
|
(&V_14)->___norm_2 = L_27;
|
|
// fullSymmShape.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_28 = V_9;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_29 = V_14;
|
|
NullCheck(L_28);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_28, L_29, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// if (s > 0) shpLength += Vector3.Distance(m.pos, fullSymmShape[s - 1].pos);
|
|
int32_t L_30 = V_12;
|
|
if ((((int32_t)L_30) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0131;
|
|
}
|
|
}
|
|
{
|
|
// if (s > 0) shpLength += Vector3.Distance(m.pos, fullSymmShape[s - 1].pos);
|
|
float L_31 = V_10;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_32 = V_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = L_32.___pos_0;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_34 = V_9;
|
|
int32_t L_35 = V_12;
|
|
NullCheck(L_34);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_36;
|
|
L_36 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_34, ((int32_t)il2cpp_codegen_subtract(L_35, 1)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = L_36.___pos_0;
|
|
float L_38;
|
|
L_38 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_33, L_37, NULL);
|
|
V_10 = ((float)il2cpp_codegen_add(L_31, L_38));
|
|
}
|
|
|
|
IL_0131:
|
|
{
|
|
// float yRev = 1f - m.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_39 = V_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = L_39.___pos_0;
|
|
float L_41 = L_40.___y_3;
|
|
V_15 = ((float)il2cpp_codegen_subtract((1.0f), L_41));
|
|
// float xRev = (m.pos.x) * -1f;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_42 = V_14;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42.___pos_0;
|
|
float L_44 = L_43.___x_2;
|
|
V_16 = ((float)il2cpp_codegen_multiply(L_44, (-1.0f)));
|
|
// if (yRev < lowestY) lowestY = yRev;
|
|
float L_45 = V_15;
|
|
float L_46 = V_0;
|
|
if ((!(((float)L_45) < ((float)L_46))))
|
|
{
|
|
goto IL_0161;
|
|
}
|
|
}
|
|
{
|
|
// if (yRev < lowestY) lowestY = yRev;
|
|
float L_47 = V_15;
|
|
V_0 = L_47;
|
|
}
|
|
|
|
IL_0161:
|
|
{
|
|
// if (yRev > highestY) highestY = yRev;
|
|
float L_48 = V_15;
|
|
float L_49 = V_1;
|
|
if ((!(((float)L_48) > ((float)L_49))))
|
|
{
|
|
goto IL_0169;
|
|
}
|
|
}
|
|
{
|
|
// if (yRev > highestY) highestY = yRev;
|
|
float L_50 = V_15;
|
|
V_1 = L_50;
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// if (xRev < mostLeft) mostLeft = xRev;
|
|
float L_51 = V_16;
|
|
float L_52 = V_2;
|
|
if ((!(((float)L_51) < ((float)L_52))))
|
|
{
|
|
goto IL_0171;
|
|
}
|
|
}
|
|
{
|
|
// if (xRev < mostLeft) mostLeft = xRev;
|
|
float L_53 = V_16;
|
|
V_2 = L_53;
|
|
}
|
|
|
|
IL_0171:
|
|
{
|
|
// for (int s = 1; s < shape.Count - 1; s++) // Remove extra symmetry points
|
|
int32_t L_54 = V_12;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(L_54, 1));
|
|
}
|
|
|
|
IL_0177:
|
|
{
|
|
// for (int s = 1; s < shape.Count - 1; s++) // Remove extra symmetry points
|
|
int32_t L_55 = V_12;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_56 = ___0_shape;
|
|
NullCheck(L_56);
|
|
int32_t L_57;
|
|
L_57 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_56, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_55) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_57, 1)))))
|
|
{
|
|
goto IL_0085;
|
|
}
|
|
}
|
|
{
|
|
// int symOff = shape.Count - 2;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_58 = ___0_shape;
|
|
NullCheck(L_58);
|
|
int32_t L_59;
|
|
L_59 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_58, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
V_11 = ((int32_t)il2cpp_codegen_subtract(L_59, 2));
|
|
// for (int s = 1; s < shape.Count - 1; s++)
|
|
V_17 = 1;
|
|
goto IL_022a;
|
|
}
|
|
|
|
IL_0198:
|
|
{
|
|
// MeshShapePoint sh = shape[s];
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_60 = ___0_shape;
|
|
int32_t L_61 = V_17;
|
|
NullCheck(L_60);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_62;
|
|
L_62 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_60, L_61, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
V_18 = L_62;
|
|
// MeshVertPoint m = new MeshVertPoint();
|
|
il2cpp_codegen_initobj((&V_19), sizeof(MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD));
|
|
// m.pos = sh.p;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_63 = V_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = L_63.___p_0;
|
|
(&V_19)->___pos_0 = L_64;
|
|
// m.pos.y = 1f - m.pos.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_65 = (&(&V_19)->___pos_0);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_66 = V_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = L_66.___pos_0;
|
|
float L_68 = L_67.___y_3;
|
|
L_65->___y_3 = ((float)il2cpp_codegen_subtract((1.0f), L_68));
|
|
// m.pos.x = (1f - m.pos.x) * -1f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_69 = (&(&V_19)->___pos_0);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_70 = V_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71 = L_70.___pos_0;
|
|
float L_72 = L_71.___x_2;
|
|
L_69->___x_2 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_72)), (-1.0f)));
|
|
// m.vCol = sh.c;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_73 = V_18;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_74 = L_73.___c_2;
|
|
(&V_19)->___vCol_1 = L_74;
|
|
// m.norm = sh.normal;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_75 = V_18;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_76 = L_75.___normal_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_76, NULL);
|
|
(&V_19)->___norm_2 = L_77;
|
|
// fullSymmShape.Add(m);
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_78 = V_9;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_79 = V_19;
|
|
NullCheck(L_78);
|
|
List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_inline(L_78, L_79, List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_RuntimeMethod_var);
|
|
// for (int s = 1; s < shape.Count - 1; s++)
|
|
int32_t L_80 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_80, 1));
|
|
}
|
|
|
|
IL_022a:
|
|
{
|
|
// for (int s = 1; s < shape.Count - 1; s++)
|
|
int32_t L_81 = V_17;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_82 = ___0_shape;
|
|
NullCheck(L_82);
|
|
int32_t L_83;
|
|
L_83 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_82, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_81) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_83, 1)))))
|
|
{
|
|
goto IL_0198;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
V_20 = 0;
|
|
goto IL_0297;
|
|
}
|
|
|
|
IL_023e:
|
|
{
|
|
// var yStep = fullSymmShape[v];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_84 = V_9;
|
|
int32_t L_85 = V_20;
|
|
NullCheck(L_84);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_86;
|
|
L_86 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_84, L_85, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_21 = L_86;
|
|
// Vector3 vPos = yStep.pos;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_87 = V_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = L_87.___pos_0;
|
|
V_22 = L_88;
|
|
// vPos.x *= width * 0.5f; // Symmetry mul
|
|
float* L_89 = (&(&V_22)->___x_2);
|
|
float* L_90 = L_89;
|
|
float L_91 = *((float*)L_90);
|
|
float L_92 = __this->___width_53;
|
|
*((float*)L_90) = (float)((float)il2cpp_codegen_multiply(L_91, ((float)il2cpp_codegen_multiply(L_92, (0.5f)))));
|
|
// vPos.y *= height;
|
|
float* L_93 = (&(&V_22)->___y_3);
|
|
float* L_94 = L_93;
|
|
float L_95 = *((float*)L_94);
|
|
float L_96 = __this->___height_54;
|
|
*((float*)L_94) = (float)((float)il2cpp_codegen_multiply(L_95, L_96));
|
|
// vCol.Add(yStep.vCol);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_97 = V_7;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_98 = V_21;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_99 = L_98.___vCol_1;
|
|
NullCheck(L_97);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_97, L_99, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// verts.Add(vPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_100 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101 = V_22;
|
|
NullCheck(L_100);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_100, L_101, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
int32_t L_102 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_102, 1));
|
|
}
|
|
|
|
IL_0297:
|
|
{
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
int32_t L_103 = V_20;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_104 = V_9;
|
|
NullCheck(L_104);
|
|
int32_t L_105;
|
|
L_105 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_104, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_103) < ((int32_t)L_105)))
|
|
{
|
|
goto IL_023e;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
V_23 = 0;
|
|
goto IL_030e;
|
|
}
|
|
|
|
IL_02a7:
|
|
{
|
|
// var yStep = fullSymmShape[v];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_106 = V_9;
|
|
int32_t L_107 = V_23;
|
|
NullCheck(L_106);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_108;
|
|
L_108 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_106, L_107, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_24 = L_108;
|
|
// Vector3 vPos = yStep.pos;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_109 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110 = L_109.___pos_0;
|
|
V_25 = L_110;
|
|
// vPos.x *= width * 0.5f; // Symmetry mul
|
|
float* L_111 = (&(&V_25)->___x_2);
|
|
float* L_112 = L_111;
|
|
float L_113 = *((float*)L_112);
|
|
float L_114 = __this->___width_53;
|
|
*((float*)L_112) = (float)((float)il2cpp_codegen_multiply(L_113, ((float)il2cpp_codegen_multiply(L_114, (0.5f)))));
|
|
// vPos.y *= height;
|
|
float* L_115 = (&(&V_25)->___y_3);
|
|
float* L_116 = L_115;
|
|
float L_117 = *((float*)L_116);
|
|
float L_118 = __this->___height_54;
|
|
*((float*)L_116) = (float)((float)il2cpp_codegen_multiply(L_117, L_118));
|
|
// vPos.z = -dimensions.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = ___1_dimensions;
|
|
float L_120 = L_119.___z_4;
|
|
(&V_25)->___z_4 = ((-L_120));
|
|
// vCol.Add(yStep.vCol);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_121 = V_7;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_122 = V_24;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_123 = L_122.___vCol_1;
|
|
NullCheck(L_121);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_121, L_123, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// verts.Add(vPos);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_124 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125 = V_25;
|
|
NullCheck(L_124);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_124, L_125, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
int32_t L_126 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_126, 1));
|
|
}
|
|
|
|
IL_030e:
|
|
{
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
int32_t L_127 = V_23;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_128 = V_9;
|
|
NullCheck(L_128);
|
|
int32_t L_129;
|
|
L_129 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_128, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_127) < ((int32_t)L_129)))
|
|
{
|
|
goto IL_02a7;
|
|
}
|
|
}
|
|
{
|
|
// if (extrudeFrontCap)
|
|
bool L_130 = ___2_extrudeFrontCap;
|
|
if (!L_130)
|
|
{
|
|
goto IL_0374;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = 0; v < symOff - 1; v += 1)
|
|
V_26 = 0;
|
|
goto IL_036c;
|
|
}
|
|
|
|
IL_0321:
|
|
{
|
|
// tris.Add(symOff + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_131 = V_6;
|
|
int32_t L_132 = V_11;
|
|
int32_t L_133 = V_26;
|
|
NullCheck(L_131);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_131, ((int32_t)il2cpp_codegen_add(L_132, L_133)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_134 = V_6;
|
|
int32_t L_135 = V_26;
|
|
NullCheck(L_134);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_134, L_135, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_136 = V_6;
|
|
int32_t L_137 = V_26;
|
|
NullCheck(L_136);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_136, ((int32_t)il2cpp_codegen_add(L_137, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_138 = V_6;
|
|
int32_t L_139 = V_26;
|
|
NullCheck(L_138);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_138, ((int32_t)il2cpp_codegen_add(L_139, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff + v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_140 = V_6;
|
|
int32_t L_141 = V_11;
|
|
int32_t L_142 = V_26;
|
|
NullCheck(L_140);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_140, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_141, L_142)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_143 = V_6;
|
|
int32_t L_144 = V_11;
|
|
int32_t L_145 = V_26;
|
|
NullCheck(L_143);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_143, ((int32_t)il2cpp_codegen_add(L_144, L_145)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int v = 0; v < symOff - 1; v += 1)
|
|
int32_t L_146 = V_26;
|
|
V_26 = ((int32_t)il2cpp_codegen_add(L_146, 1));
|
|
}
|
|
|
|
IL_036c:
|
|
{
|
|
// for (int v = 0; v < symOff - 1; v += 1)
|
|
int32_t L_147 = V_26;
|
|
int32_t L_148 = V_11;
|
|
if ((((int32_t)L_147) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_148, 1)))))
|
|
{
|
|
goto IL_0321;
|
|
}
|
|
}
|
|
|
|
IL_0374:
|
|
{
|
|
// if (extrudeBackCap)
|
|
bool L_149 = ___3_extrudeBackCap;
|
|
if (!L_149)
|
|
{
|
|
goto IL_03da;
|
|
}
|
|
}
|
|
{
|
|
// int start = symOff * 2;
|
|
int32_t L_150 = V_11;
|
|
V_27 = ((int32_t)il2cpp_codegen_multiply(L_150, 2));
|
|
// for (int v = start; v < start + symOff - 1; v += 1)
|
|
int32_t L_151 = V_27;
|
|
V_28 = L_151;
|
|
goto IL_03cf;
|
|
}
|
|
|
|
IL_0384:
|
|
{
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_152 = V_6;
|
|
int32_t L_153 = V_28;
|
|
NullCheck(L_152);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_152, ((int32_t)il2cpp_codegen_add(L_153, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_154 = V_6;
|
|
int32_t L_155 = V_28;
|
|
NullCheck(L_154);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_154, L_155, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_156 = V_6;
|
|
int32_t L_157 = V_11;
|
|
int32_t L_158 = V_28;
|
|
NullCheck(L_156);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_156, ((int32_t)il2cpp_codegen_add(L_157, L_158)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_159 = V_6;
|
|
int32_t L_160 = V_11;
|
|
int32_t L_161 = V_28;
|
|
NullCheck(L_159);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_159, ((int32_t)il2cpp_codegen_add(L_160, L_161)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff + v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_162 = V_6;
|
|
int32_t L_163 = V_11;
|
|
int32_t L_164 = V_28;
|
|
NullCheck(L_162);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_162, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_163, L_164)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_165 = V_6;
|
|
int32_t L_166 = V_28;
|
|
NullCheck(L_165);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_165, ((int32_t)il2cpp_codegen_add(L_166, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int v = start; v < start + symOff - 1; v += 1)
|
|
int32_t L_167 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_167, 1));
|
|
}
|
|
|
|
IL_03cf:
|
|
{
|
|
// for (int v = start; v < start + symOff - 1; v += 1)
|
|
int32_t L_168 = V_28;
|
|
int32_t L_169 = V_27;
|
|
int32_t L_170 = V_11;
|
|
if ((((int32_t)L_168) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_169, L_170)), 1)))))
|
|
{
|
|
goto IL_0384;
|
|
}
|
|
}
|
|
|
|
IL_03da:
|
|
{
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
V_29 = 0;
|
|
goto IL_046b;
|
|
}
|
|
|
|
IL_03e2:
|
|
{
|
|
// var p = fullSymmShape[v];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_171 = V_9;
|
|
int32_t L_172 = V_29;
|
|
NullCheck(L_171);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_173;
|
|
L_173 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_171, L_172, List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_30 = L_173;
|
|
// Vector2 uv = new Vector2();
|
|
il2cpp_codegen_initobj((&V_31), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// float xPos = p.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_174 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_175 = L_174.___pos_0;
|
|
float L_176 = L_175.___x_2;
|
|
V_32 = L_176;
|
|
// float yPos = 1f - p.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_177 = V_30;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_178 = L_177.___pos_0;
|
|
float L_179 = L_178.___y_3;
|
|
V_33 = ((float)il2cpp_codegen_subtract((1.0f), L_179));
|
|
// float yUv = FLogicMethods.InverseLerpUnclamped(lowestY, highestY, yPos);
|
|
float L_180 = V_0;
|
|
float L_181 = V_1;
|
|
float L_182 = V_33;
|
|
float L_183;
|
|
L_183 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_180, L_181, L_182, NULL);
|
|
V_34 = L_183;
|
|
// float xUv = FLogicMethods.InverseLerpUnclamped(mostLeft, -mostLeft, xPos);
|
|
float L_184 = V_2;
|
|
float L_185 = V_2;
|
|
float L_186 = V_32;
|
|
float L_187;
|
|
L_187 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_184, ((-L_185)), L_186, NULL);
|
|
V_35 = L_187;
|
|
// uv.x = ((1f - xUv)) * uvMul.x;
|
|
float L_188 = V_35;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_189 = ___5_uvMul;
|
|
float L_190 = L_189.___x_0;
|
|
(&V_31)->___x_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_188)), L_190));
|
|
// uv.y = (1f - (yUv)) * uvMul.y;
|
|
float L_191 = V_34;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_192 = ___5_uvMul;
|
|
float L_193 = L_192.___y_1;
|
|
(&V_31)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_191)), L_193));
|
|
// uvs.Add(uv);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_194 = V_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_195 = V_31;
|
|
NullCheck(L_194);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_194, L_195, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
int32_t L_196 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_196, 1));
|
|
}
|
|
|
|
IL_046b:
|
|
{
|
|
// for (int v = 0; v < fullSymmShape.Count; v += 1)
|
|
int32_t L_197 = V_29;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_198 = V_9;
|
|
NullCheck(L_198);
|
|
int32_t L_199;
|
|
L_199 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_198, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
if ((((int32_t)L_197) < ((int32_t)L_199)))
|
|
{
|
|
goto IL_03e2;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = symOff; v < fullSymmShape.Count + symOff; v += 1)
|
|
int32_t L_200 = V_11;
|
|
V_36 = L_200;
|
|
goto IL_0508;
|
|
}
|
|
|
|
IL_0482:
|
|
{
|
|
// var p = fullSymmShape[v - symOff];
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_201 = V_9;
|
|
int32_t L_202 = V_36;
|
|
int32_t L_203 = V_11;
|
|
NullCheck(L_201);
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_204;
|
|
L_204 = List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF(L_201, ((int32_t)il2cpp_codegen_subtract(L_202, L_203)), List_1_get_Item_m7A46B5192CD7CA6D25626C6FE2568BB08C84AAAF_RuntimeMethod_var);
|
|
V_37 = L_204;
|
|
// Vector2 uv = new Vector2();
|
|
il2cpp_codegen_initobj((&V_38), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// float xPos = p.pos.x;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_205 = V_37;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206 = L_205.___pos_0;
|
|
float L_207 = L_206.___x_2;
|
|
V_39 = L_207;
|
|
// float yPos = 1f - p.pos.y;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_208 = V_37;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_209 = L_208.___pos_0;
|
|
float L_210 = L_209.___y_3;
|
|
V_40 = ((float)il2cpp_codegen_subtract((1.0f), L_210));
|
|
// float yUv = FLogicMethods.InverseLerpUnclamped(lowestY, highestY, yPos);
|
|
float L_211 = V_0;
|
|
float L_212 = V_1;
|
|
float L_213 = V_40;
|
|
float L_214;
|
|
L_214 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_211, L_212, L_213, NULL);
|
|
V_41 = L_214;
|
|
// float xUv = FLogicMethods.InverseLerpUnclamped(mostLeft, -mostLeft, xPos);
|
|
float L_215 = V_2;
|
|
float L_216 = V_2;
|
|
float L_217 = V_39;
|
|
float L_218;
|
|
L_218 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_215, ((-L_216)), L_217, NULL);
|
|
V_42 = L_218;
|
|
// uv.x = ((xUv)) * uvMul.x;
|
|
float L_219 = V_42;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_220 = ___5_uvMul;
|
|
float L_221 = L_220.___x_0;
|
|
(&V_38)->___x_0 = ((float)il2cpp_codegen_multiply(L_219, L_221));
|
|
// uv.y = (1f - (yUv)) * uvMul.y;
|
|
float L_222 = V_41;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_223 = ___5_uvMul;
|
|
float L_224 = L_223.___y_1;
|
|
(&V_38)->___y_1 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((1.0f), L_222)), L_224));
|
|
// uvs.Add(uv);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_225 = V_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_226 = V_38;
|
|
NullCheck(L_225);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_225, L_226, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int v = symOff; v < fullSymmShape.Count + symOff; v += 1)
|
|
int32_t L_227 = V_36;
|
|
V_36 = ((int32_t)il2cpp_codegen_add(L_227, 1));
|
|
}
|
|
|
|
IL_0508:
|
|
{
|
|
// for (int v = symOff; v < fullSymmShape.Count + symOff; v += 1)
|
|
int32_t L_228 = V_36;
|
|
List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* L_229 = V_9;
|
|
NullCheck(L_229);
|
|
int32_t L_230;
|
|
L_230 = List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_inline(L_229, List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_RuntimeMethod_var);
|
|
int32_t L_231 = V_11;
|
|
if ((((int32_t)L_228) < ((int32_t)((int32_t)il2cpp_codegen_add(L_230, L_231)))))
|
|
{
|
|
goto IL_0482;
|
|
}
|
|
}
|
|
{
|
|
// if (dimensions.z > -0.000001f && dimensions.z < 0.000001f)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_232 = ___1_dimensions;
|
|
float L_233 = L_232.___z_4;
|
|
if ((!(((float)L_233) > ((float)(-9.99999997E-07f)))))
|
|
{
|
|
goto IL_0536;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_234 = ___1_dimensions;
|
|
float L_235 = L_234.___z_4;
|
|
if ((((float)L_235) < ((float)(9.99999997E-07f))))
|
|
{
|
|
goto IL_0b94;
|
|
}
|
|
}
|
|
|
|
IL_0536:
|
|
{
|
|
// for (int v = symOff; v < symOff + symOff - 1; v += 1)
|
|
int32_t L_236 = V_11;
|
|
V_43 = L_236;
|
|
goto IL_058d;
|
|
}
|
|
|
|
IL_053c:
|
|
{
|
|
// tris.Add(symOff * 2 + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_237 = V_6;
|
|
int32_t L_238 = V_11;
|
|
int32_t L_239 = V_43;
|
|
NullCheck(L_237);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_237, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_238, 2)), L_239)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_240 = V_6;
|
|
int32_t L_241 = V_43;
|
|
NullCheck(L_240);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_240, L_241, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_242 = V_6;
|
|
int32_t L_243 = V_43;
|
|
NullCheck(L_242);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_242, ((int32_t)il2cpp_codegen_add(L_243, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_244 = V_6;
|
|
int32_t L_245 = V_43;
|
|
NullCheck(L_244);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_244, ((int32_t)il2cpp_codegen_add(L_245, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 + v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_246 = V_6;
|
|
int32_t L_247 = V_11;
|
|
int32_t L_248 = V_43;
|
|
NullCheck(L_246);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_246, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_247, 2)), L_248)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_249 = V_6;
|
|
int32_t L_250 = V_11;
|
|
int32_t L_251 = V_43;
|
|
NullCheck(L_249);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_249, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_250, 2)), L_251)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int v = symOff; v < symOff + symOff - 1; v += 1)
|
|
int32_t L_252 = V_43;
|
|
V_43 = ((int32_t)il2cpp_codegen_add(L_252, 1));
|
|
}
|
|
|
|
IL_058d:
|
|
{
|
|
// for (int v = symOff; v < symOff + symOff - 1; v += 1)
|
|
int32_t L_253 = V_43;
|
|
int32_t L_254 = V_11;
|
|
int32_t L_255 = V_11;
|
|
if ((((int32_t)L_253) < ((int32_t)((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_add(L_254, L_255)), 1)))))
|
|
{
|
|
goto IL_053c;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = 0; v < symOff - 1; v += 1)
|
|
V_44 = 0;
|
|
goto IL_05ee;
|
|
}
|
|
|
|
IL_059d:
|
|
{
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_256 = V_6;
|
|
int32_t L_257 = V_44;
|
|
NullCheck(L_256);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_256, ((int32_t)il2cpp_codegen_add(L_257, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_258 = V_6;
|
|
int32_t L_259 = V_44;
|
|
NullCheck(L_258);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_258, L_259, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_260 = V_6;
|
|
int32_t L_261 = V_11;
|
|
int32_t L_262 = V_44;
|
|
NullCheck(L_260);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_260, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_261, 2)), L_262)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 + v);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_263 = V_6;
|
|
int32_t L_264 = V_11;
|
|
int32_t L_265 = V_44;
|
|
NullCheck(L_263);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_263, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_264, 2)), L_265)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 + v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_266 = V_6;
|
|
int32_t L_267 = V_11;
|
|
int32_t L_268 = V_44;
|
|
NullCheck(L_266);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_266, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_267, 2)), L_268)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(v + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_269 = V_6;
|
|
int32_t L_270 = V_44;
|
|
NullCheck(L_269);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_269, ((int32_t)il2cpp_codegen_add(L_270, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int v = 0; v < symOff - 1; v += 1)
|
|
int32_t L_271 = V_44;
|
|
V_44 = ((int32_t)il2cpp_codegen_add(L_271, 1));
|
|
}
|
|
|
|
IL_05ee:
|
|
{
|
|
// for (int v = 0; v < symOff - 1; v += 1)
|
|
int32_t L_272 = V_44;
|
|
int32_t L_273 = V_11;
|
|
if ((((int32_t)L_272) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_273, 1)))))
|
|
{
|
|
goto IL_059d;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_274 = V_6;
|
|
NullCheck(L_274);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_274, 0, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_275 = V_6;
|
|
int32_t L_276 = V_11;
|
|
NullCheck(L_275);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_275, L_276, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_277 = V_6;
|
|
int32_t L_278 = V_11;
|
|
NullCheck(L_277);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_277, ((int32_t)il2cpp_codegen_multiply(L_278, 2)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 3);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_279 = V_6;
|
|
int32_t L_280 = V_11;
|
|
NullCheck(L_279);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_279, ((int32_t)il2cpp_codegen_multiply(L_280, 3)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_281 = V_6;
|
|
int32_t L_282 = V_11;
|
|
NullCheck(L_281);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_281, ((int32_t)il2cpp_codegen_multiply(L_282, 2)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_283 = V_6;
|
|
int32_t L_284 = V_11;
|
|
NullCheck(L_283);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_283, L_284, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 3 - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_285 = V_6;
|
|
int32_t L_286 = V_11;
|
|
NullCheck(L_285);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_285, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(L_286, 3)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_287 = V_6;
|
|
int32_t L_288 = V_11;
|
|
NullCheck(L_287);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_287, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(L_288, 2)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_289 = V_6;
|
|
int32_t L_290 = V_11;
|
|
NullCheck(L_289);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_289, ((int32_t)il2cpp_codegen_subtract(L_290, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 3 - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_291 = V_6;
|
|
int32_t L_292 = V_11;
|
|
NullCheck(L_291);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_291, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(L_292, 3)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 4 - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_293 = V_6;
|
|
int32_t L_294 = V_11;
|
|
NullCheck(L_293);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_293, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(L_294, 4)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(symOff * 2 - 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_295 = V_6;
|
|
int32_t L_296 = V_11;
|
|
NullCheck(L_295);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_295, ((int32_t)il2cpp_codegen_subtract(((int32_t)il2cpp_codegen_multiply(L_296, 2)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_0b94;
|
|
}
|
|
|
|
IL_0682:
|
|
{
|
|
// List<FMeshUtils.PolyShapeHelpPoint> vGenPoints = new List<FMeshUtils.PolyShapeHelpPoint>();
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_297 = (List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919*)il2cpp_codegen_object_new(List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919_il2cpp_TypeInfo_var);
|
|
NullCheck(L_297);
|
|
List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04(L_297, List_1__ctor_m82D1265DFE87FE3460F00DF204667D8202881A04_RuntimeMethod_var);
|
|
V_45 = L_297;
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
V_48 = 0;
|
|
goto IL_0788;
|
|
}
|
|
|
|
IL_0691:
|
|
{
|
|
// var vGen = new FMeshUtils.PolyShapeHelpPoint(shape[s].p);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_298 = ___0_shape;
|
|
int32_t L_299 = V_48;
|
|
NullCheck(L_298);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_300;
|
|
L_300 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_298, L_299, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_301 = L_300.___p_0;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_302 = (PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3*)il2cpp_codegen_object_new(PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3_il2cpp_TypeInfo_var);
|
|
NullCheck(L_302);
|
|
PolyShapeHelpPoint__ctor_mC49C1CADBE861F3CCDBA0569DA8CD24F0B15F147(L_302, L_301, NULL);
|
|
V_49 = L_302;
|
|
// vGen.vxPos.z = 1f - vGen.vxPos.y;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_303 = V_49;
|
|
NullCheck(L_303);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_304 = (&L_303->___vxPos_2);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_305 = V_49;
|
|
NullCheck(L_305);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_306 = (&L_305->___vxPos_2);
|
|
float L_307 = L_306->___y_3;
|
|
L_304->___z_4 = ((float)il2cpp_codegen_subtract((1.0f), L_307));
|
|
// vGen.vxPos.y = 0f;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_308 = V_49;
|
|
NullCheck(L_308);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_309 = (&L_308->___vxPos_2);
|
|
L_309->___y_3 = (0.0f);
|
|
// vGen.vxPos.x *= dimensions.x;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_310 = V_49;
|
|
NullCheck(L_310);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_311 = (&L_310->___vxPos_2);
|
|
float* L_312 = (&L_311->___x_2);
|
|
float* L_313 = L_312;
|
|
float L_314 = *((float*)L_313);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_315 = ___1_dimensions;
|
|
float L_316 = L_315.___x_2;
|
|
*((float*)L_313) = (float)((float)il2cpp_codegen_multiply(L_314, L_316));
|
|
// vGen.vxPos.z *= dimensions.y;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_317 = V_49;
|
|
NullCheck(L_317);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_318 = (&L_317->___vxPos_2);
|
|
float* L_319 = (&L_318->___z_4);
|
|
float* L_320 = L_319;
|
|
float L_321 = *((float*)L_320);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_322 = ___1_dimensions;
|
|
float L_323 = L_322.___y_3;
|
|
*((float*)L_320) = (float)((float)il2cpp_codegen_multiply(L_321, L_323));
|
|
// vGen.helpIndex = s;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_324 = V_49;
|
|
int32_t L_325 = V_48;
|
|
NullCheck(L_324);
|
|
L_324->___helpIndex_1 = L_325;
|
|
// vGenPoints.Add(vGen);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_326 = V_45;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_327 = V_49;
|
|
NullCheck(L_326);
|
|
List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_inline(L_326, L_327, List_1_Add_m429A8A6E13D9C9FF13466BE8E32EEFF6533AF3C3_RuntimeMethod_var);
|
|
// if (vGen.vxPos.x < mostLeft) mostLeft = vGen.vxPos.x;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_328 = V_49;
|
|
NullCheck(L_328);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_329 = (&L_328->___vxPos_2);
|
|
float L_330 = L_329->___x_2;
|
|
float L_331 = V_2;
|
|
if ((!(((float)L_330) < ((float)L_331))))
|
|
{
|
|
goto IL_072e;
|
|
}
|
|
}
|
|
{
|
|
// if (vGen.vxPos.x < mostLeft) mostLeft = vGen.vxPos.x;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_332 = V_49;
|
|
NullCheck(L_332);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_333 = (&L_332->___vxPos_2);
|
|
float L_334 = L_333->___x_2;
|
|
V_2 = L_334;
|
|
}
|
|
|
|
IL_072e:
|
|
{
|
|
// if (vGen.vxPos.x > mostRight) mostRight = vGen.vxPos.x;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_335 = V_49;
|
|
NullCheck(L_335);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_336 = (&L_335->___vxPos_2);
|
|
float L_337 = L_336->___x_2;
|
|
float L_338 = V_3;
|
|
if ((!(((float)L_337) > ((float)L_338))))
|
|
{
|
|
goto IL_074a;
|
|
}
|
|
}
|
|
{
|
|
// if (vGen.vxPos.x > mostRight) mostRight = vGen.vxPos.x;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_339 = V_49;
|
|
NullCheck(L_339);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_340 = (&L_339->___vxPos_2);
|
|
float L_341 = L_340->___x_2;
|
|
V_3 = L_341;
|
|
}
|
|
|
|
IL_074a:
|
|
{
|
|
// if (vGen.vxPos.z < lowestY) lowestY = vGen.vxPos.z;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_342 = V_49;
|
|
NullCheck(L_342);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_343 = (&L_342->___vxPos_2);
|
|
float L_344 = L_343->___z_4;
|
|
float L_345 = V_0;
|
|
if ((!(((float)L_344) < ((float)L_345))))
|
|
{
|
|
goto IL_0766;
|
|
}
|
|
}
|
|
{
|
|
// if (vGen.vxPos.z < lowestY) lowestY = vGen.vxPos.z;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_346 = V_49;
|
|
NullCheck(L_346);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_347 = (&L_346->___vxPos_2);
|
|
float L_348 = L_347->___z_4;
|
|
V_0 = L_348;
|
|
}
|
|
|
|
IL_0766:
|
|
{
|
|
// if (vGen.vxPos.z > highestY) highestY = vGen.vxPos.z;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_349 = V_49;
|
|
NullCheck(L_349);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_350 = (&L_349->___vxPos_2);
|
|
float L_351 = L_350->___z_4;
|
|
float L_352 = V_1;
|
|
if ((!(((float)L_351) > ((float)L_352))))
|
|
{
|
|
goto IL_0782;
|
|
}
|
|
}
|
|
{
|
|
// if (vGen.vxPos.z > highestY) highestY = vGen.vxPos.z;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_353 = V_49;
|
|
NullCheck(L_353);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_354 = (&L_353->___vxPos_2);
|
|
float L_355 = L_354->___z_4;
|
|
V_1 = L_355;
|
|
}
|
|
|
|
IL_0782:
|
|
{
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
int32_t L_356 = V_48;
|
|
V_48 = ((int32_t)il2cpp_codegen_add(L_356, 1));
|
|
}
|
|
|
|
IL_0788:
|
|
{
|
|
// for (int s = 0; s < shape.Count; s++)
|
|
int32_t L_357 = V_48;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_358 = ___0_shape;
|
|
NullCheck(L_358);
|
|
int32_t L_359;
|
|
L_359 = List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_inline(L_358, List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_RuntimeMethod_var);
|
|
if ((((int32_t)L_357) < ((int32_t)L_359)))
|
|
{
|
|
goto IL_0691;
|
|
}
|
|
}
|
|
{
|
|
// vGenPoints.Reverse();
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_360 = V_45;
|
|
NullCheck(L_360);
|
|
List_1_Reverse_m1B393BC5AECD0184216271E29ECF596462761AFD(L_360, List_1_Reverse_m1B393BC5AECD0184216271E29ECF596462761AFD_RuntimeMethod_var);
|
|
// for (int p = 0; p < vGenPoints.Count; p++)
|
|
V_50 = 0;
|
|
goto IL_07e4;
|
|
}
|
|
|
|
IL_07a1:
|
|
{
|
|
// var vPoint = vGenPoints[p];
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_361 = V_45;
|
|
int32_t L_362 = V_50;
|
|
NullCheck(L_361);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_363;
|
|
L_363 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_361, L_362, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
V_51 = L_363;
|
|
// vPoint.index = p;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_364 = V_51;
|
|
int32_t L_365 = V_50;
|
|
NullCheck(L_364);
|
|
L_364->___index_0 = L_365;
|
|
// verts.Add(new Vector3(vPoint.vxPos.x, vPoint.vxPos.z, 0f));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_366 = V_4;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_367 = V_51;
|
|
NullCheck(L_367);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_368 = (&L_367->___vxPos_2);
|
|
float L_369 = L_368->___x_2;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_370 = V_51;
|
|
NullCheck(L_370);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_371 = (&L_370->___vxPos_2);
|
|
float L_372 = L_371->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_373;
|
|
memset((&L_373), 0, sizeof(L_373));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_373), L_369, L_372, (0.0f), /*hidden argument*/NULL);
|
|
NullCheck(L_366);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_366, L_373, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int p = 0; p < vGenPoints.Count; p++)
|
|
int32_t L_374 = V_50;
|
|
V_50 = ((int32_t)il2cpp_codegen_add(L_374, 1));
|
|
}
|
|
|
|
IL_07e4:
|
|
{
|
|
// for (int p = 0; p < vGenPoints.Count; p++)
|
|
int32_t L_375 = V_50;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_376 = V_45;
|
|
NullCheck(L_376);
|
|
int32_t L_377;
|
|
L_377 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_376, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_375) < ((int32_t)L_377)))
|
|
{
|
|
goto IL_07a1;
|
|
}
|
|
}
|
|
{
|
|
// bool twoCaps = false;
|
|
V_46 = (bool)0;
|
|
// if (dimensions.z != 0f || (extrudeFrontCap || extrudeBackCap))
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_378 = ___1_dimensions;
|
|
float L_379 = L_378.___z_4;
|
|
if ((!(((float)L_379) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0805;
|
|
}
|
|
}
|
|
{
|
|
bool L_380 = ___2_extrudeFrontCap;
|
|
bool L_381 = ___3_extrudeBackCap;
|
|
if (!((int32_t)((int32_t)L_380|(int32_t)L_381)))
|
|
{
|
|
goto IL_0854;
|
|
}
|
|
}
|
|
|
|
IL_0805:
|
|
{
|
|
// twoCaps = true;
|
|
V_46 = (bool)1;
|
|
// for (int p = 0; p < vGenPoints.Count; p++)
|
|
V_52 = 0;
|
|
goto IL_0849;
|
|
}
|
|
|
|
IL_080d:
|
|
{
|
|
// var vPoint = vGenPoints[p];
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_382 = V_45;
|
|
int32_t L_383 = V_52;
|
|
NullCheck(L_382);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_384;
|
|
L_384 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_382, L_383, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
V_53 = L_384;
|
|
// verts.Add(new Vector3(vPoint.vxPos.x, vPoint.vxPos.z, -dimensions.z));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_385 = V_4;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_386 = V_53;
|
|
NullCheck(L_386);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_387 = (&L_386->___vxPos_2);
|
|
float L_388 = L_387->___x_2;
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_389 = V_53;
|
|
NullCheck(L_389);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_390 = (&L_389->___vxPos_2);
|
|
float L_391 = L_390->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_392 = ___1_dimensions;
|
|
float L_393 = L_392.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_394;
|
|
memset((&L_394), 0, sizeof(L_394));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_394), L_388, L_391, ((-L_393)), /*hidden argument*/NULL);
|
|
NullCheck(L_385);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_385, L_394, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int p = 0; p < vGenPoints.Count; p++)
|
|
int32_t L_395 = V_52;
|
|
V_52 = ((int32_t)il2cpp_codegen_add(L_395, 1));
|
|
}
|
|
|
|
IL_0849:
|
|
{
|
|
// for (int p = 0; p < vGenPoints.Count; p++)
|
|
int32_t L_396 = V_52;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_397 = V_45;
|
|
NullCheck(L_397);
|
|
int32_t L_398;
|
|
L_398 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_397, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_396) < ((int32_t)L_398)))
|
|
{
|
|
goto IL_080d;
|
|
}
|
|
}
|
|
|
|
IL_0854:
|
|
{
|
|
// List<int> frontCapTris = null;
|
|
V_47 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)NULL;
|
|
// if (extrudeFrontCap)
|
|
bool L_399 = ___2_extrudeFrontCap;
|
|
if (!L_399)
|
|
{
|
|
goto IL_088e;
|
|
}
|
|
}
|
|
{
|
|
// frontCapTris = FMeshUtils.TriangulateConcavePolygon(vGenPoints);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_400 = V_45;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_401;
|
|
L_401 = FMeshUtils_TriangulateConcavePolygon_m29C4E9D4D87230B9C450502ABAA2DF664BB4F7F9(L_400, NULL);
|
|
V_47 = L_401;
|
|
// if (extrudeFrontCap)
|
|
bool L_402 = ___2_extrudeFrontCap;
|
|
if (!L_402)
|
|
{
|
|
goto IL_088e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = frontCapTris.Count - 1; i >= 0; i--)
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_403 = V_47;
|
|
NullCheck(L_403);
|
|
int32_t L_404;
|
|
L_404 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_403, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
V_54 = ((int32_t)il2cpp_codegen_subtract(L_404, 1));
|
|
goto IL_0889;
|
|
}
|
|
|
|
IL_0873:
|
|
{
|
|
// tris.Add(frontCapTris[i]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_405 = V_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_406 = V_47;
|
|
int32_t L_407 = V_54;
|
|
NullCheck(L_406);
|
|
int32_t L_408;
|
|
L_408 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_406, L_407, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_405);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_405, L_408, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int i = frontCapTris.Count - 1; i >= 0; i--)
|
|
int32_t L_409 = V_54;
|
|
V_54 = ((int32_t)il2cpp_codegen_subtract(L_409, 1));
|
|
}
|
|
|
|
IL_0889:
|
|
{
|
|
// for (int i = frontCapTris.Count - 1; i >= 0; i--)
|
|
int32_t L_410 = V_54;
|
|
if ((((int32_t)L_410) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0873;
|
|
}
|
|
}
|
|
|
|
IL_088e:
|
|
{
|
|
// if (dimensions.z != 0f)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_411 = ___1_dimensions;
|
|
float L_412 = L_411.___z_4;
|
|
if ((((float)L_412) == ((float)(0.0f))))
|
|
{
|
|
goto IL_09c3;
|
|
}
|
|
}
|
|
{
|
|
// int depthOff = vGenPoints.Count;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_413 = V_45;
|
|
NullCheck(L_413);
|
|
int32_t L_414;
|
|
L_414 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_413, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
V_55 = L_414;
|
|
// for (int i = 0; i < vGenPoints.Count - 1; i += 1)
|
|
V_56 = 0;
|
|
goto IL_0942;
|
|
}
|
|
|
|
IL_08af:
|
|
{
|
|
// tris.Add(vGenPoints[i].index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_415 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_416 = V_45;
|
|
int32_t L_417 = V_56;
|
|
NullCheck(L_416);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_418;
|
|
L_418 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_416, L_417, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_418);
|
|
int32_t L_419 = L_418->___index_0;
|
|
NullCheck(L_415);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_415, L_419, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[i].index + depthOff + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_420 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_421 = V_45;
|
|
int32_t L_422 = V_56;
|
|
NullCheck(L_421);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_423;
|
|
L_423 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_421, L_422, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_423);
|
|
int32_t L_424 = L_423->___index_0;
|
|
int32_t L_425 = V_55;
|
|
NullCheck(L_420);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_420, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_424, L_425)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[i].index + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_426 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_427 = V_45;
|
|
int32_t L_428 = V_56;
|
|
NullCheck(L_427);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_429;
|
|
L_429 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_427, L_428, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_429);
|
|
int32_t L_430 = L_429->___index_0;
|
|
NullCheck(L_426);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_426, ((int32_t)il2cpp_codegen_add(L_430, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[i].index + depthOff + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_431 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_432 = V_45;
|
|
int32_t L_433 = V_56;
|
|
NullCheck(L_432);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_434;
|
|
L_434 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_432, L_433, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_434);
|
|
int32_t L_435 = L_434->___index_0;
|
|
int32_t L_436 = V_55;
|
|
NullCheck(L_431);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_431, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_435, L_436)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[i].index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_437 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_438 = V_45;
|
|
int32_t L_439 = V_56;
|
|
NullCheck(L_438);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_440;
|
|
L_440 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_438, L_439, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_440);
|
|
int32_t L_441 = L_440->___index_0;
|
|
NullCheck(L_437);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_437, L_441, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[i].index + depthOff);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_442 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_443 = V_45;
|
|
int32_t L_444 = V_56;
|
|
NullCheck(L_443);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_445;
|
|
L_445 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_443, L_444, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_445);
|
|
int32_t L_446 = L_445->___index_0;
|
|
int32_t L_447 = V_55;
|
|
NullCheck(L_442);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_442, ((int32_t)il2cpp_codegen_add(L_446, L_447)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int i = 0; i < vGenPoints.Count - 1; i += 1)
|
|
int32_t L_448 = V_56;
|
|
V_56 = ((int32_t)il2cpp_codegen_add(L_448, 1));
|
|
}
|
|
|
|
IL_0942:
|
|
{
|
|
// for (int i = 0; i < vGenPoints.Count - 1; i += 1)
|
|
int32_t L_449 = V_56;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_450 = V_45;
|
|
NullCheck(L_450);
|
|
int32_t L_451;
|
|
L_451 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_450, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_449) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_451, 1)))))
|
|
{
|
|
goto IL_08af;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(vGenPoints[vGenPoints.Count - 1].index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_452 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_453 = V_45;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_454 = V_45;
|
|
NullCheck(L_454);
|
|
int32_t L_455;
|
|
L_455 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_454, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
NullCheck(L_453);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_456;
|
|
L_456 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_453, ((int32_t)il2cpp_codegen_subtract(L_455, 1)), List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_456);
|
|
int32_t L_457 = L_456->___index_0;
|
|
NullCheck(L_452);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_452, L_457, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(depthOff);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_458 = V_6;
|
|
int32_t L_459 = V_55;
|
|
NullCheck(L_458);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_458, L_459, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_460 = V_6;
|
|
NullCheck(L_460);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_460, 0, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(depthOff);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_461 = V_6;
|
|
int32_t L_462 = V_55;
|
|
NullCheck(L_461);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_461, L_462, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[vGenPoints.Count - 1].index);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_463 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_464 = V_45;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_465 = V_45;
|
|
NullCheck(L_465);
|
|
int32_t L_466;
|
|
L_466 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_465, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
NullCheck(L_464);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_467;
|
|
L_467 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_464, ((int32_t)il2cpp_codegen_subtract(L_466, 1)), List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_467);
|
|
int32_t L_468 = L_467->___index_0;
|
|
NullCheck(L_463);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_463, L_468, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(vGenPoints[vGenPoints.Count - 1].index + depthOff);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_469 = V_6;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_470 = V_45;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_471 = V_45;
|
|
NullCheck(L_471);
|
|
int32_t L_472;
|
|
L_472 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_471, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
NullCheck(L_470);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_473;
|
|
L_473 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_470, ((int32_t)il2cpp_codegen_subtract(L_472, 1)), List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_473);
|
|
int32_t L_474 = L_473->___index_0;
|
|
int32_t L_475 = V_55;
|
|
NullCheck(L_469);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_469, ((int32_t)il2cpp_codegen_add(L_474, L_475)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_09c3:
|
|
{
|
|
// if (extrudeBackCap)
|
|
bool L_476 = ___3_extrudeBackCap;
|
|
if (!L_476)
|
|
{
|
|
goto IL_0a02;
|
|
}
|
|
}
|
|
{
|
|
// if (frontCapTris == null) frontCapTris = FMeshUtils.TriangulateConcavePolygon(vGenPoints);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_477 = V_47;
|
|
if (L_477)
|
|
{
|
|
goto IL_09d4;
|
|
}
|
|
}
|
|
{
|
|
// if (frontCapTris == null) frontCapTris = FMeshUtils.TriangulateConcavePolygon(vGenPoints);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_478 = V_45;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_479;
|
|
L_479 = FMeshUtils_TriangulateConcavePolygon_m29C4E9D4D87230B9C450502ABAA2DF664BB4F7F9(L_478, NULL);
|
|
V_47 = L_479;
|
|
}
|
|
|
|
IL_09d4:
|
|
{
|
|
// for (int i = 0; i < frontCapTris.Count; i++)
|
|
V_57 = 0;
|
|
goto IL_09f7;
|
|
}
|
|
|
|
IL_09d9:
|
|
{
|
|
// tris.Add(frontCapTris[i] + vGenPoints.Count);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_480 = V_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_481 = V_47;
|
|
int32_t L_482 = V_57;
|
|
NullCheck(L_481);
|
|
int32_t L_483;
|
|
L_483 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_481, L_482, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_484 = V_45;
|
|
NullCheck(L_484);
|
|
int32_t L_485;
|
|
L_485 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_484, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
NullCheck(L_480);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_480, ((int32_t)il2cpp_codegen_add(L_483, L_485)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int i = 0; i < frontCapTris.Count; i++)
|
|
int32_t L_486 = V_57;
|
|
V_57 = ((int32_t)il2cpp_codegen_add(L_486, 1));
|
|
}
|
|
|
|
IL_09f7:
|
|
{
|
|
// for (int i = 0; i < frontCapTris.Count; i++)
|
|
int32_t L_487 = V_57;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_488 = V_47;
|
|
NullCheck(L_488);
|
|
int32_t L_489;
|
|
L_489 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_488, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_487) < ((int32_t)L_489)))
|
|
{
|
|
goto IL_09d9;
|
|
}
|
|
}
|
|
|
|
IL_0a02:
|
|
{
|
|
// for (int v = 0; v < vGenPoints.Count; v++)
|
|
V_58 = 0;
|
|
goto IL_0a99;
|
|
}
|
|
|
|
IL_0a0a:
|
|
{
|
|
// vCol.Add(shape[vGenPoints[v].helpIndex].c);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_490 = V_7;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_491 = ___0_shape;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_492 = V_45;
|
|
int32_t L_493 = V_58;
|
|
NullCheck(L_492);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_494;
|
|
L_494 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_492, L_493, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_494);
|
|
int32_t L_495 = L_494->___helpIndex_1;
|
|
NullCheck(L_491);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_496;
|
|
L_496 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_491, L_495, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_497 = L_496.___c_2;
|
|
NullCheck(L_490);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_490, L_497, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// Vector2 uvVal = new Vector2();
|
|
il2cpp_codegen_initobj((&V_59), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// uvVal.x = FLogicMethods.InverseLerpUnclamped(mostLeft, mostRight, shape[vGenPoints[v].helpIndex].p.x);
|
|
float L_498 = V_2;
|
|
float L_499 = V_3;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_500 = ___0_shape;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_501 = V_45;
|
|
int32_t L_502 = V_58;
|
|
NullCheck(L_501);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_503;
|
|
L_503 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_501, L_502, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_503);
|
|
int32_t L_504 = L_503->___helpIndex_1;
|
|
NullCheck(L_500);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_505;
|
|
L_505 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_500, L_504, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_506 = L_505.___p_0;
|
|
float L_507 = L_506.___x_2;
|
|
float L_508;
|
|
L_508 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_498, L_499, L_507, NULL);
|
|
(&V_59)->___x_0 = L_508;
|
|
// uvVal.y = FLogicMethods.InverseLerpUnclamped(lowestY, highestY, shape[vGenPoints[v].helpIndex].p.y);
|
|
float L_509 = V_0;
|
|
float L_510 = V_1;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_511 = ___0_shape;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_512 = V_45;
|
|
int32_t L_513 = V_58;
|
|
NullCheck(L_512);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_514;
|
|
L_514 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_512, L_513, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_514);
|
|
int32_t L_515 = L_514->___helpIndex_1;
|
|
NullCheck(L_511);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_516;
|
|
L_516 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_511, L_515, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_517 = L_516.___p_0;
|
|
float L_518 = L_517.___y_3;
|
|
float L_519;
|
|
L_519 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_509, L_510, L_518, NULL);
|
|
(&V_59)->___y_1 = L_519;
|
|
// uvs.Add(uvVal);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_520 = V_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_521 = V_59;
|
|
NullCheck(L_520);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_520, L_521, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int v = 0; v < vGenPoints.Count; v++)
|
|
int32_t L_522 = V_58;
|
|
V_58 = ((int32_t)il2cpp_codegen_add(L_522, 1));
|
|
}
|
|
|
|
IL_0a99:
|
|
{
|
|
// for (int v = 0; v < vGenPoints.Count; v++)
|
|
int32_t L_523 = V_58;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_524 = V_45;
|
|
NullCheck(L_524);
|
|
int32_t L_525;
|
|
L_525 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_524, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_523) < ((int32_t)L_525)))
|
|
{
|
|
goto IL_0a0a;
|
|
}
|
|
}
|
|
{
|
|
// if (twoCaps)
|
|
bool L_526 = V_46;
|
|
if (!L_526)
|
|
{
|
|
goto IL_0b61;
|
|
}
|
|
}
|
|
{
|
|
// float uvDepth = dimensions.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_527 = ___1_dimensions;
|
|
float L_528 = L_527.___z_4;
|
|
V_60 = L_528;
|
|
// for (int v = 0; v < vGenPoints.Count; v++)
|
|
V_61 = 0;
|
|
goto IL_0b53;
|
|
}
|
|
|
|
IL_0abe:
|
|
{
|
|
// vCol.Add(shape[vGenPoints[v].helpIndex].c);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_529 = V_7;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_530 = ___0_shape;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_531 = V_45;
|
|
int32_t L_532 = V_61;
|
|
NullCheck(L_531);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_533;
|
|
L_533 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_531, L_532, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_533);
|
|
int32_t L_534 = L_533->___helpIndex_1;
|
|
NullCheck(L_530);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_535;
|
|
L_535 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_530, L_534, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_536 = L_535.___c_2;
|
|
NullCheck(L_529);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_529, L_536, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// Vector2 uvVal = new Vector2();
|
|
il2cpp_codegen_initobj((&V_62), sizeof(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7));
|
|
// uvVal.x = FLogicMethods.InverseLerpUnclamped(mostLeft, mostRight, shape[vGenPoints[v].helpIndex].p.x);
|
|
float L_537 = V_2;
|
|
float L_538 = V_3;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_539 = ___0_shape;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_540 = V_45;
|
|
int32_t L_541 = V_61;
|
|
NullCheck(L_540);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_542;
|
|
L_542 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_540, L_541, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_542);
|
|
int32_t L_543 = L_542->___helpIndex_1;
|
|
NullCheck(L_539);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_544;
|
|
L_544 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_539, L_543, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_545 = L_544.___p_0;
|
|
float L_546 = L_545.___x_2;
|
|
float L_547;
|
|
L_547 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(L_537, L_538, L_546, NULL);
|
|
(&V_62)->___x_0 = L_547;
|
|
// uvVal.y = FLogicMethods.InverseLerpUnclamped(lowestY + uvDepth, highestY + uvDepth, shape[vGenPoints[v].helpIndex].p.y);
|
|
float L_548 = V_0;
|
|
float L_549 = V_60;
|
|
float L_550 = V_1;
|
|
float L_551 = V_60;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_552 = ___0_shape;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_553 = V_45;
|
|
int32_t L_554 = V_61;
|
|
NullCheck(L_553);
|
|
PolyShapeHelpPoint_tBCC22EBC4858CC850645EA4F86DDD05E5E6C2FF3* L_555;
|
|
L_555 = List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A(L_553, L_554, List_1_get_Item_m3FB60C15AD527CD0E73E63C8128B9F231C6DFD0A_RuntimeMethod_var);
|
|
NullCheck(L_555);
|
|
int32_t L_556 = L_555->___helpIndex_1;
|
|
NullCheck(L_552);
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_557;
|
|
L_557 = List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2(L_552, L_556, List_1_get_Item_mAE4C94A7B55D6377556898E26B17980F2E4FF6C2_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_558 = L_557.___p_0;
|
|
float L_559 = L_558.___y_3;
|
|
float L_560;
|
|
L_560 = FLogicMethods_InverseLerpUnclamped_mD4043162E60447A70939EFCC3A3996B2E113FFB2(((float)il2cpp_codegen_add(L_548, L_549)), ((float)il2cpp_codegen_add(L_550, L_551)), L_559, NULL);
|
|
(&V_62)->___y_1 = L_560;
|
|
// uvs.Add(uvVal);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_561 = V_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_562 = V_62;
|
|
NullCheck(L_561);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_561, L_562, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int v = 0; v < vGenPoints.Count; v++)
|
|
int32_t L_563 = V_61;
|
|
V_61 = ((int32_t)il2cpp_codegen_add(L_563, 1));
|
|
}
|
|
|
|
IL_0b53:
|
|
{
|
|
// for (int v = 0; v < vGenPoints.Count; v++)
|
|
int32_t L_564 = V_61;
|
|
List_1_tB7104F3F4DFAE950C681DE0ADF992E99AFF21919* L_565 = V_45;
|
|
NullCheck(L_565);
|
|
int32_t L_566;
|
|
L_566 = List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_inline(L_565, List_1_get_Count_m720B0B48312D368DC6F6750C88A01FABB514A5F2_RuntimeMethod_var);
|
|
if ((((int32_t)L_564) < ((int32_t)L_566)))
|
|
{
|
|
goto IL_0abe;
|
|
}
|
|
}
|
|
|
|
IL_0b61:
|
|
{
|
|
// for (int u = 0; u < uvs.Count; u++)
|
|
V_63 = 0;
|
|
goto IL_0b89;
|
|
}
|
|
|
|
IL_0b66:
|
|
{
|
|
// uvs[u] = Vector2.Scale(uvs[u], UVMul);
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_567 = V_5;
|
|
int32_t L_568 = V_63;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_569 = V_5;
|
|
int32_t L_570 = V_63;
|
|
NullCheck(L_569);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_571;
|
|
L_571 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_569, L_570, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_572 = __this->___UVMul_49;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_573;
|
|
L_573 = Vector2_Scale_m8D61A8D2272549F1EF41256F7E8A206C6500EA6C_inline(L_571, L_572, NULL);
|
|
NullCheck(L_567);
|
|
List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0(L_567, L_568, L_573, List_1_set_Item_m4512A91B4D4ABD38CA845D6E56F471390A4EC2E0_RuntimeMethod_var);
|
|
// for (int u = 0; u < uvs.Count; u++)
|
|
int32_t L_574 = V_63;
|
|
V_63 = ((int32_t)il2cpp_codegen_add(L_574, 1));
|
|
}
|
|
|
|
IL_0b89:
|
|
{
|
|
// for (int u = 0; u < uvs.Count; u++)
|
|
int32_t L_575 = V_63;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_576 = V_5;
|
|
NullCheck(L_576);
|
|
int32_t L_577;
|
|
L_577 = List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_inline(L_576, List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_RuntimeMethod_var);
|
|
if ((((int32_t)L_575) < ((int32_t)L_577)))
|
|
{
|
|
goto IL_0b66;
|
|
}
|
|
}
|
|
|
|
IL_0b94:
|
|
{
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_578 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_578);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_578, NULL);
|
|
V_8 = L_578;
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_579 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_580 = V_4;
|
|
NullCheck(L_579);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_579, L_580, NULL);
|
|
// mesh.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_581 = V_8;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_582 = V_6;
|
|
NullCheck(L_581);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_581, L_582, 0, NULL);
|
|
// mesh.SetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_583 = V_8;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_584 = V_5;
|
|
NullCheck(L_583);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_583, 0, L_584, NULL);
|
|
// mesh.SetColors(vCol);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_585 = V_8;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_586 = V_7;
|
|
NullCheck(L_585);
|
|
Mesh_SetColors_mFAEC82E4387D571C7B5D9E46D0D70D35BEFE76C9(L_585, L_586, NULL);
|
|
// if (hardNormals <= 0f)
|
|
float L_587 = ___4_hardNormals;
|
|
if ((!(((float)L_587) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_0bda;
|
|
}
|
|
}
|
|
{
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_588 = V_8;
|
|
NullCheck(L_588);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_588, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_589 = V_8;
|
|
NullCheck(L_589);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_589, NULL);
|
|
goto IL_0be3;
|
|
}
|
|
|
|
IL_0bda:
|
|
{
|
|
// FMeshUtils.SmoothMeshNormals(mesh, hardNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_590 = V_8;
|
|
float L_591 = ___4_hardNormals;
|
|
FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7(L_590, L_591, NULL);
|
|
}
|
|
|
|
IL_0be3:
|
|
{
|
|
// mesh = FMeshUtils.AdjustOrigin(mesh, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_592 = V_8;
|
|
int32_t L_593 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_594;
|
|
L_594 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_592, L_593, NULL);
|
|
V_8 = L_594;
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_595 = V_8;
|
|
NullCheck(L_595);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_595, NULL);
|
|
// return mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_596 = V_8;
|
|
return L_596;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GenerateCustomMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GenerateCustomMesh_m3B906F72FEEC38F13FC636A060F4EBA326414FAD (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_0 = NULL;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_1 = NULL;
|
|
int32_t V_2 = 0;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_3 = NULL;
|
|
{
|
|
// if (ExtraMesh == EExtraMesh.CustomMesh)
|
|
int32_t L_0 = __this->___ExtraMesh_11;
|
|
if (L_0)
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
}
|
|
{
|
|
// if (CustomMesh == null) return null;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_1 = __this->___CustomMesh_12;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_2;
|
|
L_2 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_1, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// if (CustomMesh == null) return null;
|
|
return (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// Mesh m = GameObject.Instantiate(CustomMesh);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_3 = __this->___CustomMesh_12;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_4;
|
|
L_4 = Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8(L_3, Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var);
|
|
V_0 = L_4;
|
|
// if (_customMeshOverwriteVertexColor)
|
|
bool L_5 = __this->____customMeshOverwriteVertexColor_23;
|
|
if (!L_5)
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// List<Color> cols = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_6 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_6);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_6, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_1 = L_6;
|
|
// for (int c = 0; c < m.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
V_2 = 0;
|
|
goto IL_0046;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// for (int c = 0; c < m.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_7 = V_1;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8 = __this->____customMeshOverwriteVertexColorValues_24;
|
|
NullCheck(L_7);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_7, L_8, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// for (int c = 0; c < m.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
int32_t L_9 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_9, 1));
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// for (int c = 0; c < m.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
int32_t L_10 = V_2;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = Mesh_get_vertexCount_mB7BE0340AAF272933068D830C8E711FC8978E12C(L_11, NULL);
|
|
if ((((int32_t)L_10) < ((int32_t)L_12)))
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
{
|
|
// FMeshUtils.SetColorsUnity2018(m, cols);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_13 = V_0;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_14 = V_1;
|
|
FMeshUtils_SetColorsUnity2018_mE2A24C9C2A9A132F63131766D20A3D88304457C6(L_13, L_14, NULL);
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// if (Origin != EOrigin.Unchanged) FMeshUtils.AdjustOrigin(m, Origin);
|
|
int32_t L_15 = __this->___Origin_47;
|
|
if (!L_15)
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// if (Origin != EOrigin.Unchanged) FMeshUtils.AdjustOrigin(m, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_16 = V_0;
|
|
int32_t L_17 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_18;
|
|
L_18 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_16, L_17, NULL);
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
// return m;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_19 = V_0;
|
|
return L_19;
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// else if (ExtraMesh == EExtraMesh.CableGenerator)
|
|
int32_t L_20 = __this->___ExtraMesh_11;
|
|
if ((!(((uint32_t)L_20) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00c4;
|
|
}
|
|
}
|
|
{
|
|
// Mesh m = TileCableGenerator.GenerateFullCablesMesh(_CablePoints, _CableLoose, _CableHanging, _CableRadius, _CableMeshSettings, _CableTexturingSettings, _CableClonerSettings, _CableRandomizationSettings, null);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21 = __this->____CablePoints_25;
|
|
float L_22 = __this->____CableLoose_27;
|
|
float L_23 = __this->____CableHanging_28;
|
|
float L_24 = __this->____CableRadius_26;
|
|
CableMeshSettings_tB19276D17B9FF00A78C2791C27E4CBCF327F154C* L_25 = __this->____CableMeshSettings_29;
|
|
CableTexturingSettings_t40143602EB31D0B3B1E08CE1BAC3CF47B1E235E5* L_26 = __this->____CableTexturingSettings_30;
|
|
CableClonerSettings_t12887EB8BC643E70D70B721ED347D9B5D8A3250D* L_27 = __this->____CableClonerSettings_31;
|
|
CableRandomizationSettings_t7A0E7E865CBD7D9E0811CA9D31BEFB141F360052* L_28 = __this->____CableRandomizationSettings_32;
|
|
il2cpp_codegen_runtime_class_init_inline(TileCableGenerator_tD85F32C71649A28E6E4AD1E62C159D27798BE969_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_29;
|
|
L_29 = TileCableGenerator_GenerateFullCablesMesh_m4C4AA3995CB728B0E5D5F8D05DD065344BD4311E(L_21, L_22, L_23, L_24, L_25, L_26, L_27, L_28, (CableAttachementSettings_t220CE79D7CBA4FD0523CE399715C09A5805CB89E*)NULL, NULL);
|
|
V_3 = L_29;
|
|
// if (Origin != EOrigin.Unchanged) FMeshUtils.AdjustOrigin(m, Origin);
|
|
int32_t L_30 = __this->___Origin_47;
|
|
if (!L_30)
|
|
{
|
|
goto IL_00c2;
|
|
}
|
|
}
|
|
{
|
|
// if (Origin != EOrigin.Unchanged) FMeshUtils.AdjustOrigin(m, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_31 = V_3;
|
|
int32_t L_32 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_33;
|
|
L_33 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_31, L_32, NULL);
|
|
}
|
|
|
|
IL_00c2:
|
|
{
|
|
// return m;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_34 = V_3;
|
|
return L_34;
|
|
}
|
|
|
|
IL_00c4:
|
|
{
|
|
// return null;
|
|
return (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)NULL;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::GeneratePrimitiveMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_GeneratePrimitiveMesh_m4E17FE2713E593EA59CDDE52B4E7BC7B8EB49467 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_0 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_1 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_2 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_3 = NULL;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_12;
|
|
memset((&V_12), 0, sizeof(V_12));
|
|
int32_t V_13 = 0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_14 = NULL;
|
|
int32_t V_15 = 0;
|
|
{
|
|
// List<Vector3> verts = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_0 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_0, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// List<Vector3> normals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_1 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_1, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_1 = L_1;
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_2 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_2, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_2 = L_2;
|
|
// List<int> tris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_3 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_3, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_3 = L_3;
|
|
// if (_primitive_Type == EPrimitiveType.Cube)
|
|
int32_t L_4 = __this->____primitive_Type_58;
|
|
if (L_4)
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
{
|
|
// _Primitive_Cube_ClampParams();
|
|
TileMeshSetup__Primitive_Cube_ClampParams_mC02400E9108B94968F572F48796CB9D30AA1C992(__this, NULL);
|
|
// CubeGenerator cube = new CubeGenerator();
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_5 = (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D*)il2cpp_codegen_object_new(CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
CubeGenerator__ctor_m0359C8BCF422DCC9BD650DAA781C7774D943AAFE(L_5, NULL);
|
|
// cube.Scale = _primitive_scale;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_6 = L_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = __this->____primitive_scale_59;
|
|
NullCheck(L_6);
|
|
L_6->___Scale_0 = L_7;
|
|
// cube.Subdivisions = _primitive_plane_subdivs;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_8 = L_6;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9 = __this->____primitive_plane_subdivs_68;
|
|
NullCheck(L_8);
|
|
L_8->___Subdivisions_1 = L_9;
|
|
// cube.BevelSize = _primitive_cube_bevel;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_10 = L_8;
|
|
float L_11 = __this->____primitive_cube_bevel_66;
|
|
NullCheck(L_10);
|
|
L_10->___BevelSize_2 = L_11;
|
|
// cube.BevelSubdivs = _primitive_cube_bevelSubdivs;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_12 = L_10;
|
|
int32_t L_13 = __this->____primitive_cube_bevelSubdivs_67;
|
|
NullCheck(L_12);
|
|
L_12->___BevelSubdivs_3 = L_13;
|
|
// cube.FaceTop = _primitive_cube_topFace;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_14 = L_12;
|
|
bool L_15 = __this->____primitive_cube_topFace_60;
|
|
NullCheck(L_14);
|
|
L_14->___FaceTop_6 = L_15;
|
|
// cube.FaceBottom = _primitive_cube_bottomFace;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_16 = L_14;
|
|
bool L_17 = __this->____primitive_cube_bottomFace_61;
|
|
NullCheck(L_16);
|
|
L_16->___FaceBottom_7 = L_17;
|
|
// cube.FaceLeft = _primitive_cube_leftFace;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_18 = L_16;
|
|
bool L_19 = __this->____primitive_cube_leftFace_62;
|
|
NullCheck(L_18);
|
|
L_18->___FaceLeft_8 = L_19;
|
|
// cube.FaceRight = _primitive_cube_rightFace;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_20 = L_18;
|
|
bool L_21 = __this->____primitive_cube_rightFace_63;
|
|
NullCheck(L_20);
|
|
L_20->___FaceRight_9 = L_21;
|
|
// cube.FaceFront = _primitive_cube_frontFace;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_22 = L_20;
|
|
bool L_23 = __this->____primitive_cube_frontFace_64;
|
|
NullCheck(L_22);
|
|
L_22->___FaceFront_4 = L_23;
|
|
// cube.FaceBack = _primitive_cube_backFace;
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_24 = L_22;
|
|
bool L_25 = __this->____primitive_cube_backFace_65;
|
|
NullCheck(L_24);
|
|
L_24->___FaceBack_5 = L_25;
|
|
// Mesh cubeMesh = cube.GenerateMesh();
|
|
NullCheck(L_24);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_26;
|
|
L_26 = CubeGenerator_GenerateMesh_m795BC385D3D205D3801922E1CD904C592E50ED31(L_24, NULL);
|
|
// cubeMesh.GetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_27 = L_26;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_28 = V_0;
|
|
NullCheck(L_27);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_27, L_28, NULL);
|
|
// cubeMesh.GetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_29 = L_27;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_30 = V_1;
|
|
NullCheck(L_29);
|
|
Mesh_GetNormals_m6D4E3261EDC58B487E7F77C1C164495A42D41314(L_29, L_30, NULL);
|
|
// cubeMesh.GetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_31 = L_29;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_32 = V_2;
|
|
NullCheck(L_31);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_31, 0, L_32, NULL);
|
|
// cubeMesh.GetTriangles(tris, 0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_33 = V_3;
|
|
NullCheck(L_31);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_31, L_33, 0, NULL);
|
|
goto IL_01a2;
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// else if (_primitive_Type == EPrimitiveType.Plane)
|
|
int32_t L_34 = __this->____primitive_Type_58;
|
|
if ((!(((uint32_t)L_34) == ((uint32_t)1))))
|
|
{
|
|
goto IL_011e;
|
|
}
|
|
}
|
|
{
|
|
// _Primitive_Plane_ClampParams();
|
|
TileMeshSetup__Primitive_Plane_ClampParams_mEB19E7F2EE51820FA74FAFDDFB4679A4F803067A(__this, NULL);
|
|
// Mesh plane = _GeneratePlane(_primitive_plane_subdivs.x, _primitive_plane_subdivs.y, Vector2.one);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_35 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_36;
|
|
L_36 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_35, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_37 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_38;
|
|
L_38 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_37, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_39;
|
|
L_39 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_40;
|
|
L_40 = TileMeshSetup__GeneratePlane_m9F63C437B93BE04AA79C3488545912318D647E32(L_36, L_38, L_39, NULL);
|
|
// plane.GetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_41 = L_40;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_42 = V_0;
|
|
NullCheck(L_41);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_41, L_42, NULL);
|
|
// plane.GetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_43 = L_41;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_44 = V_1;
|
|
NullCheck(L_43);
|
|
Mesh_GetNormals_m6D4E3261EDC58B487E7F77C1C164495A42D41314(L_43, L_44, NULL);
|
|
// plane.GetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_45 = L_43;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_46 = V_2;
|
|
NullCheck(L_45);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_45, 0, L_46, NULL);
|
|
// plane.GetTriangles(tris, 0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_47 = V_3;
|
|
NullCheck(L_45);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_45, L_47, 0, NULL);
|
|
goto IL_01a2;
|
|
}
|
|
|
|
IL_011e:
|
|
{
|
|
// else if (_primitive_Type == EPrimitiveType.Sphere)
|
|
int32_t L_48 = __this->____primitive_Type_58;
|
|
if ((!(((uint32_t)L_48) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0161;
|
|
}
|
|
}
|
|
{
|
|
// GameObject obj = GameObject.CreatePrimitive(PrimitiveType.Sphere);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_49;
|
|
L_49 = GameObject_CreatePrimitive_m13C0A691E679A83DD595913200A1DD9A906EB47B(0, NULL);
|
|
// Mesh sphere = GameObject.Instantiate(obj.GetComponent<MeshFilter>().sharedMesh);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_50 = L_49;
|
|
NullCheck(L_50);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_51;
|
|
L_51 = GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8(L_50, GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8_RuntimeMethod_var);
|
|
NullCheck(L_51);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_52;
|
|
L_52 = MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C(L_51, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_53;
|
|
L_53 = Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8(L_52, Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var);
|
|
// sphere.GetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_54 = L_53;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_55 = V_0;
|
|
NullCheck(L_54);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_54, L_55, NULL);
|
|
// sphere.GetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_56 = L_54;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_57 = V_1;
|
|
NullCheck(L_56);
|
|
Mesh_GetNormals_m6D4E3261EDC58B487E7F77C1C164495A42D41314(L_56, L_57, NULL);
|
|
// sphere.GetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_58 = L_56;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_59 = V_2;
|
|
NullCheck(L_58);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_58, 0, L_59, NULL);
|
|
// sphere.GetTriangles(tris, 0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_60 = V_3;
|
|
NullCheck(L_58);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_58, L_60, 0, NULL);
|
|
// FGenerators.DestroyObject(obj);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
FGenerators_DestroyObject_m3699B112A4B96F9EF3DE5CF06659B3127816B76C(L_50, NULL);
|
|
goto IL_01a2;
|
|
}
|
|
|
|
IL_0161:
|
|
{
|
|
// else if (_primitive_Type == EPrimitiveType.Cylinder)
|
|
int32_t L_61 = __this->____primitive_Type_58;
|
|
if ((!(((uint32_t)L_61) == ((uint32_t)3))))
|
|
{
|
|
goto IL_01a2;
|
|
}
|
|
}
|
|
{
|
|
// GameObject obj = GameObject.CreatePrimitive(PrimitiveType.Cylinder);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_62;
|
|
L_62 = GameObject_CreatePrimitive_m13C0A691E679A83DD595913200A1DD9A906EB47B(2, NULL);
|
|
// Mesh cylinder = GameObject.Instantiate(obj.GetComponent<MeshFilter>().sharedMesh);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_63 = L_62;
|
|
NullCheck(L_63);
|
|
MeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5* L_64;
|
|
L_64 = GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8(L_63, GameObject_GetComponent_TisMeshFilter_t6D1CE2473A1E45AC73013400585A1163BF66B2F5_mDF6525BCE37B444313BE0AA2305BDF4EB8B92FE8_RuntimeMethod_var);
|
|
NullCheck(L_64);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_65;
|
|
L_65 = MeshFilter_get_sharedMesh_mE4ED3E7E31C1DE5097E4980DA996E620F7D7CB8C(L_64, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_66;
|
|
L_66 = Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8(L_65, Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var);
|
|
// cylinder.GetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_67 = L_66;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_68 = V_0;
|
|
NullCheck(L_67);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_67, L_68, NULL);
|
|
// cylinder.GetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_69 = L_67;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_70 = V_1;
|
|
NullCheck(L_69);
|
|
Mesh_GetNormals_m6D4E3261EDC58B487E7F77C1C164495A42D41314(L_69, L_70, NULL);
|
|
// cylinder.GetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_71 = L_69;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_72 = V_2;
|
|
NullCheck(L_71);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_71, 0, L_72, NULL);
|
|
// cylinder.GetTriangles(tris, 0);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_73 = V_3;
|
|
NullCheck(L_71);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_71, L_73, 0, NULL);
|
|
// FGenerators.DestroyObject(obj);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
FGenerators_DestroyObject_m3699B112A4B96F9EF3DE5CF06659B3127816B76C(L_63, NULL);
|
|
}
|
|
|
|
IL_01a2:
|
|
{
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_74 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_74);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_74, NULL);
|
|
V_4 = L_74;
|
|
// if (_primitive_Type != EPrimitiveType.Cube)
|
|
int32_t L_75 = __this->____primitive_Type_58;
|
|
if (!L_75)
|
|
{
|
|
goto IL_01f3;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_scale != Vector3.one)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = __this->____primitive_scale_59;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
bool L_78;
|
|
L_78 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_76, L_77, NULL);
|
|
if (!L_78)
|
|
{
|
|
goto IL_01f3;
|
|
}
|
|
}
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
V_5 = 0;
|
|
goto IL_01e9;
|
|
}
|
|
|
|
IL_01c8:
|
|
{
|
|
// verts[v] = Vector3.Scale(verts[v], _primitive_scale);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_79 = V_0;
|
|
int32_t L_80 = V_5;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_81 = V_0;
|
|
int32_t L_82 = V_5;
|
|
NullCheck(L_81);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
|
|
L_83 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_81, L_82, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = __this->____primitive_scale_59;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_83, L_84, NULL);
|
|
NullCheck(L_79);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_79, L_80, L_85, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_86 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_86, 1));
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_87 = V_5;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_88 = V_0;
|
|
NullCheck(L_88);
|
|
int32_t L_89;
|
|
L_89 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_88, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_87) < ((int32_t)L_89)))
|
|
{
|
|
goto IL_01c8;
|
|
}
|
|
}
|
|
|
|
IL_01f3:
|
|
{
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_90 = V_4;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_91 = V_0;
|
|
NullCheck(L_90);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_90, L_91, NULL);
|
|
// mesh.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_92 = V_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_93 = V_3;
|
|
NullCheck(L_92);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_92, L_93, 0, NULL);
|
|
// mesh.SetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_94 = V_4;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_95 = V_2;
|
|
NullCheck(L_94);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_94, 0, L_95, NULL);
|
|
// if (NormalsMode == ENormalsMode.NormalsAsSubdivView)
|
|
int32_t L_96 = __this->___NormalsMode_50;
|
|
if (L_96)
|
|
{
|
|
goto IL_021f;
|
|
}
|
|
}
|
|
{
|
|
// mesh.SetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_97 = V_4;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_98 = V_1;
|
|
NullCheck(L_97);
|
|
Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365(L_97, L_98, NULL);
|
|
goto IL_0249;
|
|
}
|
|
|
|
IL_021f:
|
|
{
|
|
// if (HardNormals <= 0f)
|
|
float L_99 = __this->___HardNormals_51;
|
|
if ((!(((float)L_99) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_023c;
|
|
}
|
|
}
|
|
{
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_100 = V_4;
|
|
NullCheck(L_100);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_100, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_101 = V_4;
|
|
NullCheck(L_101);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_101, NULL);
|
|
goto IL_0249;
|
|
}
|
|
|
|
IL_023c:
|
|
{
|
|
// FMeshUtils.SmoothMeshNormals(mesh, HardNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_102 = V_4;
|
|
float L_103 = __this->___HardNormals_51;
|
|
FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7(L_102, L_103, NULL);
|
|
}
|
|
|
|
IL_0249:
|
|
{
|
|
// if (_customMeshOverwriteVertexColor)
|
|
bool L_104 = __this->____customMeshOverwriteVertexColor_23;
|
|
if (!L_104)
|
|
{
|
|
goto IL_0284;
|
|
}
|
|
}
|
|
{
|
|
// List<Color> cols = new List<Color>();
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_105 = (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*)il2cpp_codegen_object_new(List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF_il2cpp_TypeInfo_var);
|
|
NullCheck(L_105);
|
|
List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D(L_105, List_1__ctor_mE1298EFE02E4CF09A9513D04C6D0FE12C4A5A96D_RuntimeMethod_var);
|
|
V_6 = L_105;
|
|
// for (int c = 0; c < mesh.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
V_7 = 0;
|
|
goto IL_0270;
|
|
}
|
|
|
|
IL_025d:
|
|
{
|
|
// for (int c = 0; c < mesh.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_106 = V_6;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_107 = __this->____customMeshOverwriteVertexColorValues_24;
|
|
NullCheck(L_106);
|
|
List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_inline(L_106, L_107, List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_RuntimeMethod_var);
|
|
// for (int c = 0; c < mesh.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
int32_t L_108 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_108, 1));
|
|
}
|
|
|
|
IL_0270:
|
|
{
|
|
// for (int c = 0; c < mesh.vertexCount; c++) cols.Add(_customMeshOverwriteVertexColorValues);
|
|
int32_t L_109 = V_7;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_110 = V_4;
|
|
NullCheck(L_110);
|
|
int32_t L_111;
|
|
L_111 = Mesh_get_vertexCount_mB7BE0340AAF272933068D830C8E711FC8978E12C(L_110, NULL);
|
|
if ((((int32_t)L_109) < ((int32_t)L_111)))
|
|
{
|
|
goto IL_025d;
|
|
}
|
|
}
|
|
{
|
|
// FMeshUtils.SetColorsUnity2018(mesh, cols);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_112 = V_4;
|
|
List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* L_113 = V_6;
|
|
FMeshUtils_SetColorsUnity2018_mE2A24C9C2A9A132F63131766D20A3D88304457C6(L_112, L_113, NULL);
|
|
}
|
|
|
|
IL_0284:
|
|
{
|
|
// if (_tryWeldVertices) // Adjustable subdivs cube
|
|
bool L_114 = __this->____tryWeldVertices_19;
|
|
if (!L_114)
|
|
{
|
|
goto IL_02ed;
|
|
}
|
|
}
|
|
{
|
|
// if (_tryWeldVerticesV2)
|
|
bool L_115 = __this->____tryWeldVerticesV2_20;
|
|
if (!L_115)
|
|
{
|
|
goto IL_02be;
|
|
}
|
|
}
|
|
{
|
|
// mesh = FMeshUtils.Weld2(mesh, mesh.bounds.max.magnitude * 0.01f);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_116 = V_4;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_117 = V_4;
|
|
NullCheck(L_117);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_118;
|
|
L_118 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_117, NULL);
|
|
V_8 = L_118;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
|
|
L_119 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_8), NULL);
|
|
V_9 = L_119;
|
|
float L_120;
|
|
L_120 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_9), NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_121;
|
|
L_121 = FMeshUtils_Weld2_m8359116D68B96A169B5EE8B5103A43FE76738805(L_116, ((float)il2cpp_codegen_multiply(L_120, (0.00999999978f))), NULL);
|
|
V_4 = L_121;
|
|
goto IL_02e6;
|
|
}
|
|
|
|
IL_02be:
|
|
{
|
|
// mesh = FMeshUtils.Weld(mesh, mesh.bounds.max.magnitude * 0.01f);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_122 = V_4;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_123 = V_4;
|
|
NullCheck(L_123);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_124;
|
|
L_124 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_123, NULL);
|
|
V_8 = L_124;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125;
|
|
L_125 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09((&V_8), NULL);
|
|
V_9 = L_125;
|
|
float L_126;
|
|
L_126 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_9), NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_127;
|
|
L_127 = FMeshUtils_Weld_m6C3656FC51D060D5C80EBB0203BCA7DBF870FD8A(L_122, ((float)il2cpp_codegen_multiply(L_126, (0.00999999978f))), NULL);
|
|
V_4 = L_127;
|
|
}
|
|
|
|
IL_02e6:
|
|
{
|
|
// mesh.Optimize();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_128 = V_4;
|
|
NullCheck(L_128);
|
|
Mesh_Optimize_m9BEEA08D34B1E99B712B862F540C8B0B9E6505E6(L_128, NULL);
|
|
}
|
|
|
|
IL_02ed:
|
|
{
|
|
// mesh.GetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_129 = V_4;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_130 = V_0;
|
|
NullCheck(L_129);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_129, L_130, NULL);
|
|
// if (_randomizeVerticesOffset != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131 = __this->____randomizeVerticesOffset_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
|
|
L_132 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_133;
|
|
L_133 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_131, L_132, NULL);
|
|
if (!L_133)
|
|
{
|
|
goto IL_0474;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 rand = new Vector2(FGenerators.GetRandom(0f, 1000f), FGenerators.GetRandom(0f, 1000f));
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_134;
|
|
L_134 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441((0.0f), (1000.0f), NULL);
|
|
float L_135;
|
|
L_135 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441((0.0f), (1000.0f), NULL);
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_10), L_134, L_135, NULL);
|
|
// Vector2 rand2 = new Vector2(FGenerators.GetRandom(0f, 1000f), FGenerators.GetRandom(0f, 1000f));
|
|
float L_136;
|
|
L_136 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441((0.0f), (1000.0f), NULL);
|
|
float L_137;
|
|
L_137 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441((0.0f), (1000.0f), NULL);
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_11), L_136, L_137, NULL);
|
|
// Vector2 rand3 = new Vector2(FGenerators.GetRandom(0f, 1000f), FGenerators.GetRandom(0f, 1000f));
|
|
float L_138;
|
|
L_138 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441((0.0f), (1000.0f), NULL);
|
|
float L_139;
|
|
L_139 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441((0.0f), (1000.0f), NULL);
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_12), L_138, L_139, NULL);
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
V_13 = 0;
|
|
goto IL_0467;
|
|
}
|
|
|
|
IL_0381:
|
|
{
|
|
// verts[v] += new Vector3
|
|
// (
|
|
// Mathf.PerlinNoise((rand.x + v) * _randomizeVerticesNoiseScale.x,
|
|
// (rand.y + v) * _randomizeVerticesNoiseScale.y) * _randomizeVerticesOffset.x,
|
|
//
|
|
// Mathf.PerlinNoise((rand2.x + v) * _randomizeVerticesNoiseScale.y,
|
|
// (rand2.y + v) * _randomizeVerticesNoiseScale.y) * _randomizeVerticesOffset.y,
|
|
//
|
|
// Mathf.PerlinNoise((rand3.x + v) * _randomizeVerticesNoiseScale.x,
|
|
// (rand3.y + v) * _randomizeVerticesNoiseScale.y) * _randomizeVerticesOffset.z
|
|
// );
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_140 = V_0;
|
|
V_14 = L_140;
|
|
int32_t L_141 = V_13;
|
|
V_15 = L_141;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_142 = V_14;
|
|
int32_t L_143 = V_15;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_144 = V_14;
|
|
int32_t L_145 = V_15;
|
|
NullCheck(L_144);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146;
|
|
L_146 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_144, L_145, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_147 = V_10;
|
|
float L_148 = L_147.___x_0;
|
|
int32_t L_149 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_150 = (&__this->____randomizeVerticesNoiseScale_22);
|
|
float L_151 = L_150->___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_152 = V_10;
|
|
float L_153 = L_152.___y_1;
|
|
int32_t L_154 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_155 = (&__this->____randomizeVerticesNoiseScale_22);
|
|
float L_156 = L_155->___y_1;
|
|
float L_157;
|
|
L_157 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_148, ((float)L_149))), L_151)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_153, ((float)L_154))), L_156)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_158 = (&__this->____randomizeVerticesOffset_21);
|
|
float L_159 = L_158->___x_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_160 = V_11;
|
|
float L_161 = L_160.___x_0;
|
|
int32_t L_162 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_163 = (&__this->____randomizeVerticesNoiseScale_22);
|
|
float L_164 = L_163->___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_165 = V_11;
|
|
float L_166 = L_165.___y_1;
|
|
int32_t L_167 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_168 = (&__this->____randomizeVerticesNoiseScale_22);
|
|
float L_169 = L_168->___y_1;
|
|
float L_170;
|
|
L_170 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_161, ((float)L_162))), L_164)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_166, ((float)L_167))), L_169)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_171 = (&__this->____randomizeVerticesOffset_21);
|
|
float L_172 = L_171->___y_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_173 = V_12;
|
|
float L_174 = L_173.___x_0;
|
|
int32_t L_175 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_176 = (&__this->____randomizeVerticesNoiseScale_22);
|
|
float L_177 = L_176->___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_178 = V_12;
|
|
float L_179 = L_178.___y_1;
|
|
int32_t L_180 = V_13;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_181 = (&__this->____randomizeVerticesNoiseScale_22);
|
|
float L_182 = L_181->___y_1;
|
|
float L_183;
|
|
L_183 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_174, ((float)L_175))), L_177)), ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add(L_179, ((float)L_180))), L_182)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_184 = (&__this->____randomizeVerticesOffset_21);
|
|
float L_185 = L_184->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_186;
|
|
memset((&L_186), 0, sizeof(L_186));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_186), ((float)il2cpp_codegen_multiply(L_157, L_159)), ((float)il2cpp_codegen_multiply(L_170, L_172)), ((float)il2cpp_codegen_multiply(L_183, L_185)), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_187;
|
|
L_187 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_146, L_186, NULL);
|
|
NullCheck(L_142);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_142, L_143, L_187, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_188 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_188, 1));
|
|
}
|
|
|
|
IL_0467:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_189 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_190 = V_0;
|
|
NullCheck(L_190);
|
|
int32_t L_191;
|
|
L_191 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_190, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_189) < ((int32_t)L_191)))
|
|
{
|
|
goto IL_0381;
|
|
}
|
|
}
|
|
|
|
IL_0474:
|
|
{
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_192 = V_4;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_193 = V_0;
|
|
NullCheck(L_192);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_192, L_193, NULL);
|
|
// if (NormalsMode != ENormalsMode.NormalsAsSubdivView)
|
|
int32_t L_194 = __this->___NormalsMode_50;
|
|
if (!L_194)
|
|
{
|
|
goto IL_04ae;
|
|
}
|
|
}
|
|
{
|
|
// if (HardNormals <= 0f)
|
|
float L_195 = __this->___HardNormals_51;
|
|
if ((!(((float)L_195) <= ((float)(0.0f)))))
|
|
{
|
|
goto IL_04a1;
|
|
}
|
|
}
|
|
{
|
|
// mesh.RecalculateNormals();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_196 = V_4;
|
|
NullCheck(L_196);
|
|
Mesh_RecalculateNormals_m3AA2788914611444E030CA310E03E3CFE683902B(L_196, NULL);
|
|
// mesh.RecalculateTangents();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_197 = V_4;
|
|
NullCheck(L_197);
|
|
Mesh_RecalculateTangents_m92AC413FAF889C5E811D86DCE0C25ED4625825EC(L_197, NULL);
|
|
goto IL_04ae;
|
|
}
|
|
|
|
IL_04a1:
|
|
{
|
|
// FMeshUtils.SmoothMeshNormals(mesh, HardNormals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_198 = V_4;
|
|
float L_199 = __this->___HardNormals_51;
|
|
FMeshUtils_SmoothMeshNormals_m8539B641F062DB6CA398004B31D033AB89E6D4C7(L_198, L_199, NULL);
|
|
}
|
|
|
|
IL_04ae:
|
|
{
|
|
// mesh = FMeshUtils.AdjustOrigin(mesh, Origin);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_200 = V_4;
|
|
int32_t L_201 = __this->___Origin_47;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_202;
|
|
L_202 = FMeshUtils_AdjustOrigin_mF408BECACE1BE782CAF945940DF66948FA056B47(L_200, L_201, NULL);
|
|
V_4 = L_202;
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_203 = V_4;
|
|
NullCheck(L_203);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_203, NULL);
|
|
// return mesh;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_204 = V_4;
|
|
return L_204;
|
|
}
|
|
}
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup::_GeneratePlane(System.Int32,System.Int32,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup__GeneratePlane_m9F63C437B93BE04AA79C3488545912318D647E32 (int32_t ___0_xSub, int32_t ___1_ySub, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___2_size, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_0 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_1 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_2 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
int32_t V_5 = 0;
|
|
float V_6 = 0.0f;
|
|
float V_7 = 0.0f;
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
int32_t V_10 = 0;
|
|
int32_t V_11 = 0;
|
|
int32_t V_12 = 0;
|
|
{
|
|
// if (xSub <= 0) xSub = 1;
|
|
int32_t L_0 = ___0_xSub;
|
|
if ((((int32_t)L_0) > ((int32_t)0)))
|
|
{
|
|
goto IL_0007;
|
|
}
|
|
}
|
|
{
|
|
// if (xSub <= 0) xSub = 1;
|
|
___0_xSub = 1;
|
|
}
|
|
|
|
IL_0007:
|
|
{
|
|
// if (ySub <= 0) ySub = 1;
|
|
int32_t L_1 = ___1_ySub;
|
|
if ((((int32_t)L_1) > ((int32_t)0)))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (ySub <= 0) ySub = 1;
|
|
___1_ySub = 1;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// List<Vector3> vertices = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_2 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_2, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_0 = L_2;
|
|
// List<Vector3> normals = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_3 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_3);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_3, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_1 = L_3;
|
|
// List<Vector2> uvs = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_4 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_4, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_2 = L_4;
|
|
// ySub += 1;
|
|
int32_t L_5 = ___1_ySub;
|
|
___1_ySub = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
// xSub += 1;
|
|
int32_t L_6 = ___0_xSub;
|
|
___0_xSub = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
// for (int y = 0; y < ySub; y++)
|
|
V_4 = 0;
|
|
goto IL_00a9;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// for (int x = 0; x < xSub; x++)
|
|
V_5 = 0;
|
|
goto IL_009e;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// float tx = (float)x / (float)(xSub - 1);
|
|
int32_t L_7 = V_5;
|
|
int32_t L_8 = ___0_xSub;
|
|
V_6 = ((float)(((float)L_7)/((float)((int32_t)il2cpp_codegen_subtract(L_8, 1)))));
|
|
// float ty = (float)y / (float)(ySub - 1);
|
|
int32_t L_9 = V_4;
|
|
int32_t L_10 = ___1_ySub;
|
|
V_7 = ((float)(((float)L_9)/((float)((int32_t)il2cpp_codegen_subtract(L_10, 1)))));
|
|
// float pX = (-0.5f + tx) * size.x;
|
|
float L_11 = V_6;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = ___2_size;
|
|
float L_13 = L_12.___x_0;
|
|
V_8 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add((-0.5f), L_11)), L_13));
|
|
// float pZ = (-0.5f + ty) * size.y;
|
|
float L_14 = V_7;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = ___2_size;
|
|
float L_16 = L_15.___y_1;
|
|
V_9 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_add((-0.5f), L_14)), L_16));
|
|
// vertices.Add(new Vector3(pX, 0, pZ));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_17 = V_0;
|
|
float L_18 = V_8;
|
|
float L_19 = V_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
memset((&L_20), 0, sizeof(L_20));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_20), L_18, (0.0f), L_19, /*hidden argument*/NULL);
|
|
NullCheck(L_17);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_17, L_20, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// normals.Add(Vector3.up);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_21 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
NullCheck(L_21);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_21, L_22, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// uvs.Add(new Vector2(tx, ty));
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_23 = V_2;
|
|
float L_24 = V_6;
|
|
float L_25 = V_7;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_26;
|
|
memset((&L_26), 0, sizeof(L_26));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_26), L_24, L_25, /*hidden argument*/NULL);
|
|
NullCheck(L_23);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_23, L_26, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int x = 0; x < xSub; x++)
|
|
int32_t L_27 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_27, 1));
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
// for (int x = 0; x < xSub; x++)
|
|
int32_t L_28 = V_5;
|
|
int32_t L_29 = ___0_xSub;
|
|
if ((((int32_t)L_28) < ((int32_t)L_29)))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// for (int y = 0; y < ySub; y++)
|
|
int32_t L_30 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_00a9:
|
|
{
|
|
// for (int y = 0; y < ySub; y++)
|
|
int32_t L_31 = V_4;
|
|
int32_t L_32 = ___1_ySub;
|
|
if ((((int32_t)L_31) < ((int32_t)L_32)))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// List<int> tris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_33 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_33);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_33, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_3 = L_33;
|
|
// for (int y = 0; y < (ySub - 1); y++)
|
|
V_10 = 0;
|
|
goto IL_0116;
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// for (int x = 0; x < (xSub - 1); x++)
|
|
V_11 = 0;
|
|
goto IL_0109;
|
|
}
|
|
|
|
IL_00be:
|
|
{
|
|
// int quad = y * xSub + x;
|
|
int32_t L_34 = V_10;
|
|
int32_t L_35 = ___0_xSub;
|
|
int32_t L_36 = V_11;
|
|
V_12 = ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_multiply(L_34, L_35)), L_36));
|
|
// tris.Add(quad);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_37 = V_3;
|
|
int32_t L_38 = V_12;
|
|
NullCheck(L_37);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_37, L_38, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(quad + xSub);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = V_3;
|
|
int32_t L_40 = V_12;
|
|
int32_t L_41 = ___0_xSub;
|
|
NullCheck(L_39);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_39, ((int32_t)il2cpp_codegen_add(L_40, L_41)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(quad + xSub + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_42 = V_3;
|
|
int32_t L_43 = V_12;
|
|
int32_t L_44 = ___0_xSub;
|
|
NullCheck(L_42);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_42, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_43, L_44)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(quad);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_45 = V_3;
|
|
int32_t L_46 = V_12;
|
|
NullCheck(L_45);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_45, L_46, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(quad + xSub + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_47 = V_3;
|
|
int32_t L_48 = V_12;
|
|
int32_t L_49 = ___0_xSub;
|
|
NullCheck(L_47);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_47, ((int32_t)il2cpp_codegen_add(((int32_t)il2cpp_codegen_add(L_48, L_49)), 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(quad + 1);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_50 = V_3;
|
|
int32_t L_51 = V_12;
|
|
NullCheck(L_50);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_50, ((int32_t)il2cpp_codegen_add(L_51, 1)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int x = 0; x < (xSub - 1); x++)
|
|
int32_t L_52 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_52, 1));
|
|
}
|
|
|
|
IL_0109:
|
|
{
|
|
// for (int x = 0; x < (xSub - 1); x++)
|
|
int32_t L_53 = V_11;
|
|
int32_t L_54 = ___0_xSub;
|
|
if ((((int32_t)L_53) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_54, 1)))))
|
|
{
|
|
goto IL_00be;
|
|
}
|
|
}
|
|
{
|
|
// for (int y = 0; y < (ySub - 1); y++)
|
|
int32_t L_55 = V_10;
|
|
V_10 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_0116:
|
|
{
|
|
// for (int y = 0; y < (ySub - 1); y++)
|
|
int32_t L_56 = V_10;
|
|
int32_t L_57 = ___1_ySub;
|
|
if ((((int32_t)L_56) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_57, 1)))))
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// var mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_58 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_58);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_58, NULL);
|
|
// mesh.vertices = vertices.ToArray();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_59 = L_58;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_60 = V_0;
|
|
NullCheck(L_60);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_61;
|
|
L_61 = List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3(L_60, List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
|
|
NullCheck(L_59);
|
|
Mesh_set_vertices_m5BB814D89E9ACA00DBF19F7D8E22CB73AC73FE5C(L_59, L_61, NULL);
|
|
// mesh.triangles = tris.ToArray();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_62 = L_59;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_63 = V_3;
|
|
NullCheck(L_63);
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_64;
|
|
L_64 = List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA(L_63, List_1_ToArray_m65479FB75A5FE539EA1A0D6681172717D23CEAAA_RuntimeMethod_var);
|
|
NullCheck(L_62);
|
|
Mesh_set_triangles_m124405320579A8D92711BB5A124644963A26F60B(L_62, L_64, NULL);
|
|
// mesh.uv = uvs.ToArray();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_65 = L_62;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_66 = V_2;
|
|
NullCheck(L_66);
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_67;
|
|
L_67 = List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5(L_66, List_1_ToArray_m9F2A058632994B7A2310424880C089F9DE5B1BA5_RuntimeMethod_var);
|
|
NullCheck(L_65);
|
|
Mesh_set_uv_m6ED9C50E0DA8166DD48AC40FD6C828B9AD2E9617(L_65, L_67, NULL);
|
|
// mesh.normals = normals.ToArray();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_68 = L_65;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_69 = V_1;
|
|
NullCheck(L_69);
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_70;
|
|
L_70 = List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3(L_69, List_1_ToArray_mF7A66D08104196EBAE0E29F0DD9BA140656EA5F3_RuntimeMethod_var);
|
|
NullCheck(L_68);
|
|
Mesh_set_normals_m85D73193C49211BE9FA135FF72D5749B16A4760B(L_68, L_70, NULL);
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_71 = L_68;
|
|
NullCheck(L_71);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_71, NULL);
|
|
// return mesh;
|
|
return L_71;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::_Primitive_Plane_ClampParams()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup__Primitive_Plane_ClampParams_mEB19E7F2EE51820FA74FAFDDFB4679A4F803067A (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (_primitive_plane_subdivs.x < 0) _primitive_plane_subdivs.x = 1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_0 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_1;
|
|
L_1 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_0, NULL);
|
|
if ((((int32_t)L_1) >= ((int32_t)0)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_plane_subdivs.x < 0) _primitive_plane_subdivs.x = 1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_2 = (&__this->____primitive_plane_subdivs_68);
|
|
Vector3Int_set_x_m8745C5976D035EBBAC6F6191B5838D58631D8685_inline(L_2, 1, NULL);
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (_primitive_plane_subdivs.x > 250) _primitive_plane_subdivs.x = 250;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_3 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_4;
|
|
L_4 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_3, NULL);
|
|
if ((((int32_t)L_4) <= ((int32_t)((int32_t)250))))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_plane_subdivs.x > 250) _primitive_plane_subdivs.x = 250;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_5 = (&__this->____primitive_plane_subdivs_68);
|
|
Vector3Int_set_x_m8745C5976D035EBBAC6F6191B5838D58631D8685_inline(L_5, ((int32_t)250), NULL);
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// if (_primitive_plane_subdivs.y < 0) _primitive_plane_subdivs.y = 1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_6 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_7;
|
|
L_7 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_6, NULL);
|
|
if ((((int32_t)L_7) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_plane_subdivs.y < 0) _primitive_plane_subdivs.y = 1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_8 = (&__this->____primitive_plane_subdivs_68);
|
|
Vector3Int_set_y_mA856F32D1BF187BD4091DDF3C6872FD01F7D3377_inline(L_8, 1, NULL);
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// if (_primitive_plane_subdivs.y > 250) _primitive_plane_subdivs.y = 250;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_9 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_10;
|
|
L_10 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_9, NULL);
|
|
if ((((int32_t)L_10) <= ((int32_t)((int32_t)250))))
|
|
{
|
|
goto IL_0078;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_plane_subdivs.y > 250) _primitive_plane_subdivs.y = 250;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_11 = (&__this->____primitive_plane_subdivs_68);
|
|
Vector3Int_set_y_mA856F32D1BF187BD4091DDF3C6872FD01F7D3377_inline(L_11, ((int32_t)250), NULL);
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
// if (_primitive_cube_backFace == false && _primitive_cube_frontFace == false && _primitive_cube_leftFace == false && _primitive_cube_rightFace == false && _primitive_cube_topFace == false && _primitive_cube_bottomFace == false)
|
|
bool L_12 = __this->____primitive_cube_backFace_65;
|
|
if (L_12)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
bool L_13 = __this->____primitive_cube_frontFace_64;
|
|
if (L_13)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
bool L_14 = __this->____primitive_cube_leftFace_62;
|
|
if (L_14)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
bool L_15 = __this->____primitive_cube_rightFace_63;
|
|
if (L_15)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
bool L_16 = __this->____primitive_cube_topFace_60;
|
|
if (L_16)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
bool L_17 = __this->____primitive_cube_bottomFace_61;
|
|
if (L_17)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
// _primitive_scale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->____primitive_scale_59 = L_18;
|
|
// _primitive_cube_topFace = true;
|
|
__this->____primitive_cube_topFace_60 = (bool)1;
|
|
// _primitive_cube_bottomFace = true;
|
|
__this->____primitive_cube_bottomFace_61 = (bool)1;
|
|
// _primitive_cube_leftFace = true;
|
|
__this->____primitive_cube_leftFace_62 = (bool)1;
|
|
// _primitive_cube_rightFace = true;
|
|
__this->____primitive_cube_rightFace_63 = (bool)1;
|
|
// _primitive_cube_frontFace = true;
|
|
__this->____primitive_cube_frontFace_64 = (bool)1;
|
|
// _primitive_cube_backFace = true;
|
|
__this->____primitive_cube_backFace_65 = (bool)1;
|
|
// _primitive_cube_bevel = 0f;
|
|
__this->____primitive_cube_bevel_66 = (0.0f);
|
|
// _primitive_cube_bevelSubdivs = 1;
|
|
__this->____primitive_cube_bevelSubdivs_67 = 1;
|
|
// _primitive_plane_subdivs = new Vector3Int(1, 1, 1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_19;
|
|
memset((&L_19), 0, sizeof(L_19));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_19), 1, 1, 1, /*hidden argument*/NULL);
|
|
__this->____primitive_plane_subdivs_68 = L_19;
|
|
}
|
|
|
|
IL_00fd:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::_Primitive_Cube_ClampParams()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup__Primitive_Cube_ClampParams_mC02400E9108B94968F572F48796CB9D30AA1C992 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// _Primitive_Plane_ClampParams();
|
|
TileMeshSetup__Primitive_Plane_ClampParams_mEB19E7F2EE51820FA74FAFDDFB4679A4F803067A(__this, NULL);
|
|
// if (_primitive_plane_subdivs.z < 0) _primitive_plane_subdivs.z = 1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_0 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_1;
|
|
L_1 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_0, NULL);
|
|
if ((((int32_t)L_1) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_plane_subdivs.z < 0) _primitive_plane_subdivs.z = 1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_2 = (&__this->____primitive_plane_subdivs_68);
|
|
Vector3Int_set_z_m5782180F67C4257C505F124971985D99C3422F74_inline(L_2, 1, NULL);
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// if (_primitive_plane_subdivs.z > 250) _primitive_plane_subdivs.z = 250;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_3 = (&__this->____primitive_plane_subdivs_68);
|
|
int32_t L_4;
|
|
L_4 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_3, NULL);
|
|
if ((((int32_t)L_4) <= ((int32_t)((int32_t)250))))
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_plane_subdivs.z > 250) _primitive_plane_subdivs.z = 250;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_5 = (&__this->____primitive_plane_subdivs_68);
|
|
Vector3Int_set_z_m5782180F67C4257C505F124971985D99C3422F74_inline(L_5, ((int32_t)250), NULL);
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// if (_primitive_cube_bevel < 0) _primitive_cube_bevel = 0f;
|
|
float L_6 = __this->____primitive_cube_bevel_66;
|
|
if ((!(((float)L_6) < ((float)(0.0f)))))
|
|
{
|
|
goto IL_005a;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_cube_bevel < 0) _primitive_cube_bevel = 0f;
|
|
__this->____primitive_cube_bevel_66 = (0.0f);
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
// if (_primitive_cube_bevelSubdivs < 1) _primitive_cube_bevelSubdivs = 1;
|
|
int32_t L_7 = __this->____primitive_cube_bevelSubdivs_67;
|
|
if ((((int32_t)L_7) >= ((int32_t)1)))
|
|
{
|
|
goto IL_006a;
|
|
}
|
|
}
|
|
{
|
|
// if (_primitive_cube_bevelSubdivs < 1) _primitive_cube_bevelSubdivs = 1;
|
|
__this->____primitive_cube_bevelSubdivs_67 = 1;
|
|
}
|
|
|
|
IL_006a:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::LatheQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_LatheQuickUpdate_m1A83841C8DD374683625D4C7D95BC9C7BA6952F2 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// splineLength = 0f;
|
|
__this->___splineLength_5 = (0.0f);
|
|
// for (int i = 0; i < _lathe_points.Count - 1; i++)
|
|
V_0 = 0;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// _lathe_points[i].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = __this->____lathe_points_38;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_2;
|
|
L_2 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_0, L_1, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_3 = __this->___splineLength_5;
|
|
NullCheck(L_2);
|
|
L_2->___distanceInSpline_1 = L_3;
|
|
// splineLength += Vector2.Distance(_lathe_points[i].localPos, _lathe_points[i + 1].localPos);
|
|
float L_4 = __this->___splineLength_5;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = __this->____lathe_points_38;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_7;
|
|
L_7 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_5, L_6, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_7);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = L_7->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = __this->____lathe_points_38;
|
|
int32_t L_10 = V_0;
|
|
NullCheck(L_9);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_11;
|
|
L_11 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_9, ((int32_t)il2cpp_codegen_add(L_10, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = L_11->___localPos_9;
|
|
float L_13;
|
|
L_13 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_8, L_12, NULL);
|
|
__this->___splineLength_5 = ((float)il2cpp_codegen_add(L_4, L_13));
|
|
// for (int i = 0; i < _lathe_points.Count - 1; i++)
|
|
int32_t L_14 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// for (int i = 0; i < _lathe_points.Count - 1; i++)
|
|
int32_t L_15 = V_0;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_16 = __this->____lathe_points_38;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_16, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_15) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_17, 1)))))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (_lathe_points.Count > 1) _lathe_points[_lathe_points.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_18 = __this->____lathe_points_38;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_18, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_19) <= ((int32_t)1)))
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// if (_lathe_points.Count > 1) _lathe_points[_lathe_points.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = __this->____lathe_points_38;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_21 = __this->____lathe_points_38;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_21, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_23;
|
|
L_23 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_20, ((int32_t)il2cpp_codegen_subtract(L_22, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_24 = __this->___splineLength_5;
|
|
NullCheck(L_23);
|
|
L_23->___distanceInSpline_1 = L_24;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
float L_25 = __this->___splineLength_5;
|
|
if ((!(((float)L_25) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
__this->___splineLength_5 = (0.100000001f);
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// GenerateMeshShape(_lathe_points, splineLength, _lathe_ySubdivLimit, previewShape, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_26 = __this->____lathe_points_38;
|
|
float L_27 = __this->___splineLength_5;
|
|
float L_28 = __this->____lathe_ySubdivLimit_37;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_29 = __this->___previewShape_2;
|
|
int32_t L_30 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_31;
|
|
L_31 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_26, L_27, L_28, L_29, L_30, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::LoftQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_LoftQuickUpdate_m2913D96128A2168C2F0E22F33FCEDABC1B75E6C3 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// splineLength = 0f;
|
|
__this->___splineLength_5 = (0.0f);
|
|
// for (int i = 0; i < _loft_depth.Count - 1; i++)
|
|
V_0 = 0;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// _loft_depth[i].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = __this->____loft_depth_43;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_2;
|
|
L_2 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_0, L_1, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_3 = __this->___splineLength_5;
|
|
NullCheck(L_2);
|
|
L_2->___distanceInSpline_1 = L_3;
|
|
// splineLength += Vector2.Distance(_loft_depth[i].localPos, _loft_depth[i + 1].localPos);
|
|
float L_4 = __this->___splineLength_5;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = __this->____loft_depth_43;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_7;
|
|
L_7 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_5, L_6, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_7);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = L_7->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = __this->____loft_depth_43;
|
|
int32_t L_10 = V_0;
|
|
NullCheck(L_9);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_11;
|
|
L_11 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_9, ((int32_t)il2cpp_codegen_add(L_10, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = L_11->___localPos_9;
|
|
float L_13;
|
|
L_13 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_8, L_12, NULL);
|
|
__this->___splineLength_5 = ((float)il2cpp_codegen_add(L_4, L_13));
|
|
// for (int i = 0; i < _loft_depth.Count - 1; i++)
|
|
int32_t L_14 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// for (int i = 0; i < _loft_depth.Count - 1; i++)
|
|
int32_t L_15 = V_0;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_16 = __this->____loft_depth_43;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_16, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_15) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_17, 1)))))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_depth.Count > 1) _loft_depth[_loft_depth.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_18 = __this->____loft_depth_43;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_18, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_19) <= ((int32_t)1)))
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_depth.Count > 1) _loft_depth[_loft_depth.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = __this->____loft_depth_43;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_21 = __this->____loft_depth_43;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_21, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_23;
|
|
L_23 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_20, ((int32_t)il2cpp_codegen_subtract(L_22, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_24 = __this->___splineLength_5;
|
|
NullCheck(L_23);
|
|
L_23->___distanceInSpline_1 = L_24;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
float L_25 = __this->___splineLength_5;
|
|
if ((!(((float)L_25) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
__this->___splineLength_5 = (0.100000001f);
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// GenerateMeshShape(_loft_depth, splineLength, _loft_DepthSubdivLimit, previewShape, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_26 = __this->____loft_depth_43;
|
|
float L_27 = __this->___splineLength_5;
|
|
float L_28 = __this->____loft_DepthSubdivLimit_40;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_29 = __this->___previewShape_2;
|
|
int32_t L_30 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_31;
|
|
L_31 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_26, L_27, L_28, L_29, L_30, NULL);
|
|
// splineLength2 = 0f;
|
|
__this->___splineLength2_6 = (0.0f);
|
|
// for (int i = 0; i < _loft_distribute.Count - 1; i++)
|
|
V_1 = 0;
|
|
goto IL_013e;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// _loft_distribute[i].distanceInSpline = splineLength2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_32 = __this->____loft_distribute_44;
|
|
int32_t L_33 = V_1;
|
|
NullCheck(L_32);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_34;
|
|
L_34 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_32, L_33, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_35 = __this->___splineLength2_6;
|
|
NullCheck(L_34);
|
|
L_34->___distanceInSpline_1 = L_35;
|
|
// splineLength2 += Vector2.Distance(_loft_distribute[i].localPos, _loft_distribute[i + 1].localPos);
|
|
float L_36 = __this->___splineLength2_6;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_37 = __this->____loft_distribute_44;
|
|
int32_t L_38 = V_1;
|
|
NullCheck(L_37);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_39;
|
|
L_39 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_37, L_38, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_39);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = L_39->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_41 = __this->____loft_distribute_44;
|
|
int32_t L_42 = V_1;
|
|
NullCheck(L_41);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_43;
|
|
L_43 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_41, ((int32_t)il2cpp_codegen_add(L_42, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_43);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_44 = L_43->___localPos_9;
|
|
float L_45;
|
|
L_45 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_40, L_44, NULL);
|
|
__this->___splineLength2_6 = ((float)il2cpp_codegen_add(L_36, L_45));
|
|
// for (int i = 0; i < _loft_distribute.Count - 1; i++)
|
|
int32_t L_46 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_46, 1));
|
|
}
|
|
|
|
IL_013e:
|
|
{
|
|
// for (int i = 0; i < _loft_distribute.Count - 1; i++)
|
|
int32_t L_47 = V_1;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_48 = __this->____loft_distribute_44;
|
|
NullCheck(L_48);
|
|
int32_t L_49;
|
|
L_49 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_48, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_47) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_49, 1)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_distribute.Count > 1) _loft_distribute[_loft_distribute.Count - 1].distanceInSpline = splineLength2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_50 = __this->____loft_distribute_44;
|
|
NullCheck(L_50);
|
|
int32_t L_51;
|
|
L_51 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_50, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_51) <= ((int32_t)1)))
|
|
{
|
|
goto IL_017f;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_distribute.Count > 1) _loft_distribute[_loft_distribute.Count - 1].distanceInSpline = splineLength2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_52 = __this->____loft_distribute_44;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_53 = __this->____loft_distribute_44;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_53, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_52);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_55;
|
|
L_55 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_52, ((int32_t)il2cpp_codegen_subtract(L_54, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_56 = __this->___splineLength2_6;
|
|
NullCheck(L_55);
|
|
L_55->___distanceInSpline_1 = L_56;
|
|
}
|
|
|
|
IL_017f:
|
|
{
|
|
// if (splineLength2 == 0f) splineLength2 = 0.1f;
|
|
float L_57 = __this->___splineLength2_6;
|
|
if ((!(((float)L_57) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0197;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength2 == 0f) splineLength2 = 0.1f;
|
|
__this->___splineLength2_6 = (0.100000001f);
|
|
}
|
|
|
|
IL_0197:
|
|
{
|
|
// GenerateMeshShape(_loft_distribute, splineLength2, _loft_DistribSubdivLimit, previewShape2, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_58 = __this->____loft_distribute_44;
|
|
float L_59 = __this->___splineLength2_6;
|
|
float L_60 = __this->____loft_DistribSubdivLimit_41;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_61 = __this->___previewShape2_3;
|
|
int32_t L_62 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_63;
|
|
L_63 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_58, L_59, L_60, L_61, L_62, NULL);
|
|
// splineLength3 = 0f;
|
|
__this->___splineLength3_7 = (0.0f);
|
|
// for (int i = 0; i < _loft_height.Count - 1; i++)
|
|
V_2 = 0;
|
|
goto IL_021c;
|
|
}
|
|
|
|
IL_01cb:
|
|
{
|
|
// _loft_height[i].distanceInSpline = splineLength3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_64 = __this->____loft_height_45;
|
|
int32_t L_65 = V_2;
|
|
NullCheck(L_64);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_66;
|
|
L_66 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_64, L_65, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_67 = __this->___splineLength3_7;
|
|
NullCheck(L_66);
|
|
L_66->___distanceInSpline_1 = L_67;
|
|
// splineLength3 += Vector2.Distance(_loft_height[i].localPos, _loft_height[i + 1].localPos);
|
|
float L_68 = __this->___splineLength3_7;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_69 = __this->____loft_height_45;
|
|
int32_t L_70 = V_2;
|
|
NullCheck(L_69);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_71;
|
|
L_71 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_69, L_70, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_71);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_72 = L_71->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_73 = __this->____loft_height_45;
|
|
int32_t L_74 = V_2;
|
|
NullCheck(L_73);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_75;
|
|
L_75 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_73, ((int32_t)il2cpp_codegen_add(L_74, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_75);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_76 = L_75->___localPos_9;
|
|
float L_77;
|
|
L_77 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_72, L_76, NULL);
|
|
__this->___splineLength3_7 = ((float)il2cpp_codegen_add(L_68, L_77));
|
|
// for (int i = 0; i < _loft_height.Count - 1; i++)
|
|
int32_t L_78 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_78, 1));
|
|
}
|
|
|
|
IL_021c:
|
|
{
|
|
// for (int i = 0; i < _loft_height.Count - 1; i++)
|
|
int32_t L_79 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_80 = __this->____loft_height_45;
|
|
NullCheck(L_80);
|
|
int32_t L_81;
|
|
L_81 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_80, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_79) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_81, 1)))))
|
|
{
|
|
goto IL_01cb;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_height.Count > 1) _loft_height[_loft_height.Count - 1].distanceInSpline = splineLength3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_82 = __this->____loft_height_45;
|
|
NullCheck(L_82);
|
|
int32_t L_83;
|
|
L_83 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_82, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_83) <= ((int32_t)1)))
|
|
{
|
|
goto IL_025d;
|
|
}
|
|
}
|
|
{
|
|
// if (_loft_height.Count > 1) _loft_height[_loft_height.Count - 1].distanceInSpline = splineLength3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_84 = __this->____loft_height_45;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_85 = __this->____loft_height_45;
|
|
NullCheck(L_85);
|
|
int32_t L_86;
|
|
L_86 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_85, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_84);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_87;
|
|
L_87 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_84, ((int32_t)il2cpp_codegen_subtract(L_86, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_88 = __this->___splineLength3_7;
|
|
NullCheck(L_87);
|
|
L_87->___distanceInSpline_1 = L_88;
|
|
}
|
|
|
|
IL_025d:
|
|
{
|
|
// if (splineLength3 == 0f) splineLength3 = 0.1f;
|
|
float L_89 = __this->___splineLength3_7;
|
|
if ((!(((float)L_89) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0275;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength3 == 0f) splineLength3 = 0.1f;
|
|
__this->___splineLength3_7 = (0.100000001f);
|
|
}
|
|
|
|
IL_0275:
|
|
{
|
|
// GenerateMeshShape(_loft_height, splineLength3, _loft_DistribSubdivLimit, previewShape3, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_90 = __this->____loft_height_45;
|
|
float L_91 = __this->___splineLength3_7;
|
|
float L_92 = __this->____loft_DistribSubdivLimit_41;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_93 = __this->___previewShape3_4;
|
|
int32_t L_94 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_95;
|
|
L_95 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_90, L_91, L_92, L_93, L_94, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PasteSettingsFrom(FIMSpace.Generating.TileMeshSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PasteSettingsFrom_m4E0A0F9E41FBB2D3F2EB73420EE9892B2BF1D4D9 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* ___0_tileMesh_CopyFrom, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// tileMesh_CopyFrom.PasteAllSetupTo(this);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_0 = ___0_tileMesh_CopyFrom;
|
|
NullCheck(L_0);
|
|
TileMeshSetup_PasteAllSetupTo_mBE7049D29CCBB27BE25FE61775999ABB9E9B2399(L_0, __this, (bool)0, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::AdjustCopiesCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_AdjustCopiesCount_m50C5A334B5F20004F8FD4D7401772348DFE1ADA9 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_RemoveAt_m9736EA7BDDF901F4577377D4E8E5933F3CFFBFDB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* V_0 = NULL;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* V_1 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// var list = Instances;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_0;
|
|
L_0 = TileMeshSetup_get_Instances_m7067F68EBE996899F3C0019B5B3CE0EDEC400DBB(__this, NULL);
|
|
V_0 = L_0;
|
|
// if (Copies < 0) Copies = 1;
|
|
int32_t L_1 = __this->___Copies_0;
|
|
if ((((int32_t)L_1) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// if (Copies < 0) Copies = 1;
|
|
__this->___Copies_0 = 1;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// if (_instances.Count == Copies) return;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_2 = __this->____instances_1;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_2, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
int32_t L_4 = __this->___Copies_0;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)L_4))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// if (_instances.Count == Copies) return;
|
|
return;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (list.Count < Copies)
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_5 = V_0;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_5, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
int32_t L_7 = __this->___Copies_0;
|
|
if ((((int32_t)L_6) >= ((int32_t)L_7)))
|
|
{
|
|
goto IL_00f9;
|
|
}
|
|
}
|
|
{
|
|
goto IL_00d9;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// TileMeshCombineInstance inst = new TileMeshCombineInstance();
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_8 = (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9*)il2cpp_codegen_object_new(TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_8);
|
|
TileMeshCombineInstance__ctor_m82933B4F6C57124D7FBA0D4A1BF78C1E354BA243(L_8, NULL);
|
|
V_1 = L_8;
|
|
// Vector3 lastPos = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_2 = L_9;
|
|
// Vector3 lastRot = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_3 = L_10;
|
|
// Vector3 lastScale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
V_4 = L_11;
|
|
// if (list.Count > 0)
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_12 = V_0;
|
|
NullCheck(L_12);
|
|
int32_t L_13;
|
|
L_13 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_12, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
if ((((int32_t)L_13) <= ((int32_t)0)))
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
// lastPos = list[list.Count - 1].Position;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_14 = V_0;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_15 = V_0;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_15, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
NullCheck(L_14);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_17;
|
|
L_17 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_14, ((int32_t)il2cpp_codegen_subtract(L_16, 1)), List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_17);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = L_17->___Position_2;
|
|
V_2 = L_18;
|
|
// lastRot = list[list.Count - 1].Rotation;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_19 = V_0;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_20 = V_0;
|
|
NullCheck(L_20);
|
|
int32_t L_21;
|
|
L_21 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_20, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
NullCheck(L_19);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_22;
|
|
L_22 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_19, ((int32_t)il2cpp_codegen_subtract(L_21, 1)), List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = L_22->___Rotation_3;
|
|
V_3 = L_23;
|
|
// lastScale = list[list.Count - 1].Scale;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_24 = V_0;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_25 = V_0;
|
|
NullCheck(L_25);
|
|
int32_t L_26;
|
|
L_26 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_25, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
NullCheck(L_24);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_27;
|
|
L_27 = List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E(L_24, ((int32_t)il2cpp_codegen_subtract(L_26, 1)), List_1_get_Item_m4D9207E6DDC8568F5D1A17DCF0C6FEBD61F5D98E_RuntimeMethod_var);
|
|
NullCheck(L_27);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___Scale_4;
|
|
V_4 = L_28;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// inst.Position = new Vector3(lastPos.x + 0.4f, lastPos.y, lastPos.z);
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_29 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30 = V_2;
|
|
float L_31 = L_30.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_2;
|
|
float L_33 = L_32.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = V_2;
|
|
float L_35 = L_34.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
memset((&L_36), 0, sizeof(L_36));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_36), ((float)il2cpp_codegen_add(L_31, (0.400000006f))), L_33, L_35, /*hidden argument*/NULL);
|
|
NullCheck(L_29);
|
|
L_29->___Position_2 = L_36;
|
|
// inst.Rotation = lastRot;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_37 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_3;
|
|
NullCheck(L_37);
|
|
L_37->___Rotation_3 = L_38;
|
|
// inst.Scale = lastScale;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_39 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = V_4;
|
|
NullCheck(L_39);
|
|
L_39->___Scale_4 = L_40;
|
|
// list.Add(inst);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_41 = V_0;
|
|
TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* L_42 = V_1;
|
|
NullCheck(L_41);
|
|
List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_inline(L_41, L_42, List_1_Add_m7EFAB29F375CD32FDBB3F2B37EEFC56E72E0F057_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// while (list.Count < Copies)
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_43 = V_0;
|
|
NullCheck(L_43);
|
|
int32_t L_44;
|
|
L_44 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_43, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
int32_t L_45 = __this->___Copies_0;
|
|
if ((((int32_t)L_44) < ((int32_t)L_45)))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_00eb:
|
|
{
|
|
// while (list.Count > Copies) list.RemoveAt(list.Count - 1);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_46 = V_0;
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_47 = V_0;
|
|
NullCheck(L_47);
|
|
int32_t L_48;
|
|
L_48 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_47, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
NullCheck(L_46);
|
|
List_1_RemoveAt_m9736EA7BDDF901F4577377D4E8E5933F3CFFBFDB(L_46, ((int32_t)il2cpp_codegen_subtract(L_48, 1)), List_1_RemoveAt_m9736EA7BDDF901F4577377D4E8E5933F3CFFBFDB_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00f9:
|
|
{
|
|
// while (list.Count > Copies) list.RemoveAt(list.Count - 1);
|
|
List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189* L_49 = V_0;
|
|
NullCheck(L_49);
|
|
int32_t L_50;
|
|
L_50 = List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_inline(L_49, List_1_get_Count_m966A67AF8D3CFCB09163D9DA71597FE88248B517_RuntimeMethod_var);
|
|
int32_t L_51 = __this->___Copies_0;
|
|
if ((((int32_t)L_50) > ((int32_t)L_51)))
|
|
{
|
|
goto IL_00eb;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::PrimitiveQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_PrimitiveQuickUpdate_m705F09C528A426165C43D28FC2AA143D10B6DB51 (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint> FIMSpace.Generating.TileMeshSetup::GenerateMeshShape(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/MeshShapePoint>,FIMSpace.Generating.TileMeshSetup/ESubdivideCompute)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_points, float ___1_splineLength, float ___2_qualityFactor, List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* ___3_buffer, int32_t ___4_compute, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_6;
|
|
memset((&V_6), 0, sizeof(V_6));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
float V_8 = 0.0f;
|
|
float V_9 = 0.0f;
|
|
float V_10 = 0.0f;
|
|
int32_t V_11 = 0;
|
|
float V_12 = 0.0f;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_13;
|
|
memset((&V_13), 0, sizeof(V_13));
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_14 = NULL;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_15 = NULL;
|
|
bool V_16 = false;
|
|
float V_17 = 0.0f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_18;
|
|
memset((&V_18), 0, sizeof(V_18));
|
|
float V_19 = 0.0f;
|
|
float V_20 = 0.0f;
|
|
float V_21 = 0.0f;
|
|
int32_t V_22 = 0;
|
|
float V_23 = 0.0f;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D V_24;
|
|
memset((&V_24), 0, sizeof(V_24));
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_25 = NULL;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_26 = NULL;
|
|
float V_27 = 0.0f;
|
|
float V_28 = 0.0f;
|
|
bool G_B39_0 = false;
|
|
bool G_B38_0 = false;
|
|
bool G_B42_0 = false;
|
|
bool G_B41_0 = false;
|
|
bool G_B40_0 = false;
|
|
{
|
|
// if (buffer == null) buffer = new List<MeshShapePoint>(); else buffer.Clear();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_0 = ___3_buffer;
|
|
if (L_0)
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// if (buffer == null) buffer = new List<MeshShapePoint>(); else buffer.Clear();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_1 = (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*)il2cpp_codegen_object_new(List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9(L_1, List_1__ctor_m31AFA38E185EA84FA70007639406BDDA3B2A4BD9_RuntimeMethod_var);
|
|
___3_buffer = L_1;
|
|
goto IL_0014;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// if (buffer == null) buffer = new List<MeshShapePoint>(); else buffer.Clear();
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_2 = ___3_buffer;
|
|
NullCheck(L_2);
|
|
List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_inline(L_2, List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// float maxDivs = 256f;
|
|
V_0 = (256.0f);
|
|
// float stepProgr = 1f / maxDivs;
|
|
float L_3 = V_0;
|
|
V_1 = ((float)((1.0f)/L_3));
|
|
// if (qualityFactor >= 30f) // just curve points
|
|
float L_4 = ___2_qualityFactor;
|
|
if ((!(((float)L_4) >= ((float)(30.0f)))))
|
|
{
|
|
goto IL_018a;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < points.Count; i++)
|
|
V_2 = 0;
|
|
goto IL_0179;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// MeshShapePoint sp = new MeshShapePoint();
|
|
il2cpp_codegen_initobj((&V_3), sizeof(MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D));
|
|
// sp.p = points[i].localPos;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = ___0_points;
|
|
int32_t L_6 = V_2;
|
|
NullCheck(L_5);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_7;
|
|
L_7 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_5, L_6, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_7);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = L_7->___localPos_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_8, NULL);
|
|
(&V_3)->___p_0 = L_9;
|
|
// sp.c = points[i].VertexColor;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_10 = ___0_points;
|
|
int32_t L_11 = V_2;
|
|
NullCheck(L_10);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_12;
|
|
L_12 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_10, L_11, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_12);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_13 = L_12->___VertexColor_3;
|
|
(&V_3)->___c_2 = L_13;
|
|
// Vector2 p = sp.p;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_14 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = L_14.___p_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16;
|
|
L_16 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_15, NULL);
|
|
V_4 = L_16;
|
|
// if (points[i].overrideNormal != Vector2.zero)
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_17 = ___0_points;
|
|
int32_t L_18 = V_2;
|
|
NullCheck(L_17);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_19;
|
|
L_19 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_17, L_18, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_19);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = L_19->___overrideNormal_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21;
|
|
L_21 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_22;
|
|
L_22 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_20, L_21, NULL);
|
|
if (!L_22)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
// sp.QuickNormalCompute(points[i]);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_23 = ___0_points;
|
|
int32_t L_24 = V_2;
|
|
NullCheck(L_23);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_25;
|
|
L_25 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_23, L_24, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
bool L_26;
|
|
L_26 = MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E((&V_3), L_25, NULL);
|
|
goto IL_0155;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// if (points.Count > 1)
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_27 = ___0_points;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_27, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_28) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0155;
|
|
}
|
|
}
|
|
{
|
|
// if (i == 0)
|
|
int32_t L_29 = V_2;
|
|
if (L_29)
|
|
{
|
|
goto IL_00df;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 dir = p - points[i + 1].localPos;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_30 = V_4;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_31 = ___0_points;
|
|
int32_t L_32 = V_2;
|
|
NullCheck(L_31);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_33;
|
|
L_33 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_31, ((int32_t)il2cpp_codegen_add(L_32, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_33);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_34 = L_33->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_35;
|
|
L_35 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_30, L_34, NULL);
|
|
V_5 = L_35;
|
|
// dir = Vector2.Perpendicular(dir.normalized);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36;
|
|
L_36 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_5), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_37;
|
|
L_37 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_36, NULL);
|
|
V_5 = L_37;
|
|
// sp.normal = dir;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_38 = V_5;
|
|
(&V_3)->___normal_1 = L_38;
|
|
goto IL_0155;
|
|
}
|
|
|
|
IL_00df:
|
|
{
|
|
// else if (i == points.Count - 1)
|
|
int32_t L_39 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_40 = ___0_points;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_40, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((!(((uint32_t)L_39) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(L_41, 1))))))
|
|
{
|
|
goto IL_011f;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 dir = p - points[i - 1].localPos;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_42 = V_4;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_43 = ___0_points;
|
|
int32_t L_44 = V_2;
|
|
NullCheck(L_43);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_45;
|
|
L_45 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_43, ((int32_t)il2cpp_codegen_subtract(L_44, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_45);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_46 = L_45->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_47;
|
|
L_47 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_42, L_46, NULL);
|
|
V_6 = L_47;
|
|
// dir = Vector2.Perpendicular(-dir.normalized);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_48;
|
|
L_48 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_6), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_49;
|
|
L_49 = Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline(L_48, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_50;
|
|
L_50 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_49, NULL);
|
|
V_6 = L_50;
|
|
// sp.normal = dir;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_51 = V_6;
|
|
(&V_3)->___normal_1 = L_51;
|
|
goto IL_0155;
|
|
}
|
|
|
|
IL_011f:
|
|
{
|
|
// Vector2 dir = points[i - 1].localPos - points[i + 1].localPos;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_52 = ___0_points;
|
|
int32_t L_53 = V_2;
|
|
NullCheck(L_52);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_54;
|
|
L_54 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_52, ((int32_t)il2cpp_codegen_subtract(L_53, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_54);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_55 = L_54->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_56 = ___0_points;
|
|
int32_t L_57 = V_2;
|
|
NullCheck(L_56);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_58;
|
|
L_58 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_56, ((int32_t)il2cpp_codegen_add(L_57, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_58);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_59 = L_58->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_60;
|
|
L_60 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_55, L_59, NULL);
|
|
V_7 = L_60;
|
|
// sp.normal = Vector2.Perpendicular(dir.normalized);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_61;
|
|
L_61 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_7), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_62;
|
|
L_62 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_61, NULL);
|
|
(&V_3)->___normal_1 = L_62;
|
|
}
|
|
|
|
IL_0155:
|
|
{
|
|
// sp.p.z = points[i]._extra_z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_63 = (&(&V_3)->___p_0);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_64 = ___0_points;
|
|
int32_t L_65 = V_2;
|
|
NullCheck(L_64);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_66;
|
|
L_66 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_64, L_65, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_66);
|
|
float L_67 = L_66->____extra_z_14;
|
|
L_63->___z_4 = L_67;
|
|
// buffer.Add(sp);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_68 = ___3_buffer;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_69 = V_3;
|
|
NullCheck(L_68);
|
|
List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_inline(L_68, L_69, List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var);
|
|
// for (int i = 0; i < points.Count; i++)
|
|
int32_t L_70 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_70, 1));
|
|
}
|
|
|
|
IL_0179:
|
|
{
|
|
// for (int i = 0; i < points.Count; i++)
|
|
int32_t L_71 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_72 = ___0_points;
|
|
NullCheck(L_72);
|
|
int32_t L_73;
|
|
L_73 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_72, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_71) < ((int32_t)L_73)))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
goto IL_04e5;
|
|
}
|
|
|
|
IL_018a:
|
|
{
|
|
// else if (compute == ESubdivideCompute.LengthLimit)
|
|
int32_t L_74 = ___4_compute;
|
|
if ((!(((uint32_t)L_74) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0320;
|
|
}
|
|
}
|
|
{
|
|
// float divsCount = (32.0f - qualityFactor) * 1.75f;
|
|
float L_75 = ___2_qualityFactor;
|
|
V_8 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract((32.0f), L_75)), (1.75f)));
|
|
// float stepLimitLength = splineLength / divsCount;
|
|
float L_76 = ___1_splineLength;
|
|
float L_77 = V_8;
|
|
V_9 = ((float)(L_76/L_77));
|
|
// float elapsed = 0f;
|
|
V_10 = (0.0f);
|
|
// for (int i = 0; i < maxDivs; i++)
|
|
V_11 = 0;
|
|
goto IL_0312;
|
|
}
|
|
|
|
IL_01b6:
|
|
{
|
|
// float progr = i * stepProgr;
|
|
int32_t L_78 = V_11;
|
|
float L_79 = V_1;
|
|
V_12 = ((float)il2cpp_codegen_multiply(((float)L_78), L_79));
|
|
// MeshShapePoint sp = new MeshShapePoint();
|
|
il2cpp_codegen_initobj((&V_13), sizeof(MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D));
|
|
// sp.c = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_80;
|
|
L_80 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
(&V_13)->___c_2 = L_80;
|
|
// sp.p = CurvePoint.GetPosAt(points, progr, splineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_81 = ___0_points;
|
|
float L_82 = V_12;
|
|
float L_83 = ___1_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_84;
|
|
L_84 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_81, L_82, L_83, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_84, NULL);
|
|
(&V_13)->___p_0 = L_85;
|
|
// CurvePoint sampleFocus = CurvePoint._GetPosAt_Origin;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_86 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18;
|
|
V_14 = L_86;
|
|
// CurvePoint sampleOther = CurvePoint._GetPosAt_Other;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_87 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19;
|
|
V_15 = L_87;
|
|
// bool quickComp = sp.QuickNormalCompute(sampleFocus);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_88 = V_14;
|
|
bool L_89;
|
|
L_89 = MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E((&V_13), L_88, NULL);
|
|
V_16 = L_89;
|
|
// if (sampleFocus.VertexColor != Color.white || sampleOther.VertexColor != Color.white)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_90 = V_14;
|
|
NullCheck(L_90);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_91 = L_90->___VertexColor_3;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_92;
|
|
L_92 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
bool L_93;
|
|
L_93 = Color_op_Inequality_mF1C733BA10E60B086AB950A71143678AE76C4D92_inline(L_91, L_92, NULL);
|
|
if (L_93)
|
|
{
|
|
goto IL_0225;
|
|
}
|
|
}
|
|
{
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_94 = V_15;
|
|
NullCheck(L_94);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_95 = L_94->___VertexColor_3;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_96;
|
|
L_96 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
bool L_97;
|
|
L_97 = Color_op_Inequality_mF1C733BA10E60B086AB950A71143678AE76C4D92_inline(L_95, L_96, NULL);
|
|
if (!L_97)
|
|
{
|
|
goto IL_0289;
|
|
}
|
|
}
|
|
|
|
IL_0225:
|
|
{
|
|
// float distA = Vector2.Distance(sp.p, sampleFocus.localPos) * sampleOther.VertexColorFalloff;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_98 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = L_98.___p_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_100;
|
|
L_100 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_99, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_101 = V_14;
|
|
NullCheck(L_101);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_102 = L_101->___localPos_9;
|
|
float L_103;
|
|
L_103 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_100, L_102, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_104 = V_15;
|
|
NullCheck(L_104);
|
|
float L_105 = L_104->___VertexColorFalloff_4;
|
|
// float distB = Vector2.Distance(sp.p, sampleOther.localPos) * sampleFocus.VertexColorFalloff;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_106 = V_13;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107 = L_106.___p_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_108;
|
|
L_108 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_107, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_109 = V_15;
|
|
NullCheck(L_109);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_110 = L_109->___localPos_9;
|
|
float L_111;
|
|
L_111 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_108, L_110, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_112 = V_14;
|
|
NullCheck(L_112);
|
|
float L_113 = L_112->___VertexColorFalloff_4;
|
|
V_17 = ((float)il2cpp_codegen_multiply(L_111, L_113));
|
|
// if ( distA < distB) // A nearer
|
|
float L_114 = V_17;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_103, L_105))) < ((float)L_114))))
|
|
{
|
|
goto IL_027b;
|
|
}
|
|
}
|
|
{
|
|
// sp.c = sampleFocus.VertexColor; //Color.Lerp(sampleFocus.VertexColor, sampleOther.VertexColor, 1f - (distA * sampleFocus.VertexColorFalloff));
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_115 = V_14;
|
|
NullCheck(L_115);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_116 = L_115->___VertexColor_3;
|
|
(&V_13)->___c_2 = L_116;
|
|
goto IL_0289;
|
|
}
|
|
|
|
IL_027b:
|
|
{
|
|
// sp.c = sampleOther.VertexColor;//Color.Lerp(sampleOther.VertexColor, sampleFocus.VertexColor, 1f - (distB * sampleOther.VertexColorFalloff));
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_117 = V_15;
|
|
NullCheck(L_117);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_118 = L_117->___VertexColor_3;
|
|
(&V_13)->___c_2 = L_118;
|
|
}
|
|
|
|
IL_0289:
|
|
{
|
|
// sp.p.z = CurvePoint.GetZAt(points, progr, splineLength);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_119 = (&(&V_13)->___p_0);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_120 = ___0_points;
|
|
float L_121 = V_12;
|
|
float L_122 = ___1_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
float L_123;
|
|
L_123 = CurvePoint_GetZAt_m057EC2AF608C7D6A65492C2776B0D95C721834FE(L_120, L_121, L_122, NULL);
|
|
L_119->___z_4 = L_123;
|
|
// if (i == 0 || i == maxDivs - 1)
|
|
int32_t L_124 = V_11;
|
|
if (!L_124)
|
|
{
|
|
goto IL_02ae;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_125 = V_11;
|
|
float L_126 = V_0;
|
|
if ((!(((float)((float)L_125)) == ((float)((float)il2cpp_codegen_subtract(L_126, (1.0f)))))))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
|
|
IL_02ae:
|
|
{
|
|
// elapsed = 0f;
|
|
V_10 = (0.0f);
|
|
// if (!quickComp) sp.ComputeNormal(i, maxDivs, sampleFocus, sampleOther, progr, points, stepProgr, splineLength);
|
|
bool L_127 = V_16;
|
|
if (L_127)
|
|
{
|
|
goto IL_02cc;
|
|
}
|
|
}
|
|
{
|
|
// if (!quickComp) sp.ComputeNormal(i, maxDivs, sampleFocus, sampleOther, progr, points, stepProgr, splineLength);
|
|
int32_t L_128 = V_11;
|
|
float L_129 = V_0;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_130 = V_14;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_131 = V_15;
|
|
float L_132 = V_12;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_133 = ___0_points;
|
|
float L_134 = V_1;
|
|
float L_135 = ___1_splineLength;
|
|
MeshShapePoint_ComputeNormal_mE335A625E908B102B4A22E870AEB1E0EF248F48F((&V_13), L_128, L_129, L_130, L_131, L_132, L_133, L_134, L_135, NULL);
|
|
}
|
|
|
|
IL_02cc:
|
|
{
|
|
// buffer.Add(sp);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_136 = ___3_buffer;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_137 = V_13;
|
|
NullCheck(L_136);
|
|
List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_inline(L_136, L_137, List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var);
|
|
goto IL_0304;
|
|
}
|
|
|
|
IL_02d7:
|
|
{
|
|
// if (elapsed > stepLimitLength)
|
|
float L_138 = V_10;
|
|
float L_139 = V_9;
|
|
if ((!(((float)L_138) > ((float)L_139))))
|
|
{
|
|
goto IL_0304;
|
|
}
|
|
}
|
|
{
|
|
// elapsed = 0f;
|
|
V_10 = (0.0f);
|
|
// if (!quickComp) sp.ComputeNormal(i, maxDivs, sampleFocus, sampleOther, progr, points, stepProgr, splineLength);
|
|
bool L_140 = V_16;
|
|
if (L_140)
|
|
{
|
|
goto IL_02fb;
|
|
}
|
|
}
|
|
{
|
|
// if (!quickComp) sp.ComputeNormal(i, maxDivs, sampleFocus, sampleOther, progr, points, stepProgr, splineLength);
|
|
int32_t L_141 = V_11;
|
|
float L_142 = V_0;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_143 = V_14;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_144 = V_15;
|
|
float L_145 = V_12;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_146 = ___0_points;
|
|
float L_147 = V_1;
|
|
float L_148 = ___1_splineLength;
|
|
MeshShapePoint_ComputeNormal_mE335A625E908B102B4A22E870AEB1E0EF248F48F((&V_13), L_141, L_142, L_143, L_144, L_145, L_146, L_147, L_148, NULL);
|
|
}
|
|
|
|
IL_02fb:
|
|
{
|
|
// buffer.Add(sp);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_149 = ___3_buffer;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_150 = V_13;
|
|
NullCheck(L_149);
|
|
List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_inline(L_149, L_150, List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0304:
|
|
{
|
|
// elapsed += stepProgr * splineLength;
|
|
float L_151 = V_10;
|
|
float L_152 = V_1;
|
|
float L_153 = ___1_splineLength;
|
|
V_10 = ((float)il2cpp_codegen_add(L_151, ((float)il2cpp_codegen_multiply(L_152, L_153))));
|
|
// for (int i = 0; i < maxDivs; i++)
|
|
int32_t L_154 = V_11;
|
|
V_11 = ((int32_t)il2cpp_codegen_add(L_154, 1));
|
|
}
|
|
|
|
IL_0312:
|
|
{
|
|
// for (int i = 0; i < maxDivs; i++)
|
|
int32_t L_155 = V_11;
|
|
float L_156 = V_0;
|
|
if ((((float)((float)L_155)) < ((float)L_156)))
|
|
{
|
|
goto IL_01b6;
|
|
}
|
|
}
|
|
{
|
|
goto IL_04e5;
|
|
}
|
|
|
|
IL_0320:
|
|
{
|
|
// else if (compute == ESubdivideCompute.AngleLimit)
|
|
int32_t L_157 = ___4_compute;
|
|
if (L_157)
|
|
{
|
|
goto IL_04e5;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 latestUsedNorm = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_158;
|
|
L_158 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
V_18 = L_158;
|
|
// float radianLim = qualityFactor * Mathf.Deg2Rad;
|
|
float L_159 = ___2_qualityFactor;
|
|
V_19 = ((float)il2cpp_codegen_multiply(L_159, (0.0174532924f)));
|
|
// float elapsed = 0f;
|
|
V_20 = (0.0f);
|
|
// float minStepLen = splineLength * Mathf.Lerp(0.075f, 0.025f,
|
|
// Mathf.InverseLerp(30f, 1f, qualityFactor)); // To compute minimum distance between subdivs
|
|
float L_160 = ___1_splineLength;
|
|
float L_161 = ___2_qualityFactor;
|
|
float L_162;
|
|
L_162 = Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline((30.0f), (1.0f), L_161, NULL);
|
|
float L_163;
|
|
L_163 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.075000003f), (0.0250000004f), L_162, NULL);
|
|
V_21 = ((float)il2cpp_codegen_multiply(L_160, L_163));
|
|
// for (int i = 0; i < maxDivs; i++)
|
|
V_22 = 0;
|
|
goto IL_04dc;
|
|
}
|
|
|
|
IL_0369:
|
|
{
|
|
// float progr = i * stepProgr;
|
|
int32_t L_164 = V_22;
|
|
float L_165 = V_1;
|
|
V_23 = ((float)il2cpp_codegen_multiply(((float)L_164), L_165));
|
|
// MeshShapePoint sp = new MeshShapePoint();
|
|
il2cpp_codegen_initobj((&V_24), sizeof(MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D));
|
|
// sp.c = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_166;
|
|
L_166 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
(&V_24)->___c_2 = L_166;
|
|
// sp.p = CurvePoint.GetPosAt(points, progr, splineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_167 = ___0_points;
|
|
float L_168 = V_23;
|
|
float L_169 = ___1_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_170;
|
|
L_170 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_167, L_168, L_169, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171;
|
|
L_171 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_170, NULL);
|
|
(&V_24)->___p_0 = L_171;
|
|
// CurvePoint sampleFocus = CurvePoint._GetPosAt_Origin;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_172 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18;
|
|
V_25 = L_172;
|
|
// CurvePoint sampleOther = CurvePoint._GetPosAt_Other;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_173 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19;
|
|
V_26 = L_173;
|
|
// bool quickComp = sp.QuickNormalCompute(sampleFocus);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_174 = V_25;
|
|
bool L_175;
|
|
L_175 = MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E((&V_24), L_174, NULL);
|
|
// if (sampleFocus.VertexColor != Color.white || sampleOther.VertexColor != Color.white)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_176 = V_25;
|
|
NullCheck(L_176);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_177 = L_176->___VertexColor_3;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_178;
|
|
L_178 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
bool L_179;
|
|
L_179 = Color_op_Inequality_mF1C733BA10E60B086AB950A71143678AE76C4D92_inline(L_177, L_178, NULL);
|
|
G_B38_0 = L_175;
|
|
if (L_179)
|
|
{
|
|
G_B39_0 = L_175;
|
|
goto IL_03d6;
|
|
}
|
|
}
|
|
{
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_180 = V_26;
|
|
NullCheck(L_180);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_181 = L_180->___VertexColor_3;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_182;
|
|
L_182 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
bool L_183;
|
|
L_183 = Color_op_Inequality_mF1C733BA10E60B086AB950A71143678AE76C4D92_inline(L_181, L_182, NULL);
|
|
G_B39_0 = G_B38_0;
|
|
if (!L_183)
|
|
{
|
|
G_B42_0 = G_B38_0;
|
|
goto IL_043a;
|
|
}
|
|
}
|
|
|
|
IL_03d6:
|
|
{
|
|
// float distA = Vector2.Distance(sp.p, sampleFocus.localPos) * sampleOther.VertexColorFalloff;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_184 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_185 = L_184.___p_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_186;
|
|
L_186 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_185, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_187 = V_25;
|
|
NullCheck(L_187);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_188 = L_187->___localPos_9;
|
|
float L_189;
|
|
L_189 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_186, L_188, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_190 = V_26;
|
|
NullCheck(L_190);
|
|
float L_191 = L_190->___VertexColorFalloff_4;
|
|
// float distB = Vector2.Distance(sp.p, sampleOther.localPos) * sampleFocus.VertexColorFalloff;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_192 = V_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = L_192.___p_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_194;
|
|
L_194 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_193, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_195 = V_26;
|
|
NullCheck(L_195);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_196 = L_195->___localPos_9;
|
|
float L_197;
|
|
L_197 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_194, L_196, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_198 = V_25;
|
|
NullCheck(L_198);
|
|
float L_199 = L_198->___VertexColorFalloff_4;
|
|
V_28 = ((float)il2cpp_codegen_multiply(L_197, L_199));
|
|
// if (distA < distB) // A nearer
|
|
float L_200 = V_28;
|
|
G_B40_0 = G_B39_0;
|
|
if ((!(((float)((float)il2cpp_codegen_multiply(L_189, L_191))) < ((float)L_200))))
|
|
{
|
|
G_B41_0 = G_B39_0;
|
|
goto IL_042c;
|
|
}
|
|
}
|
|
{
|
|
// sp.c = sampleFocus.VertexColor; //Color.Lerp(sampleFocus.VertexColor, sampleOther.VertexColor, 1f - (distA * sampleFocus.VertexColorFalloff));
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_201 = V_25;
|
|
NullCheck(L_201);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_202 = L_201->___VertexColor_3;
|
|
(&V_24)->___c_2 = L_202;
|
|
G_B42_0 = G_B40_0;
|
|
goto IL_043a;
|
|
}
|
|
|
|
IL_042c:
|
|
{
|
|
// sp.c = sampleOther.VertexColor;//Color.Lerp(sampleOther.VertexColor, sampleFocus.VertexColor, 1f - (distB * sampleOther.VertexColorFalloff));
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_203 = V_26;
|
|
NullCheck(L_203);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_204 = L_203->___VertexColor_3;
|
|
(&V_24)->___c_2 = L_204;
|
|
G_B42_0 = G_B41_0;
|
|
}
|
|
|
|
IL_043a:
|
|
{
|
|
// sp.p.z = CurvePoint.GetZAt(points, progr, splineLength);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_205 = (&(&V_24)->___p_0);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_206 = ___0_points;
|
|
float L_207 = V_23;
|
|
float L_208 = ___1_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
float L_209;
|
|
L_209 = CurvePoint_GetZAt_m057EC2AF608C7D6A65492C2776B0D95C721834FE(L_206, L_207, L_208, NULL);
|
|
L_205->___z_4 = L_209;
|
|
// if (!quickComp) sp.ComputeNormal(i, maxDivs, sampleFocus, sampleOther, progr, points, stepProgr, splineLength);
|
|
if (G_B42_0)
|
|
{
|
|
goto IL_0464;
|
|
}
|
|
}
|
|
{
|
|
// if (!quickComp) sp.ComputeNormal(i, maxDivs, sampleFocus, sampleOther, progr, points, stepProgr, splineLength);
|
|
int32_t L_210 = V_22;
|
|
float L_211 = V_0;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_212 = V_25;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_213 = V_26;
|
|
float L_214 = V_23;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_215 = ___0_points;
|
|
float L_216 = V_1;
|
|
float L_217 = ___1_splineLength;
|
|
MeshShapePoint_ComputeNormal_mE335A625E908B102B4A22E870AEB1E0EF248F48F((&V_24), L_210, L_211, L_212, L_213, L_214, L_215, L_216, L_217, NULL);
|
|
}
|
|
|
|
IL_0464:
|
|
{
|
|
// float dot = Vector2.Dot(latestUsedNorm, Vector2.Perpendicular(sp.normal));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_218 = V_18;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_219 = V_24;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_220 = L_219.___normal_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_221;
|
|
L_221 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_220, NULL);
|
|
float L_222;
|
|
L_222 = Vector2_Dot_mC1E68FDB4FB462A279A303C043B8FD0AC11C8458_inline(L_218, L_221, NULL);
|
|
V_27 = L_222;
|
|
// if (i == 0 || i == maxDivs - 1)
|
|
int32_t L_223 = V_22;
|
|
if (!L_223)
|
|
{
|
|
goto IL_0489;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_224 = V_22;
|
|
float L_225 = V_0;
|
|
if ((!(((float)((float)L_224)) == ((float)((float)il2cpp_codegen_subtract(L_225, (1.0f)))))))
|
|
{
|
|
goto IL_04a4;
|
|
}
|
|
}
|
|
|
|
IL_0489:
|
|
{
|
|
// latestUsedNorm = sp.normal;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_226 = V_24;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_227 = L_226.___normal_1;
|
|
V_18 = L_227;
|
|
// elapsed = 0f;
|
|
V_20 = (0.0f);
|
|
// buffer.Add(sp);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_228 = ___3_buffer;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_229 = V_24;
|
|
NullCheck(L_228);
|
|
List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_inline(L_228, L_229, List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var);
|
|
goto IL_04ce;
|
|
}
|
|
|
|
IL_04a4:
|
|
{
|
|
// if (Mathf.Abs(dot) > radianLim)
|
|
float L_230 = V_27;
|
|
float L_231;
|
|
L_231 = fabsf(L_230);
|
|
float L_232 = V_19;
|
|
if ((!(((float)L_231) > ((float)L_232))))
|
|
{
|
|
goto IL_04ce;
|
|
}
|
|
}
|
|
{
|
|
// if (elapsed > minStepLen)
|
|
float L_233 = V_20;
|
|
float L_234 = V_21;
|
|
if ((!(((float)L_233) > ((float)L_234))))
|
|
{
|
|
goto IL_04ce;
|
|
}
|
|
}
|
|
{
|
|
// elapsed = 0f;
|
|
V_20 = (0.0f);
|
|
// latestUsedNorm = sp.normal;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_235 = V_24;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_236 = L_235.___normal_1;
|
|
V_18 = L_236;
|
|
// buffer.Add(sp);
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_237 = ___3_buffer;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_238 = V_24;
|
|
NullCheck(L_237);
|
|
List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_inline(L_237, L_238, List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_04ce:
|
|
{
|
|
// elapsed += stepProgr * splineLength;
|
|
float L_239 = V_20;
|
|
float L_240 = V_1;
|
|
float L_241 = ___1_splineLength;
|
|
V_20 = ((float)il2cpp_codegen_add(L_239, ((float)il2cpp_codegen_multiply(L_240, L_241))));
|
|
// for (int i = 0; i < maxDivs; i++)
|
|
int32_t L_242 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_242, 1));
|
|
}
|
|
|
|
IL_04dc:
|
|
{
|
|
// for (int i = 0; i < maxDivs; i++)
|
|
int32_t L_243 = V_22;
|
|
float L_244 = V_0;
|
|
if ((((float)((float)L_243)) < ((float)L_244)))
|
|
{
|
|
goto IL_0369;
|
|
}
|
|
}
|
|
|
|
IL_04e5:
|
|
{
|
|
// return buffer;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_245 = ___3_buffer;
|
|
return L_245;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup::SweepQuickUpdate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshSetup_SweepQuickUpdate_m29930D282CE5FD58A17F1809B5BD1093DD3669AA (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// splineLength = 0f;
|
|
__this->___splineLength_5 = (0.0f);
|
|
// for (int i = 0; i < _sweep_path.Count - 1; i++)
|
|
V_0 = 0;
|
|
goto IL_0060;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// _sweep_path[i].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = __this->____sweep_path_69;
|
|
int32_t L_1 = V_0;
|
|
NullCheck(L_0);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_2;
|
|
L_2 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_0, L_1, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_3 = __this->___splineLength_5;
|
|
NullCheck(L_2);
|
|
L_2->___distanceInSpline_1 = L_3;
|
|
// splineLength += Vector2.Distance(_sweep_path[i].localPos, _sweep_path[i + 1].localPos);
|
|
float L_4 = __this->___splineLength_5;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = __this->____sweep_path_69;
|
|
int32_t L_6 = V_0;
|
|
NullCheck(L_5);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_7;
|
|
L_7 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_5, L_6, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_7);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = L_7->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = __this->____sweep_path_69;
|
|
int32_t L_10 = V_0;
|
|
NullCheck(L_9);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_11;
|
|
L_11 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_9, ((int32_t)il2cpp_codegen_add(L_10, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = L_11->___localPos_9;
|
|
float L_13;
|
|
L_13 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_8, L_12, NULL);
|
|
__this->___splineLength_5 = ((float)il2cpp_codegen_add(L_4, L_13));
|
|
// for (int i = 0; i < _sweep_path.Count - 1; i++)
|
|
int32_t L_14 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_14, 1));
|
|
}
|
|
|
|
IL_0060:
|
|
{
|
|
// for (int i = 0; i < _sweep_path.Count - 1; i++)
|
|
int32_t L_15 = V_0;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_16 = __this->____sweep_path_69;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_16, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_15) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_17, 1)))))
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_path.Count > 1) _sweep_path[_sweep_path.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_18 = __this->____sweep_path_69;
|
|
NullCheck(L_18);
|
|
int32_t L_19;
|
|
L_19 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_18, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_19) <= ((int32_t)1)))
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_path.Count > 1) _sweep_path[_sweep_path.Count - 1].distanceInSpline = splineLength;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = __this->____sweep_path_69;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_21 = __this->____sweep_path_69;
|
|
NullCheck(L_21);
|
|
int32_t L_22;
|
|
L_22 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_21, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_23;
|
|
L_23 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_20, ((int32_t)il2cpp_codegen_subtract(L_22, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_24 = __this->___splineLength_5;
|
|
NullCheck(L_23);
|
|
L_23->___distanceInSpline_1 = L_24;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
float L_25 = __this->___splineLength_5;
|
|
if ((!(((float)L_25) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength == 0f) splineLength = 0.1f;
|
|
__this->___splineLength_5 = (0.100000001f);
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// GenerateMeshShape(_sweep_path, splineLength, _sweep_distribSubdivLimit, previewShape, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_26 = __this->____sweep_path_69;
|
|
float L_27 = __this->___splineLength_5;
|
|
float L_28 = __this->____sweep_distribSubdivLimit_75;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_29 = __this->___previewShape_2;
|
|
int32_t L_30 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_31;
|
|
L_31 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_26, L_27, L_28, L_29, L_30, NULL);
|
|
// splineLength2 = 0f;
|
|
__this->___splineLength2_6 = (0.0f);
|
|
// for (int i = 0; i < _sweep_shape.Count - 1; i++)
|
|
V_1 = 0;
|
|
goto IL_013e;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// _sweep_shape[i].distanceInSpline = splineLength2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_32 = __this->____sweep_shape_70;
|
|
int32_t L_33 = V_1;
|
|
NullCheck(L_32);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_34;
|
|
L_34 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_32, L_33, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_35 = __this->___splineLength2_6;
|
|
NullCheck(L_34);
|
|
L_34->___distanceInSpline_1 = L_35;
|
|
// splineLength2 += Vector2.Distance(_sweep_shape[i].localPos, _sweep_shape[i + 1].localPos);
|
|
float L_36 = __this->___splineLength2_6;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_37 = __this->____sweep_shape_70;
|
|
int32_t L_38 = V_1;
|
|
NullCheck(L_37);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_39;
|
|
L_39 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_37, L_38, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_39);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = L_39->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_41 = __this->____sweep_shape_70;
|
|
int32_t L_42 = V_1;
|
|
NullCheck(L_41);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_43;
|
|
L_43 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_41, ((int32_t)il2cpp_codegen_add(L_42, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_43);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_44 = L_43->___localPos_9;
|
|
float L_45;
|
|
L_45 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_40, L_44, NULL);
|
|
__this->___splineLength2_6 = ((float)il2cpp_codegen_add(L_36, L_45));
|
|
// for (int i = 0; i < _sweep_shape.Count - 1; i++)
|
|
int32_t L_46 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_46, 1));
|
|
}
|
|
|
|
IL_013e:
|
|
{
|
|
// for (int i = 0; i < _sweep_shape.Count - 1; i++)
|
|
int32_t L_47 = V_1;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_48 = __this->____sweep_shape_70;
|
|
NullCheck(L_48);
|
|
int32_t L_49;
|
|
L_49 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_48, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_47) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_49, 1)))))
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_shape.Count > 1) _sweep_shape[_sweep_shape.Count - 1].distanceInSpline = splineLength2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_50 = __this->____sweep_shape_70;
|
|
NullCheck(L_50);
|
|
int32_t L_51;
|
|
L_51 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_50, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_51) <= ((int32_t)1)))
|
|
{
|
|
goto IL_017f;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_shape.Count > 1) _sweep_shape[_sweep_shape.Count - 1].distanceInSpline = splineLength2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_52 = __this->____sweep_shape_70;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_53 = __this->____sweep_shape_70;
|
|
NullCheck(L_53);
|
|
int32_t L_54;
|
|
L_54 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_53, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_52);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_55;
|
|
L_55 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_52, ((int32_t)il2cpp_codegen_subtract(L_54, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_56 = __this->___splineLength2_6;
|
|
NullCheck(L_55);
|
|
L_55->___distanceInSpline_1 = L_56;
|
|
}
|
|
|
|
IL_017f:
|
|
{
|
|
// if (splineLength2 == 0f) splineLength2 = 0.1f;
|
|
float L_57 = __this->___splineLength2_6;
|
|
if ((!(((float)L_57) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0197;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength2 == 0f) splineLength2 = 0.1f;
|
|
__this->___splineLength2_6 = (0.100000001f);
|
|
}
|
|
|
|
IL_0197:
|
|
{
|
|
// GenerateMeshShape(_sweep_shape, splineLength2, _sweep_shapeSubdivLimit, previewShape2, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_58 = __this->____sweep_shape_70;
|
|
float L_59 = __this->___splineLength2_6;
|
|
float L_60 = __this->____sweep_shapeSubdivLimit_74;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_61 = __this->___previewShape2_3;
|
|
int32_t L_62 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_63;
|
|
L_63 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_58, L_59, L_60, L_61, L_62, NULL);
|
|
// splineLength3 = 0f;
|
|
__this->___splineLength3_7 = (0.0f);
|
|
// for (int i = 0; i < _sweep_radius.Count - 1; i++)
|
|
V_2 = 0;
|
|
goto IL_021c;
|
|
}
|
|
|
|
IL_01cb:
|
|
{
|
|
// _sweep_radius[i].distanceInSpline = splineLength3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_64 = __this->____sweep_radius_71;
|
|
int32_t L_65 = V_2;
|
|
NullCheck(L_64);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_66;
|
|
L_66 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_64, L_65, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_67 = __this->___splineLength3_7;
|
|
NullCheck(L_66);
|
|
L_66->___distanceInSpline_1 = L_67;
|
|
// splineLength3 += Vector2.Distance(_sweep_radius[i].localPos, _sweep_radius[i + 1].localPos);
|
|
float L_68 = __this->___splineLength3_7;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_69 = __this->____sweep_radius_71;
|
|
int32_t L_70 = V_2;
|
|
NullCheck(L_69);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_71;
|
|
L_71 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_69, L_70, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_71);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_72 = L_71->___localPos_9;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_73 = __this->____sweep_radius_71;
|
|
int32_t L_74 = V_2;
|
|
NullCheck(L_73);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_75;
|
|
L_75 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_73, ((int32_t)il2cpp_codegen_add(L_74, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_75);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_76 = L_75->___localPos_9;
|
|
float L_77;
|
|
L_77 = Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline(L_72, L_76, NULL);
|
|
__this->___splineLength3_7 = ((float)il2cpp_codegen_add(L_68, L_77));
|
|
// for (int i = 0; i < _sweep_radius.Count - 1; i++)
|
|
int32_t L_78 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_78, 1));
|
|
}
|
|
|
|
IL_021c:
|
|
{
|
|
// for (int i = 0; i < _sweep_radius.Count - 1; i++)
|
|
int32_t L_79 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_80 = __this->____sweep_radius_71;
|
|
NullCheck(L_80);
|
|
int32_t L_81;
|
|
L_81 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_80, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_79) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_81, 1)))))
|
|
{
|
|
goto IL_01cb;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_radius.Count > 1) _sweep_radius[_sweep_radius.Count - 1].distanceInSpline = splineLength3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_82 = __this->____sweep_radius_71;
|
|
NullCheck(L_82);
|
|
int32_t L_83;
|
|
L_83 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_82, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_83) <= ((int32_t)1)))
|
|
{
|
|
goto IL_025d;
|
|
}
|
|
}
|
|
{
|
|
// if (_sweep_radius.Count > 1) _sweep_radius[_sweep_radius.Count - 1].distanceInSpline = splineLength3;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_84 = __this->____sweep_radius_71;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_85 = __this->____sweep_radius_71;
|
|
NullCheck(L_85);
|
|
int32_t L_86;
|
|
L_86 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_85, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
NullCheck(L_84);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_87;
|
|
L_87 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_84, ((int32_t)il2cpp_codegen_subtract(L_86, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
float L_88 = __this->___splineLength3_7;
|
|
NullCheck(L_87);
|
|
L_87->___distanceInSpline_1 = L_88;
|
|
}
|
|
|
|
IL_025d:
|
|
{
|
|
// if (splineLength3 == 0f) splineLength3 = 0.1f;
|
|
float L_89 = __this->___splineLength3_7;
|
|
if ((!(((float)L_89) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0275;
|
|
}
|
|
}
|
|
{
|
|
// if (splineLength3 == 0f) splineLength3 = 0.1f;
|
|
__this->___splineLength3_7 = (0.100000001f);
|
|
}
|
|
|
|
IL_0275:
|
|
{
|
|
// GenerateMeshShape(_sweep_radius, splineLength3, _sweep_distribSubdivLimit, previewShape3, SubdivMode);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_90 = __this->____sweep_radius_71;
|
|
float L_91 = __this->___splineLength3_7;
|
|
float L_92 = __this->____sweep_distribSubdivLimit_75;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_93 = __this->___previewShape3_4;
|
|
int32_t L_94 = __this->___SubdivMode_52;
|
|
List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* L_95;
|
|
L_95 = TileMeshSetup_GenerateMeshShape_m36D1B502794983997BFC8DF4AF6DBB83CDC62C4F(__this, L_90, L_91, L_92, L_93, L_94, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)), ((float)il2cpp_codegen_multiply(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), ((float)il2cpp_codegen_add(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
|
|
float L_3 = L_2.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_6), ((-L_1)), ((-L_3)), ((-L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_2 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_3 = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z_4 = L_2;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___oneVector_6;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
float L_12 = V_0;
|
|
float L_13 = V_0;
|
|
float L_14 = V_1;
|
|
float L_15 = V_1;
|
|
float L_16 = V_2;
|
|
float L_17 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_18;
|
|
L_18 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))))));
|
|
V_3 = ((float)L_18);
|
|
goto IL_0040;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
float L_19 = V_3;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___x_2;
|
|
float L_1 = __this->___x_2;
|
|
float L_2 = __this->___y_3;
|
|
float L_3 = __this->___y_3;
|
|
float L_4 = __this->___z_4;
|
|
float L_5 = __this->___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_6;
|
|
L_6 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))))));
|
|
V_0 = ((float)L_6);
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
float L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___forwardVector_11;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___upVector_7;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___zeroVector_5;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_12), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), ((float)il2cpp_codegen_subtract(L_9, L_11)), /*hidden argument*/NULL);
|
|
V_0 = L_12;
|
|
goto IL_0030;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_ProjectOnPlane_m68FB895F6E9FCC45676BB8B95857D091C0D78794_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_planeNormal, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
float V_3 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_planeNormal;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_planeNormal;
|
|
float L_2;
|
|
L_2 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_0, L_1, NULL);
|
|
V_0 = L_2;
|
|
float L_3 = V_0;
|
|
float L_4 = ((Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_StaticFields*)il2cpp_codegen_static_fields_for(Mathf_tE284D016E3B297B72311AAD9EB8F0E643F6A4682_il2cpp_TypeInfo_var))->___Epsilon_0;
|
|
V_1 = (bool)((((float)L_3) < ((float)L_4))? 1 : 0);
|
|
bool L_5 = V_1;
|
|
if (!L_5)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
|
|
V_2 = L_6;
|
|
goto IL_005d;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_vector;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___1_planeNormal;
|
|
float L_9;
|
|
L_9 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_7, L_8, NULL);
|
|
V_3 = L_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
|
|
float L_11 = L_10.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___1_planeNormal;
|
|
float L_13 = L_12.___x_2;
|
|
float L_14 = V_3;
|
|
float L_15 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_vector;
|
|
float L_17 = L_16.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_planeNormal;
|
|
float L_19 = L_18.___y_3;
|
|
float L_20 = V_3;
|
|
float L_21 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___0_vector;
|
|
float L_23 = L_22.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = ___1_planeNormal;
|
|
float L_25 = L_24.___z_4;
|
|
float L_26 = V_3;
|
|
float L_27 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
memset((&L_28), 0, sizeof(L_28));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_28), ((float)il2cpp_codegen_subtract(L_11, ((float)(((float)il2cpp_codegen_multiply(L_13, L_14))/L_15)))), ((float)il2cpp_codegen_subtract(L_17, ((float)(((float)il2cpp_codegen_multiply(L_19, L_20))/L_21)))), ((float)il2cpp_codegen_subtract(L_23, ((float)(((float)il2cpp_codegen_multiply(L_25, L_26))/L_27)))), /*hidden argument*/NULL);
|
|
V_2 = L_28;
|
|
goto IL_005d;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_2;
|
|
return L_29;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_LerpUnclamped_mF35042F9D25A221BDD4B3FD6251224610AFC1F35_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
float L_2 = ___0_a;
|
|
float L_3 = ___2_t;
|
|
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_3))));
|
|
goto IL_000b;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
float L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline (float ___0_d, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_a, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___0_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___1_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___0_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___0_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(L_4, L_5)), ((float)il2cpp_codegen_multiply(L_7, L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_0, L_1, NULL);
|
|
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
goto IL_000e;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ((Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var))->___oneVector_3;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_lhs, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_lhs;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline(L_0, L_1, NULL);
|
|
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
goto IL_000e;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ((Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_StaticFields*)il2cpp_codegen_static_fields_for(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var))->___zeroVector_2;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2Int_op_Implicit_m5B9FB268943E6CAB6E40E13D30BA49A9AC7D2059_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
int32_t L_0;
|
|
L_0 = Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline((&___0_v), NULL);
|
|
int32_t L_1;
|
|
L_1 = Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline((&___0_v), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_2), ((float)L_0), ((float)L_1), /*hidden argument*/NULL);
|
|
V_0 = L_2;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->___m_X_0;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->___m_Y_1;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_x;
|
|
__this->___m_X_0 = L_0;
|
|
int32_t L_1 = ___1_y;
|
|
__this->___m_Y_1 = L_1;
|
|
int32_t L_2 = ___2_z;
|
|
__this->___m_Z_2 = L_2;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->___m_Z_2;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->___m_X_0;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2Int_set_x_m291ECF246536852F0B8EE049C4A3768E4999CDC8_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
__this->___m_X_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = __this->___m_Y_1;
|
|
V_0 = L_0;
|
|
goto IL_000a;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
int32_t L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2Int_set_y_mF81881204EEE272BA409728C7EBFDE3A979DDF6A_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
__this->___m_Y_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
bool V_4 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_2;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_4;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
float L_12 = V_0;
|
|
float L_13 = V_0;
|
|
float L_14 = V_1;
|
|
float L_15 = V_1;
|
|
float L_16 = V_2;
|
|
float L_17 = V_2;
|
|
V_3 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_12, L_13)), ((float)il2cpp_codegen_multiply(L_14, L_15)))), ((float)il2cpp_codegen_multiply(L_16, L_17))));
|
|
float L_18 = V_3;
|
|
V_4 = (bool)((((float)L_18) < ((float)(9.99999944E-11f)))? 1 : 0);
|
|
goto IL_0043;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
bool L_19 = V_4;
|
|
return L_19;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ((Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_StaticFields*)il2cpp_codegen_static_fields_for(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var))->___identityQuaternion_4;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 Matrix4x4_get_identity_m6568A73831F3E2D587420D20FF423959D7D8AB56_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_0 = ((Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_StaticFields*)il2cpp_codegen_static_fields_for(Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6_il2cpp_TypeInfo_var))->___identityMatrix_17;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ((Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_StaticFields*)il2cpp_codegen_static_fields_for(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var))->___rightVector_10;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_lhs, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_lhs;
|
|
float L_13 = L_12.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_rhs;
|
|
float L_15 = L_14.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16 = ___0_lhs;
|
|
float L_17 = L_16.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18 = ___1_rhs;
|
|
float L_19 = L_18.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20 = ___0_lhs;
|
|
float L_21 = L_20.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_22 = ___1_rhs;
|
|
float L_23 = L_22.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_24 = ___0_lhs;
|
|
float L_25 = L_24.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = ___1_rhs;
|
|
float L_27 = L_26.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_28 = ___0_lhs;
|
|
float L_29 = L_28.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_30 = ___1_rhs;
|
|
float L_31 = L_30.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_32 = ___0_lhs;
|
|
float L_33 = L_32.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34 = ___1_rhs;
|
|
float L_35 = L_34.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_36 = ___0_lhs;
|
|
float L_37 = L_36.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_38 = ___1_rhs;
|
|
float L_39 = L_38.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_40 = ___0_lhs;
|
|
float L_41 = L_40.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_42 = ___1_rhs;
|
|
float L_43 = L_42.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_44 = ___0_lhs;
|
|
float L_45 = L_44.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_46 = ___1_rhs;
|
|
float L_47 = L_46.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_48 = ___0_lhs;
|
|
float L_49 = L_48.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_50 = ___1_rhs;
|
|
float L_51 = L_50.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52 = ___0_lhs;
|
|
float L_53 = L_52.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_54 = ___1_rhs;
|
|
float L_55 = L_54.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_56 = ___0_lhs;
|
|
float L_57 = L_56.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58 = ___1_rhs;
|
|
float L_59 = L_58.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_60 = ___0_lhs;
|
|
float L_61 = L_60.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_62 = ___1_rhs;
|
|
float L_63 = L_62.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
|
|
memset((&L_64), 0, sizeof(L_64));
|
|
Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline((&L_64), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11)))), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), ((float)il2cpp_codegen_multiply(L_25, L_27)))), ((float)il2cpp_codegen_multiply(L_29, L_31)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_33, L_35)), ((float)il2cpp_codegen_multiply(L_37, L_39)))), ((float)il2cpp_codegen_multiply(L_41, L_43)))), ((float)il2cpp_codegen_multiply(L_45, L_47)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_49, L_51)), ((float)il2cpp_codegen_multiply(L_53, L_55)))), ((float)il2cpp_codegen_multiply(L_57, L_59)))), ((float)il2cpp_codegen_multiply(L_61, L_63)))), /*hidden argument*/NULL);
|
|
V_0 = L_64;
|
|
goto IL_00e5;
|
|
}
|
|
|
|
IL_00e5:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_65 = V_0;
|
|
return L_65;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_LerpUnclamped_m4109A459C1DB823310A10B8B1E80CB6877418347_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_a;
|
|
float L_5 = L_4.___x_2;
|
|
float L_6 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = ___0_a;
|
|
float L_8 = L_7.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___1_b;
|
|
float L_10 = L_9.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___0_a;
|
|
float L_12 = L_11.___y_3;
|
|
float L_13 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___0_a;
|
|
float L_15 = L_14.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___1_b;
|
|
float L_17 = L_16.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___0_a;
|
|
float L_19 = L_18.___z_4;
|
|
float L_20 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
memset((&L_21), 0, sizeof(L_21));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_21), ((float)il2cpp_codegen_add(L_1, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_3, L_5)), L_6)))), ((float)il2cpp_codegen_add(L_8, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_10, L_12)), L_13)))), ((float)il2cpp_codegen_add(L_15, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_17, L_19)), L_20)))), /*hidden argument*/NULL);
|
|
V_0 = L_21;
|
|
goto IL_004b;
|
|
}
|
|
|
|
IL_004b:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = V_0;
|
|
return L_22;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___x_2;
|
|
float L_1 = __this->___x_2;
|
|
float L_2 = __this->___y_3;
|
|
float L_3 = __this->___y_3;
|
|
float L_4 = __this->___z_4;
|
|
float L_5 = __this->___z_4;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3)))), ((float)il2cpp_codegen_multiply(L_4, L_5))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_2;
|
|
float L_2 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_3;
|
|
float L_5 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___z_4;
|
|
float L_8 = ___1_d;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
memset((&L_9), 0, sizeof(L_9));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_9), ((float)(L_1/L_2)), ((float)(L_4/L_5)), ((float)(L_7/L_8)), /*hidden argument*/NULL);
|
|
V_0 = L_9;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
return L_10;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
goto IL_000f;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_4;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3__ctor_m5F87930F9B0828E5652E2D9D01ED907C01122C86_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_2 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_3 = L_1;
|
|
__this->___z_4 = (0.0f);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, float ___0_x, float ___1_y, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_0 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_1 = L_1;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline (float ___0_a, float ___1_b, float ___2_t, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
float L_2 = ___0_a;
|
|
float L_3 = ___2_t;
|
|
float L_4;
|
|
L_4 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_3, NULL);
|
|
V_0 = ((float)il2cpp_codegen_add(L_0, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_1, L_2)), L_4))));
|
|
goto IL_0010;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
float L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A Vector2Int_get_zero_mF92C338E9CB9434105090E675E04D20A29649553_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_0 = ((Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A_StaticFields*)il2cpp_codegen_static_fields_for(Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A_il2cpp_TypeInfo_var))->___s_Zero_2;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Cross_mF93A280558BCE756D13B6CC5DCD7DE8A43148987_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_lhs, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___0_lhs;
|
|
float L_13 = L_12.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = ___1_rhs;
|
|
float L_15 = L_14.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_lhs;
|
|
float L_17 = L_16.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_rhs;
|
|
float L_19 = L_18.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_lhs;
|
|
float L_21 = L_20.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = ___1_rhs;
|
|
float L_23 = L_22.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24;
|
|
memset((&L_24), 0, sizeof(L_24));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_24), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_9, L_11)), ((float)il2cpp_codegen_multiply(L_13, L_15)))), ((float)il2cpp_codegen_subtract(((float)il2cpp_codegen_multiply(L_17, L_19)), ((float)il2cpp_codegen_multiply(L_21, L_23)))), /*hidden argument*/NULL);
|
|
V_0 = L_24;
|
|
goto IL_005a;
|
|
}
|
|
|
|
IL_005a:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25 = V_0;
|
|
return L_25;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = (*(Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974*)__this);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Quaternion_Internal_ToEulerRad_m5BD0EEC543120C320DC77FCCDFD2CE2E6BD3F1A8(L_0, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_1, (57.2957802f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Quaternion_Internal_MakePositive_m73E2D01920CB0DFE661A55022C129E8617F0C9A8(L_2, NULL);
|
|
V_0 = L_3;
|
|
goto IL_001e;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_euler, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_euler;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_0, (0.0174532924f), NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_1, NULL);
|
|
V_0 = L_2;
|
|
goto IL_0014;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), ((float)il2cpp_codegen_subtract(L_1, L_3)), ((float)il2cpp_codegen_subtract(L_5, L_7)), /*hidden argument*/NULL);
|
|
V_0 = L_8;
|
|
goto IL_0023;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_0;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), ((float)il2cpp_codegen_add(L_1, L_3)), ((float)il2cpp_codegen_add(L_5, L_7)), /*hidden argument*/NULL);
|
|
V_0 = L_8;
|
|
goto IL_0023;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_0;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_FloorToInt_m2A39AE881CAEE6B6A4B3BFEF9CA1ED40625F5AB7_inline (float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
float L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = floor(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_SqrMagnitude_m5ED73273031577902F1BED4CA9C5A0E786A680D1_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
|
|
float L_11 = L_10.___z_4;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))));
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_12 = V_0;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (const RuntimeMethod* method)
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline((&L_0), (1.0f), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
V_0 = L_0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_v;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___0_v;
|
|
float L_3 = L_2.___y_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_4), L_1, L_3, (0.0f), /*hidden argument*/NULL);
|
|
V_0 = L_4;
|
|
goto IL_001a;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Mesh LatestGeneratedMesh { get; private set; }
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->___U3CLatestGeneratedMeshU3Ek__BackingField_34;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_v;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_v;
|
|
float L_3 = L_2.___y_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), L_1, L_3, /*hidden argument*/NULL);
|
|
V_0 = L_4;
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Distance_mBACBB1609E1894D68F882D86A93519E311810C89_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_0;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_1;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
float L_8 = V_0;
|
|
float L_9 = V_0;
|
|
float L_10 = V_1;
|
|
float L_11 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_12;
|
|
L_12 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_8, L_9)), ((float)il2cpp_codegen_multiply(L_10, L_11))))));
|
|
V_2 = ((float)L_12);
|
|
goto IL_002e;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
float L_13 = V_2;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void TileMeshSetup_set_LatestGeneratedMesh_m6CB930FB294FB7B2F28099420282795F46C477AD_inline (TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* __this, Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public Mesh LatestGeneratedMesh { get; private set; }
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = ___0_value;
|
|
__this->___U3CLatestGeneratedMeshU3Ek__BackingField_34 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___U3CLatestGeneratedMeshU3Ek__BackingField_34), (void*)L_0);
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline (float ___0_f, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
float L_0 = ___0_f;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_1;
|
|
L_1 = bankers_round(((double)L_0));
|
|
V_0 = il2cpp_codegen_cast_double_to_int<int32_t>(L_1);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_2 = V_0;
|
|
return L_2;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_Scale_m8D61A8D2272549F1EF41256F7E8A206C6500EA6C_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), ((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)), /*hidden argument*/NULL);
|
|
V_0 = L_8;
|
|
goto IL_0023;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = V_0;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline (float ___0_a, float ___1_b, float ___2_value, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
V_0 = (bool)((((int32_t)((((float)L_0) == ((float)L_1))? 1 : 0)) == ((int32_t)0))? 1 : 0);
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_001b;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = ___2_value;
|
|
float L_4 = ___0_a;
|
|
float L_5 = ___1_b;
|
|
float L_6 = ___0_a;
|
|
float L_7;
|
|
L_7 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(((float)(((float)il2cpp_codegen_subtract(L_3, L_4))/((float)il2cpp_codegen_subtract(L_5, L_6)))), NULL);
|
|
V_1 = L_7;
|
|
goto IL_0023;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
V_1 = (0.0f);
|
|
goto IL_0023;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
float L_8 = V_1;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline (float ___0_x, float ___1_y, float ___2_z, const RuntimeMethod* method)
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
float L_0 = ___0_x;
|
|
float L_1 = ___1_y;
|
|
float L_2 = ___2_z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), L_0, L_1, L_2, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_3, (0.0174532924f), NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Quaternion_Internal_FromEulerRad_m66D4475341F53949471E6870FB5C5E4A5E9BA93E(L_4, NULL);
|
|
V_0 = L_5;
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int_set_x_m8745C5976D035EBBAC6F6191B5838D58631D8685_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
__this->___m_X_0 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int_set_y_mA856F32D1BF187BD4091DDF3C6872FD01F7D3377_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
__this->___m_Y_1 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3Int_set_z_m5782180F67C4257C505F124971985D99C3422F74_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __this, int32_t ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_value;
|
|
__this->___m_Z_2 = L_0;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
float L_0 = __this->___x_0;
|
|
float L_1 = __this->___y_1;
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&V_0), L_0, L_1, NULL);
|
|
Vector2_Normalize_m56DABCAB5967DF37A6B96710477D3660D800C652_inline((&V_0), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = V_0;
|
|
V_1 = L_2;
|
|
goto IL_0020;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = V_1;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_inDirection, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_inDirection;
|
|
float L_1 = L_0.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___0_inDirection;
|
|
float L_3 = L_2.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), ((-L_1)), L_3, /*hidden argument*/NULL);
|
|
V_0 = L_4;
|
|
goto IL_0016;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___0_a;
|
|
float L_3 = L_2.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_4), ((-L_1)), ((-L_3)), /*hidden argument*/NULL);
|
|
V_0 = L_4;
|
|
goto IL_0017;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Color_op_Inequality_mF1C733BA10E60B086AB950A71143678AE76C4D92_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_lhs, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___0_lhs;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Color_op_Equality_mB2BDC39B0B367BA15AA8DF22F8CB0D02D20BDC71_inline(L_0, L_1, NULL);
|
|
V_0 = (bool)((((int32_t)L_2) == ((int32_t)0))? 1 : 0);
|
|
goto IL_000e;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
bool L_3 = V_0;
|
|
return L_3;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_Dot_mC1E68FDB4FB462A279A303C043B8FD0AC11C8458_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_lhs, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_1;
|
|
V_0 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7))));
|
|
goto IL_001f;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
float L_8 = V_0;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_1 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
RuntimeObject* L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (RuntimeObject*)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
RuntimeObject* L_9 = ___0_item;
|
|
(( void (*) (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D*, RuntimeObject*, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m455780C5A45049F9BDC25EAD3BA10A681D16385D_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_3 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_gshared_inline (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_1 = (Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_item;
|
|
(( void (*) (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m01248CB44D3A287DD64C6B3B26EDCC85ECB054CF_gshared_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_3 = (CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m16C1F2C61FED5955F10EB36BC1CB2DF34B128994_gshared_inline (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!true)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* L_3 = (ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m5537D65C1ABA5F0AF330188867C1B954E6A886CF_gshared_inline (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* L_1 = (Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9 = ___0_item;
|
|
(( void (*) (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25*, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF9DA1EEA756CC1D68276B8BB04CD22CAA1151CCE_gshared_inline (List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m76AF2D0D598BB8F84D1DED26B7E298ABF0446344_gshared_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE ___0_item, const RuntimeMethod* method)
|
|
{
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_1 = (CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
CombineInstanceU5BU5D_tF7855763C164A0775855FF142E891E7BE0ABE093* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE L_9 = ___0_item;
|
|
(( void (*) (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE*, CombineInstance_t77DDB096E69D0AD2690C57046C5ACD1239451BBE, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m0D38F8745A3650FD9A78AAE9DF9D13F916135F55_gshared_inline (List_1_t49CCBA1BB4222C089C1EA801ECC72B50253A67BE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_gshared_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_1 = (Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = ___0_item;
|
|
(( void (*) (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, int32_t ___0_item, const RuntimeMethod* method)
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_1 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
int32_t L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (int32_t)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
int32_t L_9 = ___0_item;
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, int32_t, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m4EA3769821DBDED34CA0EBACD784AC6C1A536C1A_gshared_inline (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF* __this, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_item, const RuntimeMethod* method)
|
|
{
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_1 = (ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
ColorU5BU5D_t612261CF293F6FFC3D80AB52259FF0DC2B2CC389* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_9 = ___0_item;
|
|
(( void (*) (List_1_t242CDEAEC9C92000DA96982CDB9D592DDE2AADAF*, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230 Enumerator_get_Current_mE3475384B761E1C7971D3639BD09117FE8363422_gshared_inline (Enumerator_tEA93FE2B778D098F590CA168BEFC4CD85D73A6B9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230 L_0 = (KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230)__this->____current_3;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* KeyValuePair_2_get_Value_mC6BD8075F9C9DDEF7B4D731E5C38EC19103988E7_gshared_inline (KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = (RuntimeObject*)__this->___value_1;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR RuntimeObject* KeyValuePair_2_get_Key_mBD8EA7557C27E6956F2AF29DA3F7499B2F51A282_gshared_inline (KeyValuePair_2_tFC32D2507216293851350D29B64D79F950B55230* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
RuntimeObject* L_0 = (RuntimeObject*)__this->___key_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m65EDB603703F07821808A8E0E1AA2D4476727C13_gshared_inline (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD ___0_item, const RuntimeMethod* method)
|
|
{
|
|
MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA* L_1 = (MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
MeshVertPointU5BU5D_t1021FEF28D9B4234E04CEF4DD1E3533859FC17EA* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD L_9 = ___0_item;
|
|
(( void (*) (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8*, MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mD226549256C61B19DA697C7784A4E524C07D0559_gshared_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m418FD5D81B2AF1400EA4CB85CBFA7BF4A5CDD324_gshared_inline (List_1_t7E5E1FC9169B0033D3FEFEAF1D5FBEDAE2A7D5C8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_mF1C0C56457C655BDFFC6EE5B46FAD8BAEC1F588B_gshared_inline (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_m729EDE55C6C71DB23E442CE1FDF040FA9FEED337_gshared_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
if (!false)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = (int32_t)__this->____size_2;
|
|
V_0 = L_1;
|
|
__this->____size_2 = 0;
|
|
int32_t L_2 = V_0;
|
|
if ((((int32_t)L_2) <= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* L_3 = (MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D*)__this->____items_1;
|
|
int32_t L_4 = V_0;
|
|
Array_Clear_m50BAA3751899858B097D3FF2ED31F284703FE5CB((RuntimeArray*)L_3, 0, L_4, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
__this->____size_2 = 0;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Add_m9194C33B5935AF581F19901004ED50515CEB3035_gshared_inline (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753* __this, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D ___0_item, const RuntimeMethod* method)
|
|
{
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____version_3;
|
|
__this->____version_3 = ((int32_t)il2cpp_codegen_add(L_0, 1));
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* L_1 = (MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D*)__this->____items_1;
|
|
V_0 = L_1;
|
|
int32_t L_2 = (int32_t)__this->____size_2;
|
|
V_1 = L_2;
|
|
int32_t L_3 = V_1;
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
if ((!(((uint32_t)L_3) < ((uint32_t)((int32_t)(((RuntimeArray*)L_4)->max_length))))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_5 = V_1;
|
|
__this->____size_2 = ((int32_t)il2cpp_codegen_add(L_5, 1));
|
|
MeshShapePointU5BU5D_t3ED6CD35AE3B889E0B9BC10B562E2BBA34C9CA2D* L_6 = V_0;
|
|
int32_t L_7 = V_1;
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_8 = ___0_item;
|
|
NullCheck(L_6);
|
|
(L_6)->SetAt(static_cast<il2cpp_array_size_t>(L_7), (MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D)L_8);
|
|
return;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D L_9 = ___0_item;
|
|
(( void (*) (List_1_tDC4292A68020C1AD8A934EEC96AF3116917B0753*, MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D, const RuntimeMethod*))il2cpp_codegen_get_method_pointer(il2cpp_rgctx_method(method->klass->rgctx_data, 11)))(__this, L_9, il2cpp_rgctx_method(method->klass->rgctx_data, 11));
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector2_op_Equality_m6F2E069A50E787D131261E5CB25FC9E03F95B5E1_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_lhs, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
bool V_2 = false;
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_0;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_1;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
float L_8 = V_0;
|
|
float L_9 = V_0;
|
|
float L_10 = V_1;
|
|
float L_11 = V_1;
|
|
V_2 = (bool)((((float)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_8, L_9)), ((float)il2cpp_codegen_multiply(L_10, L_11))))) < ((float)(9.99999944E-11f)))? 1 : 0);
|
|
goto IL_002e;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
bool L_12 = V_2;
|
|
return L_12;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Quaternion__ctor_m868FD60AA65DD5A8AC0C5DEB0608381A8D85FCD8_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_0 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_1 = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z_2 = L_2;
|
|
float L_3 = ___3_w;
|
|
__this->___w_3 = L_3;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Normalize_mEF8349CC39674236CFC694189AFD36E31F89AC8F_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_value;
|
|
float L_1;
|
|
L_1 = Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline(L_0, NULL);
|
|
V_0 = L_1;
|
|
float L_2 = V_0;
|
|
V_1 = (bool)((((float)L_2) > ((float)(9.99999975E-06f)))? 1 : 0);
|
|
bool L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_001e;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_value;
|
|
float L_5 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
|
|
V_2 = L_6;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_001e:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_2 = L_7;
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_2;
|
|
return L_8;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
float V_1 = 0.0f;
|
|
bool V_2 = false;
|
|
{
|
|
float L_0 = ___0_value;
|
|
V_0 = (bool)((((float)L_0) < ((float)(0.0f)))? 1 : 0);
|
|
bool L_1 = V_0;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (0.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
float L_2 = ___0_value;
|
|
V_2 = (bool)((((float)L_2) > ((float)(1.0f)))? 1 : 0);
|
|
bool L_3 = V_2;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
V_1 = (1.0f);
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
float L_4 = ___0_value;
|
|
V_1 = L_4;
|
|
goto IL_002d;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
float L_5 = V_1;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Color__ctor_m3786F0D6E510D9CFA544523A955870BD2A514C8C_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F* __this, float ___0_r, float ___1_g, float ___2_b, float ___3_a, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_r;
|
|
__this->___r_0 = L_0;
|
|
float L_1 = ___1_g;
|
|
__this->___g_1 = L_1;
|
|
float L_2 = ___2_b;
|
|
__this->___b_2 = L_2;
|
|
float L_3 = ___3_a;
|
|
__this->___a_3 = L_3;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2_Normalize_m56DABCAB5967DF37A6B96710477D3660D800C652_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
{
|
|
float L_0;
|
|
L_0 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline(__this, NULL);
|
|
V_0 = L_0;
|
|
float L_1 = V_0;
|
|
V_1 = (bool)((((float)L_1) > ((float)(9.99999975E-06f)))? 1 : 0);
|
|
bool L_2 = V_1;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = (*(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7*)__this);
|
|
float L_4 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
|
|
L_5 = Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline(L_3, L_4, NULL);
|
|
*(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7*)__this = L_5;
|
|
goto IL_0033;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
|
|
L_6 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
*(Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7*)__this = L_6;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Color_op_Equality_mB2BDC39B0B367BA15AA8DF22F8CB0D02D20BDC71_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_lhs, Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___0_lhs;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_1;
|
|
L_1 = Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline(L_0, NULL);
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2 = ___1_rhs;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_3;
|
|
L_3 = Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline(L_2, NULL);
|
|
bool L_4;
|
|
L_4 = Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline(L_1, L_3, NULL);
|
|
V_0 = L_4;
|
|
goto IL_0015;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
bool L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Magnitude_m21652D951393A3D7CE92CE40049A0E7F76544D1B_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_vector;
|
|
float L_1 = L_0.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_vector;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___0_vector;
|
|
float L_5 = L_4.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_vector;
|
|
float L_7 = L_6.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = ___0_vector;
|
|
float L_9 = L_8.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = ___0_vector;
|
|
float L_11 = L_10.___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_12;
|
|
L_12 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_1, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_7)))), ((float)il2cpp_codegen_multiply(L_9, L_11))))));
|
|
V_0 = ((float)L_12);
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
float L_13 = V_0;
|
|
return L_13;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
{
|
|
float L_0 = __this->___x_0;
|
|
float L_1 = __this->___x_0;
|
|
float L_2 = __this->___y_1;
|
|
float L_3 = __this->___y_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_4;
|
|
L_4 = sqrt(((double)((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_0, L_1)), ((float)il2cpp_codegen_multiply(L_2, L_3))))));
|
|
V_0 = ((float)L_4);
|
|
goto IL_0026;
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
float L_5 = V_0;
|
|
return L_5;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Division_m57A2DCD71E0CE7420851D705D1951F9238902AAB_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, float ___1_d, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
float L_2 = ___1_d;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___0_a;
|
|
float L_4 = L_3.___y_1;
|
|
float L_5 = ___1_d;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_6), ((float)(L_1/L_2)), ((float)(L_4/L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 Color_op_Implicit_m9B3228DAFA8DC57A75DE00CBBF13ED4F1E7B01FF_inline (Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ___0_c, const RuntimeMethod* method)
|
|
{
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0 = ___0_c;
|
|
float L_1 = L_0.___r_0;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_2 = ___0_c;
|
|
float L_3 = L_2.___g_1;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_4 = ___0_c;
|
|
float L_5 = L_4.___b_2;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_6 = ___0_c;
|
|
float L_7 = L_6.___a_3;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline((&L_8), L_1, L_3, L_5, L_7, /*hidden argument*/NULL);
|
|
V_0 = L_8;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_9 = V_0;
|
|
return L_9;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector4_op_Equality_mCEA0E5F229F4AE8C55152F7A8F84345F24F52DC6_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___0_lhs, Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
bool V_5 = false;
|
|
{
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_0 = ___0_lhs;
|
|
float L_1 = L_0.___x_1;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_2 = ___1_rhs;
|
|
float L_3 = L_2.___x_1;
|
|
V_0 = ((float)il2cpp_codegen_subtract(L_1, L_3));
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_4 = ___0_lhs;
|
|
float L_5 = L_4.___y_2;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_6 = ___1_rhs;
|
|
float L_7 = L_6.___y_2;
|
|
V_1 = ((float)il2cpp_codegen_subtract(L_5, L_7));
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_8 = ___0_lhs;
|
|
float L_9 = L_8.___z_3;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_10 = ___1_rhs;
|
|
float L_11 = L_10.___z_3;
|
|
V_2 = ((float)il2cpp_codegen_subtract(L_9, L_11));
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_12 = ___0_lhs;
|
|
float L_13 = L_12.___w_4;
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 L_14 = ___1_rhs;
|
|
float L_15 = L_14.___w_4;
|
|
V_3 = ((float)il2cpp_codegen_subtract(L_13, L_15));
|
|
float L_16 = V_0;
|
|
float L_17 = V_0;
|
|
float L_18 = V_1;
|
|
float L_19 = V_1;
|
|
float L_20 = V_2;
|
|
float L_21 = V_2;
|
|
float L_22 = V_3;
|
|
float L_23 = V_3;
|
|
V_4 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(L_16, L_17)), ((float)il2cpp_codegen_multiply(L_18, L_19)))), ((float)il2cpp_codegen_multiply(L_20, L_21)))), ((float)il2cpp_codegen_multiply(L_22, L_23))));
|
|
float L_24 = V_4;
|
|
V_5 = (bool)((((float)L_24) < ((float)(9.99999944E-11f)))? 1 : 0);
|
|
goto IL_0057;
|
|
}
|
|
|
|
IL_0057:
|
|
{
|
|
bool L_25 = V_5;
|
|
return L_25;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector4__ctor_m96B2CD8B862B271F513AF0BDC2EABD58E4DBC813_inline (Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3* __this, float ___0_x, float ___1_y, float ___2_z, float ___3_w, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
float L_0 = ___0_x;
|
|
__this->___x_1 = L_0;
|
|
float L_1 = ___1_y;
|
|
__this->___y_2 = L_1;
|
|
float L_2 = ___2_z;
|
|
__this->___z_3 = L_2;
|
|
float L_3 = ___3_w;
|
|
__this->___w_4 = L_3;
|
|
return;
|
|
}
|
|
}
|