28156 lines
1.3 MiB
28156 lines
1.3 MiB
#include "pch-cpp.hpp"
|
|
|
|
#ifndef _MSC_VER
|
|
# include <alloca.h>
|
|
#else
|
|
# include <malloc.h>
|
|
#endif
|
|
|
|
|
|
#include <limits>
|
|
|
|
|
|
struct VirtualActionInvoker0
|
|
{
|
|
typedef void (*Action)(void*, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2>
|
|
struct VirtualActionInvoker2
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3>
|
|
struct VirtualActionInvoker3
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, T3, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, p3, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3, typename T4, typename T5>
|
|
struct VirtualActionInvoker5
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, T3, T4, T5, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, invokeData.method);
|
|
}
|
|
};
|
|
template <typename T1, typename T2, typename T3, typename T4, typename T5, typename T6>
|
|
struct VirtualActionInvoker6
|
|
{
|
|
typedef void (*Action)(void*, T1, T2, T3, T4, T5, T6, const RuntimeMethod*);
|
|
|
|
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5, T6 p6)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
((Action)invokeData.methodPtr)(obj, p1, p2, p3, p4, p5, p6, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R>
|
|
struct VirtualFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_virtual_invoke_data(slot, obj);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
template <typename R>
|
|
struct InterfaceFuncInvoker0
|
|
{
|
|
typedef R (*Func)(void*, const RuntimeMethod*);
|
|
|
|
static inline R Invoke (Il2CppMethodSlot slot, RuntimeClass* declaringInterface, RuntimeObject* obj)
|
|
{
|
|
const VirtualInvokeData& invokeData = il2cpp_codegen_get_interface_invoke_data(slot, obj, declaringInterface);
|
|
return ((Func)invokeData.methodPtr)(obj, invokeData.method);
|
|
}
|
|
};
|
|
|
|
// System.Action`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData>
|
|
struct Action_2_t8699AD063704997E98999B3BFF13FA7750266B16;
|
|
// System.Action`2<System.Object,System.Object>
|
|
struct Action_2_t156C43F079E7E68155FCDCD12DC77DD11AEF7E3C;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>
|
|
struct FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3;
|
|
// FIMSpace.Generating.FGenGraph`2<System.Object,System.Object>
|
|
struct FGenGraph_2_tB439387F4F1E125CC5BF33745ED961128E16237B;
|
|
// FIMSpace.Generating.FGenGrid`1<FIMSpace.Generating.FieldCell>
|
|
struct FGenGrid_1_t963EADA5DF61C7D333A1C3435C1A2B3FE1649C05;
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
struct Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00;
|
|
// System.Func`2<FIMSpace.Generating.SpawnData,System.Boolean>
|
|
struct Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9;
|
|
// System.Collections.Generic.List`1<System.Action`1<UnityEngine.GameObject>>
|
|
struct List_1_t261B5FB86860583ED8B529D12A8662404F52324A;
|
|
// System.Collections.Generic.List`1<System.Action`1<FIMSpace.Generating.SpawnData>>
|
|
struct List_1_t594AD8CB288E390FD2324ED170ED5C2E115AF1C4;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>>
|
|
struct List_1_t7E218CE3A78C2B90A4AE75D9AF76DD05B970A518;
|
|
// System.Collections.Generic.List`1<System.Action>
|
|
struct List_1_tDB72209F35D56F62A287633F9450978E90B90987;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FGenCell>
|
|
struct List_1_tD2B5FA0038E8B00F0891A3BB8F9DCEE47910CB79;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>
|
|
struct List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldModification>
|
|
struct List_1_t4C9DD1B169DD9D9F37503D25CD405C57BFA99604;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner>
|
|
struct List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldVariable>
|
|
struct List_1_tEC0C185889062DAC0AB3F4D719C36E37823B928F;
|
|
// System.Collections.Generic.List`1<UnityEngine.GameObject>
|
|
struct List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InjectionSetup>
|
|
struct List_1_t72DAAC5F81D0118BC951C0001B6FBA0624977F53;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition>
|
|
struct List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A;
|
|
// System.Collections.Generic.List`1<System.Int32>
|
|
struct List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.ModificatorsPack>
|
|
struct List_1_tA76CA99B977CE699A66053839B6FA6E86460567A;
|
|
// System.Collections.Generic.List`1<System.Object>
|
|
struct List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D;
|
|
// System.Collections.Generic.List`1<UnityEngine.Object>
|
|
struct List_1_t9A2E2984B23260AECDFA90CEB1F2887075FA4DF3;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.Planner.Nodes.PGGPlanner_NodeBase>
|
|
struct List_1_t9B1977E862A096FC88304EBFBC7DB64104254D17;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PrefabReference>
|
|
struct List_1_tE8D60D68C1E0DD4A88C3D71688367988BC2BD065;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData>
|
|
struct List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>
|
|
struct List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstructionGuide>
|
|
struct List_1_t47EB84D8D3371AC1E55BEA64B4C70F2067B2961E;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>
|
|
struct List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnerVariableHelper>
|
|
struct List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B;
|
|
// System.Collections.Generic.List`1<System.String>
|
|
struct List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD;
|
|
// 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<FIMSpace.Generating.PlanHelper/ConnectionRect>
|
|
struct List_1_t0A071D357023E38EAA5C7E0E34DE9732F26DBCE8;
|
|
// 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/TileMeshCombineInstance>
|
|
struct List_1_tD09CF6B7AC0E283A165F5C9054ADA110F099F189;
|
|
// System.Action[]
|
|
struct ActionU5BU5D_tF6161335A0A12A221AB081D78725C8AB6FE506D2;
|
|
// System.Delegate[]
|
|
struct DelegateU5BU5D_tC5AB7E8F745616680F337909D3A8E6C722CDF771;
|
|
// FIMSpace.Generating.FieldCell[]
|
|
struct FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50;
|
|
// FIMSpace.Generating.FieldSpawner[]
|
|
struct FieldSpawnerU5BU5D_tA683E38CC2E0AF270D27C8F7F72371F786BAC3CB;
|
|
// FIMSpace.Generating.InstructionDefinition[]
|
|
struct InstructionDefinitionU5BU5D_tEE7B58EDBFF328CC1FD81CD0A46D3CC5FF01598C;
|
|
// System.Int32[]
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
// System.Object[]
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
// FIMSpace.Generating.SpawnData[]
|
|
struct SpawnDataU5BU5D_tCFC7150CCF7CC010B3EB01E0EC283035FB895C30;
|
|
// FIMSpace.Generating.SpawnInstruction[]
|
|
struct SpawnInstructionU5BU5D_t5F4F41094A1C36BE44ABE7D625FD81E6D40EE24C;
|
|
// FIMSpace.Generating.SpawnRuleBase[]
|
|
struct SpawnRuleBaseU5BU5D_t17F51EB5C1DCEBA9CF14FC1F1A0FDF6D42D0DF0A;
|
|
// FIMSpace.Generating.SpawnerVariableHelper[]
|
|
struct SpawnerVariableHelperU5BU5D_tFEAEE73403DAF3DEB666DE03A259D8A19E7CF629;
|
|
// UnityEngine.Vector2[]
|
|
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
|
|
// UnityEngine.Vector3[]
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
// UnityEngine.Vector3Int[]
|
|
struct Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint[]
|
|
struct CurvePointU5BU5D_tEF66714CF111412E9F64A897E7E508D0BE48E5AD;
|
|
// System.Action
|
|
struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07;
|
|
// FIMSpace.Generating.CheckCellsSelectorSetup
|
|
struct CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1;
|
|
// UnityEngine.Collider
|
|
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76;
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3;
|
|
// System.DelegateData
|
|
struct DelegateData_t9B286B493293CD2D23A5B2B5EF0E5B1324C2B77E;
|
|
// FReflectionProbePreset
|
|
struct FReflectionProbePreset_t6914B704262B852B49946F775D36010F9748D4FD;
|
|
// FIMSpace.Generating.FieldCell
|
|
struct FieldCell_t0474210B4815B1D080500050D625323788B306F9;
|
|
// FIMSpace.Generating.FieldModification
|
|
struct FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF;
|
|
// FIMSpace.Generating.FieldSetup
|
|
struct FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926;
|
|
// FIMSpace.Generating.FieldSpawner
|
|
struct FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC;
|
|
// FIMSpace.Generating.FieldVariable
|
|
struct FieldVariable_t0F30FEB62AF2F8FD2BC6EE1A1CC6E190EC0B9B8F;
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F;
|
|
// FIMSpace.Generating.InstructionDefinition
|
|
struct InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445;
|
|
// UnityEngine.Material
|
|
struct Material_t18053F08F347D0DCA5E1140EC7EC4533DD8A14E3;
|
|
// UnityEngine.Mesh
|
|
struct Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4;
|
|
// System.Reflection.MethodInfo
|
|
struct MethodInfo_t;
|
|
// FIMSpace.Generating.ModificatorsPack
|
|
struct ModificatorsPack_t0B112D85F339723772DD9B5AC42069BE79D332EC;
|
|
// FIMSpace.Generating.NeightbourPlacement
|
|
struct NeightbourPlacement_t60A2F11F4F4AAE32F4984B28A90BFDF3F93401D9;
|
|
// FIMSpace.Generating.OStamperMultiSet
|
|
struct OStamperMultiSet_t3186510BD5458F45F8A8A419A910CF2B71843F5D;
|
|
// FIMSpace.Generating.OStamperSet
|
|
struct OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3;
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C;
|
|
// FIMSpace.Generating.Planning.PlannerNodes.PE_Start
|
|
struct PE_Start_t9810D5E5DD3923143BBCE06311BB93DB75225276;
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction
|
|
struct RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3;
|
|
// UnityEngine.Renderer
|
|
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF;
|
|
// FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset
|
|
struct SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf
|
|
struct SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner
|
|
struct SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot
|
|
struct SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268;
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition
|
|
struct SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset
|
|
struct SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer
|
|
struct SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer
|
|
struct SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation
|
|
struct SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320;
|
|
// FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale
|
|
struct SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation
|
|
struct SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF
|
|
struct SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph
|
|
struct SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E;
|
|
// FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale
|
|
struct SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C;
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset
|
|
struct SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8;
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale
|
|
struct SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218;
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset
|
|
struct SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition
|
|
struct SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate
|
|
struct SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79;
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat
|
|
struct SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale
|
|
struct SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange
|
|
struct SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850;
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset
|
|
struct SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8;
|
|
// FIMSpace.Generating.Planning.SingleInteriorSettings
|
|
struct SingleInteriorSettings_t69F4D4F9AC29B3CD90B766F0D750AF28683B702F;
|
|
// FIMSpace.Generating.SpawnData
|
|
struct SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7;
|
|
// FIMSpace.Generating.SpawnRuleBase
|
|
struct SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6;
|
|
// FIMSpace.Generating.SpawnerVariableHelper
|
|
struct SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580;
|
|
// System.String
|
|
struct String_t;
|
|
// FIMSpace.Generating.TileMeshSetup
|
|
struct TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15;
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1;
|
|
// System.Void
|
|
struct Void_t4861ACF8F4594C3437BB48B6E56783494B843915;
|
|
// FIMSpace.Generating.Planning.FieldPlanner/LocalVariables
|
|
struct LocalVariables_t67D24D06A08FFF4FAC2BC963071C8FC648476AC0;
|
|
// FIMSpace.Generating.FieldSetup/TriggerGenerationSettings
|
|
struct TriggerGenerationSettings_tA6E34F32A106613A9B3BC2B3E8D7B6002F570E8D;
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0
|
|
struct U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0
|
|
struct U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1
|
|
struct U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2
|
|
struct U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F;
|
|
// 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.TileMeshSetup/CubeGenerator
|
|
struct CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D;
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint
|
|
struct CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB;
|
|
// FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance
|
|
struct TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9;
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane
|
|
struct CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0;
|
|
|
|
IL2CPP_EXTERN_C RuntimeClass* Action_2_t8699AD063704997E98999B3BFF13FA7750266B16_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_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* FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* List_1_tDB72209F35D56F62A287633F9450978E90B90987_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C RuntimeClass* Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2_il2cpp_TypeInfo_var;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0764B7B10B078BB217EF471477DF4C15D97C73FF;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral0970CF2FD3560786B3DFD69BC3EE83E1A9521103;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral099A5A17EAA663DA9921B2A0B8EBB94847B6AC70;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1BB7F650ADB1CD975D05DF5ED884BF9CC8E68642;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral1EF32B1C3A248968852E1CB514F5BEBE4970B46F;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral227E99A87E80CD953BBACA0939586BE4E6241ABC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral29F07BB03B055FE9E4371548DEDA9E4C48D407D9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3652A179BD2BEF5762AA4589AD9FFF26089083E0;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3BDFA88EAE1D735960C2F82DA812B2173C98075E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral3FD8F8AC6AC464169FFBE67A817A867D6B67538B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral430167C35138DF721041DBF384DC356FC9A1A5AE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral4C7700B55B872365CB46F6B8EF03F4C40E08C554;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral5FB80DC59E407A608AAC5D600FFBD38CBF7294EE;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral7A0D339F88FEABA8111C3E8E72261FBC6090324B;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral82B64A9A8D5C786D11DAB929CD171BD16A8D1513;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8934F9FEA82205C3C7B334CD4FA0F87C05415051;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral8FC66902556497A1E9112884A8098FFA0D3E4EFD;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9BD57D2F168D51A4D7E6C847725B79853F8D2E88;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteral9CBDFE714B08A9A4EF309D9A58CC21DA82ABEBDA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA48347DEB8203DE580DBF4105AA6ED7BD0434307;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA4EF1BCA83AF2663E8837377FBACD87680A57AE2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralA73801F858CF375C2C41EBC42F36336C72DAD01E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralAA7A5E2DC58A348FEEE77D0BC982ADB16952E8D0;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB0E4384089A4BE87DEE8F8EDFB869794963BD02E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB4534572C00A4604B3547F16ADD9CC1F26EF2985;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB51C071F548119DA179B284D6AD16C844C2C7B47;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB6643D66FD7A292C7B45E1C4A5CF75D735FC9962;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralB9E063707D8337C1291D48BD049BF1C0DCAEB8F9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralBA5E52500508476AA68E4CDFB1A619F30D324CAA;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC3885CAA732652C12FF70288FAE25D20CDC7D3EC;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC6866846D44F4F870311AAC9381AE2A6730E5FB2;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralC994B61B944430901B761C6F18647453C7F4EF5A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCEB25924D4991B58F0AE8B442C8392BF74D37164;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralCF141ECAD80CB3AC0C0A97BE9C74A708EB57BAB3;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD07E67E93FCF46C6FD0D3C112F00DBEFF53779C9;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD19FFA86F361D223693971E3B7CBE24C3DCC993C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD3EB97C307A7F77860AA599707609AF64B475E90;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralD466246A6E3E3BC24511E989F092D8976409866E;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralDB85AA1520ACF1229750636BABC4CCD0357780CD;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralE7D1F6AC5A621E5D07AA20E529A2DF9EF3682D5A;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF1BFC079A44D5AA4F06FB04770E69B34DBEBD14C;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF5122D5A4841DA16AC882BEC4F50B5211F79D6E5;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF7DCC809A0206A118B310D23BCE163B52899B077;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralF83949864980A3ED606D8F5D070DC7330BB3E418;
|
|
IL2CPP_EXTERN_C String_t* _stringLiteralFD18544E01434482915DA8FA634E3E98B05A125C;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* FGenGraph_2_GetPLUSSquare_m781EB99C3B370221CF95F8DA7AFC55CEACF82174_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponentInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_mCEB1DBA2CA3D840367BAC4D8B11329FAFDABD971_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Add_m7A8B950ADF4821FDA15E9C9D46FBAB19840BEBF6_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_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Contains_mFAEA555388078FE5B4CA122F4F3F91D078231B25_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mB4ADA4D9A5748F42C1FCC90E32DAEDDEC0F6B937_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m5FBFF78EF8C3B3080BB1DE6173404D2C4B423A25_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass17_1_U3COnConditionsMetActionU3Eb__0_m6EBEB3715ACC540FE63D969869B4E6EE0407C2E4_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass17_2_U3COnConditionsMetActionU3Eb__1_m27839089EE5CCBE06A6076DCF18317DFD5C14078_RuntimeMethod_var;
|
|
IL2CPP_EXTERN_C const RuntimeMethod* U3CU3Ec__DisplayClass9_0_U3CProceedRemovingU3Eb__0_mA47DC59DAA56B2CC8BE9063F6A64FB8CD6B4594E_RuntimeMethod_var;
|
|
struct Delegate_t_marshaled_com;
|
|
struct Delegate_t_marshaled_pinvoke;
|
|
|
|
struct FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50;
|
|
struct Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C;
|
|
struct ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918;
|
|
struct Vector2U5BU5D_tFEBBC94BCC6C9C88277BA04047D2B3FDB6ED7FDA;
|
|
struct Vector3U5BU5D_tFF1859CCE176131B909E2044F76443064254679C;
|
|
|
|
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
|
|
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>
|
|
struct FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<T1> FIMSpace.Generating.FGenGraph`2::AllCells
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* ___AllCells_0;
|
|
// System.Collections.Generic.List`1<T1> FIMSpace.Generating.FGenGraph`2::AllApprovedCells
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* ___AllApprovedCells_1;
|
|
// FIMSpace.Generating.FGenGrid`1<T1> FIMSpace.Generating.FGenGraph`2::Cells
|
|
FGenGrid_1_t963EADA5DF61C7D333A1C3435C1A2B3FE1649C05* ___Cells_2;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FGenGraph`2<T1,T2>> FIMSpace.Generating.FGenGraph`2::SubGraphs
|
|
List_1_t7E218CE3A78C2B90A4AE75D9AF76DD05B970A518* ___SubGraphs_3;
|
|
// T1 FIMSpace.Generating.FGenGraph`2::<MinX>k__BackingField
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___U3CMinXU3Ek__BackingField_4;
|
|
// T1 FIMSpace.Generating.FGenGraph`2::<MinY>k__BackingField
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___U3CMinYU3Ek__BackingField_5;
|
|
// T1 FIMSpace.Generating.FGenGraph`2::<MinZ>k__BackingField
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___U3CMinZU3Ek__BackingField_6;
|
|
// T1 FIMSpace.Generating.FGenGraph`2::<MaxX>k__BackingField
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___U3CMaxXU3Ek__BackingField_7;
|
|
// T1 FIMSpace.Generating.FGenGraph`2::<MaxY>k__BackingField
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___U3CMaxYU3Ek__BackingField_8;
|
|
// T1 FIMSpace.Generating.FGenGraph`2::<MaxZ>k__BackingField
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___U3CMaxZU3Ek__BackingField_9;
|
|
// System.Int32 FIMSpace.Generating.FGenGraph`2::Width
|
|
int32_t ___Width_10;
|
|
// System.Int32 FIMSpace.Generating.FGenGraph`2::Height
|
|
int32_t ___Height_11;
|
|
// System.Int32 FIMSpace.Generating.FGenGraph`2::Depth
|
|
int32_t ___Depth_12;
|
|
// System.Int32 FIMSpace.Generating.FGenGraph`2::ReferenceScale
|
|
int32_t ___ReferenceScale_13;
|
|
// System.Single FIMSpace.Generating.FGenGraph`2::YScale
|
|
float ___YScale_14;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Action>
|
|
struct List_1_tDB72209F35D56F62A287633F9450978E90B90987 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
ActionU5BU5D_tF6161335A0A12A221AB081D78725C8AB6FE506D2* ____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.FieldCell>
|
|
struct List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* ____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.FieldSpawner>
|
|
struct List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
FieldSpawnerU5BU5D_tA683E38CC2E0AF270D27C8F7F72371F786BAC3CB* ____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.InstructionDefinition>
|
|
struct List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
InstructionDefinitionU5BU5D_tEE7B58EDBFF328CC1FD81CD0A46D3CC5FF01598C* ____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<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.SpawnData>
|
|
struct List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SpawnDataU5BU5D_tCFC7150CCF7CC010B3EB01E0EC283035FB895C30* ____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.SpawnInstruction>
|
|
struct List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SpawnInstructionU5BU5D_t5F4F41094A1C36BE44ABE7D625FD81E6D40EE24C* ____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.SpawnRuleBase>
|
|
struct List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490 : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SpawnRuleBaseU5BU5D_t17F51EB5C1DCEBA9CF14FC1F1A0FDF6D42D0DF0A* ____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.SpawnerVariableHelper>
|
|
struct List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B : public RuntimeObject
|
|
{
|
|
// T[] System.Collections.Generic.List`1::_items
|
|
SpawnerVariableHelperU5BU5D_tFEAEE73403DAF3DEB666DE03A259D8A19E7CF629* ____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<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;
|
|
};
|
|
|
|
// FIMSpace.Generating.CheckCellsSelectorSetup
|
|
struct CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1 : public RuntimeObject
|
|
{
|
|
// System.Boolean FIMSpace.Generating.CheckCellsSelectorSetup::UseRotor
|
|
bool ___UseRotor_0;
|
|
// FIMSpace.Generating.CheckCellsSelectorSetup/ERotor FIMSpace.Generating.CheckCellsSelectorSetup::Rotor
|
|
int32_t ___Rotor_1;
|
|
// System.Boolean FIMSpace.Generating.CheckCellsSelectorSetup::UseCondition
|
|
bool ___UseCondition_2;
|
|
// FIMSpace.Generating.Rules.ESR_NeightbourCondition FIMSpace.Generating.CheckCellsSelectorSetup::Condition
|
|
int32_t ___Condition_3;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3Int> FIMSpace.Generating.CheckCellsSelectorSetup::ToCheck
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* ___ToCheck_4;
|
|
};
|
|
|
|
// FIMSpace.Generating.FieldSpawner
|
|
struct FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC : public RuntimeObject
|
|
{
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::Enabled
|
|
bool ___Enabled_0;
|
|
// System.String FIMSpace.Generating.FieldSpawner::Name
|
|
String_t* ___Name_1;
|
|
// System.String FIMSpace.Generating.FieldSpawner::SpawnerTag
|
|
String_t* ___SpawnerTag_2;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::Prepared
|
|
bool ___Prepared_3;
|
|
// System.Int32 FIMSpace.Generating.FieldSpawner::StampPrefabID
|
|
int32_t ___StampPrefabID_4;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.FieldSpawner::Parent
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___Parent_5;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.FieldSpawner::Rules
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ___Rules_6;
|
|
// FIMSpace.Generating.FieldModification/EModificationMode FIMSpace.Generating.FieldSpawner::Mode
|
|
int32_t ___Mode_7;
|
|
// FIMSpace.Generating.FieldSpawner/ESR_CellOrder FIMSpace.Generating.FieldSpawner::CellCheckMode
|
|
int32_t ___CellCheckMode_8;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::_Editor_SpawnerAdvancedOptionsFoldout
|
|
bool ____Editor_SpawnerAdvancedOptionsFoldout_9;
|
|
// System.Int32 FIMSpace.Generating.FieldSpawner::OnScalledGrid
|
|
int32_t ___OnScalledGrid_10;
|
|
// UnityEngine.GameObject FIMSpace.Generating.FieldSpawner::<TemporaryPrefabOverride>k__BackingField
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___U3CTemporaryPrefabOverrideU3Ek__BackingField_11;
|
|
// System.Int32 FIMSpace.Generating.FieldSpawner::Repeat
|
|
int32_t ___Repeat_12;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::DontInheritRotations
|
|
bool ___DontInheritRotations_13;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::SwitchSpawnedToStatic
|
|
bool ___SwitchSpawnedToStatic_14;
|
|
// System.Int32 FIMSpace.Generating.FieldSpawner::_currentRepeat
|
|
int32_t ____currentRepeat_15;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::MultipleToSpawn
|
|
bool ___MultipleToSpawn_16;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::UseGlobalRules
|
|
bool ___UseGlobalRules_17;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::UseParentPackageRules
|
|
bool ___UseParentPackageRules_18;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::_wasEnablingGlobalRules
|
|
bool ____wasEnablingGlobalRules_19;
|
|
// FIMSpace.Generating.FieldSpawner/ESR_CellHierarchyAccess FIMSpace.Generating.FieldSpawner::ScaleAccess
|
|
int32_t ___ScaleAccess_20;
|
|
// System.Collections.Generic.List`1<System.Action> FIMSpace.Generating.FieldSpawner::OnPostCallEvents
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* ___OnPostCallEvents_21;
|
|
// System.Boolean FIMSpace.Generating.FieldSpawner::<wasPreGeneratingPrepared>k__BackingField
|
|
bool ___U3CwasPreGeneratingPreparedU3Ek__BackingField_23;
|
|
};
|
|
|
|
// FIMSpace.Generating.InstructionDefinition
|
|
struct InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445 : public RuntimeObject
|
|
{
|
|
// System.String FIMSpace.Generating.InstructionDefinition::Title
|
|
String_t* ___Title_0;
|
|
// FIMSpace.Generating.InstructionDefinition/EInstruction FIMSpace.Generating.InstructionDefinition::InstructionType
|
|
int32_t ___InstructionType_1;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.InstructionDefinition::TargetModification
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___TargetModification_2;
|
|
// System.String FIMSpace.Generating.InstructionDefinition::Tags
|
|
String_t* ___Tags_3;
|
|
// System.String FIMSpace.Generating.InstructionDefinition::InstructionArgument
|
|
String_t* ___InstructionArgument_4;
|
|
// System.Boolean FIMSpace.Generating.InstructionDefinition::Foldout
|
|
bool ___Foldout_5;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.InstructionDefinition::extraMod
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___extraMod_6;
|
|
// FIMSpace.Generating.ModificatorsPack FIMSpace.Generating.InstructionDefinition::extraPack
|
|
ModificatorsPack_t0B112D85F339723772DD9B5AC42069BE79D332EC* ___extraPack_7;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnerVariableHelper
|
|
struct SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580 : public RuntimeObject
|
|
{
|
|
// System.String FIMSpace.Generating.SpawnerVariableHelper::name
|
|
String_t* ___name_0;
|
|
// FIMSpace.Generating.FieldVariable FIMSpace.Generating.SpawnerVariableHelper::reference
|
|
FieldVariable_t0F30FEB62AF2F8FD2BC6EE1A1CC6E190EC0B9B8F* ___reference_1;
|
|
// FIMSpace.Generating.FieldVariable/EVarType FIMSpace.Generating.SpawnerVariableHelper::requiredType
|
|
int32_t ___requiredType_2;
|
|
// System.String FIMSpace.Generating.SpawnerVariableHelper::Tooltip
|
|
String_t* ___Tooltip_3;
|
|
};
|
|
|
|
// System.String
|
|
struct String_t : public RuntimeObject
|
|
{
|
|
// System.Int32 System.String::_stringLength
|
|
int32_t ____stringLength_4;
|
|
// System.Char System.String::_firstChar
|
|
Il2CppChar ____firstChar_5;
|
|
};
|
|
|
|
// 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.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0
|
|
struct U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D : public RuntimeObject
|
|
{
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0::<>4__this
|
|
RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3* ___U3CU3E4__this_0;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0::spawner
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___spawner_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0
|
|
struct U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D : public RuntimeObject
|
|
{
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0::<>4__this
|
|
SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* ___U3CU3E4__this_0;
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0::cell
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___cell_1;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0::grid
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___grid_2;
|
|
// FIMSpace.Generating.FieldSetup FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0::preset
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___preset_3;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1
|
|
struct U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B : public RuntimeObject
|
|
{
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1::spawn
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___spawn_0;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0 FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1::CS$<>8__locals1
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* ___CSU24U3CU3E8__locals1_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2
|
|
struct U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F : public RuntimeObject
|
|
{
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2::spawn
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___spawn_0;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0 FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2::CS$<>8__locals2
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* ___CSU24U3CU3E8__locals2_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane
|
|
struct CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0 : public RuntimeObject
|
|
{
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::verts
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___verts_0;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::vertsIndexes
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___vertsIndexes_1;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::tris
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___tris_2;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::EdgeL
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___EdgeL_3;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::EdgeR
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___EdgeR_4;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::EdgeF
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___EdgeF_5;
|
|
// System.Collections.Generic.List`1<System.Int32> FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::EdgeB
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___EdgeB_6;
|
|
};
|
|
|
|
// 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.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;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnDiffs
|
|
struct SpawnDiffs_t14ED76755A114AB0EC346897433DB35489A31DDC
|
|
{
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.SpawnDiffs::Cell
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___Cell_0;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.SpawnDiffs::SpawnsBackup
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___SpawnsBackup_1;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.SpawnDiffs::ToSpawn
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ToSpawn_2;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.SpawnDiffs::ToDestroy
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ToDestroy_3;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.SpawnDiffs
|
|
struct SpawnDiffs_t14ED76755A114AB0EC346897433DB35489A31DDC_marshaled_pinvoke
|
|
{
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___Cell_0;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___SpawnsBackup_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ToSpawn_2;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ToDestroy_3;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.SpawnDiffs
|
|
struct SpawnDiffs_t14ED76755A114AB0EC346897433DB35489A31DDC_marshaled_com
|
|
{
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___Cell_0;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___SpawnsBackup_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ToSpawn_2;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ToDestroy_3;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnRestriction
|
|
struct SpawnRestriction_t5AD5249B2B0F6E730FE1010248DF2788DBBC0FBE
|
|
{
|
|
// System.Boolean FIMSpace.Generating.SpawnRestriction::UseRestrictSpawnForTags
|
|
bool ___UseRestrictSpawnForTags_0;
|
|
// System.String FIMSpace.Generating.SpawnRestriction::RestrictSpawnForTags
|
|
String_t* ___RestrictSpawnForTags_1;
|
|
// System.String FIMSpace.Generating.SpawnRestriction::UsePresetsDefsByName
|
|
String_t* ___UsePresetsDefsByName_2;
|
|
// FIMSpace.Generating.InstructionDefinition FIMSpace.Generating.SpawnRestriction::CustomDefinition
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___CustomDefinition_3;
|
|
// FIMSpace.Generating.InstructionDefinition FIMSpace.Generating.SpawnRestriction::tempDef
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___tempDef_4;
|
|
// FIMSpace.Generating.InstructionDefinition FIMSpace.Generating.SpawnRestriction::tempFindDef
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___tempFindDef_5;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.SpawnRestriction
|
|
struct SpawnRestriction_t5AD5249B2B0F6E730FE1010248DF2788DBBC0FBE_marshaled_pinvoke
|
|
{
|
|
int32_t ___UseRestrictSpawnForTags_0;
|
|
char* ___RestrictSpawnForTags_1;
|
|
char* ___UsePresetsDefsByName_2;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___CustomDefinition_3;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___tempDef_4;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___tempFindDef_5;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.SpawnRestriction
|
|
struct SpawnRestriction_t5AD5249B2B0F6E730FE1010248DF2788DBBC0FBE_marshaled_com
|
|
{
|
|
int32_t ___UseRestrictSpawnForTags_0;
|
|
Il2CppChar* ___RestrictSpawnForTags_1;
|
|
Il2CppChar* ___UsePresetsDefsByName_2;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___CustomDefinition_3;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___tempDef_4;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___tempFindDef_5;
|
|
};
|
|
|
|
// 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.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;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// FIMSpace.Generating.FGenCell
|
|
struct FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5 : public RuntimeObject
|
|
{
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.FGenCell::Pos
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___Pos_0;
|
|
// System.Boolean FIMSpace.Generating.FGenCell::InTargetGridArea
|
|
bool ___InTargetGridArea_1;
|
|
// System.Int32 FIMSpace.Generating.FGenCell::Scaler
|
|
int32_t ___Scaler_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FGenCell::HelperVector
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___HelperVector_3;
|
|
// UnityEngine.Vector3Int[] FIMSpace.Generating.FGenCell::_helperDirsNull
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ____helperDirsNull_4;
|
|
// UnityEngine.Vector3Int[] FIMSpace.Generating.FGenCell::_helperDirs1
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ____helperDirs1_5;
|
|
// UnityEngine.Vector3Int[] FIMSpace.Generating.FGenCell::_helperDirs2
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ____helperDirs2_6;
|
|
// UnityEngine.Vector3Int[] FIMSpace.Generating.FGenCell::_helperDirs3
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ____helperDirs3_7;
|
|
// UnityEngine.Vector3Int[] FIMSpace.Generating.FGenCell::_helperDirs4
|
|
Vector3IntU5BU5D_t7A7C64EB93B0E0C1989C82C3D0A003294FC6EC5E* ____helperDirs4_8;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.FGenCell::_helperVector2
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ____helperVector2_9;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FGenCell> FIMSpace.Generating.FGenCell::biggerCells
|
|
List_1_tD2B5FA0038E8B00F0891A3BB8F9DCEE47910CB79* ___biggerCells_10;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FGenCell> FIMSpace.Generating.FGenCell::subCells
|
|
List_1_tD2B5FA0038E8B00F0891A3BB8F9DCEE47910CB79* ___subCells_11;
|
|
};
|
|
|
|
// 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;
|
|
};
|
|
|
|
// UnityEngine.Ray
|
|
struct Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00
|
|
{
|
|
// UnityEngine.Vector3 UnityEngine.Ray::m_Origin
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Origin_0;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::m_Direction
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___m_Direction_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction
|
|
struct RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3 : public RuntimeObject
|
|
{
|
|
// System.String FIMSpace.Generating.Rules.Helpers.RemoveInstruction::AffectedTags
|
|
String_t* ___AffectedTags_0;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Helpers.RemoveInstruction::CheckMode
|
|
int32_t ___CheckMode_1;
|
|
// System.Int32 FIMSpace.Generating.Rules.Helpers.RemoveInstruction::RemoveCount
|
|
int32_t ___RemoveCount_2;
|
|
// FIMSpace.Generating.Rules.ESR_DirectionMode FIMSpace.Generating.Rules.Helpers.RemoveInstruction::CheckOffset
|
|
int32_t ___CheckOffset_3;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.Rules.Helpers.RemoveInstruction::OffsetCellPosition
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___OffsetCellPosition_4;
|
|
// FIMSpace.Generating.Rules.ESR_AngleRemovalMode FIMSpace.Generating.Rules.Helpers.RemoveInstruction::RemoveWhen
|
|
int32_t ___RemoveWhen_5;
|
|
// FIMSpace.Generating.Rules.ESR_DirectionMode FIMSpace.Generating.Rules.Helpers.RemoveInstruction::UseSelfRotation
|
|
int32_t ___UseSelfRotation_6;
|
|
// System.Single FIMSpace.Generating.Rules.Helpers.RemoveInstruction::DegreesTolerance
|
|
float ___DegreesTolerance_7;
|
|
// System.Int32 FIMSpace.Generating.Rules.Helpers.RemoveInstruction::removed
|
|
int32_t ___removed_8;
|
|
// FIMSpace.Generating.CheckCellsSelectorSetup FIMSpace.Generating.Rules.Helpers.RemoveInstruction::checkSetup
|
|
CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1* ___checkSetup_9;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnData
|
|
struct SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7 : public RuntimeObject
|
|
{
|
|
// System.Boolean FIMSpace.Generating.SpawnData::Enabled
|
|
bool ___Enabled_0;
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.SpawnData::OwnerCell
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___OwnerCell_1;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.SpawnData::OwnerCellPos
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___OwnerCellPos_2;
|
|
// System.Int32 FIMSpace.Generating.SpawnData::idInStampObjects
|
|
int32_t ___idInStampObjects_3;
|
|
// UnityEngine.GameObject FIMSpace.Generating.SpawnData::Prefab
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___Prefab_4;
|
|
// System.Collections.Generic.List`1<UnityEngine.GameObject> FIMSpace.Generating.SpawnData::AdditionalGenerated
|
|
List_1_tB951CE80B58D1BF9650862451D8DAD8C231F207B* ___AdditionalGenerated_5;
|
|
// System.Boolean FIMSpace.Generating.SpawnData::<WasTemporaryPrefab>k__BackingField
|
|
bool ___U3CWasTemporaryPrefabU3Ek__BackingField_6;
|
|
// System.Boolean FIMSpace.Generating.SpawnData::DontSpawnMainPrefab
|
|
bool ___DontSpawnMainPrefab_7;
|
|
// FIMSpace.Generating.FieldSetup FIMSpace.Generating.SpawnData::ExecutedFrom
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___ExecutedFrom_8;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.SpawnData::OwnerMod
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___OwnerMod_9;
|
|
// FIMSpace.Generating.SpawnRuleBase FIMSpace.Generating.SpawnData::OwnerRule
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* ___OwnerRule_10;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.SpawnData::Spawner
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___Spawner_11;
|
|
// FIMSpace.Generating.OStamperSet FIMSpace.Generating.SpawnData::OStamp
|
|
OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3* ___OStamp_12;
|
|
// FIMSpace.Generating.OStamperMultiSet FIMSpace.Generating.SpawnData::OMulti
|
|
OStamperMultiSet_t3186510BD5458F45F8A8A419A910CF2B71843F5D* ___OMulti_13;
|
|
// UnityEngine.Mesh FIMSpace.Generating.SpawnData::PreviewMesh
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* ___PreviewMesh_14;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::Offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Offset_15;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::RotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RotationOffset_16;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::LocalRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___LocalRotationOffset_17;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::LocalScaleMul
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___LocalScaleMul_18;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::DirectionalOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___DirectionalOffset_19;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::TempPositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___TempPositionOffset_20;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::TempRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___TempRotationOffset_21;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::TempScaleMul
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___TempScaleMul_22;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::OutsidePositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___OutsidePositionOffset_23;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::OutsideRotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___OutsideRotationOffset_24;
|
|
// FIMSpace.Generating.SpawnData/ECombineMode FIMSpace.Generating.SpawnData::CombineMode
|
|
int32_t ___CombineMode_25;
|
|
// System.Boolean FIMSpace.Generating.SpawnData::ForceSetStatic
|
|
bool ___ForceSetStatic_26;
|
|
// FIMSpace.Generating.SpawnData/ESpawnMark FIMSpace.Generating.SpawnData::SpawnMark
|
|
int32_t ___SpawnMark_27;
|
|
// System.Collections.Generic.List`1<System.String> FIMSpace.Generating.SpawnData::customStigmas
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___customStigmas_28;
|
|
// System.Boolean FIMSpace.Generating.SpawnData::<isTemp>k__BackingField
|
|
bool ___U3CisTempU3Ek__BackingField_29;
|
|
// System.Collections.Generic.List`1<System.Action`1<FIMSpace.Generating.SpawnData>> FIMSpace.Generating.SpawnData::OnPreGeneratedEvents
|
|
List_1_t594AD8CB288E390FD2324ED170ED5C2E115AF1C4* ___OnPreGeneratedEvents_30;
|
|
// System.Collections.Generic.List`1<System.Action`1<UnityEngine.GameObject>> FIMSpace.Generating.SpawnData::OnGeneratedEvents
|
|
List_1_t261B5FB86860583ED8B529D12A8662404F52324A* ___OnGeneratedEvents_31;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.SpawnData::ChildSpawns
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___ChildSpawns_32;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnRestrictionsGroup
|
|
struct SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966
|
|
{
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstructionGuide> FIMSpace.Generating.SpawnRestrictionsGroup::Cells
|
|
List_1_t47EB84D8D3371AC1E55BEA64B4C70F2067B2961E* ___Cells_0;
|
|
// FIMSpace.Generating.SpawnRestriction FIMSpace.Generating.SpawnRestrictionsGroup::Restriction
|
|
SpawnRestriction_t5AD5249B2B0F6E730FE1010248DF2788DBBC0FBE ___Restriction_1;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.SpawnRestrictionsGroup
|
|
struct SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_pinvoke
|
|
{
|
|
List_1_t47EB84D8D3371AC1E55BEA64B4C70F2067B2961E* ___Cells_0;
|
|
SpawnRestriction_t5AD5249B2B0F6E730FE1010248DF2788DBBC0FBE_marshaled_pinvoke ___Restriction_1;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.SpawnRestrictionsGroup
|
|
struct SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_com
|
|
{
|
|
List_1_t47EB84D8D3371AC1E55BEA64B4C70F2067B2961E* ___Cells_0;
|
|
SpawnRestriction_t5AD5249B2B0F6E730FE1010248DF2788DBBC0FBE_marshaled_com ___Restriction_1;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.SpawnRules
|
|
struct SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2 : public RuntimeObject
|
|
{
|
|
};
|
|
|
|
// 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.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.Rules.Helpers.CollisionOffsetData
|
|
struct CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC
|
|
{
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::parent
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___parent_0;
|
|
// UnityEngine.Bounds FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::bounds
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___bounds_1;
|
|
// UnityEngine.Bounds FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::boundsWithSpawnOff
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___boundsWithSpawnOff_2;
|
|
// UnityEngine.Bounds FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::prbounds
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___prbounds_3;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::positionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positionOffset_4;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::cellOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___cellOffset_5;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::scale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___scale_6;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::rotation
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_7;
|
|
// System.String FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::name
|
|
String_t* ___name_8;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
struct CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_pinvoke
|
|
{
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___parent_0;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___bounds_1;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___boundsWithSpawnOff_2;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___prbounds_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positionOffset_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___cellOffset_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___scale_6;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_7;
|
|
char* ___name_8;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
struct CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_com
|
|
{
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___parent_0;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___bounds_1;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___boundsWithSpawnOff_2;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___prbounds_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___positionOffset_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___cellOffset_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___scale_6;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___rotation_7;
|
|
Il2CppChar* ___name_8;
|
|
};
|
|
|
|
// UnityEngine.Component
|
|
struct Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3 : public Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.FieldCell
|
|
struct FieldCell_t0474210B4815B1D080500050D625323788B306F9 : public FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5
|
|
{
|
|
// System.Int32 FIMSpace.Generating.FieldCell::GetCount
|
|
int32_t ___GetCount_12;
|
|
// System.Boolean FIMSpace.Generating.FieldCell::IsDirty
|
|
bool ___IsDirty_13;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.FieldCell::Spawns
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___Spawns_14;
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.FieldCell::ParentCell
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___ParentCell_15;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.FieldCell::ParentCellPos
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___ParentCellPos_16;
|
|
// System.Boolean FIMSpace.Generating.FieldCell::haveParentCell
|
|
bool ___haveParentCell_17;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.FieldCell::ChildCells
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* ___ChildCells_18;
|
|
// System.Collections.Generic.List`1<UnityEngine.Vector3Int> FIMSpace.Generating.FieldCell::ChildCellsPos
|
|
List_1_tD4E195AE3BDA50173FFDB1123B913E149DC2DE25* ___ChildCellsPos_19;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FieldCell::_helperPos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ____helperPos_20;
|
|
// UnityEngine.Vector4 FIMSpace.Generating.FieldCell::_helperValue
|
|
Vector4_t58B63D32F48C0DBF50DE2C60794C4676C80EDBE3 ____helperValue_21;
|
|
// System.Collections.Generic.List`1<System.String> FIMSpace.Generating.FieldCell::cellCustomData
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___cellCustomData_22;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction> FIMSpace.Generating.FieldCell::CellInstructions
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* ___CellInstructions_23;
|
|
// System.Collections.Generic.List`1<UnityEngine.Object> FIMSpace.Generating.FieldCell::cellCustomObjects
|
|
List_1_t9A2E2984B23260AECDFA90CEB1F2887075FA4DF3* ___cellCustomObjects_24;
|
|
// FIMSpace.Generating.SpawnDiffs FIMSpace.Generating.FieldCell::SpawnDiffs
|
|
SpawnDiffs_t14ED76755A114AB0EC346897433DB35489A31DDC ___SpawnDiffs_25;
|
|
// FIMSpace.Generating.NeightbourPlacement FIMSpace.Generating.FieldCell::neightbours
|
|
NeightbourPlacement_t60A2F11F4F4AAE32F4984B28A90BFDF3F93401D9* ___neightbours_26;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction> FIMSpace.Generating.FieldCell::GuidesIn
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* ___GuidesIn_27;
|
|
// System.Boolean FIMSpace.Generating.FieldCell::IsGhostCell
|
|
bool ___IsGhostCell_28;
|
|
};
|
|
|
|
// UnityEngine.GameObject
|
|
struct GameObject_t76FEDD663AB33C991A9C9A23129337651094216F : 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.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
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.PlanHelper/HelperRect
|
|
struct HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206
|
|
{
|
|
// UnityEngine.Vector2 FIMSpace.Generating.PlanHelper/HelperRect::pos
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___pos_0;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.PlanHelper/HelperRect::size
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___size_1;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PlanHelper/HelperRect::separationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___separationOffset_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PlanHelper/HelperRect::totalSepOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___totalSepOffset_3;
|
|
// System.Boolean FIMSpace.Generating.PlanHelper/HelperRect::rotated
|
|
bool ___rotated_4;
|
|
// System.Int32 FIMSpace.Generating.PlanHelper/HelperRect::TypeID
|
|
int32_t ___TypeID_5;
|
|
// System.Int32 FIMSpace.Generating.PlanHelper/HelperRect::IndividualID
|
|
int32_t ___IndividualID_6;
|
|
// System.Int32 FIMSpace.Generating.PlanHelper/HelperRect::DuplicateID
|
|
int32_t ___DuplicateID_7;
|
|
// System.Boolean FIMSpace.Generating.PlanHelper/HelperRect::HelperBool
|
|
bool ___HelperBool_8;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PlanHelper/ConnectionRect> FIMSpace.Generating.PlanHelper/HelperRect::Connections
|
|
List_1_t0A071D357023E38EAA5C7E0E34DE9732F26DBCE8* ___Connections_9;
|
|
// FIMSpace.Generating.Planning.SingleInteriorSettings FIMSpace.Generating.PlanHelper/HelperRect::SettingsRef
|
|
SingleInteriorSettings_t69F4D4F9AC29B3CD90B766F0D750AF28683B702F* ___SettingsRef_10;
|
|
// System.Int32 FIMSpace.Generating.PlanHelper/HelperRect::ChoosedConnections
|
|
int32_t ___ChoosedConnections_11;
|
|
// FIMSpace.Generating.SpawnRestrictionsGroup FIMSpace.Generating.PlanHelper/HelperRect::nears
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966 ___nears_12;
|
|
// FIMSpace.Generating.SpawnRestrictionsGroup FIMSpace.Generating.PlanHelper/HelperRect::counters
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966 ___counters_13;
|
|
// FIMSpace.Generating.SpawnRestrictionsGroup FIMSpace.Generating.PlanHelper/HelperRect::outsides
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966 ___outsides_14;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.PlanHelper/HelperRect
|
|
struct HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206_marshaled_pinvoke
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___pos_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___size_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___separationOffset_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___totalSepOffset_3;
|
|
int32_t ___rotated_4;
|
|
int32_t ___TypeID_5;
|
|
int32_t ___IndividualID_6;
|
|
int32_t ___DuplicateID_7;
|
|
int32_t ___HelperBool_8;
|
|
List_1_t0A071D357023E38EAA5C7E0E34DE9732F26DBCE8* ___Connections_9;
|
|
SingleInteriorSettings_t69F4D4F9AC29B3CD90B766F0D750AF28683B702F* ___SettingsRef_10;
|
|
int32_t ___ChoosedConnections_11;
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_pinvoke ___nears_12;
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_pinvoke ___counters_13;
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_pinvoke ___outsides_14;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.PlanHelper/HelperRect
|
|
struct HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206_marshaled_com
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___pos_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___size_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___separationOffset_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___totalSepOffset_3;
|
|
int32_t ___rotated_4;
|
|
int32_t ___TypeID_5;
|
|
int32_t ___IndividualID_6;
|
|
int32_t ___DuplicateID_7;
|
|
int32_t ___HelperBool_8;
|
|
List_1_t0A071D357023E38EAA5C7E0E34DE9732F26DBCE8* ___Connections_9;
|
|
SingleInteriorSettings_t69F4D4F9AC29B3CD90B766F0D750AF28683B702F* ___SettingsRef_10;
|
|
int32_t ___ChoosedConnections_11;
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_com ___nears_12;
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_com ___counters_13;
|
|
SpawnRestrictionsGroup_t3276DB9309852476983B4BD460FB8C9B60699966_marshaled_com ___outsides_14;
|
|
};
|
|
|
|
// System.Action`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData>
|
|
struct Action_2_t8699AD063704997E98999B3BFF13FA7750266B16 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
struct Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Func`2<FIMSpace.Generating.SpawnData,System.Boolean>
|
|
struct Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// System.Action
|
|
struct Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07 : public MulticastDelegate_t
|
|
{
|
|
};
|
|
|
|
// UnityEngine.Collider
|
|
struct Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.FieldModification
|
|
struct FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
|
|
{
|
|
// UnityEngine.Transform FIMSpace.Generating.FieldModification::TemporaryContainer
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* ___TemporaryContainer_4;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::Enabled
|
|
bool ___Enabled_5;
|
|
// System.String FIMSpace.Generating.FieldModification::ModTag
|
|
String_t* ___ModTag_6;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::DrawMeshAndBox
|
|
bool ___DrawMeshAndBox_7;
|
|
// FIMSpace.Generating.FieldModification/ECombineSet FIMSpace.Generating.FieldModification::Combine
|
|
int32_t ___Combine_8;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::RunEmittersIfContains
|
|
bool ___RunEmittersIfContains_9;
|
|
// FIMSpace.Generating.FieldModification/EModificationMode FIMSpace.Generating.FieldModification::DrawSetupFor
|
|
int32_t ___DrawSetupFor_10;
|
|
// FIMSpace.Generating.OStamperSet FIMSpace.Generating.FieldModification::OStamp
|
|
OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3* ___OStamp_11;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::DrawObjectStamps
|
|
bool ___DrawObjectStamps_12;
|
|
// FIMSpace.Generating.OStamperMultiSet FIMSpace.Generating.FieldModification::OMultiStamp
|
|
OStamperMultiSet_t3186510BD5458F45F8A8A419A910CF2B71843F5D* ___OMultiStamp_13;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.PrefabReference> FIMSpace.Generating.FieldModification::PrefabsList
|
|
List_1_tE8D60D68C1E0DD4A88C3D71688367988BC2BD065* ___PrefabsList_14;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::DrawMultiObjectStamps
|
|
bool ___DrawMultiObjectStamps_15;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner> FIMSpace.Generating.FieldModification::Spawners
|
|
List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* ___Spawners_16;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner> FIMSpace.Generating.FieldModification::SubSpawners
|
|
List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* ___SubSpawners_17;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.FieldModification::VariantOf
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___VariantOf_18;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::_editor_drawStamp
|
|
bool ____editor_drawStamp_19;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::_editor_drawSpawners
|
|
bool ____editor_drawSpawners_20;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::_editor_drawGlobalRules
|
|
bool ____editor_drawGlobalRules_21;
|
|
// System.Boolean FIMSpace.Generating.FieldModification::_editor_drawModPackRules
|
|
bool ____editor_drawModPackRules_22;
|
|
// System.Int32 FIMSpace.Generating.FieldModification::_editor_shareSelected
|
|
int32_t ____editor_shareSelected_23;
|
|
// FIMSpace.Generating.FieldSetup FIMSpace.Generating.FieldModification::ParentPreset
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___ParentPreset_24;
|
|
// FIMSpace.Generating.ModificatorsPack FIMSpace.Generating.FieldModification::ParentPack
|
|
ModificatorsPack_t0B112D85F339723772DD9B5AC42069BE79D332EC* ___ParentPack_25;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.FieldModification::_tempGlobalRulesPre
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ____tempGlobalRulesPre_26;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.FieldModification::_tempGlobablRulesPost
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ____tempGlobablRulesPost_27;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.FieldModification::_tempGlobablRulesOnConditions
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ____tempGlobablRulesOnConditions_28;
|
|
};
|
|
|
|
// FIMSpace.Generating.FieldSetup
|
|
struct FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
|
|
{
|
|
// System.Single FIMSpace.Generating.FieldSetup::CellSize
|
|
float ___CellSize_4;
|
|
// System.Boolean FIMSpace.Generating.FieldSetup::NonUniformSize
|
|
bool ___NonUniformSize_5;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.FieldSetup::NonUniformCellSize
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___NonUniformCellSize_6;
|
|
// System.String FIMSpace.Generating.FieldSetup::InfoText
|
|
String_t* ___InfoText_7;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldVariable> FIMSpace.Generating.FieldSetup::Variables
|
|
List_1_tEC0C185889062DAC0AB3F4D719C36E37823B928F* ___Variables_8;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.FieldSetup::DoorsModificator
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___DoorsModificator_9;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.FieldSetup::EraseWallModificator
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___EraseWallModificator_10;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition> FIMSpace.Generating.FieldSetup::CellsInstructions
|
|
List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* ___CellsInstructions_11;
|
|
// FIMSpace.Generating.FieldSetup FIMSpace.Generating.FieldSetup::<InstantiatedOutOf>k__BackingField
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___U3CInstantiatedOutOfU3Ek__BackingField_12;
|
|
// FIMSpace.Generating.ModificatorsPack FIMSpace.Generating.FieldSetup::RootPack
|
|
ModificatorsPack_t0B112D85F339723772DD9B5AC42069BE79D332EC* ___RootPack_13;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldModification> FIMSpace.Generating.FieldSetup::UtilityModificators
|
|
List_1_t4C9DD1B169DD9D9F37503D25CD405C57BFA99604* ___UtilityModificators_14;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.ModificatorsPack> FIMSpace.Generating.FieldSetup::ModificatorPacks
|
|
List_1_tA76CA99B977CE699A66053839B6FA6E86460567A* ___ModificatorPacks_15;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldModification> FIMSpace.Generating.FieldSetup::Ignores
|
|
List_1_t4C9DD1B169DD9D9F37503D25CD405C57BFA99604* ___Ignores_16;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InjectionSetup> FIMSpace.Generating.FieldSetup::temporaryInjections
|
|
List_1_t72DAAC5F81D0118BC951C0001B6FBA0624977F53* ___temporaryInjections_17;
|
|
// System.String FIMSpace.Generating.FieldSetup::DontSpawnOn
|
|
String_t* ___DontSpawnOn_18;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InjectionSetup> FIMSpace.Generating.FieldSetup::SelfInjections
|
|
List_1_t72DAAC5F81D0118BC951C0001B6FBA0624977F53* ___SelfInjections_19;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldModification> FIMSpace.Generating.FieldSetup::disabledMods
|
|
List_1_t4C9DD1B169DD9D9F37503D25CD405C57BFA99604* ___disabledMods_20;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.FieldSetup::_tempGraphScale2
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ____tempGraphScale2_21;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.FieldSetup::_tempGraphScale3
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ____tempGraphScale3_22;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.FieldSetup::_tempGraphScale4
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ____tempGraphScale4_23;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.FieldSetup::_tempGraphScale5
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ____tempGraphScale5_24;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.FieldSetup::_tempGraphScale6
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ____tempGraphScale6_25;
|
|
// System.Collections.Generic.List`1<System.Action> FIMSpace.Generating.FieldSetup::OnAfterGeneratingEvents
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* ___OnAfterGeneratingEvents_26;
|
|
// System.Boolean FIMSpace.Generating.FieldSetup::AddReflectionProbes
|
|
bool ___AddReflectionProbes_27;
|
|
// FReflectionProbePreset FIMSpace.Generating.FieldSetup::MainReflectionSettings
|
|
FReflectionProbePreset_t6914B704262B852B49946F775D36010F9748D4FD* ___MainReflectionSettings_28;
|
|
// System.Boolean FIMSpace.Generating.FieldSetup::AddMultipleProbes
|
|
bool ___AddMultipleProbes_29;
|
|
// FReflectionProbePreset FIMSpace.Generating.FieldSetup::SmallerReflSettings
|
|
FReflectionProbePreset_t6914B704262B852B49946F775D36010F9748D4FD* ___SmallerReflSettings_30;
|
|
// FReflectionProbePreset FIMSpace.Generating.FieldSetup::MiniReflSettings
|
|
FReflectionProbePreset_t6914B704262B852B49946F775D36010F9748D4FD* ___MiniReflSettings_31;
|
|
// System.Int32 FIMSpace.Generating.FieldSetup::SmallerReflLowerSpaceThan
|
|
int32_t ___SmallerReflLowerSpaceThan_32;
|
|
// System.Single FIMSpace.Generating.FieldSetup::LimitSingleProbeSize
|
|
float ___LimitSingleProbeSize_33;
|
|
// System.Boolean FIMSpace.Generating.FieldSetup::AddLightProbes
|
|
bool ___AddLightProbes_34;
|
|
// System.Int32 FIMSpace.Generating.FieldSetup::ProbesPerCell
|
|
int32_t ___ProbesPerCell_35;
|
|
// FIMSpace.Generating.FieldSetup/ETriggerGenerationMode FIMSpace.Generating.FieldSetup::TriggerColliderGeneration
|
|
int32_t ___TriggerColliderGeneration_36;
|
|
// FIMSpace.Generating.FieldSetup/TriggerGenerationSettings FIMSpace.Generating.FieldSetup::TriggerGenSettings
|
|
TriggerGenerationSettings_tA6E34F32A106613A9B3BC2B3E8D7B6002F570E8D* ___TriggerGenSettings_37;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldVariable> FIMSpace.Generating.FieldSetup::variablesMemory
|
|
List_1_tEC0C185889062DAC0AB3F4D719C36E37823B928F* ___variablesMemory_38;
|
|
};
|
|
|
|
// UnityEngine.Renderer
|
|
struct Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnRuleBase
|
|
struct SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6 : public ScriptableObject_tB3BFDB921A1B1795B38A5417D3B97A89A140436A
|
|
{
|
|
// System.String FIMSpace.Generating.SpawnRuleBase::_in_head
|
|
String_t* ____in_head_4;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::DrawLogicSwitch
|
|
bool ___DrawLogicSwitch_7;
|
|
// FIMSpace.Generating.SpawnRuleBase/ERuleLogic FIMSpace.Generating.SpawnRuleBase::Logic
|
|
int32_t ___Logic_8;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::Negate
|
|
bool ___Negate_9;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::Global
|
|
bool ___Global_10;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::DisableDrawingGlobalSwitch
|
|
bool ___DisableDrawingGlobalSwitch_11;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.SpawnRuleBase::_editor_scroll
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ____editor_scroll_12;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::Enabled
|
|
bool ___Enabled_13;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::Ignore
|
|
bool ___Ignore_14;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::_editor_drawRule
|
|
bool ____editor_drawRule_15;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.SpawnRuleBase::OwnerSpawner
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___OwnerSpawner_16;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::CellAllow
|
|
bool ___CellAllow_17;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::AllConditionsMet
|
|
bool ___AllConditionsMet_18;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::_EditorDebug
|
|
bool ____EditorDebug_19;
|
|
// UnityEngine.Color FIMSpace.Generating.SpawnRuleBase::_DbPreCol
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F ____DbPreCol_20;
|
|
// System.Collections.Generic.List`1<System.String> FIMSpace.Generating.SpawnRuleBase::GUIIgnore
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ___GUIIgnore_21;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.SpawnRuleBase::tempSpawns
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* ___tempSpawns_22;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::VariablesPrepared
|
|
bool ___VariablesPrepared_23;
|
|
};
|
|
|
|
// UnityEngine.Transform
|
|
struct Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1 : public Component_t39FBE53E5EFCF4409111FB22C15FF73717632EC3
|
|
{
|
|
};
|
|
|
|
// FIMSpace.Generating.PlanHelper/ConnectionRect
|
|
struct ConnectionRect_tC06341BD58C6BB33333F1229642ABBD280881F26
|
|
{
|
|
// FIMSpace.Generating.PlanHelper/HelperRect FIMSpace.Generating.PlanHelper/ConnectionRect::Connection1
|
|
HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206 ___Connection1_0;
|
|
// FIMSpace.Generating.PlanHelper/HelperRect FIMSpace.Generating.PlanHelper/ConnectionRect::Connection2
|
|
HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206 ___Connection2_1;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.PlanHelper/ConnectionRect::pos
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___pos_2;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PlanHelper/ConnectionRect::directOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___directOffset_3;
|
|
// FIMSpace.Generating.EAlignDir FIMSpace.Generating.PlanHelper/ConnectionRect::direction
|
|
int32_t ___direction_4;
|
|
// System.Boolean FIMSpace.Generating.PlanHelper/ConnectionRect::Found
|
|
bool ___Found_5;
|
|
// System.Int32 FIMSpace.Generating.PlanHelper/ConnectionRect::Id
|
|
int32_t ___Id_6;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.PlanHelper/ConnectionRect
|
|
struct ConnectionRect_tC06341BD58C6BB33333F1229642ABBD280881F26_marshaled_pinvoke
|
|
{
|
|
HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206_marshaled_pinvoke ___Connection1_0;
|
|
HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206_marshaled_pinvoke ___Connection2_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___pos_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___directOffset_3;
|
|
int32_t ___direction_4;
|
|
int32_t ___Found_5;
|
|
int32_t ___Id_6;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.PlanHelper/ConnectionRect
|
|
struct ConnectionRect_tC06341BD58C6BB33333F1229642ABBD280881F26_marshaled_com
|
|
{
|
|
HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206_marshaled_com ___Connection1_0;
|
|
HelperRect_tBC9EB20A9B57E74CFDDF0A753DA754528BB5A206_marshaled_com ___Connection2_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___pos_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___directOffset_3;
|
|
int32_t ___direction_4;
|
|
int32_t ___Found_5;
|
|
int32_t ___Id_6;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset
|
|
struct SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::WorldOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___WorldOffset_24;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::DirectionalOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___DirectionalOffset_25;
|
|
// System.String FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::DirectFrom
|
|
String_t* ___DirectFrom_26;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::CheckMode
|
|
int32_t ___CheckMode_27;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf
|
|
struct SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::CallFrom
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___CallFrom_24;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::CallModGraph
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* ___CallModGraph_25;
|
|
// System.Int32 FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::SpawnerId
|
|
int32_t ___SpawnerId_26;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf/EResult FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::CallResult
|
|
int32_t ___CallResult_27;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::IgnoreToCall
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ___IgnoreToCall_28;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::internalAllow
|
|
bool ___internalAllow_29;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::runCall
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ___runCall_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner
|
|
struct SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::targetSubSpawner
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___targetSubSpawner_24;
|
|
// System.Int32 FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::CallSpawner
|
|
int32_t ___CallSpawner_25;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::InheritCoords
|
|
bool ___InheritCoords_26;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::PostCall
|
|
bool ___PostCall_27;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::UseTemps
|
|
bool ___UseTemps_28;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::SubSpawnersOf
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___SubSpawnersOf_29;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot
|
|
struct SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::PivotOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___PivotOffset_24;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::OffsetMode
|
|
int32_t ___OffsetMode_25;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition
|
|
struct SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::OffsetMode
|
|
int32_t ___OffsetMode_24;
|
|
// FIMSpace.Generating.ESP_OffsetMode FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::ApplyMode
|
|
int32_t ___ApplyMode_25;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::OffsetOnZero
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___OffsetOnZero_26;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::OffsetOn90
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___OffsetOn90_27;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::OffsetOn180
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___OffsetOn180_28;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::OffsetOn270
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___OffsetOn270_29;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset
|
|
struct SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::Append
|
|
bool ___Append_24;
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::Randomize
|
|
bool ___Randomize_25;
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::GetOffsetFromTagged
|
|
String_t* ___GetOffsetFromTagged_26;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::CheckMode
|
|
int32_t ___CheckMode_27;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::Offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Offset_28;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::OffsetMode
|
|
int32_t ___OffsetMode_29;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::RandomOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomOffset_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer
|
|
struct SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::replaceOnTag
|
|
String_t* ___replaceOnTag_24;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::CheckMode
|
|
int32_t ___CheckMode_25;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::Offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Offset_26;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::OffsetMode
|
|
int32_t ___OffsetMode_27;
|
|
// System.Single FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::YawRotationOffset
|
|
float ___YawRotationOffset_28;
|
|
// System.Single FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::RemoveDistance
|
|
float ___RemoveDistance_29;
|
|
// FIMSpace.Generating.Rules.ESR_Origin FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::DistanceSource
|
|
int32_t ___DistanceSource_30;
|
|
// FIMSpace.Generating.EPlanGuideDirecion FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::DebugDirection
|
|
int32_t ___DebugDirection_31;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::DrawDebugGizmos
|
|
bool ___DrawDebugGizmos_32;
|
|
// System.Single FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::debugNearestDist
|
|
float ___debugNearestDist_33;
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::debugobjName
|
|
String_t* ___debugobjName_34;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::debugMeasurePos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugMeasurePos_35;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::debugMeasureNearestPos
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___debugMeasureNearestPos_36;
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::targetSpawn
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___targetSpawn_37;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer
|
|
struct SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer/EMode FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::Mode
|
|
int32_t ___Mode_24;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer/EAlignMode FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::AlignMode
|
|
int32_t ___AlignMode_25;
|
|
// System.Single FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::YawOffset
|
|
float ___YawOffset_26;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::DirectOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___DirectOffset_27;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::OffsetMode
|
|
int32_t ___OffsetMode_28;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::RotateBy90Only
|
|
bool ___RotateBy90Only_29;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::V2
|
|
bool ___V2_30;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::Advanced
|
|
bool ___Advanced_31;
|
|
// FIMSpace.Generating.Rules.ESR_Space FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::SpawnOnCheck
|
|
int32_t ___SpawnOnCheck_32;
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::SpawnOnTag
|
|
String_t* ___SpawnOnTag_33;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::CheckMode
|
|
int32_t ___CheckMode_34;
|
|
// FIMSpace.Generating.Rules.ESR_Space FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::OutsideCondition
|
|
int32_t ___OutsideCondition_35;
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::OutsideOnTag
|
|
String_t* ___OutsideOnTag_36;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::CheckOutMode
|
|
int32_t ___CheckOutMode_37;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::NegateOutsideCheck
|
|
bool ___NegateOutsideCheck_38;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation
|
|
struct SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::OnlyFromSpecificCellData
|
|
String_t* ___OnlyFromSpecificCellData_24;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::AdditionalAngleOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___AdditionalAngleOffset_25;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale
|
|
struct SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.Rules.ESR_Transforming FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::Get
|
|
int32_t ___Get_24;
|
|
// System.String FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::GatherBy
|
|
String_t* ___GatherBy_25;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::CheckMode
|
|
int32_t ___CheckMode_26;
|
|
// FIMSpace.Generating.ESP_OffsetSpace FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::Space
|
|
int32_t ___Space_27;
|
|
// FIMSpace.Generating.ESP_GetMode FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::GetMode
|
|
int32_t ___GetMode_28;
|
|
// FIMSpace.Generating.ESP_OffsetMode FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::ApplyMode
|
|
int32_t ___ApplyMode_29;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::GetFromOffsetCell
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___GetFromOffsetCell_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation
|
|
struct SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::AdditionalAngleOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___AdditionalAngleOffset_24;
|
|
// System.Nullable`1<UnityEngine.Vector3> FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::restrict
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___restrict_25;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF
|
|
struct SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::Test
|
|
bool ___Test_24;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::spawner
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___spawner_25;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::internalCellAllow
|
|
bool ___internalCellAllow_26;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF/EResult FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::BlockResult
|
|
int32_t ___BlockResult_27;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph
|
|
struct SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::_editor_wasRenaming
|
|
bool ____editor_wasRenaming_24;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::ExternalModGraph
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* ___ExternalModGraph_25;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.Planner.Nodes.PGGPlanner_NodeBase> FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Nodes
|
|
List_1_t9B1977E862A096FC88304EBFBC7DB64104254D17* ___Nodes_26;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldVariable> FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::_graphVariables
|
|
List_1_tEC0C185889062DAC0AB3F4D719C36E37823B928F* ____graphVariables_27;
|
|
// FIMSpace.Generating.Planning.FieldPlanner/LocalVariables FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::_graphLocalVariables
|
|
LocalVariables_t67D24D06A08FFF4FAC2BC963071C8FC648476AC0* ____graphLocalVariables_28;
|
|
// FIMSpace.Generating.Planning.PlannerNodes.PE_Start FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::proceduresBegin
|
|
PE_Start_t9810D5E5DD3923143BBCE06311BB93DB75225276* ___proceduresBegin_29;
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph/ECallGraphOn FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::CallDuring
|
|
int32_t ___CallDuring_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale
|
|
struct SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.Rules.ESR_Transforming FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::EffectOn
|
|
int32_t ___EffectOn_24;
|
|
// FIMSpace.Generating.ESP_OffsetMode FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::ApplyMode
|
|
int32_t ___ApplyMode_25;
|
|
// FIMSpace.Generating.ESP_OffsetSpace FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::Space
|
|
int32_t ___Space_26;
|
|
// System.String FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::GetCoords
|
|
String_t* ___GetCoords_27;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::CheckMode
|
|
int32_t ___CheckMode_28;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::PositionOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___PositionOffset_29;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::OffsetMode
|
|
int32_t ___OffsetMode_30;
|
|
// FIMSpace.Generating.SpawnerVariableHelper FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::OffsetPosVariable
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* ___OffsetPosVariable_31;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::RotationOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RotationOffset_32;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::ScaleMultiplier
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___ScaleMultiplier_33;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::RandomizeOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomizeOffset_34;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::MaxDegreesSteps
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___MaxDegreesSteps_35;
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::InheritScaleOffset
|
|
bool ___InheritScaleOffset_36;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset
|
|
struct SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::PosOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___PosOffset_24;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::OffsetMode
|
|
int32_t ___OffsetMode_25;
|
|
// FIMSpace.Generating.ESP_OffsetMode FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::ApplyMode
|
|
int32_t ___ApplyMode_26;
|
|
// FIMSpace.Generating.ESP_OffsetSpace FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::Space
|
|
int32_t ___Space_27;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::PerlinNoiseScale
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___PerlinNoiseScale_28;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::OffsetNoise
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___OffsetNoise_29;
|
|
// System.Single FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::SquareSteps
|
|
float ___SquareSteps_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale
|
|
struct SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::Offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Offset_24;
|
|
// FIMSpace.Generating.Rules.ESR_RotationOrScale FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::EffectOn
|
|
int32_t ___EffectOn_25;
|
|
// FIMSpace.Generating.ESP_OffsetMode FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::ApplyMode
|
|
int32_t ___ApplyMode_26;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::PerlinNoiseScale
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___PerlinNoiseScale_27;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::OffsetNoise
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___OffsetNoise_28;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::OptionalClamp
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___OptionalClamp_29;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset
|
|
struct SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.Single FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::Multiply
|
|
float ___Multiply_24;
|
|
// FIMSpace.Generating.ESP_OffsetSpace FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::Space
|
|
int32_t ___Space_25;
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::UseAsHelperCorrection
|
|
bool ___UseAsHelperCorrection_26;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition
|
|
struct SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::Offset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___Offset_24;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::RandomOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomOffset_25;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::RoundOffsetBy
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RoundOffsetBy_26;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate
|
|
struct SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::GetRotationFromTagged
|
|
String_t* ___GetRotationFromTagged_24;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::CheckMode
|
|
int32_t ___CheckMode_25;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::RotationEulerOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RotationEulerOffset_26;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::RandomRotation
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomRotation_27;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::MaxDegreesSteps
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___MaxDegreesSteps_28;
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::LocalRotation
|
|
bool ___LocalRotation_29;
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::OverrideRotation
|
|
bool ___OverrideRotation_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat
|
|
struct SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// FIMSpace.Generating.ESP_OffsetSpace FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::OffsetSpace
|
|
int32_t ___OffsetSpace_24;
|
|
// FIMSpace.Generating.ESP_OffsetMode FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::Apply
|
|
int32_t ___Apply_25;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::AnglePerRepeat
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___AnglePerRepeat_26;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale
|
|
struct SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::ScaleMultiplier
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___ScaleMultiplier_24;
|
|
// FIMSpace.Generating.SpawnerVariableHelper FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::ScaleMulVariable
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* ___ScaleMulVariable_25;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::RandomizeScale
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomizeScale_26;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange
|
|
struct SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::KeepScaleRatio
|
|
bool ___KeepScaleRatio_24;
|
|
// System.Single FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::MultiplyScale
|
|
float ___MultiplyScale_25;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::ScaleXFromTo
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___ScaleXFromTo_26;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::ScaleYFromTo
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___ScaleYFromTo_27;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::ScaleZFromTo
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___ScaleZFromTo_28;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset
|
|
struct SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8 : public SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6
|
|
{
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::OverrideOffset
|
|
bool ___OverrideOffset_24;
|
|
// System.Boolean FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::Randomize
|
|
bool ___Randomize_25;
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::GetOffsetFromTagged
|
|
String_t* ___GetOffsetFromTagged_26;
|
|
// FIMSpace.Generating.Rules.ESR_Details FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::CheckMode
|
|
int32_t ___CheckMode_27;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::WorldOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___WorldOffset_28;
|
|
// FIMSpace.Generating.Rules.ESR_Measuring FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::OffsetMode
|
|
int32_t ___OffsetMode_29;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::RandomWorldOffset
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___RandomWorldOffset_30;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnInstruction
|
|
struct SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004
|
|
{
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.SpawnInstruction::gridPosition
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___gridPosition_0;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.SpawnInstruction::desiredDirection
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___desiredDirection_1;
|
|
// System.Boolean FIMSpace.Generating.SpawnInstruction::useDirection
|
|
bool ___useDirection_2;
|
|
// FIMSpace.Generating.InstructionDefinition FIMSpace.Generating.SpawnInstruction::definition
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___definition_3;
|
|
// FIMSpace.Generating.EHelperGuideType FIMSpace.Generating.SpawnInstruction::helperType
|
|
int32_t ___helperType_4;
|
|
// FIMSpace.Generating.PlanHelper/ConnectionRect FIMSpace.Generating.SpawnInstruction::helperConnection
|
|
ConnectionRect_tC06341BD58C6BB33333F1229642ABBD280881F26 ___helperConnection_5;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.SpawnInstruction::helperCoords
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___helperCoords_6;
|
|
// System.Int32 FIMSpace.Generating.SpawnInstruction::HelperID
|
|
int32_t ___HelperID_7;
|
|
};
|
|
// Native definition for P/Invoke marshalling of FIMSpace.Generating.SpawnInstruction
|
|
struct SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004_marshaled_pinvoke
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___gridPosition_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___desiredDirection_1;
|
|
int32_t ___useDirection_2;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___definition_3;
|
|
int32_t ___helperType_4;
|
|
ConnectionRect_tC06341BD58C6BB33333F1229642ABBD280881F26_marshaled_pinvoke ___helperConnection_5;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___helperCoords_6;
|
|
int32_t ___HelperID_7;
|
|
};
|
|
// Native definition for COM marshalling of FIMSpace.Generating.SpawnInstruction
|
|
struct SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004_marshaled_com
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___gridPosition_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___desiredDirection_1;
|
|
int32_t ___useDirection_2;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* ___definition_3;
|
|
int32_t ___helperType_4;
|
|
ConnectionRect_tC06341BD58C6BB33333F1229642ABBD280881F26_marshaled_com ___helperConnection_5;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___helperCoords_6;
|
|
int32_t ___HelperID_7;
|
|
};
|
|
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>
|
|
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>
|
|
|
|
// System.Collections.Generic.List`1<System.Action>
|
|
struct List_1_tDB72209F35D56F62A287633F9450978E90B90987_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
ActionU5BU5D_tF6161335A0A12A221AB081D78725C8AB6FE506D2* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<System.Action>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>
|
|
struct List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner>
|
|
struct List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
FieldSpawnerU5BU5D_tA683E38CC2E0AF270D27C8F7F72371F786BAC3CB* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition>
|
|
struct List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
InstructionDefinitionU5BU5D_tEE7B58EDBFF328CC1FD81CD0A46D3CC5FF01598C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition>
|
|
|
|
// 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<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.SpawnData>
|
|
struct List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SpawnDataU5BU5D_tCFC7150CCF7CC010B3EB01E0EC283035FB895C30* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>
|
|
struct List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SpawnInstructionU5BU5D_t5F4F41094A1C36BE44ABE7D625FD81E6D40EE24C* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>
|
|
struct List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SpawnRuleBaseU5BU5D_t17F51EB5C1DCEBA9CF14FC1F1A0FDF6D42D0DF0A* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnerVariableHelper>
|
|
struct List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B_StaticFields
|
|
{
|
|
// T[] System.Collections.Generic.List`1::s_emptyArray
|
|
SpawnerVariableHelperU5BU5D_tFEAEE73403DAF3DEB666DE03A259D8A19E7CF629* ___s_emptyArray_5;
|
|
};
|
|
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnerVariableHelper>
|
|
|
|
// 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<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>
|
|
|
|
// FIMSpace.Generating.CheckCellsSelectorSetup
|
|
|
|
// FIMSpace.Generating.CheckCellsSelectorSetup
|
|
|
|
// FIMSpace.Generating.FieldSpawner
|
|
struct FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC_StaticFields
|
|
{
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase> FIMSpace.Generating.FieldSpawner::_RulesToCheck
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* ____RulesToCheck_22;
|
|
};
|
|
|
|
// FIMSpace.Generating.FieldSpawner
|
|
|
|
// FIMSpace.Generating.InstructionDefinition
|
|
|
|
// FIMSpace.Generating.InstructionDefinition
|
|
|
|
// FIMSpace.Generating.SpawnerVariableHelper
|
|
|
|
// FIMSpace.Generating.SpawnerVariableHelper
|
|
|
|
// System.String
|
|
struct String_t_StaticFields
|
|
{
|
|
// System.String System.String::Empty
|
|
String_t* ___Empty_6;
|
|
};
|
|
|
|
// System.String
|
|
|
|
// System.ValueType
|
|
|
|
// System.ValueType
|
|
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0
|
|
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane
|
|
|
|
// FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane
|
|
|
|
// 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.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
|
|
|
|
// FIMSpace.Generating.SpawnDiffs
|
|
|
|
// FIMSpace.Generating.SpawnDiffs
|
|
|
|
// FIMSpace.Generating.SpawnRestriction
|
|
|
|
// FIMSpace.Generating.SpawnRestriction
|
|
|
|
// 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.Nullable`1<UnityEngine.Vector3>
|
|
|
|
// System.Nullable`1<UnityEngine.Vector3>
|
|
|
|
// UnityEngine.Bounds
|
|
|
|
// UnityEngine.Bounds
|
|
|
|
// System.Delegate
|
|
|
|
// System.Delegate
|
|
|
|
// FIMSpace.Generating.FGenCell
|
|
|
|
// FIMSpace.Generating.FGenCell
|
|
|
|
// UnityEngine.Object
|
|
struct Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_StaticFields
|
|
{
|
|
// System.Int32 UnityEngine.Object::OffsetOfInstanceIDInCPlusPlusObject
|
|
int32_t ___OffsetOfInstanceIDInCPlusPlusObject_1;
|
|
};
|
|
|
|
// UnityEngine.Object
|
|
|
|
// UnityEngine.Ray
|
|
|
|
// UnityEngine.Ray
|
|
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction
|
|
|
|
// FIMSpace.Generating.Rules.Helpers.RemoveInstruction
|
|
|
|
// FIMSpace.Generating.SpawnData
|
|
|
|
// FIMSpace.Generating.SpawnData
|
|
|
|
// FIMSpace.Generating.SpawnRestrictionsGroup
|
|
|
|
// FIMSpace.Generating.SpawnRestrictionsGroup
|
|
|
|
// FIMSpace.Generating.Rules.SpawnRules
|
|
struct SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields
|
|
{
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Q0
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Q0_0;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Q90
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Q90_1;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Q180
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Q180_2;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Q270
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Q270_3;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::QX90
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___QX90_4;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::QX270
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___QX270_5;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step0
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step0_6;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step45
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step45_7;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step90
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step90_8;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step135
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step135_9;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step180
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step180_10;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step225
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step225_11;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step270
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step270_12;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::Step315
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___Step315_13;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.SpawnRules
|
|
|
|
// 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.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.Rules.Helpers.CollisionOffsetData
|
|
|
|
// FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
|
|
// UnityEngine.Component
|
|
|
|
// UnityEngine.Component
|
|
|
|
// FIMSpace.Generating.FieldCell
|
|
|
|
// FIMSpace.Generating.FieldCell
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.GameObject
|
|
|
|
// UnityEngine.Mesh
|
|
|
|
// UnityEngine.Mesh
|
|
|
|
// System.MulticastDelegate
|
|
|
|
// System.MulticastDelegate
|
|
|
|
// UnityEngine.ScriptableObject
|
|
|
|
// UnityEngine.ScriptableObject
|
|
|
|
// FIMSpace.Generating.PlanHelper/HelperRect
|
|
|
|
// FIMSpace.Generating.PlanHelper/HelperRect
|
|
|
|
// System.Action`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData>
|
|
|
|
// System.Action`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData>
|
|
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
|
|
// System.Func`2<System.Object,System.Boolean>
|
|
|
|
// System.Func`2<FIMSpace.Generating.SpawnData,System.Boolean>
|
|
|
|
// System.Func`2<FIMSpace.Generating.SpawnData,System.Boolean>
|
|
|
|
// System.Action
|
|
|
|
// System.Action
|
|
|
|
// UnityEngine.Collider
|
|
|
|
// UnityEngine.Collider
|
|
|
|
// FIMSpace.Generating.FieldModification
|
|
struct FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF_StaticFields
|
|
{
|
|
// System.Int32 FIMSpace.Generating.FieldModification::_subDraw
|
|
int32_t ____subDraw_29;
|
|
};
|
|
|
|
// FIMSpace.Generating.FieldModification
|
|
|
|
// FIMSpace.Generating.FieldSetup
|
|
|
|
// FIMSpace.Generating.FieldSetup
|
|
|
|
// UnityEngine.Renderer
|
|
|
|
// UnityEngine.Renderer
|
|
|
|
// FIMSpace.Generating.SpawnRuleBase
|
|
struct SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_StaticFields
|
|
{
|
|
// System.Collections.Generic.List`1<System.String> FIMSpace.Generating.SpawnRuleBase::_tPosit
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ____tPosit_5;
|
|
// System.Collections.Generic.List`1<System.String> FIMSpace.Generating.SpawnRuleBase::_tNeg
|
|
List_1_tF470A3BE5C1B5B68E1325EF3F109D172E60BD7CD* ____tNeg_6;
|
|
};
|
|
|
|
// FIMSpace.Generating.SpawnRuleBase
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// UnityEngine.Transform
|
|
|
|
// FIMSpace.Generating.PlanHelper/ConnectionRect
|
|
|
|
// FIMSpace.Generating.PlanHelper/ConnectionRect
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph
|
|
struct SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E_StaticFields
|
|
{
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_ModGraph
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* ___Graph_ModGraph_31;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_Spawner
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___Graph_Spawner_32;
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_Mod
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___Graph_Mod_33;
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_SpawnData
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___Graph_SpawnData_34;
|
|
// FIMSpace.Generating.FieldSetup FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_Preset
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___Graph_Preset_35;
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_Cell
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___Graph_Cell_36;
|
|
// FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint> FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_Grid
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___Graph_Grid_37;
|
|
// System.Nullable`1<UnityEngine.Vector3> FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph::Graph_RestrictDir
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___Graph_RestrictDir_38;
|
|
};
|
|
|
|
// FIMSpace.Generating.Rules.QuickSolutions.SR_ModGraph
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset
|
|
|
|
// FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset
|
|
|
|
// FIMSpace.Generating.SpawnInstruction
|
|
|
|
// FIMSpace.Generating.SpawnInstruction
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
// FIMSpace.Generating.FieldCell[]
|
|
struct FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50 : public RuntimeArray
|
|
{
|
|
ALIGN_FIELD (8) FieldCell_t0474210B4815B1D080500050D625323788B306F9* m_Items[1];
|
|
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9* GetAt(il2cpp_array_size_t index) const
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
return m_Items[index];
|
|
}
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9** 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, FieldCell_t0474210B4815B1D080500050D625323788B306F9* value)
|
|
{
|
|
IL2CPP_ARRAY_BOUNDS_CHECK(index, (uint32_t)(this)->max_length);
|
|
m_Items[index] = value;
|
|
Il2CppCodeGenWriteBarrier((void**)m_Items + index, (void*)value);
|
|
}
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9* GetAtUnchecked(il2cpp_array_size_t index) const
|
|
{
|
|
return m_Items[index];
|
|
}
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9** GetAddressAtUnchecked(il2cpp_array_size_t index)
|
|
{
|
|
return m_Items + index;
|
|
}
|
|
inline void SetAtUnchecked(il2cpp_array_size_t index, FieldCell_t0474210B4815B1D080500050D625323788B306F9* value)
|
|
{
|
|
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);
|
|
}
|
|
};
|
|
// 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.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;
|
|
}
|
|
};
|
|
// 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.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) ;
|
|
// 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.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) ;
|
|
// 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 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<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<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.Vector2>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_gshared (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* __this, 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.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<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.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.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>::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<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) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __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<System.Object>::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, const RuntimeMethod* method) ;
|
|
// T1 FIMSpace.Generating.FGenGraph`2<System.Object,System.Object>::GetCell(System.Int32,System.Int32,System.Int32,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* FGenGraph_2_GetCell_m1F13278F5C03AC75EC5FD4EE5BFF997A040719B7_gshared (FGenGraph_2_tB439387F4F1E125CC5BF33745ED961128E16237B* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, bool ___3_generateIfOut, const RuntimeMethod* method) ;
|
|
// TResult System.Func`2<System.Object,System.Boolean>::Invoke(T)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Func_2_Invoke_m2014423FB900F135C8FF994125604FF9E6AAE829_gshared_inline (Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00* __this, RuntimeObject* ___0_arg, const RuntimeMethod* method) ;
|
|
// T1 FIMSpace.Generating.FGenGraph`2<System.Object,System.Object>::GetCell(UnityEngine.Vector3Int,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* FGenGraph_2_GetCell_m2FA4DAB64AF993C5C6482B6DF4CD272F02F91934_gshared (FGenGraph_2_tB439387F4F1E125CC5BF33745ED961128E16237B* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_pos, bool ___1_generateIfOut, 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.Boolean System.Nullable`1<UnityEngine.Vector3>::get_HasValue()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_gshared_inline (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* __this, const RuntimeMethod* method) ;
|
|
// T System.Nullable`1<UnityEngine.Vector3>::get_Value()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_gshared (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Action`2<System.Object,System.Object>::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action_2__ctor_m6A0E7FE9DF9AE6C4BEE58611CB55F64FC3D79052_gshared (Action_2_t156C43F079E7E68155FCDCD12DC77DD11AEF7E3C* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>::get_Count()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_gshared_inline (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* __this, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>::get_Item(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_gshared (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* __this, int32_t ___0_index, const RuntimeMethod* method) ;
|
|
// System.Boolean System.Collections.Generic.List`1<System.Object>::Contains(T)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool List_1_Contains_m4C9139C2A6B23E9343D3F87807B32C6E2CFE660D_gshared (List_1_tA239CB83DE5615F348BB0507E45F490F4F7C9A8D* __this, RuntimeObject* ___0_item, const RuntimeMethod* method) ;
|
|
// T1[] FIMSpace.Generating.FGenGraph`2<System.Object,System.Object>::Get3x3Square(T1,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* FGenGraph_2_Get3x3Square_m044CE955508B920B22B140DD7354EEF3C5E5253A_gshared (FGenGraph_2_tB439387F4F1E125CC5BF33745ED961128E16237B* __this, RuntimeObject* ___0_cell, bool ___1_generateIfOut, const RuntimeMethod* method) ;
|
|
// T1[] FIMSpace.Generating.FGenGraph`2<System.Object,System.Object>::GetPLUSSquare(T1,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* FGenGraph_2_GetPLUSSquare_m06DDBA39F4FC22D29ADBEDB3E445A5FB42ADB3A8_gshared (FGenGraph_2_tB439387F4F1E125CC5BF33745ED961128E16237B* __this, RuntimeObject* ___0_cell, bool ___1_generateIfOut, const RuntimeMethod* method) ;
|
|
// T1[] FIMSpace.Generating.FGenGraph`2<System.Object,System.Object>::GetDiagonalCross(T1,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR ObjectU5BU5D_t8061030B0A12A55D5AD8652A20C922FE99450918* FGenGraph_2_GetDiagonalCross_mE25A1B0D26E705B25D954B82C69782713B907A4E_gshared (FGenGraph_2_tB439387F4F1E125CC5BF33745ED961128E16237B* __this, RuntimeObject* ___0_cell, bool ___1_generateIfOut, const RuntimeMethod* method) ;
|
|
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::ToCanv(UnityEngine.Rect,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_displayRect, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_pos, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Rect::get_position()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, 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.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::FromCanv(UnityEngine.Rect,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_FromCanv_m2514FD6AB44241EC1DA3BE200675611ED04B8207 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_displayRect, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_pos, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::RefreshRectPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_RefreshRectPos_mD8158B28E0137A048D6A830481C4D466F7AF32F4 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rect::set_position(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect_set_position_m9CD8AA25A83A7A893429C0ED56C36641202C3F05 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::SyncLocalPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_SyncLocalPos_m3C0F4B9037F078A1262B4C16B248D5052B75B5D0 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, const RuntimeMethod* 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);
|
|
}
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* CurvePoint_Copy_m7EA910454C50D1B3B0E36C2F89A93C01F770DF7C (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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.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.Object System.Object::MemberwiseClone()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR RuntimeObject* Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Rect::get_size()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Rect_get_size_mFB990FFC0FE0152179C8C74A59E4AC258CB44267 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rect::.ctor(UnityEngine.Vector2,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m503705FE0E4E413041E3CE7F09270489F401C675 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_position, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_size, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_width()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Rect::get_height()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::get_one()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline (const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Multiply(UnityEngine.Vector2,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, float ___1_d, 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) ;
|
|
// 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) ;
|
|
// 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.Color UnityEngine.Color::get_white()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Color_tD001788D726C3A7F1379BEED0260B9591F440C1F Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline (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) ;
|
|
// System.Void System.Object::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2 (RuntimeObject* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Rect::.ctor(System.Single,System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23 (Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* __this, float ___0_x, float ___1_y, float ___2_width, float ___3_height, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Clamp(System.Single,System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.ctor(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__ctor_mE66CC574B9E0A1DF6D1B6959D6DA74EADAD3492F (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, float ___0_x, float ___1_y, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.ctor(System.Single,System.Single,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__ctor_m8D7000B4994BBA2F63BFC8DC55F17D4B5BBBB83E (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, float ___0_x, float ___1_y, bool ___2_local, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_rPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::set_inTan(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_set_inTan_m55D2EA1AA40F01036667DF73A6D415ADF257DA97 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, 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 FIMSpace.Generating.TileMeshSetup/CurvePoint::set_nextTan(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_set_nextTan_m4FAF7720E1B9A1FB2697264CDF86A797F856C329 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_inTan()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_inTan_m3EB55D624EC40E62C7F2E30B5A69FD21520C3BC2 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_nextTan()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_nextTan_mB5BDA514254D0FCD8E72B0D0CDD60350459D54E9 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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::LerpUnclamped(UnityEngine.Vector2,UnityEngine.Vector2,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_LerpUnclamped_mB0B50875D4509E21FF43F4D87610333D55E6A44F_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::SetPos(UnityEngine.Rect,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_SetPos_m0C131B04355020E4669A551B45B9A6647FD4110C (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_display, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_canvasPos, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::ClampLocalPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_ClampLocalPos_m46FEF4492420947555CA97209490C0DD176B85E3 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __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) ;
|
|
// 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) ;
|
|
// UnityEngine.Vector2 UnityEngine.Vector2::op_Multiply(System.Single,UnityEngine.Vector2)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline (float ___0_d, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_a, 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) ;
|
|
// 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) ;
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup/CurvePoint::GetIndexAt(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CurvePoint_GetIndexAt_m4E8FE72D8BBED89C5CF9389DEE283B042B9245E9 (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_curve, float ___1_time, float ___2_splineLength, bool ___3_getPre, 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.Int32 UnityEngine.Mathf::Max(System.Int32,System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline (int32_t ___0_a, int32_t ___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) ;
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::GetPositionTowards(FIMSpace.Generating.TileMeshSetup/CurvePoint,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_GetPositionTowards_m93EA5AAEEC9B87E583AB6303C1C4BDC07CFA5D05 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___0_p2, float ___1_t, 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) ;
|
|
// 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 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) ;
|
|
// 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) ;
|
|
// 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.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) ;
|
|
// 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) ;
|
|
// 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.Quaternion UnityEngine.Quaternion::get_identity()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline (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.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_forward()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline (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) ;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::GetRotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 TileMeshCombineInstance_GetRotation_m1C06498A77028D7E2E41A3789C1BA057324E7337 (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, 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.Vector3 UnityEngine.Vector3::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline (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.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.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 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.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_z()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* __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) ;
|
|
// 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::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) ;
|
|
// 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);
|
|
}
|
|
// 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) ;
|
|
// 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);
|
|
}
|
|
// 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<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<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.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>::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);
|
|
}
|
|
// 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.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);
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::.ctor(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731 (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_baseVert, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_baseTris, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_vertIds, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::FindEdgesTopBottom(FIMSpace.Generating.TileMeshSetup/CubeGenerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane_FindEdgesTopBottom_m6C7F2921EDE14F3FEA37ECFC34163FDC734D7BDD (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* ___0_g, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Int32>::Clear()
|
|
inline void List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*, const RuntimeMethod*))List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_gshared_inline)(__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.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 FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::FindEdgesLeftRight(FIMSpace.Generating.TileMeshSetup/CubeGenerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane_FindEdgesLeftRight_m0C21C2EAD614618BF122F154BA1E093C7FCC9A58 (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* ___0_g, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_left()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline (const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::FindEdgesFrontBack(FIMSpace.Generating.TileMeshSetup/CubeGenerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane_FindEdgesFrontBack_m3F0454554598F3CD514B939E9D8D81F25C792DD7 (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* ___0_g, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::get_back()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline (const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator::ConnectAllSubdivsEdgePoly(System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30 (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___0_edgeA, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_edgeB, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_finalTris, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___3_verts, bool ___4_reverse, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Mesh::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00 (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, const RuntimeMethod* 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::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) ;
|
|
// 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::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::RecalculateBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* __this, 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.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator::ConnectEdgePoly(System.Int32,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubeGenerator_ConnectEdgePoly_m2ED2B9CAB54140BA2259F6C3CE226BC55ADD8808 (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, int32_t ___0_startIndex, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_edgeA, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_edgeB, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___3_finalTris, bool ___4_reverse, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/MeshVertPoint::.ctor(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshVertPoint__ctor_m351E7621106F8D034D21FBD379891BF8A6E7B622 (MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.FGenerators::CheckIfIsNull(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7 (RuntimeObject* ___0_o, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.FGenerators::CheckIfExist_NOTNULL(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812 (RuntimeObject* ___0_o, 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.Boolean FIMSpace.Generating.Rules.SpawnRules::CheckNeightbourCellAllow(FIMSpace.Generating.Rules.ESR_Space,FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_CheckNeightbourCellAllow_mAF0C5EF8D8B69FCFA8CD4DBF6EDBA2814A81A4F7 (int32_t ___0_check, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___1_cell, String_t* ___2_occupyTags, int32_t ___3_checkMode, bool ___4_useStateORTag, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::CheckCellAllowOR(FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, String_t* ___1_occupyTags, int32_t ___2_checkMode, bool ___3_useStateORTag, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.SpawnRuleBase::CellSpawnsHaveSpecifics(FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,FIMSpace.Generating.SpawnData,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, String_t* ___1_occupiedBySpec, int32_t ___2_checkMode, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___3_toIgnore, bool ___4_random, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.FieldCell::CollectSpawns(FIMSpace.Generating.FieldSpawner/ESR_CellHierarchyAccess,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D (FieldCell_t0474210B4815B1D080500050D625323788B306F9* __this, int32_t ___0_access, bool ___1_alwaysNewList, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData>::get_Count()
|
|
inline int32_t List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline (List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData>::get_Item(System.Int32)
|
|
inline SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1 (List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* (*) (List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetFullOffset(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, bool ___0_tempIfZero, 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::Angle(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.SpawnRuleBase::GetAllSpecificSpawns(FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,UnityEngine.GameObject,FIMSpace.Generating.FieldModification)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* SpawnRuleBase_GetAllSpecificSpawns_mA958FEC0E721DAE5CEF7F413175AD4D955CFCBC3 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, String_t* ___1_tag, int32_t ___2_checkMode, GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* ___3_prefab, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___4_mod, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>::.ctor()
|
|
inline void List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1 (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// T1 FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>::GetCell(System.Int32,System.Int32,System.Int32,System.Boolean)
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9* FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499 (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* __this, int32_t ___0_x, int32_t ___1_y, int32_t ___2_z, bool ___3_generateIfOut, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldCell_t0474210B4815B1D080500050D625323788B306F9* (*) (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, int32_t, int32_t, int32_t, bool, const RuntimeMethod*))FGenGraph_2_GetCell_m1F13278F5C03AC75EC5FD4EE5BFF997A040719B7_gshared)(__this, ___0_x, ___1_y, ___2_z, ___3_generateIfOut, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>::Add(T)
|
|
inline void List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.FieldCell::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* __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.Single UnityEngine.Quaternion::Angle(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetWorldPositionWithFullOffset(FIMSpace.Generating.FieldSetup,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetWorldPositionWithFullOffset_m45DAE8D6B353C1EABC54D7B7A1D721400289D7C4 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, bool ___1_useTemp, const RuntimeMethod* 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) ;
|
|
// 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) ;
|
|
// TResult System.Func`2<FIMSpace.Generating.SpawnData,System.Boolean>::Invoke(T)
|
|
inline bool Func_2_Invoke_m29C19E51C51AAD8469FE136E9D3E96FA72AA2B99_inline (Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_arg, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*, const RuntimeMethod*))Func_2_Invoke_m2014423FB900F135C8FF994125604FF9E6AAE829_gshared_inline)(__this, ___0_arg, 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.Boolean FIMSpace.Generating.SpawnData::GetCustomStigma(System.String,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnData_GetCustomStigma_mF98DE02C17FBCCFC17027990FDA64381ED40AE88 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, String_t* ___0_v, bool ___1_reload, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::get_zero()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline (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) ;
|
|
// System.Void UnityEngine.Vector2Int::.ctor(System.Int32,System.Int32)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector2Int__ctor_mC20D1312133EB8CB63EC11067088B043660F11CE_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, int32_t ___0_x, int32_t ___1_y, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.Rules.SpawnRules::GetCellOffset(FIMSpace.Generating.Rules.SpawnRules/CellOffset)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3 (int32_t ___0_off, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::op_Addition(UnityEngine.Vector3Int,UnityEngine.Vector3Int)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_a, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_b, const RuntimeMethod* method) ;
|
|
// T1 FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>::GetCell(UnityEngine.Vector3Int,System.Boolean)
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9* FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* __this, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_pos, bool ___1_generateIfOut, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldCell_t0474210B4815B1D080500050D625323788B306F9* (*) (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376, bool, const RuntimeMethod*))FGenGraph_2_GetCell_m2FA4DAB64AF993C5C6482B6DF4CD272F02F91934_gshared)(__this, ___0_pos, ___1_generateIfOut, method);
|
|
}
|
|
// FIMSpace.Generating.Rules.SpawnRules/CellOffset FIMSpace.Generating.Rules.SpawnRules::GetCellOffset45Step(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpawnRules_GetCellOffset45Step_mC20D1EF7062F889845434C80957CB0A50CBE5399 (int32_t ___0_id, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.Rules.SpawnRules/CellOffset FIMSpace.Generating.Rules.SpawnRules::Get90Offset(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpawnRules_Get90Offset_m24A01BB5E6E1CE0FB01519E6D8B1C5BE6D85282D (int32_t ___0_step, const RuntimeMethod* 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.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) ;
|
|
// System.Void UnityEngine.Debug::LogError(System.Object)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2 (RuntimeObject* ___0_message, const RuntimeMethod* method) ;
|
|
// System.String UnityEngine.Object::get_name()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392 (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C* __this, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Bounds::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_center, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_size, 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.GameObject UnityEngine.GameObject::get_gameObject()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* GameObject_get_gameObject_m0878015B8CF7F5D432B583C187725810D27B57DC (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponentInChildren<UnityEngine.Renderer>()
|
|
inline Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponentInChildren_TisRuntimeObject_mED181B37054A10395CA356010754C7DFC685893C_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) ;
|
|
// 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::set_position(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Transform::set_rotation(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_value, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds UnityEngine.Renderer::get_bounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 Renderer_get_bounds_m390CF334730C3C34E45CE59F1D08C3B9F3109C7C (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* __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.Transform UnityEngine.Transform::get_parent()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __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) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::get_localPosition()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::TransformVector(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_TransformVector_mFA6FB7570442728CB15D03C696353148711CDD98 (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Bounds::set_center(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Bounds_set_center_m891869DD5B1BEEE2D17907BBFB7EB79AAE44884B (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_value, const RuntimeMethod* method) ;
|
|
// T UnityEngine.GameObject::GetComponentInChildren<UnityEngine.Collider>()
|
|
inline Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* GameObject_GetComponentInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_mCEB1DBA2CA3D840367BAC4D8B11329FAFDABD971 (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* (*) (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*, const RuntimeMethod*))GameObject_GetComponentInChildren_TisRuntimeObject_mED181B37054A10395CA356010754C7DFC685893C_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Bounds UnityEngine.Collider::get_bounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 Collider_get_bounds_mCC32F749590E9A85C7930E5355661367F78E4CB4 (Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* __this, 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.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.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.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 UnityEngine.Transform::get_localScale()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, 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) ;
|
|
// System.Boolean System.Nullable`1<UnityEngine.Vector3>::get_HasValue()
|
|
inline bool Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_inline (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE*, const RuntimeMethod*))Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Nullable`1<UnityEngine.Vector3>::get_Value()
|
|
inline Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792 (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 (*) (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE*, const RuntimeMethod*))Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_gshared)(__this, method);
|
|
}
|
|
// UnityEngine.Bounds FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::PRBounds(UnityEngine.Bounds,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 CollisionOffsetData_PRBounds_mBB885AAD418DC804D802A5DC6A457911DEC715BF (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_refB, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_scale, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_off, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::.ctor(FIMSpace.Generating.SpawnData,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CollisionOffsetData__ctor_m31AE498AE930A8B260E38543C605F9F9619DFCC1 (CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___1_cellOffset, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Bounds::Intersects(UnityEngine.Bounds)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Bounds_Intersects_m91D6CE48052C56F8519243104C3575738B159531 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_bounds, 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) ;
|
|
// 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::LookRotation(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_forward, 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 UnityEngine.Bounds::get_min()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, 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.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.Void UnityEngine.Vector3::Normalize()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR void Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3::Lerp(UnityEngine.Vector3,UnityEngine.Vector3,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_a, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_b, float ___2_t, const RuntimeMethod* method) ;
|
|
// System.Void UnityEngine.Ray::.ctor(UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_origin, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_direction, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Bounds::IntersectRay(UnityEngine.Ray,System.Single&)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool Bounds_IntersectRay_mF5EE01759AA2D09C683FBE015007A85CFECB8393 (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* __this, Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 ___0_ray, float* ___1_distance, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::get_origin()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Ray::get_direction()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086 (Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00* __this, const RuntimeMethod* 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) ;
|
|
// 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) ;
|
|
// System.Boolean FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::OffsetOn(FIMSpace.Generating.Rules.Helpers.CollisionOffsetData,FIMSpace.Generating.SpawnData&,System.Single,FIMSpace.Generating.FieldCell,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CollisionOffsetData_OffsetOn_m36BA22903D22AB1F8868FD389B7B8D15A1F90076 (CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC* __this, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC ___0_other, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, float ___2_amount, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, float ___4_sides, float ___5_limit, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass9_0__ctor_m88883B8079D39717F606B40319896A3D5BE54E4C (U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* __this, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Vector3Int::op_Inequality(UnityEngine.Vector3Int,UnityEngine.Vector3Int)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3Int_op_Inequality_mBE6E58893DF1A6BA41E2B4FAB97F4EFBDA857F88_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_lhs, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_rhs, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion FIMSpace.Generating.SpawnData::GetRotationOffset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Vector3Int::op_Implicit(UnityEngine.Vector3Int)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_v, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.SpawnRuleBase::GetOffset(UnityEngine.Quaternion,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 SpawnRuleBase_GetOffset_mF9C79F1FDA5E336E8DBC7F2521E4D4A08EAE3F81 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rot, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_dir, const RuntimeMethod* method) ;
|
|
// System.Void System.Action`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData>::.ctor(System.Object,System.IntPtr)
|
|
inline void Action_2__ctor_m18A6E742D012866AB5955AB2BEE6C11243142B8F (Action_2_t8699AD063704997E98999B3BFF13FA7750266B16* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (Action_2_t8699AD063704997E98999B3BFF13FA7750266B16*, RuntimeObject*, intptr_t, const RuntimeMethod*))Action_2__ctor_m6A0E7FE9DF9AE6C4BEE58611CB55F64FC3D79052_gshared)(__this, ___0_object, ___1_method, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::CellSelector_Execute(FIMSpace.Generating.CheckCellsSelectorSetup,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData,System.Action`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_CellSelector_Execute_m869797135FD967FF45ADA3A7D0467817ABEC5B78 (CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1* ___0_setup, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_origin, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_secCell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___4_spawn, Action_2_t8699AD063704997E98999B3BFF13FA7750266B16* ___5_actionMethod, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.SpawnRuleBase::SpawnHaveSpecifics(FIMSpace.Generating.SpawnData,System.String,FIMSpace.Generating.Rules.ESR_Details)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRuleBase_SpawnHaveSpecifics_mB094532CDBBA5C03AFF0E9728B703F60FDD43E66 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, String_t* ___1_specification, int32_t ___2_checkMode, const RuntimeMethod* method) ;
|
|
// System.Single FIMSpace.Generating.SpawnRuleBase::CompareDirectionalAngle(FIMSpace.Generating.SpawnData,FIMSpace.Generating.SpawnData,FIMSpace.Generating.Rules.ESR_AngleRemovalMode,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float SpawnRuleBase_CompareDirectionalAngle_m1923E1093A6F784CE9934827263D0FBB93183488 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___1_spawnData, int32_t ___2_angleMode, bool ___3_worldDirection, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FieldCell::RemoveSpawnFromCell(FIMSpace.Generating.SpawnData)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FieldCell_RemoveSpawnFromCell_mF29A8CF84ACA3BBC7A90BAB1ABC3483A6D8177E2 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.CheckCellsSelectorSetup::.ctor(System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CheckCellsSelectorSetup__ctor_mDCAFC35FE8BE58C684E3E27779B3EAC59686CC66 (CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1* __this, bool ___0_useRotor, bool ___1_useCondition, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.RemoveInstruction::ProceedRemovingOnCell(FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData,FIMSpace.Generating.FieldSpawner)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RemoveInstruction_ProceedRemovingOnCell_mB495285A9D4E7157BA5DF2C12C541FB8617EB5E3 (RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___1_spawn, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___2_spawner, const RuntimeMethod* method) ;
|
|
// UnityEngine.Bounds FIMSpace.Generating.SpawnData::GetMeshFilterOrColliderBounds()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 SpawnData_GetMeshFilterOrColliderBounds_mC7F9B818107D371FB56F3732F15311D2400B9CE8 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, 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) ;
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetDirectionalOffsetWithMods()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetDirectionalOffsetWithMods_m1A69CD7C75A4D4655066E7BB03404A3E83CF178A (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetOutsideDirectionalOffsetValue()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetOutsideDirectionalOffsetValue_m1CE3EA93E13E50DB36A3575E4EF5D383D97A7497 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Quaternion UnityEngine.Quaternion::Inverse(UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512 (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_rotation, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnerVariableHelper> FIMSpace.Generating.SpawnerVariableHelper::GetListedVariable()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B* SpawnerVariableHelper_GetListedVariable_m1D797A05746AD1FAED22B33FB185A6048908C757 (SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* __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) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnerVariableHelper::GetVector3(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnerVariableHelper_GetVector3_m66A98638BAB14A2BE5395CA0C777A988053069BA (SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_defaultVal, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnRuleBase::GetUnitOffset(UnityEngine.Vector3,FIMSpace.Generating.Rules.ESR_Measuring,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70 (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_directOffset, int32_t ___1_offsetMode, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, const RuntimeMethod* method) ;
|
|
// System.Single FIMSpace.Generating.OStamperSet::GetAngleFor(System.Single,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR float OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB (float ___0_step, float ___1_randAxis, float ___2_random, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.SpawnerVariableHelper::.ctor(FIMSpace.Generating.FieldVariable/EVarType)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnerVariableHelper__ctor_mF828EE6B9923E72940E7E0596264490131AACC04 (SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* __this, int32_t ___0_type, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector2Int FIMSpace.Generating.FieldCell::get_PosXZ()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A FieldCell_get_PosXZ_m904286C07277ACB3FD4D2610B76E923BD3783781 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* __this, const RuntimeMethod* 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.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.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) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetFullRotationOffset()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetFullRotationOffset_m42FD3CC48463DD38581F4CF994AAE239E592872B (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Matrix4x4::MultiplyVector(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Matrix4x4_MultiplyVector_mFD12F86A473E90BBB0002149ABA3917B2A518937 (Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_vector, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>::get_Count()
|
|
inline int32_t List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_inline (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10*, const RuntimeMethod*))List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.SpawnInstruction>::get_Item(System.Int32)
|
|
inline SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 (*) (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10*, int32_t, const RuntimeMethod*))List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition> FIMSpace.Generating.FieldSetup::get_CellsCommands()
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* FieldSetup_get_CellsCommands_mC80338839F3D9686118A8CC06FB3FDDA528ED4A3_inline (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* __this, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition>::get_Count()
|
|
inline int32_t List_1_get_Count_mB4ADA4D9A5748F42C1FCC90E32DAEDDEC0F6B937_inline (List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.InstructionDefinition>::get_Item(System.Int32)
|
|
inline InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* List_1_get_Item_m5FBFF78EF8C3B3080BB1DE6173404D2C4B423A25 (List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* (*) (List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Boolean System.String::op_Equality(System.String,System.String)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1 (String_t* ___0_a, String_t* ___1_b, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_CheckRuleOn_m63A15FB8F14BCCFA10AA5F995A07D4F476977AC6 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetRotationOffsetWithMods(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetRotationOffsetWithMods_mD14CF6502B760719807B54EB9520331D341431C7 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, bool ___0_local, 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) ;
|
|
// System.String FIMSpace.Generating.SpawnRuleBase::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SpawnRuleBase_Tooltip_m89792DF22A3A8BBDEC392358CA2F59D472EB2489 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::ResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_ResetRule_mFAEC160715FC6C03DE27FA43D74D0ED5446596E5 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___0_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::GetSpawner()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* SR_CallRulesOf_GetSpawner_m39938460918B2B1A306D6B3DC88B072079860ACA (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>::.ctor()
|
|
inline void List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19 (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>::get_Item(System.Int32)
|
|
inline SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265 (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* (*) (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Boolean System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>::Contains(T)
|
|
inline bool List_1_Contains_mFAEA555388078FE5B4CA122F4F3F91D078231B25 (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* __this, SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
return (( bool (*) (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*, SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*, const RuntimeMethod*))List_1_Contains_m4C9139C2A6B23E9343D3F87807B32C6E2CFE660D_gshared)(__this, ___0_item, method);
|
|
}
|
|
// System.Void System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>::Add(T)
|
|
inline void List_1_Add_m7A8B950ADF4821FDA15E9C9D46FBAB19840BEBF6_inline (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* __this, SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*, SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.SpawnRuleBase>::get_Count()
|
|
inline int32_t List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::Refresh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_Refresh_mC4FDE9B3C100EAB3903AE269AE13260EA29D4B83 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::PreGenerateResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldSpawner)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_PreGenerateResetRule_mDCA574328EB6B7E864CB53270979B38B5963A8C1 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___0_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___2_callFrom, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_CellInfluence_m7CC426706EFB5F01260C97503B0046278F4A5E16 (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.SpawnRuleBase::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRuleBase_OnConditionsMetAction_m5AC03B564BB1303CCE7F9A0A4FC6B630D6ACF16C (SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_thisSpawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, const RuntimeMethod* method) ;
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner>::get_Count()
|
|
inline int32_t List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_inline (List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.FieldSpawner>::get_Item(System.Int32)
|
|
inline FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337 (List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* (*) (List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::get_parentMod()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* SR_CallSubSpawner_get_parentMod_m15565D833AC0232C554A6BDADB7A7C647C59B1AA (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::get_toCall()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* SR_CallSubSpawner_get_toCall_mB4A8A0ACEF203BEFEC5A3D9E0ACC5E1BE71016E9 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::RefreshSpawner()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_RefreshSpawner_mF58F1B1C83041F10B0EF6D2AC57D28BF45DD84AC (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_0__ctor_mADE5A0226EDFD1E98EE83A84655893D52E23EE9E (U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::ApplySpawnerCall(FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_ApplySpawnerCall_m1258A9AC6E8524C83968BD44BAD2E80C68FA1935 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___1_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___2_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___3_preset, bool ___4_isTemp, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_1__ctor_m220773DBD1DB2236328DCDEB4F33DF502395B174 (U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* __this, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Action>::.ctor()
|
|
inline void List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212 (List_1_tDB72209F35D56F62A287633F9450978E90B90987* __this, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDB72209F35D56F62A287633F9450978E90B90987*, const RuntimeMethod*))List_1__ctor_m7F078BB342729BDF11327FD89D7872265328F690_gshared)(__this, method);
|
|
}
|
|
// System.Void System.Action::.ctor(System.Object,System.IntPtr)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void Action__ctor_mBDC7B0B4A3F583B64C2896F01BDED360772F67DC (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* __this, RuntimeObject* ___0_object, intptr_t ___1_method, const RuntimeMethod* method) ;
|
|
// System.Void System.Collections.Generic.List`1<System.Action>::Add(T)
|
|
inline void List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_inline (List_1_tDB72209F35D56F62A287633F9450978E90B90987* __this, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* ___0_item, const RuntimeMethod* method)
|
|
{
|
|
(( void (*) (List_1_tDB72209F35D56F62A287633F9450978E90B90987*, Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*, const RuntimeMethod*))List_1_Add_mEBCF994CC3814631017F46A387B1A192ED6C85C7_gshared_inline)(__this, ___0_item, method);
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.FieldSpawner::GetExtraSpawns()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* FieldSpawner_GetExtraSpawns_mCAC5A9B8DD97C695E51C71AFB5C3B518E729140B (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_2__ctor_mC9AA201660D45C05BDFE4152A6AAD1E45A731CF2 (U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* __this, const RuntimeMethod* method) ;
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.FieldSpawner::RunSpawnerOnCell(FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,UnityEngine.Vector3,FIMSpace.Generating.FieldModification,System.Boolean,System.Boolean,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* FieldSpawner_RunSpawnerOnCell_m26C51989E3829032B5F52FDA910FB01330E7D719 (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___3_grid, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___4_desiredDirection, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___5_childMod, bool ___6_dontUseGlobalRules, bool ___7_ignoreRestrictions, bool ___8_isAsync, const RuntimeMethod* method) ;
|
|
// System.Int32 FIMSpace.Generating.FieldCell::GetJustCellSpawnCount()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t FieldCell_GetJustCellSpawnCount_mC92D9ED3C2A260909197E35CAE9627475A652BCB (FieldCell_t0474210B4815B1D080500050D625323788B306F9* __this, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnData> FIMSpace.Generating.FieldCell::GetSpawnsJustInsideCell(System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* FieldCell_GetSpawnsJustInsideCell_m7555A0AD4F117D55F5FA8CCB11A64F18100E7AF4 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* __this, bool ___0_returnCopyOfList, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.PGGEnums::GetDirection(FIMSpace.Generating.EPlanGuideDirecion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 PGGEnums_GetDirection_m8820C949FC7F3691D3775D324A6650AA29B0CE0E (int32_t ___0_dir, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 FIMSpace.Generating.SpawnData::GetPosWithFullOffset(System.Boolean,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* __this, bool ___0_tempIfZero, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_withOwnerCellPos, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3 UnityEngine.Transform::InverseTransformPoint(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D (Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_position, 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.Boolean FIMSpace.Generating.SpawnRuleBase::CellConditionsAllows(FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,FIMSpace.Generating.Rules.ESR_Space)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRuleBase_CellConditionsAllows_m6A09AD9F15F426F7CC35BE615D89F6B263045D93 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, String_t* ___1_occupiedBySpec, int32_t ___2_checkMode, int32_t ___3_space, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::AssignSpawnCoords(FIMSpace.Generating.SpawnData,UnityEngine.Vector3,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07 (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_normal, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_presetUsed, const RuntimeMethod* method) ;
|
|
// T1[] FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>::Get3x3Square(T1,System.Boolean)
|
|
inline FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, bool ___1_generateIfOut, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* (*) (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, bool, const RuntimeMethod*))FGenGraph_2_Get3x3Square_m044CE955508B920B22B140DD7354EEF3C5E5253A_gshared)(__this, ___0_cell, ___1_generateIfOut, method);
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursPLUS(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.Rules.ESR_Space,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursPLUS_m2E7F95EE322672D6B202A8ED3E89BFB4A8B5E5A5 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_targetState, String_t* ___3_tags, int32_t ___4_checkMode, bool ___5_useStateORTag, const RuntimeMethod* method) ;
|
|
// T System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>::get_Item(System.Int32)
|
|
inline FieldCell_t0474210B4815B1D080500050D625323788B306F9* List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7 (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* __this, int32_t ___0_index, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldCell_t0474210B4815B1D080500050D625323788B306F9* (*) (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*, int32_t, const RuntimeMethod*))List_1_get_Item_m33561245D64798C2AB07584C0EC4F240E4839A38_gshared)(__this, ___0_index, method);
|
|
}
|
|
// System.Int32 System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell>::get_Count()
|
|
inline int32_t List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* __this, const RuntimeMethod* method)
|
|
{
|
|
return (( int32_t (*) (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*, const RuntimeMethod*))List_1_get_Count_m4407E4C389F22B8CEC282C15D56516658746C383_gshared_inline)(__this, method);
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursDiagonal(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.Rules.ESR_Space,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursDiagonal_mFCFB75E8F9F057E2289296698972AEC4569657DC (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_targetState, String_t* ___3_tags, int32_t ___4_checkMode, bool ___5_useStateORTag, const RuntimeMethod* method) ;
|
|
// UnityEngine.Vector3Int UnityEngine.Vector3Int::op_Subtraction(UnityEngine.Vector3Int,UnityEngine.Vector3Int)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_a, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::Get3x3Square(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_Get3x3Square_m99F4803182821C9DCF0246638C43B48B7AD9E490 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, const RuntimeMethod* method) ;
|
|
// System.Int32 FIMSpace.Generating.SpawnRuleBase::ManhattanDistance(UnityEngine.Vector3Int,UnityEngine.Vector3Int)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpawnRuleBase_ManhattanDistance_mA9F9BDB4064AB69276A3C7116B78EF659B7BC7FB (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_pos1, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_pos2, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::IsInside(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_FloorPlacer_IsInside_m2D4E6EC23CEC1DD66EA54C77EFF4234179ED8206 (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, const RuntimeMethod* method) ;
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::IsOutside(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, const RuntimeMethod* method) ;
|
|
// T1[] FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>::GetPLUSSquare(T1,System.Boolean)
|
|
inline FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* FGenGraph_2_GetPLUSSquare_m781EB99C3B370221CF95F8DA7AFC55CEACF82174 (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, bool ___1_generateIfOut, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* (*) (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, bool, const RuntimeMethod*))FGenGraph_2_GetPLUSSquare_m06DDBA39F4FC22D29ADBEDB3E445A5FB42ADB3A8_gshared)(__this, ___0_cell, ___1_generateIfOut, method);
|
|
}
|
|
// T1[] FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>::GetDiagonalCross(T1,System.Boolean)
|
|
inline FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7 (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, bool ___1_generateIfOut, const RuntimeMethod* method)
|
|
{
|
|
return (( FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* (*) (FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, bool, const RuntimeMethod*))FGenGraph_2_GetDiagonalCross_mE25A1B0D26E705B25D954B82C69782713B907A4E_gshared)(__this, ___0_cell, ___1_generateIfOut, method);
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::NotNull(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_NotNull_m89AC94E3453A7ED190E7E3E3E646DD38A8EA7FE9 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_data, const RuntimeMethod* method) ;
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursPLUS(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursPLUS_m5C0D2A972CD61CC15C3559148B9029717A350BFF (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.FieldSpawner::.ctor(System.Int32,FIMSpace.Generating.FieldModification/EModificationMode,FIMSpace.Generating.FieldModification)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void FieldSpawner__ctor_mF5D5C5933E4A4189D39C0D36F65E757816C54ED7 (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* __this, int32_t ___0_stampPrefabID, int32_t ___1_mode, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___2_parent, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::RefreshCustomSpawner()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_RefreshCustomSpawner_m7079E2A638E6B124FCB7B812CDF3235999217680 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method) ;
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::RefreshSpawnerRules()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_RefreshSpawnerRules_m6303ABDE8E15D75AB237460C41E8871838BDEFE3 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, 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.Single UnityEngine.Mathf::Clamp01(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline (float ___0_value, 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.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) ;
|
|
// 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.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.Single UnityEngine.Quaternion::Dot(UnityEngine.Quaternion,UnityEngine.Quaternion)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method) ;
|
|
// System.Single UnityEngine.Mathf::Min(System.Single,System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method) ;
|
|
// System.Boolean UnityEngine.Quaternion::IsEqualUsingDot(System.Single)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline (float ___0_dot, 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) ;
|
|
// 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.Boolean UnityEngine.Vector3Int::op_Equality(UnityEngine.Vector3Int,UnityEngine.Vector3Int)
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Vector3Int_op_Equality_mB10073AF3B08421C46BF678C8FF64AAD62C83617_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_lhs, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___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) ;
|
|
// 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) ;
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic push
|
|
#pragma clang diagnostic ignored "-Winvalid-offsetof"
|
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
|
#endif
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_inTan()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_inTan_m3EB55D624EC40E62C7F2E30B5A69FD21520C3BC2 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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;
|
|
}
|
|
{
|
|
// get { return ToCanv(_latestEditorDisplayRect, localInTan) - _latestEditorDisplayRect.position; }
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = __this->___localInTan_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394(__this, L_0, L_1, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38((&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_2, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::set_inTan(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_set_inTan_m55D2EA1AA40F01036667DF73A6D415ADF257DA97 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, 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;
|
|
}
|
|
{
|
|
// set { localInTan = FromCanv(_latestEditorDisplayRect, value + _latestEditorDisplayRect.position); }
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = ___0_value;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38((&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_1, L_2, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = CurvePoint_FromCanv_m2514FD6AB44241EC1DA3BE200675611ED04B8207(__this, L_0, L_3, NULL);
|
|
__this->___localInTan_10 = L_4;
|
|
// set { localInTan = FromCanv(_latestEditorDisplayRect, value + _latestEditorDisplayRect.position); }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_nextTan()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_nextTan_mB5BDA514254D0FCD8E72B0D0CDD60350459D54E9 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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;
|
|
}
|
|
{
|
|
// get { return ToCanv(_latestEditorDisplayRect, localNextTan) - _latestEditorDisplayRect.position; }
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = __this->___localNextTan_11;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394(__this, L_0, L_1, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38((&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_2, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::set_nextTan(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_set_nextTan_m4FAF7720E1B9A1FB2697264CDF86A797F856C329 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, 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;
|
|
}
|
|
{
|
|
// set { localNextTan = FromCanv(_latestEditorDisplayRect, value + _latestEditorDisplayRect.position); }
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = ___0_value;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38((&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_1, L_2, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = CurvePoint_FromCanv_m2514FD6AB44241EC1DA3BE200675611ED04B8207(__this, L_0, L_3, NULL);
|
|
__this->___localNextTan_11 = L_4;
|
|
// set { localNextTan = FromCanv(_latestEditorDisplayRect, value + _latestEditorDisplayRect.position); }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_rPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { RefreshRectPos(); return rect.position; }
|
|
CurvePoint_RefreshRectPos_mD8158B28E0137A048D6A830481C4D466F7AF32F4(__this, NULL);
|
|
// get { RefreshRectPos(); return rect.position; }
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_0 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::set_rPos(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_set_rPos_mF173521A134BA3E38ABE996C4D9B46565C0BDA25 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_value, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// set { rect.position = value; SyncLocalPos(); }
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_0 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = ___0_value;
|
|
Rect_set_position_m9CD8AA25A83A7A893429C0ED56C36641202C3F05(L_0, L_1, NULL);
|
|
// set { rect.position = value; SyncLocalPos(); }
|
|
CurvePoint_SyncLocalPos_m3C0F4B9037F078A1262B4C16B248D5052B75B5D0(__this, NULL);
|
|
// set { rect.position = value; SyncLocalPos(); }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
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;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// to.Clear();
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = ___1_to;
|
|
NullCheck(L_0);
|
|
List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_inline(L_0, List_1_Clear_m24B2C328665339C7037BBA2E9F104892DBDF9E07_RuntimeMethod_var);
|
|
// for (int i = 0; i < from.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0020;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// to.Add(from[i].Copy());
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_1 = ___1_to;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_2 = ___0_from;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_4;
|
|
L_4 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_2, L_3, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
NullCheck(L_4);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_5;
|
|
L_5 = CurvePoint_Copy_m7EA910454C50D1B3B0E36C2F89A93C01F770DF7C(L_4, NULL);
|
|
NullCheck(L_1);
|
|
List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_inline(L_1, L_5, List_1_Add_mAD4FD7E9000ADB5CA49E350FD62F4F1518C4D82D_RuntimeMethod_var);
|
|
// for (int i = 0; i < from.Count; i++)
|
|
int32_t L_6 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// for (int i = 0; i < from.Count; i++)
|
|
int32_t L_7 = V_0;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_8 = ___0_from;
|
|
NullCheck(L_8);
|
|
int32_t L_9;
|
|
L_9 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_8, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_7) < ((int32_t)L_9)))
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.TileMeshSetup/CurvePoint FIMSpace.Generating.TileMeshSetup/CurvePoint::Copy()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* CurvePoint_Copy_m7EA910454C50D1B3B0E36C2F89A93C01F770DF7C (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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;
|
|
}
|
|
{
|
|
// return (CurvePoint)MemberwiseClone();
|
|
RuntimeObject* L_0;
|
|
L_0 = Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3(__this, NULL);
|
|
return ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*)CastclassClass((RuntimeObject*)L_0, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var));
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::get_DisplayPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_get_DisplayPos_mA859A6ADF215C21D3124F2BF0C0BD3DA5354E2F2 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// get { return rect.position; }
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_0 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// UnityEngine.Rect FIMSpace.Generating.TileMeshSetup/CurvePoint::GetRect(UnityEngine.Rect)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D CurvePoint_GetRect_m7D56D600074AF31B0962BB0E78B57E49131EC656 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_display, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Rect(ToCanv(display, localPos), rect.size);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ___0_display;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = __this->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394(__this, L_0, L_1, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_3 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Rect_get_size_mFB990FFC0FE0152179C8C74A59E4AC258CB44267(L_3, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_5;
|
|
memset((&L_5), 0, sizeof(L_5));
|
|
Rect__ctor_m503705FE0E4E413041E3CE7F09270489F401C675((&L_5), L_2, L_4, /*hidden argument*/NULL);
|
|
return L_5;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::SetPos(UnityEngine.Rect,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_SetPos_m0C131B04355020E4669A551B45B9A6647FD4110C (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_display, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_canvasPos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (display.width < 5 || display.height < 5) return;
|
|
float L_0;
|
|
L_0 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___0_display), NULL);
|
|
if ((((float)L_0) < ((float)(5.0f))))
|
|
{
|
|
goto IL_001c;
|
|
}
|
|
}
|
|
{
|
|
float L_1;
|
|
L_1 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___0_display), NULL);
|
|
if ((!(((float)L_1) < ((float)(5.0f)))))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
|
|
IL_001c:
|
|
{
|
|
// if (display.width < 5 || display.height < 5) return;
|
|
return;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// localPos = FromCanv(display, canvasPos);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_2 = ___0_display;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___1_canvasPos;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = CurvePoint_FromCanv_m2514FD6AB44241EC1DA3BE200675611ED04B8207(__this, L_2, L_3, NULL);
|
|
__this->___localPos_9 = L_4;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::ToCanv(UnityEngine.Rect,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_displayRect, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_pos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return (displayRect.position - Vector2.one * 7) + Vector2.Scale(displayRect.size, pos);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0;
|
|
L_0 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38((&___0_displayRect), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_1, (7.0f), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_0, L_2, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Rect_get_size_mFB990FFC0FE0152179C8C74A59E4AC258CB44267((&___0_displayRect), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = ___1_pos;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
|
|
L_6 = Vector2_Scale_m8D61A8D2272549F1EF41256F7E8A206C6500EA6C_inline(L_4, L_5, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7;
|
|
L_7 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_3, L_6, NULL);
|
|
return L_7;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::FromCanv(UnityEngine.Rect,UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_FromCanv_m2514FD6AB44241EC1DA3BE200675611ED04B8207 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D ___0_displayRect, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_pos, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// Vector3 ps = pos - (displayRect.position - Vector2.one * 7);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___1_pos;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38((&___0_displayRect), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_2, (7.0f), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_1, L_3, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5;
|
|
L_5 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_0, L_4, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_5, NULL);
|
|
V_0 = L_6;
|
|
// return new Vector2((ps.x) / (displayRect.width), (ps.y) / (displayRect.height));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
float L_8 = L_7.___x_2;
|
|
float L_9;
|
|
L_9 = Rect_get_width_m620D67551372073C9C32C4C4624C2A5713F7F9A9((&___0_displayRect), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
float L_11 = L_10.___y_3;
|
|
float L_12;
|
|
L_12 = Rect_get_height_mE1AA6C6C725CCD2D317BD2157396D3CF7D47C9D8((&___0_displayRect), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_13), ((float)(L_8/L_9)), ((float)(L_11/L_12)), /*hidden argument*/NULL);
|
|
return L_13;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.ctor(System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__ctor_mE66CC574B9E0A1DF6D1B6959D6DA74EADAD3492F (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, float ___0_x, float ___1_y, 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;
|
|
}
|
|
{
|
|
// public Color VertexColor = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
L_0 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
__this->___VertexColor_3 = L_0;
|
|
// public float VertexColorFalloff = 1f;
|
|
__this->___VertexColorFalloff_4 = (1.0f);
|
|
// public Vector2 overrideNormal = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___overrideNormal_5 = L_1;
|
|
// [SerializeField] public Vector2 localPos = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localPos_9 = L_2;
|
|
// [SerializeField] public Vector2 localInTan = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localInTan_10 = L_3;
|
|
// [SerializeField] public Vector2 localNextTan = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localNextTan_11 = L_4;
|
|
// public float AutoFactor = .7f;
|
|
__this->___AutoFactor_16 = (0.699999988f);
|
|
// public CurvePoint(float x, float y)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// localPos = FromCanv(_latestEditorDisplayRect, new Vector2(x, y));
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_5 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
float L_6 = ___0_x;
|
|
float L_7 = ___1_y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), L_6, L_7, /*hidden argument*/NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9;
|
|
L_9 = CurvePoint_FromCanv_m2514FD6AB44241EC1DA3BE200675611ED04B8207(__this, L_5, L_8, NULL);
|
|
__this->___localPos_9 = L_9;
|
|
// localInTan = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10;
|
|
L_10 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localInTan_10 = L_10;
|
|
// localNextTan = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11;
|
|
L_11 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localNextTan_11 = L_11;
|
|
// overrideNormal = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
|
|
L_12 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___overrideNormal_5 = L_12;
|
|
// rect = new Rect(x, y, _size, _size);
|
|
float L_13 = ___0_x;
|
|
float L_14 = ___1_y;
|
|
float L_15 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____size_0;
|
|
float L_16 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____size_0;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_17;
|
|
memset((&L_17), 0, sizeof(L_17));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_17), L_13, L_14, L_15, L_16, /*hidden argument*/NULL);
|
|
__this->___rect_8 = L_17;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::ClampLocalPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_ClampLocalPos_m46FEF4492420947555CA97209490C0DD176B85E3 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// localPos.x = Mathf.Clamp(localPos.x, 0f, 1f);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_0 = (&__this->___localPos_9);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_1 = (&__this->___localPos_9);
|
|
float L_2 = L_1->___x_0;
|
|
float L_3;
|
|
L_3 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_2, (0.0f), (1.0f), NULL);
|
|
L_0->___x_0 = L_3;
|
|
// localPos.y = Mathf.Clamp(localPos.y, 0f, 1f);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_4 = (&__this->___localPos_9);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_5 = (&__this->___localPos_9);
|
|
float L_6 = L_5->___y_1;
|
|
float L_7;
|
|
L_7 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(L_6, (0.0f), (1.0f), NULL);
|
|
L_4->___y_1 = L_7;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.ctor(System.Single,System.Single,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__ctor_m8D7000B4994BBA2F63BFC8DC55F17D4B5BBBB83E (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, float ___0_x, float ___1_y, bool ___2_local, 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;
|
|
}
|
|
{
|
|
// public Color VertexColor = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_0;
|
|
L_0 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
__this->___VertexColor_3 = L_0;
|
|
// public float VertexColorFalloff = 1f;
|
|
__this->___VertexColorFalloff_4 = (1.0f);
|
|
// public Vector2 overrideNormal = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
L_1 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___overrideNormal_5 = L_1;
|
|
// [SerializeField] public Vector2 localPos = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localPos_9 = L_2;
|
|
// [SerializeField] public Vector2 localInTan = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localInTan_10 = L_3;
|
|
// [SerializeField] public Vector2 localNextTan = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___localNextTan_11 = L_4;
|
|
// public float AutoFactor = .7f;
|
|
__this->___AutoFactor_16 = (0.699999988f);
|
|
// public CurvePoint(float x, float y, bool local)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// if (local)
|
|
bool L_5 = ___2_local;
|
|
if (!L_5)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// localPos = new Vector2(x, y);
|
|
float L_6 = ___0_x;
|
|
float L_7 = ___1_y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_8), L_6, L_7, /*hidden argument*/NULL);
|
|
__this->___localPos_9 = L_8;
|
|
goto IL_0078;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// ToCanv(_latestEditorDisplayRect, new Vector2(x, y));
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_9 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
float L_10 = ___0_x;
|
|
float L_11 = ___1_y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12;
|
|
memset((&L_12), 0, sizeof(L_12));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_12), L_10, L_11, /*hidden argument*/NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
|
|
L_13 = CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394(__this, L_9, L_12, NULL);
|
|
}
|
|
|
|
IL_0078:
|
|
{
|
|
// rect = new Rect(x, y, _size, _size);
|
|
float L_14 = ___0_x;
|
|
float L_15 = ___1_y;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
float L_16 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____size_0;
|
|
float L_17 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____size_0;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_18;
|
|
memset((&L_18), 0, sizeof(L_18));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_18), L_14, L_15, L_16, L_17, /*hidden argument*/NULL);
|
|
__this->___rect_8 = L_18;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.ctor(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__ctor_mAC0C807CBECB9334B003B19966E106418E342F9F (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_pos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public CurvePoint(Vector2 pos) : this(pos.x, pos.y) { }
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_pos;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___0_pos;
|
|
float L_3 = L_2.___y_1;
|
|
CurvePoint__ctor_mE66CC574B9E0A1DF6D1B6959D6DA74EADAD3492F(__this, L_1, L_3, NULL);
|
|
// public CurvePoint(Vector2 pos) : this(pos.x, pos.y) { }
|
|
return;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
{
|
|
// public CurvePoint(Vector2 pos, bool local) : this(pos.x, pos.y, local) { }
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_pos;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___0_pos;
|
|
float L_3 = L_2.___y_1;
|
|
bool L_4 = ___1_local;
|
|
CurvePoint__ctor_m8D7000B4994BBA2F63BFC8DC55F17D4B5BBBB83E(__this, L_1, L_3, L_4, NULL);
|
|
// public CurvePoint(Vector2 pos, bool local) : this(pos.x, pos.y, local) { }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::Update(System.Int32,FIMSpace.Generating.TileMeshSetup/CurvePoint,FIMSpace.Generating.TileMeshSetup/CurvePoint)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_Update_m8DD0A5C69476A89B939C5FF41CF6CC0B6FFCFA89 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, int32_t ___0_index, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___1_prePoint, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___2_nextPoint, 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));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 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));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
{
|
|
// this.index = index;
|
|
int32_t L_0 = ___0_index;
|
|
__this->___index_7 = L_0;
|
|
// pre = prePoint;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_1 = ___1_prePoint;
|
|
__this->___pre_13 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___pre_13), (void*)L_1);
|
|
// next = nextPoint;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_2 = ___2_nextPoint;
|
|
__this->___next_12 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___next_12), (void*)L_2);
|
|
// if (Mode == EPointMode.Linear)
|
|
int32_t L_3 = __this->___Mode_2;
|
|
if (L_3)
|
|
{
|
|
goto IL_0056;
|
|
}
|
|
}
|
|
{
|
|
// if (nextPoint != null)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_4 = ___2_nextPoint;
|
|
if (!L_4)
|
|
{
|
|
goto IL_01dc;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 dir = nextPoint.rPos - rect.position;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_5 = ___2_nextPoint;
|
|
NullCheck(L_5);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
|
|
L_6 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_5, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_7 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_8;
|
|
L_8 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_7, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9;
|
|
L_9 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_6, L_8, NULL);
|
|
V_0 = L_9;
|
|
// Vector2 dirN = dir.normalized;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_10;
|
|
L_10 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_0), NULL);
|
|
V_1 = L_10;
|
|
// inTan = dirN;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11 = V_1;
|
|
CurvePoint_set_inTan_m55D2EA1AA40F01036667DF73A6D415ADF257DA97(__this, L_11, NULL);
|
|
// nextTan = -dirN;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
|
|
L_13 = Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline(L_12, NULL);
|
|
CurvePoint_set_nextTan_m4FAF7720E1B9A1FB2697264CDF86A797F856C329(__this, L_13, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// else if (Mode == EPointMode.Auto)
|
|
int32_t L_14 = __this->___Mode_2;
|
|
if ((!(((uint32_t)L_14) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01d3;
|
|
}
|
|
}
|
|
{
|
|
// if (pre == null)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_15 = __this->___pre_13;
|
|
if (L_15)
|
|
{
|
|
goto IL_00bd;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 dir = nextPoint.rPos - rect.position;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_16 = ___2_nextPoint;
|
|
NullCheck(L_16);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_17;
|
|
L_17 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_16, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_18 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_19;
|
|
L_19 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_18, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20;
|
|
L_20 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_17, L_19, NULL);
|
|
V_2 = L_20;
|
|
// Vector2 dirN = dir.normalized;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21;
|
|
L_21 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_2), NULL);
|
|
V_3 = L_21;
|
|
// inTan = -dirN * AutoFactor;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_22 = V_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23;
|
|
L_23 = Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline(L_22, NULL);
|
|
float L_24 = __this->___AutoFactor_16;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_25;
|
|
L_25 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_23, L_24, NULL);
|
|
CurvePoint_set_inTan_m55D2EA1AA40F01036667DF73A6D415ADF257DA97(__this, L_25, NULL);
|
|
// nextTan = -nextPoint.inTan * AutoFactor;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_26 = ___2_nextPoint;
|
|
NullCheck(L_26);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_27;
|
|
L_27 = CurvePoint_get_inTan_m3EB55D624EC40E62C7F2E30B5A69FD21520C3BC2(L_26, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28;
|
|
L_28 = Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline(L_27, NULL);
|
|
float L_29 = __this->___AutoFactor_16;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_30;
|
|
L_30 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_28, L_29, NULL);
|
|
CurvePoint_set_nextTan_m4FAF7720E1B9A1FB2697264CDF86A797F856C329(__this, L_30, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
// else if (next == null)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_31 = __this->___next_12;
|
|
if (L_31)
|
|
{
|
|
goto IL_0116;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 dir = prePoint.rPos - rect.position;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_32 = ___1_prePoint;
|
|
NullCheck(L_32);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_33;
|
|
L_33 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_32, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_34 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_35;
|
|
L_35 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_34, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36;
|
|
L_36 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_33, L_35, NULL);
|
|
V_4 = L_36;
|
|
// Vector2 dirN = dir.normalized;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_37;
|
|
L_37 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_4), NULL);
|
|
V_5 = L_37;
|
|
// inTan = -prePoint.nextTan * AutoFactor;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_38 = ___1_prePoint;
|
|
NullCheck(L_38);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_39;
|
|
L_39 = CurvePoint_get_nextTan_mB5BDA514254D0FCD8E72B0D0CDD60350459D54E9(L_38, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40;
|
|
L_40 = Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline(L_39, NULL);
|
|
float L_41 = __this->___AutoFactor_16;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_42;
|
|
L_42 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_40, L_41, NULL);
|
|
CurvePoint_set_inTan_m55D2EA1AA40F01036667DF73A6D415ADF257DA97(__this, L_42, NULL);
|
|
// nextTan = dirN * AutoFactor;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_43 = V_5;
|
|
float L_44 = __this->___AutoFactor_16;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_45;
|
|
L_45 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_43, L_44, NULL);
|
|
CurvePoint_set_nextTan_m4FAF7720E1B9A1FB2697264CDF86A797F856C329(__this, L_45, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0116:
|
|
{
|
|
// Vector2 preDir = prePoint.rPos - rect.position;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_46 = ___1_prePoint;
|
|
NullCheck(L_46);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_47;
|
|
L_47 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_46, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_48 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_49;
|
|
L_49 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_48, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_50;
|
|
L_50 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_47, L_49, NULL);
|
|
// Vector2 nxtDir = nextPoint.rPos - rect.position;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_51 = ___2_nextPoint;
|
|
NullCheck(L_51);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_52;
|
|
L_52 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_51, NULL);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_53 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_54;
|
|
L_54 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_53, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_55;
|
|
L_55 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_52, L_54, NULL);
|
|
V_6 = L_55;
|
|
// Vector2 nxtDirN = nxtDir.normalized;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_56;
|
|
L_56 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_6), NULL);
|
|
// Vector2 fromTo = prePoint.rPos - nextPoint.rPos;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_57 = ___1_prePoint;
|
|
NullCheck(L_57);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_58;
|
|
L_58 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_57, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_59 = ___2_nextPoint;
|
|
NullCheck(L_59);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_60;
|
|
L_60 = CurvePoint_get_rPos_m75C67F949825935E609610B16408DB5C5D79D191(L_59, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_61;
|
|
L_61 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_58, L_60, NULL);
|
|
V_7 = L_61;
|
|
// Vector2 nextTanVal = nxtDirN * (fromTo.magnitude * 1f * AutoFactor);
|
|
float L_62;
|
|
L_62 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline((&V_7), NULL);
|
|
float L_63 = __this->___AutoFactor_16;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_64;
|
|
L_64 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_56, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_62, (1.0f))), L_63)), NULL);
|
|
V_8 = L_64;
|
|
// inTan = Vector2.LerpUnclamped(pre.nextTan, nextTanVal, 0.5f);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_65 = __this->___pre_13;
|
|
NullCheck(L_65);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_66;
|
|
L_66 = CurvePoint_get_nextTan_mB5BDA514254D0FCD8E72B0D0CDD60350459D54E9(L_65, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_67 = V_8;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_68;
|
|
L_68 = Vector2_LerpUnclamped_mB0B50875D4509E21FF43F4D87610333D55E6A44F_inline(L_66, L_67, (0.5f), NULL);
|
|
CurvePoint_set_inTan_m55D2EA1AA40F01036667DF73A6D415ADF257DA97(__this, L_68, NULL);
|
|
// nextTan = -nextPoint.inTan.normalized * nxtDir.magnitude * 0.5f * AutoFactor;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_69 = ___2_nextPoint;
|
|
NullCheck(L_69);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_70;
|
|
L_70 = CurvePoint_get_inTan_m3EB55D624EC40E62C7F2E30B5A69FD21520C3BC2(L_69, NULL);
|
|
V_9 = L_70;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_71;
|
|
L_71 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_9), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_72;
|
|
L_72 = Vector2_op_UnaryNegation_mBA9FC53A2194EE3CC067A12D11879F695B34D6F9_inline(L_71, NULL);
|
|
float L_73;
|
|
L_73 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline((&V_6), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_74;
|
|
L_74 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_72, L_73, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_75;
|
|
L_75 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_74, (0.5f), NULL);
|
|
float L_76 = __this->___AutoFactor_16;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_77;
|
|
L_77 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_75, L_76, NULL);
|
|
CurvePoint_set_nextTan_m4FAF7720E1B9A1FB2697264CDF86A797F856C329(__this, L_77, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_01d3:
|
|
{
|
|
// else if (Mode == EPointMode.Manual)
|
|
int32_t L_78 = __this->___Mode_2;
|
|
}
|
|
|
|
IL_01dc:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::SyncLocalPos(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_SyncLocalPos_m5E9E4299C885A414E13E854C0F54E4678B3E7A35 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_rectPos, 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;
|
|
}
|
|
{
|
|
// SetPos(_latestEditorDisplayRect, rectPos);
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = ___0_rectPos;
|
|
CurvePoint_SetPos_m0C131B04355020E4669A551B45B9A6647FD4110C(__this, L_0, L_1, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::SyncLocalPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_SyncLocalPos_m3C0F4B9037F078A1262B4C16B248D5052B75B5D0 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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;
|
|
}
|
|
{
|
|
// SetPos(_latestEditorDisplayRect, rect.position);
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_1 = (&__this->___rect_8);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Rect_get_position_m9B7E583E67443B6F4280A676E644BB0B9E7C4E38(L_1, NULL);
|
|
CurvePoint_SetPos_m0C131B04355020E4669A551B45B9A6647FD4110C(__this, L_0, L_2, NULL);
|
|
// ClampLocalPos();
|
|
CurvePoint_ClampLocalPos_m46FEF4492420947555CA97209490C0DD176B85E3(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::RefreshRectPos()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint_RefreshRectPos_mD8158B28E0137A048D6A830481C4D466F7AF32F4 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, 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;
|
|
}
|
|
{
|
|
// rect.position = ToCanv(_latestEditorDisplayRect, localPos);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D* L_0 = (&__this->___rect_8);
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_1 = ((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = __this->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = CurvePoint_ToCanv_m8F2BB13A43A36D7FDAD58397982FA22461C07394(__this, L_1, L_2, NULL);
|
|
Rect_set_position_m9CD8AA25A83A7A893429C0ED56C36641202C3F05(L_0, L_3, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2 FIMSpace.Generating.TileMeshSetup/CurvePoint::GetPositionTowards(FIMSpace.Generating.TileMeshSetup/CurvePoint,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 CurvePoint_GetPositionTowards_m93EA5AAEEC9B87E583AB6303C1C4BDC07CFA5D05 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* __this, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___0_p2, float ___1_t, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 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));
|
|
{
|
|
// float omT = 1f - t;
|
|
float L_0 = ___1_t;
|
|
V_0 = ((float)il2cpp_codegen_subtract((1.0f), L_0));
|
|
// if (Mode == EPointMode.Linear && p2.Mode == EPointMode.Linear)
|
|
int32_t L_1 = __this->___Mode_2;
|
|
if (L_1)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_2 = ___0_p2;
|
|
NullCheck(L_2);
|
|
int32_t L_3 = L_2->___Mode_2;
|
|
if (L_3)
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// return Vector3.LerpUnclamped(localPos, p2.localPos, t);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4 = __this->___localPos_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_4, NULL);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_6 = ___0_p2;
|
|
NullCheck(L_6);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = L_6->___localPos_9;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_7, NULL);
|
|
float L_9 = ___1_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_LerpUnclamped_m4109A459C1DB823310A10B8B1E80CB6877418347_inline(L_5, L_8, L_9, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11;
|
|
L_11 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_10, NULL);
|
|
return L_11;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// Vector2 inTan = localPos + localInTan;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = __this->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13 = __this->___localInTan_10;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
|
|
L_14 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_12, L_13, NULL);
|
|
V_1 = L_14;
|
|
// Vector2 nextTan = p2.localPos + localNextTan;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_15 = ___0_p2;
|
|
NullCheck(L_15);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = L_15->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_17 = __this->___localNextTan_11;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18;
|
|
L_18 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_16, L_17, NULL);
|
|
V_2 = L_18;
|
|
// Vector3 Q = omT * localPos + t * inTan;
|
|
float L_19 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_20 = __this->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_21;
|
|
L_21 = Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline(L_19, L_20, NULL);
|
|
float L_22 = ___1_t;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_24;
|
|
L_24 = Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline(L_22, L_23, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_25;
|
|
L_25 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_21, L_24, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_25, NULL);
|
|
V_3 = L_26;
|
|
// Vector3 R = omT * inTan + t * nextTan;
|
|
float L_27 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_29;
|
|
L_29 = Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline(L_27, L_28, NULL);
|
|
float L_30 = ___1_t;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_31 = V_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_32;
|
|
L_32 = Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline(L_30, L_31, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_33;
|
|
L_33 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_29, L_32, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_33, NULL);
|
|
V_4 = L_34;
|
|
// Vector3 S = omT * nextTan + t * p2.localPos;
|
|
float L_35 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36 = V_2;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_37;
|
|
L_37 = Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline(L_35, L_36, NULL);
|
|
float L_38 = ___1_t;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_39 = ___0_p2;
|
|
NullCheck(L_39);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = L_39->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_41;
|
|
L_41 = Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline(L_38, L_40, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_42;
|
|
L_42 = Vector2_op_Addition_m8136742CE6EE33BA4EB81C5F584678455917D2AE_inline(L_37, L_41, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43;
|
|
L_43 = Vector2_op_Implicit_m6D9CABB2C791A192867D7A4559D132BE86DD3EB7_inline(L_42, NULL);
|
|
V_5 = L_43;
|
|
// Vector3 P = omT * Q + t * R;
|
|
float L_44 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_44, L_45, NULL);
|
|
float L_47 = ___1_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
|
|
L_49 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_47, L_48, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_46, L_49, NULL);
|
|
V_6 = L_50;
|
|
// Vector3 T = omT * R + t * S;
|
|
float L_51 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_51, L_52, NULL);
|
|
float L_54 = ___1_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_54, L_55, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
|
|
L_57 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_53, L_56, NULL);
|
|
V_7 = L_57;
|
|
// return omT * P + t * T;
|
|
float L_58 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = V_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_58, L_59, NULL);
|
|
float L_61 = ___1_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
|
|
L_63 = Vector3_op_Multiply_m7F3B0FA9256CE368D7636558EFEFC4AB0E1A0F41_inline(L_61, L_62, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64;
|
|
L_64 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_60, L_63, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_65;
|
|
L_65 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_64, NULL);
|
|
return L_65;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return curve[GetIndexAt(curve, time, splineLength, getPre)];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = ___0_curve;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_1 = ___0_curve;
|
|
float L_2 = ___1_time;
|
|
float L_3 = ___2_splineLength;
|
|
bool L_4 = ___3_getPre;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
int32_t L_5;
|
|
L_5 = CurvePoint_GetIndexAt_m4E8FE72D8BBED89C5CF9389DEE283B042B9245E9(L_1, L_2, L_3, L_4, NULL);
|
|
NullCheck(L_0);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_6;
|
|
L_6 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_0, L_5, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup/CurvePoint::GetIndexAt(System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>,System.Single,System.Single,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CurvePoint_GetIndexAt_m4E8FE72D8BBED89C5CF9389DEE283B042B9245E9 (List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___0_curve, float ___1_time, float ___2_splineLength, bool ___3_getPre, 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;
|
|
}
|
|
float V_0 = 0.0f;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// if (curve.Count == 0) return 0;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = ___0_curve;
|
|
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 (L_1)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (curve.Count == 0) return 0;
|
|
return 0;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// float distInTime = Mathf.Lerp(0f, splineLength, time);
|
|
float L_2 = ___2_splineLength;
|
|
float L_3 = ___1_time;
|
|
float L_4;
|
|
L_4 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.0f), L_2, L_3, NULL);
|
|
V_0 = L_4;
|
|
// int p2i = 0;
|
|
V_1 = 0;
|
|
// for (int i = 0; i < curve.Count; i++)
|
|
V_2 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// p2i = i;
|
|
int32_t L_5 = V_2;
|
|
V_1 = L_5;
|
|
// var p2 = curve[i];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_6 = ___0_curve;
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_6);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_8;
|
|
L_8 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_6, L_7, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
// if (p2.distanceInSpline >= distInTime)
|
|
NullCheck(L_8);
|
|
float L_9 = L_8->___distanceInSpline_1;
|
|
float L_10 = V_0;
|
|
if ((((float)L_9) >= ((float)L_10)))
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < curve.Count; i++)
|
|
int32_t L_11 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < curve.Count; i++)
|
|
int32_t L_12 = V_2;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_13 = ___0_curve;
|
|
NullCheck(L_13);
|
|
int32_t L_14;
|
|
L_14 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_13, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_12) < ((int32_t)L_14)))
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// if (getPre) return Mathf.Max(0, p2i - 1);
|
|
bool L_15 = ___3_getPre;
|
|
if (!L_15)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// if (getPre) return Mathf.Max(0, p2i - 1);
|
|
int32_t L_16 = V_1;
|
|
int32_t L_17;
|
|
L_17 = Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline(0, ((int32_t)il2cpp_codegen_subtract(L_16, 1)), NULL);
|
|
return L_17;
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// return p2i;
|
|
int32_t L_18 = V_1;
|
|
return L_18;
|
|
}
|
|
}
|
|
// System.Int32 FIMSpace.Generating.TileMeshSetup/CurvePoint::GetCurvePointIndex(FIMSpace.Generating.TileMeshSetup/CurvePoint,System.Collections.Generic.List`1<FIMSpace.Generating.TileMeshSetup/CurvePoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t CurvePoint_GetCurvePointIndex_mE43FBA5124BC5D61B6AFE9AEABDE7C96CF30A768 (CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___0_p, List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* ___1_list, 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;
|
|
{
|
|
// for (int i = 0; i < list.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_001b;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// if (p == list[i])
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_0 = ___0_p;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_1 = ___1_list;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_3;
|
|
L_3 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_1, L_2, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
if ((!(((RuntimeObject*)(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*)L_0) == ((RuntimeObject*)(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB*)L_3))))
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// p.index = i;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_4 = ___0_p;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
L_4->___index_7 = L_5;
|
|
// return i;
|
|
int32_t L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// for (int i = 0; i < list.Count; i++)
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_001b:
|
|
{
|
|
// for (int i = 0; i < list.Count; i++)
|
|
int32_t L_8 = V_0;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = ___1_list;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_9, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_8) < ((int32_t)L_10)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_1 = NULL;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_2 = NULL;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
{
|
|
// if (points.Count == 0) return Vector2.zero;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = ___0_points;
|
|
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 (L_1)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (points.Count == 0) return Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
return L_2;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// float distInTime = Mathf.Lerp(0f, splineLength, time);
|
|
float L_3 = ___2_splineLength;
|
|
float L_4 = ___1_time;
|
|
float L_5;
|
|
L_5 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.0f), L_3, L_4, NULL);
|
|
V_0 = L_5;
|
|
// CurvePoint p1 = points[0];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_6 = ___0_points;
|
|
NullCheck(L_6);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_7;
|
|
L_7 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_6, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_1 = L_7;
|
|
// CurvePoint p2 = points[0];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_8 = ___0_points;
|
|
NullCheck(L_8);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_9;
|
|
L_9 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_8, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_2 = L_9;
|
|
// for (int i = 0; i < points.Count; i++)
|
|
V_5 = 0;
|
|
goto IL_0065;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// p2 = points[i];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_10 = ___0_points;
|
|
int32_t L_11 = V_5;
|
|
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);
|
|
V_2 = L_12;
|
|
// if (p2.distanceInSpline >= distInTime)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_13 = V_2;
|
|
NullCheck(L_13);
|
|
float L_14 = L_13->___distanceInSpline_1;
|
|
float L_15 = V_0;
|
|
if ((!(((float)L_14) >= ((float)L_15))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (p2.distanceInSpline > distInTime)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_16 = V_2;
|
|
NullCheck(L_16);
|
|
float L_17 = L_16->___distanceInSpline_1;
|
|
float L_18 = V_0;
|
|
if ((!(((float)L_17) > ((float)L_18))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (i - 1 > 0) p1 = points[i - 1];
|
|
int32_t L_19 = V_5;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_19, 1))) <= ((int32_t)0)))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if (i - 1 > 0) p1 = points[i - 1];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = ___0_points;
|
|
int32_t L_21 = V_5;
|
|
NullCheck(L_20);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_22;
|
|
L_22 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_20, ((int32_t)il2cpp_codegen_subtract(L_21, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_1 = L_22;
|
|
// break;
|
|
goto IL_006f;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// for (int i = 0; i < points.Count; i++)
|
|
int32_t L_23 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_23, 1));
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// for (int i = 0; i < points.Count; i++)
|
|
int32_t L_24 = V_5;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_25 = ___0_points;
|
|
NullCheck(L_25);
|
|
int32_t L_26;
|
|
L_26 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_25, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_24) < ((int32_t)L_26)))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// float time1 = p1.distanceInSpline / splineLength;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_27 = V_1;
|
|
NullCheck(L_27);
|
|
float L_28 = L_27->___distanceInSpline_1;
|
|
float L_29 = ___2_splineLength;
|
|
// float time2 = p2.distanceInSpline / splineLength;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_30 = V_2;
|
|
NullCheck(L_30);
|
|
float L_31 = L_30->___distanceInSpline_1;
|
|
float L_32 = ___2_splineLength;
|
|
V_3 = ((float)(L_31/L_32));
|
|
// float abProgr = Mathf.InverseLerp(time1, time2, time);
|
|
float L_33 = V_3;
|
|
float L_34 = ___1_time;
|
|
float L_35;
|
|
L_35 = Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline(((float)(L_28/L_29)), L_33, L_34, NULL);
|
|
V_4 = L_35;
|
|
// if (time > 0.5f)
|
|
float L_36 = ___1_time;
|
|
if ((!(((float)L_36) > ((float)(0.5f)))))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// _GetPosAt_Origin = p2;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_37 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18 = L_37;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18), (void*)L_37);
|
|
// _GetPosAt_Other = p1;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_38 = V_1;
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19 = L_38;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19), (void*)L_38);
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_009f:
|
|
{
|
|
// _GetPosAt_Origin = p1;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_39 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18 = L_39;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18), (void*)L_39);
|
|
// _GetPosAt_Other = p2;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_40 = V_2;
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19 = L_40;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19), (void*)L_40);
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// return p1.GetPositionTowards(p2, abProgr);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_41 = V_1;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_42 = V_2;
|
|
float L_43 = V_4;
|
|
NullCheck(L_41);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_44;
|
|
L_44 = CurvePoint_GetPositionTowards_m93EA5AAEEC9B87E583AB6303C1C4BDC07CFA5D05(L_41, L_42, L_43, NULL);
|
|
return L_44;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
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_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_1 = NULL;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* V_2 = NULL;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
int32_t V_5 = 0;
|
|
{
|
|
// if (points.Count == 0) return 0f;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_0 = ___0_points;
|
|
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 (L_1)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// if (points.Count == 0) return 0f;
|
|
return (0.0f);
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// float distInTime = Mathf.Lerp(0f, splineLength, time);
|
|
float L_2 = ___2_splineLength;
|
|
float L_3 = ___1_time;
|
|
float L_4;
|
|
L_4 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline((0.0f), L_2, L_3, NULL);
|
|
V_0 = L_4;
|
|
// CurvePoint p1 = points[0];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_5 = ___0_points;
|
|
NullCheck(L_5);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_6;
|
|
L_6 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_5, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_1 = L_6;
|
|
// CurvePoint p2 = points[0];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_7 = ___0_points;
|
|
NullCheck(L_7);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_8;
|
|
L_8 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_7, 0, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_2 = L_8;
|
|
// for (int i = 0; i < points.Count; i++)
|
|
V_5 = 0;
|
|
goto IL_0065;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// p2 = points[i];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = ___0_points;
|
|
int32_t L_10 = V_5;
|
|
NullCheck(L_9);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_11;
|
|
L_11 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_9, L_10, List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_2 = L_11;
|
|
// if (p2.distanceInSpline >= distInTime)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_12 = V_2;
|
|
NullCheck(L_12);
|
|
float L_13 = L_12->___distanceInSpline_1;
|
|
float L_14 = V_0;
|
|
if ((!(((float)L_13) >= ((float)L_14))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (p2.distanceInSpline > distInTime)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_15 = V_2;
|
|
NullCheck(L_15);
|
|
float L_16 = L_15->___distanceInSpline_1;
|
|
float L_17 = V_0;
|
|
if ((!(((float)L_16) > ((float)L_17))))
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// if (i - 1 > 0) p1 = points[i - 1];
|
|
int32_t L_18 = V_5;
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_subtract(L_18, 1))) <= ((int32_t)0)))
|
|
{
|
|
goto IL_006f;
|
|
}
|
|
}
|
|
{
|
|
// if (i - 1 > 0) p1 = points[i - 1];
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_19 = ___0_points;
|
|
int32_t L_20 = V_5;
|
|
NullCheck(L_19);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_21;
|
|
L_21 = List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6(L_19, ((int32_t)il2cpp_codegen_subtract(L_20, 1)), List_1_get_Item_m64CA86BB53C5595C2EFD5F1BAC0560D040F8FEC6_RuntimeMethod_var);
|
|
V_1 = L_21;
|
|
// break;
|
|
goto IL_006f;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// for (int i = 0; i < points.Count; i++)
|
|
int32_t L_22 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// for (int i = 0; i < points.Count; i++)
|
|
int32_t L_23 = V_5;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_24 = ___0_points;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_24, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_23) < ((int32_t)L_25)))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
|
|
IL_006f:
|
|
{
|
|
// float time1 = p1.distanceInSpline / splineLength;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_26 = V_1;
|
|
NullCheck(L_26);
|
|
float L_27 = L_26->___distanceInSpline_1;
|
|
float L_28 = ___2_splineLength;
|
|
// float time2 = p2.distanceInSpline / splineLength;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_29 = V_2;
|
|
NullCheck(L_29);
|
|
float L_30 = L_29->___distanceInSpline_1;
|
|
float L_31 = ___2_splineLength;
|
|
V_3 = ((float)(L_30/L_31));
|
|
// float abProgr = Mathf.InverseLerp(time1, time2, time);
|
|
float L_32 = V_3;
|
|
float L_33 = ___1_time;
|
|
float L_34;
|
|
L_34 = Mathf_InverseLerp_mBD7EC6A7173CE082226077E1557D5BC2D2AE0D9D_inline(((float)(L_27/L_28)), L_32, L_33, NULL);
|
|
V_4 = L_34;
|
|
// if (time > 0.5f)
|
|
float L_35 = ___1_time;
|
|
if ((!(((float)L_35) > ((float)(0.5f)))))
|
|
{
|
|
goto IL_009f;
|
|
}
|
|
}
|
|
{
|
|
// _GetPosAt_Origin = p2;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_36 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18 = L_36;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18), (void*)L_36);
|
|
// _GetPosAt_Other = p1;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_37 = V_1;
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19 = L_37;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19), (void*)L_37);
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_009f:
|
|
{
|
|
// _GetPosAt_Origin = p1;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_38 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18 = L_38;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Origin_18), (void*)L_38);
|
|
// _GetPosAt_Other = p2;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_39 = V_2;
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19 = L_39;
|
|
Il2CppCodeGenWriteBarrier((void**)(&((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____GetPosAt_Other_19), (void*)L_39);
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// return Mathf.Lerp(p1._extra_z, p2._extra_z, abProgr);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_40 = V_1;
|
|
NullCheck(L_40);
|
|
float L_41 = L_40->____extra_z_14;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_42 = V_2;
|
|
NullCheck(L_42);
|
|
float L_43 = L_42->____extra_z_14;
|
|
float L_44 = V_4;
|
|
float L_45;
|
|
L_45 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_41, L_43, L_44, NULL);
|
|
return L_45;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CurvePoint::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CurvePoint__cctor_m899FA30A6B56A8FC62B47D59C44FD4BDAD4AADCF (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;
|
|
}
|
|
{
|
|
// public static readonly float _size = 14f;
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____size_0 = (14.0f);
|
|
// public static Rect _latestEditorDisplayRect = new Rect(0, 0, 100, 100);
|
|
Rect_tA04E0F8A1830E767F40FB27ECD8D309303571F0D L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Rect__ctor_m18C3033D135097BEE424AAA68D91C706D2647F23((&L_0), (0.0f), (0.0f), (100.0f), (100.0f), /*hidden argument*/NULL);
|
|
((CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_StaticFields*)il2cpp_codegen_static_fields_for(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var))->____latestEditorDisplayRect_17 = L_0;
|
|
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.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)
|
|
{
|
|
{
|
|
// if (sampleFocus.overrideNormal != Vector2.zero)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_0 = ___0_sampleFocus;
|
|
NullCheck(L_0);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1 = L_0->___overrideNormal_5;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
bool L_3;
|
|
L_3 = Vector2_op_Inequality_mBEA93B5A0E954FEFB863DC61CB209119980EC713_inline(L_1, L_2, NULL);
|
|
if (!L_3)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// normal = sampleFocus.overrideNormal;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_4 = ___0_sampleFocus;
|
|
NullCheck(L_4);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_5 = L_4->___overrideNormal_5;
|
|
__this->___normal_1 = L_5;
|
|
// normal.y = -normal.y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_6 = (&__this->___normal_1);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_7 = (&__this->___normal_1);
|
|
float L_8 = L_7->___y_1;
|
|
L_6->___y_1 = ((-L_8));
|
|
// if (sampleFocus.overrideNormal.magnitude < 1f)
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_9 = ___0_sampleFocus;
|
|
NullCheck(L_9);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_10 = (&L_9->___overrideNormal_5);
|
|
float L_11;
|
|
L_11 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline(L_10, NULL);
|
|
if ((!(((float)L_11) < ((float)(1.0f)))))
|
|
{
|
|
goto IL_0063;
|
|
}
|
|
}
|
|
{
|
|
// normal *= sampleFocus.overrideNormal.magnitude;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_12 = __this->___normal_1;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_13 = ___0_sampleFocus;
|
|
NullCheck(L_13);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_14 = (&L_13->___overrideNormal_5);
|
|
float L_15;
|
|
L_15 = Vector2_get_magnitude_m5C59B4056420AEFDB291AD0914A3F675330A75CE_inline(L_14, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16;
|
|
L_16 = Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_inline(L_12, L_15, NULL);
|
|
__this->___normal_1 = L_16;
|
|
}
|
|
|
|
IL_0063:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E_AdjustorThunk (RuntimeObject* __this, CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* ___0_sampleFocus, const RuntimeMethod* method)
|
|
{
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E(_thisAdjusted, ___0_sampleFocus, method);
|
|
return _returnValue;
|
|
}
|
|
// 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)
|
|
{
|
|
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_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_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));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
{
|
|
// bool quick = QuickNormalCompute(sampleFocus);
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_0 = ___2_sampleFocus;
|
|
bool L_1;
|
|
L_1 = MeshShapePoint_QuickNormalCompute_m8466CFDA6DB31C9760B032F391ABBACC162BF96E(__this, L_0, NULL);
|
|
// if (quick) return;
|
|
if (!L_1)
|
|
{
|
|
goto IL_000a;
|
|
}
|
|
}
|
|
{
|
|
// if (quick) return;
|
|
return;
|
|
}
|
|
|
|
IL_000a:
|
|
{
|
|
// if (points.Count <= 1) return;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_2 = ___5_points;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_inline(L_2, List_1_get_Count_m392633615EF7EFCF5D006F78D189A49EF63FCF54_RuntimeMethod_var);
|
|
if ((((int32_t)L_3) > ((int32_t)1)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (points.Count <= 1) return;
|
|
return;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// stepProgr *= 0.1f;
|
|
float L_4 = ___6_stepProgr;
|
|
___6_stepProgr = ((float)il2cpp_codegen_multiply(L_4, (0.100000001f)));
|
|
// if (i == 0 || i == maxDivs - 1)
|
|
int32_t L_5 = ___0_i;
|
|
if (!L_5)
|
|
{
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_6 = ___0_i;
|
|
float L_7 = ___1_maxDivs;
|
|
if ((!(((float)((float)L_6)) == ((float)((float)il2cpp_codegen_subtract(L_7, (1.0f)))))))
|
|
{
|
|
goto IL_0097;
|
|
}
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// if (i == 0)
|
|
int32_t L_8 = ___0_i;
|
|
if (L_8)
|
|
{
|
|
goto IL_005f;
|
|
}
|
|
}
|
|
{
|
|
// Vector2 next = CurvePoint.GetPosAt(points, progr + stepProgr, splineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_9 = ___5_points;
|
|
float L_10 = ___4_progr;
|
|
float L_11 = ___6_stepProgr;
|
|
float L_12 = ___7_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_13;
|
|
L_13 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_9, ((float)il2cpp_codegen_add(L_10, L_11)), L_12, NULL);
|
|
V_0 = L_13;
|
|
// Vector2 dir = sampleFocus.localPos - next;
|
|
CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB* L_14 = ___2_sampleFocus;
|
|
NullCheck(L_14);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = L_14->___localPos_9;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_16 = V_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_17;
|
|
L_17 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_15, L_16, NULL);
|
|
V_1 = L_17;
|
|
// normal = Vector2.Perpendicular(dir.normalized);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_18;
|
|
L_18 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_1), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_19;
|
|
L_19 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_18, NULL);
|
|
__this->___normal_1 = L_19;
|
|
return;
|
|
}
|
|
|
|
IL_005f:
|
|
{
|
|
// Vector2 pre = CurvePoint.GetPosAt(points, 1f - stepProgr, splineLength); //sampleTarget.localPos;
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_20 = ___5_points;
|
|
float L_21 = ___6_stepProgr;
|
|
float L_22 = ___7_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_23;
|
|
L_23 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_20, ((float)il2cpp_codegen_subtract((1.0f), L_21)), L_22, NULL);
|
|
// Vector2 dir = pre - CurvePoint.GetPosAt(points, 1f, splineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_24 = ___5_points;
|
|
float L_25 = ___7_splineLength;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_26;
|
|
L_26 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_24, (1.0f), L_25, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_27;
|
|
L_27 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_23, L_26, NULL);
|
|
V_2 = L_27;
|
|
// normal = Vector2.Perpendicular(dir.normalized);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_28;
|
|
L_28 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_2), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_29;
|
|
L_29 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_28, NULL);
|
|
__this->___normal_1 = L_29;
|
|
return;
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
// Vector2 pre = CurvePoint.GetPosAt(points, progr - stepProgr, splineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_30 = ___5_points;
|
|
float L_31 = ___4_progr;
|
|
float L_32 = ___6_stepProgr;
|
|
float L_33 = ___7_splineLength;
|
|
il2cpp_codegen_runtime_class_init_inline(CurvePoint_t9C1398EE591C6567355971244657859FDE012EEB_il2cpp_TypeInfo_var);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_34;
|
|
L_34 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_30, ((float)il2cpp_codegen_subtract(L_31, L_32)), L_33, NULL);
|
|
// Vector2 next = CurvePoint.GetPosAt(points, progr + stepProgr, splineLength);
|
|
List_1_t680579C4749CA2E835AD3B0A8B1005684F9475E8* L_35 = ___5_points;
|
|
float L_36 = ___4_progr;
|
|
float L_37 = ___6_stepProgr;
|
|
float L_38 = ___7_splineLength;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_39;
|
|
L_39 = CurvePoint_GetPosAt_mBDDFF0A15F6509A74F57E137A68C7453D2DAE37C(L_35, ((float)il2cpp_codegen_add(L_36, L_37)), L_38, NULL);
|
|
V_3 = L_39;
|
|
// Vector2 dir = pre - next;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_40 = V_3;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_41;
|
|
L_41 = Vector2_op_Subtraction_m44475FCDAD2DA2F98D78A6625EC2DCDFE8803837_inline(L_34, L_40, NULL);
|
|
V_4 = L_41;
|
|
// normal = Vector2.Perpendicular(dir.normalized);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_42;
|
|
L_42 = Vector2_get_normalized_mF6722883AEFB5027690A778DF8ACC20F0FA65297_inline((&V_4), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_43;
|
|
L_43 = Vector2_Perpendicular_m5F6C34955CC79C7C680A0E2CBE87CB29571ED5F5_inline(L_42, NULL);
|
|
__this->___normal_1 = L_43;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void MeshShapePoint_ComputeNormal_mE335A625E908B102B4A22E870AEB1E0EF248F48F_AdjustorThunk (RuntimeObject* __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)
|
|
{
|
|
MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<MeshShapePoint_t60DB6B439E9125D314F3CA35E71E914E841A163D*>(__this + _offset);
|
|
MeshShapePoint_ComputeNormal_mE335A625E908B102B4A22E870AEB1E0EF248F48F(_thisAdjusted, ___0_i, ___1_maxDivs, ___2_sampleFocus, ___3_sampleTarget, ___4_progr, ___5_points, ___6_stepProgr, ___7_splineLength, 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.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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
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;
|
|
}
|
|
{
|
|
// if (_ModMesh == null || forceRefresh)
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_0 = __this->____ModMesh_13;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
bool L_2 = ___0_forceRefresh;
|
|
if (!((int32_t)((int32_t)L_1|(int32_t)L_2)))
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// if (_BakeParent != null)
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_3 = __this->____BakeParent_12;
|
|
if (!L_3)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// _ModMesh = Mesh.Instantiate(_BakeParent.LatestGeneratedMesh);
|
|
TileMeshSetup_t9503708CAF41BDEF6B793AAD785F83FE8E9C5E15* L_4 = __this->____BakeParent_12;
|
|
NullCheck(L_4);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_5;
|
|
L_5 = TileMeshSetup_get_LatestGeneratedMesh_m871DB143E56D30EADC7054B8F30F662635666F75_inline(L_4, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_6;
|
|
L_6 = Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8(L_5, Object_Instantiate_TisMesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_mCB63EA96E3A7048C1CD837AD0CAF59AA9200DBE8_RuntimeMethod_var);
|
|
__this->____ModMesh_13 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____ModMesh_13), (void*)L_6);
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// UnityEngine.Quaternion FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::GetRotation()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 TileMeshCombineInstance_GetRotation_m1C06498A77028D7E2E41A3789C1BA057324E7337 (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (SepAxisRotMode)
|
|
bool L_0 = __this->___SepAxisRotMode_17;
|
|
if (!L_0)
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// Quaternion rot = Quaternion.identity;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
// rot *= Quaternion.AngleAxis(Rotation.x, Vector3.right);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_2 = (&__this->___Rotation_3);
|
|
float L_3 = L_2->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_3, L_4, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
|
|
L_6 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_1, L_5, NULL);
|
|
// rot *= Quaternion.AngleAxis(Rotation.y, Vector3.up);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_7 = (&__this->___Rotation_3);
|
|
float L_8 = L_7->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_8, L_9, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_6, L_10, NULL);
|
|
// rot *= Quaternion.AngleAxis(Rotation.z, Vector3.forward);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_12 = (&__this->___Rotation_3);
|
|
float L_13 = L_12->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_15;
|
|
L_15 = Quaternion_AngleAxis_mF37022977B297E63AA70D69EA1C4C922FF22CC80(L_13, L_14, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_16;
|
|
L_16 = Quaternion_op_Multiply_mCB375FCCC12A2EC8F9EB824A1BFB4453B58C2012_inline(L_11, L_15, NULL);
|
|
// return rot;
|
|
return L_16;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// return Quaternion.Euler(Rotation);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17 = __this->___Rotation_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_18;
|
|
L_18 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_17, NULL);
|
|
return L_18;
|
|
}
|
|
}
|
|
// UnityEngine.Matrix4x4 FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::GenerateMatrix()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 TileMeshCombineInstance_GenerateMatrix_m47860EBFDC385DCAD8863F98737B6184B35989AD (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return Matrix4x4.TRS(Position, GetRotation(), Scale);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___Position_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = TileMeshCombineInstance_GetRotation_m1C06498A77028D7E2E41A3789C1BA057324E7337(__this, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = __this->___Scale_4;
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_3;
|
|
L_3 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_0, L_1, L_2, NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// 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)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return (TileMeshCombineInstance)MemberwiseClone();
|
|
RuntimeObject* L_0;
|
|
L_0 = Object_MemberwiseClone_m0676AEE25C3CF7C09F15ECF9EC5CC407863617B3(__this, NULL);
|
|
return ((TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9*)CastclassClass((RuntimeObject*)L_0, TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9_il2cpp_TypeInfo_var));
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/TileMeshCombineInstance::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TileMeshCombineInstance__ctor_m82933B4F6C57124D7FBA0D4A1BF78C1E354BA243 (TileMeshCombineInstance_tE515BA4527497AE88B8E79A3737E7673A35DC1B9* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public bool Enabled = true;
|
|
__this->___Enabled_0 = (bool)1;
|
|
// public Vector3 Position = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___Position_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 Vector3 Scale = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___Scale_4 = L_2;
|
|
// public Vector2 UVOffset = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
L_3 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___UVOffset_8 = L_3;
|
|
// public Vector2 UVReScale = Vector2.one;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_get_one_m9097EB8DC23C26118A591AF16702796C3EF51DFB_inline(NULL);
|
|
__this->___UVReScale_10 = L_4;
|
|
// public bool UseInCollider = true;
|
|
__this->___UseInCollider_11 = (bool)1;
|
|
// public bool MeshModeApplyToAll = true;
|
|
__this->___MeshModeApplyToAll_14 = (bool)1;
|
|
// public List<int> MeshModeApplyMasks = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_5 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_5);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_5, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
__this->___MeshModeApplyMasks_15 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___MeshModeApplyMasks_15), (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
|
|
// UnityEngine.Mesh FIMSpace.Generating.TileMeshSetup/CubeGenerator::GenerateMesh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* CubeGenerator_GenerateMesh_m795BC385D3D205D3801922E1CD904C592E50ED31 (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_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_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_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_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_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_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_m8F2E15FC96DA75186C51228128A0660709E4E810_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_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_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;
|
|
float V_4 = 0.0f;
|
|
bool V_5 = false;
|
|
bool V_6 = false;
|
|
float V_7 = 0.0f;
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* V_8 = NULL;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* V_9 = NULL;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* V_10 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_11 = NULL;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
int32_t V_14 = 0;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
int32_t V_18 = 0;
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
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;
|
|
int32_t V_30 = 0;
|
|
int32_t V_31 = 0;
|
|
int32_t G_B7_0 = 0;
|
|
int32_t G_B10_0 = 0;
|
|
int32_t G_B13_0 = 0;
|
|
float G_B15_0 = 0.0f;
|
|
float G_B15_1 = 0.0f;
|
|
int32_t G_B15_2 = 0;
|
|
int32_t G_B15_3 = 0;
|
|
float G_B14_0 = 0.0f;
|
|
float G_B14_1 = 0.0f;
|
|
int32_t G_B14_2 = 0;
|
|
int32_t G_B14_3 = 0;
|
|
float G_B16_0 = 0.0f;
|
|
float G_B16_1 = 0.0f;
|
|
float G_B16_2 = 0.0f;
|
|
int32_t G_B16_3 = 0;
|
|
int32_t G_B16_4 = 0;
|
|
float G_B18_0 = 0.0f;
|
|
float G_B18_1 = 0.0f;
|
|
float G_B18_2 = 0.0f;
|
|
int32_t G_B18_3 = 0;
|
|
int32_t G_B18_4 = 0;
|
|
float G_B17_0 = 0.0f;
|
|
float G_B17_1 = 0.0f;
|
|
float G_B17_2 = 0.0f;
|
|
int32_t G_B17_3 = 0;
|
|
int32_t G_B17_4 = 0;
|
|
float G_B19_0 = 0.0f;
|
|
float G_B19_1 = 0.0f;
|
|
float G_B19_2 = 0.0f;
|
|
float G_B19_3 = 0.0f;
|
|
int32_t G_B19_4 = 0;
|
|
int32_t G_B19_5 = 0;
|
|
float G_B65_0 = 0.0f;
|
|
float G_B65_1 = 0.0f;
|
|
int32_t G_B65_2 = 0;
|
|
int32_t G_B65_3 = 0;
|
|
float G_B64_0 = 0.0f;
|
|
float G_B64_1 = 0.0f;
|
|
int32_t G_B64_2 = 0;
|
|
int32_t G_B64_3 = 0;
|
|
float G_B66_0 = 0.0f;
|
|
float G_B66_1 = 0.0f;
|
|
float G_B66_2 = 0.0f;
|
|
int32_t G_B66_3 = 0;
|
|
int32_t G_B66_4 = 0;
|
|
float G_B68_0 = 0.0f;
|
|
float G_B68_1 = 0.0f;
|
|
float G_B68_2 = 0.0f;
|
|
int32_t G_B68_3 = 0;
|
|
int32_t G_B68_4 = 0;
|
|
float G_B67_0 = 0.0f;
|
|
float G_B67_1 = 0.0f;
|
|
float G_B67_2 = 0.0f;
|
|
int32_t G_B67_3 = 0;
|
|
int32_t G_B67_4 = 0;
|
|
float G_B69_0 = 0.0f;
|
|
float G_B69_1 = 0.0f;
|
|
float G_B69_2 = 0.0f;
|
|
float G_B69_3 = 0.0f;
|
|
int32_t G_B69_4 = 0;
|
|
int32_t G_B69_5 = 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;
|
|
// planeTop = null;
|
|
__this->___planeTop_10 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeTop_10), (void*)(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL);
|
|
// planeBottom = null;
|
|
__this->___planeBottom_11 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeBottom_11), (void*)(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL);
|
|
// planeLeft = null;
|
|
__this->___planeLeft_12 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeLeft_12), (void*)(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL);
|
|
// planeRight = null;
|
|
__this->___planeRight_13 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeRight_13), (void*)(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL);
|
|
// planeFront = null;
|
|
__this->___planeFront_14 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeFront_14), (void*)(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL);
|
|
// planeBack = null;
|
|
__this->___planeBack_15 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeBack_15), (void*)(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)NULL);
|
|
// float smallest = Scale.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_4 = (&__this->___Scale_0);
|
|
float L_5 = L_4->___x_2;
|
|
V_4 = L_5;
|
|
// if (Scale.y < smallest) smallest = Scale.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_6 = (&__this->___Scale_0);
|
|
float L_7 = L_6->___y_3;
|
|
float L_8 = V_4;
|
|
if ((!(((float)L_7) < ((float)L_8))))
|
|
{
|
|
goto IL_006b;
|
|
}
|
|
}
|
|
{
|
|
// if (Scale.y < smallest) smallest = Scale.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_9 = (&__this->___Scale_0);
|
|
float L_10 = L_9->___y_3;
|
|
V_4 = L_10;
|
|
}
|
|
|
|
IL_006b:
|
|
{
|
|
// if (Scale.z < smallest) smallest = Scale.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_11 = (&__this->___Scale_0);
|
|
float L_12 = L_11->___z_4;
|
|
float L_13 = V_4;
|
|
if ((!(((float)L_12) < ((float)L_13))))
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
// if (Scale.z < smallest) smallest = Scale.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_14 = (&__this->___Scale_0);
|
|
float L_15 = L_14->___z_4;
|
|
V_4 = L_15;
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
// bool areSides = FaceRight || FaceLeft;
|
|
bool L_16 = __this->___FaceRight_9;
|
|
if (L_16)
|
|
{
|
|
goto IL_0097;
|
|
}
|
|
}
|
|
{
|
|
bool L_17 = __this->___FaceLeft_8;
|
|
G_B7_0 = ((int32_t)(L_17));
|
|
goto IL_0098;
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
G_B7_0 = 1;
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
V_5 = (bool)G_B7_0;
|
|
// bool isUpDown = FaceTop || FaceBottom;
|
|
bool L_18 = __this->___FaceTop_6;
|
|
if (L_18)
|
|
{
|
|
goto IL_00aa;
|
|
}
|
|
}
|
|
{
|
|
bool L_19 = __this->___FaceBottom_7;
|
|
G_B10_0 = ((int32_t)(L_19));
|
|
goto IL_00ab;
|
|
}
|
|
|
|
IL_00aa:
|
|
{
|
|
G_B10_0 = 1;
|
|
}
|
|
|
|
IL_00ab:
|
|
{
|
|
// bool isFrontBack = FaceFront || FaceBack;
|
|
bool L_20 = __this->___FaceFront_4;
|
|
if (L_20)
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
}
|
|
{
|
|
bool L_21 = __this->___FaceBack_5;
|
|
G_B13_0 = ((int32_t)(L_21));
|
|
goto IL_00bd;
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
G_B13_0 = 1;
|
|
}
|
|
|
|
IL_00bd:
|
|
{
|
|
V_6 = (bool)G_B13_0;
|
|
// float bevelV = smallest * BevelSize * 0.9f;
|
|
float L_22 = V_4;
|
|
float L_23 = __this->___BevelSize_2;
|
|
V_7 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_22, L_23)), (0.899999976f)));
|
|
// Mesh plane = _GeneratePlane(Subdivisions.x, Subdivisions.z, new Vector2(Scale.x - bevelV * (areSides ? 1f : 0f), Scale.z - bevelV * (isFrontBack ? 1f : 0f)));
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_24 = (&__this->___Subdivisions_1);
|
|
int32_t L_25;
|
|
L_25 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_24, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_26 = (&__this->___Subdivisions_1);
|
|
int32_t L_27;
|
|
L_27 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_26, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_28 = (&__this->___Scale_0);
|
|
float L_29 = L_28->___x_2;
|
|
float L_30 = V_7;
|
|
bool L_31 = V_5;
|
|
G_B14_0 = L_30;
|
|
G_B14_1 = L_29;
|
|
G_B14_2 = L_27;
|
|
G_B14_3 = L_25;
|
|
if (L_31)
|
|
{
|
|
G_B15_0 = L_30;
|
|
G_B15_1 = L_29;
|
|
G_B15_2 = L_27;
|
|
G_B15_3 = L_25;
|
|
goto IL_00fe;
|
|
}
|
|
}
|
|
{
|
|
G_B16_0 = (0.0f);
|
|
G_B16_1 = G_B14_0;
|
|
G_B16_2 = G_B14_1;
|
|
G_B16_3 = G_B14_2;
|
|
G_B16_4 = G_B14_3;
|
|
goto IL_0103;
|
|
}
|
|
|
|
IL_00fe:
|
|
{
|
|
G_B16_0 = (1.0f);
|
|
G_B16_1 = G_B15_0;
|
|
G_B16_2 = G_B15_1;
|
|
G_B16_3 = G_B15_2;
|
|
G_B16_4 = G_B15_3;
|
|
}
|
|
|
|
IL_0103:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_32 = (&__this->___Scale_0);
|
|
float L_33 = L_32->___z_4;
|
|
float L_34 = V_7;
|
|
bool L_35 = V_6;
|
|
G_B17_0 = L_34;
|
|
G_B17_1 = L_33;
|
|
G_B17_2 = ((float)il2cpp_codegen_subtract(G_B16_2, ((float)il2cpp_codegen_multiply(G_B16_1, G_B16_0))));
|
|
G_B17_3 = G_B16_3;
|
|
G_B17_4 = G_B16_4;
|
|
if (L_35)
|
|
{
|
|
G_B18_0 = L_34;
|
|
G_B18_1 = L_33;
|
|
G_B18_2 = ((float)il2cpp_codegen_subtract(G_B16_2, ((float)il2cpp_codegen_multiply(G_B16_1, G_B16_0))));
|
|
G_B18_3 = G_B16_3;
|
|
G_B18_4 = G_B16_4;
|
|
goto IL_011d;
|
|
}
|
|
}
|
|
{
|
|
G_B19_0 = (0.0f);
|
|
G_B19_1 = G_B17_0;
|
|
G_B19_2 = G_B17_1;
|
|
G_B19_3 = G_B17_2;
|
|
G_B19_4 = G_B17_3;
|
|
G_B19_5 = G_B17_4;
|
|
goto IL_0122;
|
|
}
|
|
|
|
IL_011d:
|
|
{
|
|
G_B19_0 = (1.0f);
|
|
G_B19_1 = G_B18_0;
|
|
G_B19_2 = G_B18_1;
|
|
G_B19_3 = G_B18_2;
|
|
G_B19_4 = G_B18_3;
|
|
G_B19_5 = G_B18_4;
|
|
}
|
|
|
|
IL_0122:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_36;
|
|
memset((&L_36), 0, sizeof(L_36));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_36), G_B19_3, ((float)il2cpp_codegen_subtract(G_B19_2, ((float)il2cpp_codegen_multiply(G_B19_1, G_B19_0)))), /*hidden argument*/NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_37;
|
|
L_37 = TileMeshSetup__GeneratePlane_m9F63C437B93BE04AA79C3488545912318D647E32(G_B19_5, G_B19_4, L_36, NULL);
|
|
V_8 = L_37;
|
|
// List<Vector3> baseVert = new List<Vector3>();
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_38 = (List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B*)il2cpp_codegen_object_new(List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_38);
|
|
List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C(L_38, List_1__ctor_mC54E2BCBE43279A96FC082F5CDE2D76388BD8F9C_RuntimeMethod_var);
|
|
V_9 = L_38;
|
|
// List<Vector2> baseUV = new List<Vector2>();
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_39 = (List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B*)il2cpp_codegen_object_new(List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_39);
|
|
List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F(L_39, List_1__ctor_m88C4BD8AC607DB3585552068F4DC437406358D5F_RuntimeMethod_var);
|
|
V_10 = L_39;
|
|
// List<int> baseTris = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_40 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_40);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_40, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_11 = L_40;
|
|
// List<int> vertIds = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_41 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_41);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_41, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
V_12 = L_41;
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_42 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_43 = V_9;
|
|
NullCheck(L_42);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_42, L_43, NULL);
|
|
// plane.GetUVs(0, baseUV);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_44 = V_8;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_45 = V_10;
|
|
NullCheck(L_44);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_44, 0, L_45, NULL);
|
|
// plane.GetTriangles(baseTris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_46 = V_8;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_47 = V_11;
|
|
NullCheck(L_46);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_46, L_47, 0, NULL);
|
|
// int planeVerts = 0;
|
|
V_13 = 0;
|
|
// if (FaceTop)
|
|
bool L_48 = __this->___FaceTop_6;
|
|
if (!L_48)
|
|
{
|
|
goto IL_026e;
|
|
}
|
|
}
|
|
{
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_49 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_50 = V_9;
|
|
NullCheck(L_49);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_49, L_50, NULL);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, Scale.y / 2f, baseVert[t].z); // - S(baseVert[t].x ) * bevelV
|
|
V_14 = 0;
|
|
goto IL_01c6;
|
|
}
|
|
|
|
IL_0185:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, Scale.y / 2f, baseVert[t].z); // - S(baseVert[t].x ) * bevelV
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_51 = V_9;
|
|
int32_t L_52 = V_14;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_53 = V_9;
|
|
int32_t L_54 = V_14;
|
|
NullCheck(L_53);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_53, L_54, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_56 = L_55.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_57 = (&__this->___Scale_0);
|
|
float L_58 = L_57->___y_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_59 = V_9;
|
|
int32_t L_60 = V_14;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_59, L_60, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_62 = L_61.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63;
|
|
memset((&L_63), 0, sizeof(L_63));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_63), L_56, ((float)(L_58/(2.0f))), L_62, /*hidden argument*/NULL);
|
|
NullCheck(L_51);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_51, L_52, L_63, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, Scale.y / 2f, baseVert[t].z); // - S(baseVert[t].x ) * bevelV
|
|
int32_t L_64 = V_14;
|
|
V_14 = ((int32_t)il2cpp_codegen_add(L_64, 1));
|
|
}
|
|
|
|
IL_01c6:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, Scale.y / 2f, baseVert[t].z); // - S(baseVert[t].x ) * bevelV
|
|
int32_t L_65 = V_14;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_66 = V_9;
|
|
NullCheck(L_66);
|
|
int32_t L_67;
|
|
L_67 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_66, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_65) < ((int32_t)L_67)))
|
|
{
|
|
goto IL_0185;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
V_15 = 0;
|
|
goto IL_0212;
|
|
}
|
|
|
|
IL_01d6:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_68 = V_12;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_69 = V_0;
|
|
NullCheck(L_69);
|
|
int32_t L_70;
|
|
L_70 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_69, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
NullCheck(L_68);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_68, L_70, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_71 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_72 = V_9;
|
|
int32_t L_73 = V_15;
|
|
NullCheck(L_72);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74;
|
|
L_74 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_72, L_73, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_71);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_71, L_74, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_75 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76;
|
|
L_76 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
NullCheck(L_75);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_75, L_76, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_77 = V_2;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_78 = V_10;
|
|
int32_t L_79 = V_15;
|
|
NullCheck(L_78);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_80;
|
|
L_80 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_78, L_79, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
NullCheck(L_77);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_77, L_80, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
int32_t L_81 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_81, 1));
|
|
}
|
|
|
|
IL_0212:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
int32_t L_82 = V_15;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_83 = V_9;
|
|
NullCheck(L_83);
|
|
int32_t L_84;
|
|
L_84 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_83, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_82) < ((int32_t)L_84)))
|
|
{
|
|
goto IL_01d6;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
V_16 = 0;
|
|
goto IL_023a;
|
|
}
|
|
|
|
IL_0222:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_85 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_86 = V_11;
|
|
int32_t L_87 = V_16;
|
|
NullCheck(L_86);
|
|
int32_t L_88;
|
|
L_88 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_86, L_87, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_89 = V_13;
|
|
NullCheck(L_85);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_85, ((int32_t)il2cpp_codegen_add(L_88, L_89)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_90 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_90, 1));
|
|
}
|
|
|
|
IL_023a:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_91 = V_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_92 = V_11;
|
|
NullCheck(L_92);
|
|
int32_t L_93;
|
|
L_93 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_92, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_91) < ((int32_t)L_93)))
|
|
{
|
|
goto IL_0222;
|
|
}
|
|
}
|
|
{
|
|
// planeVerts += baseVert.Count;
|
|
int32_t L_94 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_95 = V_9;
|
|
NullCheck(L_95);
|
|
int32_t L_96;
|
|
L_96 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_95, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_94, L_96));
|
|
// planeTop = new CubePlane(baseVert, baseTris, vertIds);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_97 = V_9;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_98 = V_11;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_99 = V_12;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_100 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)il2cpp_codegen_object_new(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_100);
|
|
CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731(L_100, L_97, L_98, L_99, NULL);
|
|
__this->___planeTop_10 = L_100;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeTop_10), (void*)L_100);
|
|
// planeTop.FindEdgesTopBottom(this);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_101 = __this->___planeTop_10;
|
|
NullCheck(L_101);
|
|
CubePlane_FindEdgesTopBottom_m6C7F2921EDE14F3FEA37ECFC34163FDC734D7BDD(L_101, __this, NULL);
|
|
}
|
|
|
|
IL_026e:
|
|
{
|
|
// if (FaceBottom)
|
|
bool L_102 = __this->___FaceBottom_7;
|
|
if (!L_102)
|
|
{
|
|
goto IL_037f;
|
|
}
|
|
}
|
|
{
|
|
// vertIds.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_103 = V_12;
|
|
NullCheck(L_103);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_103, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_104 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_105 = V_9;
|
|
NullCheck(L_104);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_104, L_105, NULL);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, -Scale.y / 2f, baseVert[t].z);
|
|
V_17 = 0;
|
|
goto IL_02d0;
|
|
}
|
|
|
|
IL_028e:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, -Scale.y / 2f, baseVert[t].z);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_106 = V_9;
|
|
int32_t L_107 = V_17;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_108 = V_9;
|
|
int32_t L_109 = V_17;
|
|
NullCheck(L_108);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_110;
|
|
L_110 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_108, L_109, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_111 = L_110.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_112 = (&__this->___Scale_0);
|
|
float L_113 = L_112->___y_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_114 = V_9;
|
|
int32_t L_115 = V_17;
|
|
NullCheck(L_114);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
|
|
L_116 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_114, L_115, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_117 = L_116.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
|
|
memset((&L_118), 0, sizeof(L_118));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_118), L_111, ((float)(((-L_113))/(2.0f))), L_117, /*hidden argument*/NULL);
|
|
NullCheck(L_106);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_106, L_107, L_118, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, -Scale.y / 2f, baseVert[t].z);
|
|
int32_t L_119 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_119, 1));
|
|
}
|
|
|
|
IL_02d0:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = new Vector3(baseVert[t].x, -Scale.y / 2f, baseVert[t].z);
|
|
int32_t L_120 = V_17;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_121 = V_9;
|
|
NullCheck(L_121);
|
|
int32_t L_122;
|
|
L_122 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_121, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_120) < ((int32_t)L_122)))
|
|
{
|
|
goto IL_028e;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
V_18 = 0;
|
|
goto IL_031c;
|
|
}
|
|
|
|
IL_02e0:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_123 = V_12;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_124 = V_0;
|
|
NullCheck(L_124);
|
|
int32_t L_125;
|
|
L_125 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_124, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
NullCheck(L_123);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_123, L_125, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_126 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_127 = V_9;
|
|
int32_t L_128 = V_18;
|
|
NullCheck(L_127);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129;
|
|
L_129 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_127, L_128, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_126);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_126, L_129, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_130 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131;
|
|
L_131 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
NullCheck(L_130);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_130, L_131, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_132 = V_2;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_133 = V_10;
|
|
int32_t L_134 = V_18;
|
|
NullCheck(L_133);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_135;
|
|
L_135 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_133, L_134, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
NullCheck(L_132);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_132, L_135, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
int32_t L_136 = V_18;
|
|
V_18 = ((int32_t)il2cpp_codegen_add(L_136, 1));
|
|
}
|
|
|
|
IL_031c:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.up); uvs.Add(baseUV[t]); }
|
|
int32_t L_137 = V_18;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_138 = V_9;
|
|
NullCheck(L_138);
|
|
int32_t L_139;
|
|
L_139 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_138, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_137) < ((int32_t)L_139)))
|
|
{
|
|
goto IL_02e0;
|
|
}
|
|
}
|
|
{
|
|
// baseTris.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_140 = V_11;
|
|
NullCheck(L_140);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_140, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
V_19 = 0;
|
|
goto IL_034b;
|
|
}
|
|
|
|
IL_0333:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_141 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_142 = V_11;
|
|
int32_t L_143 = V_19;
|
|
NullCheck(L_142);
|
|
int32_t L_144;
|
|
L_144 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_142, L_143, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_145 = V_13;
|
|
NullCheck(L_141);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_141, ((int32_t)il2cpp_codegen_add(L_144, L_145)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_146 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_146, 1));
|
|
}
|
|
|
|
IL_034b:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_147 = V_19;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_148 = V_11;
|
|
NullCheck(L_148);
|
|
int32_t L_149;
|
|
L_149 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_148, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_147) < ((int32_t)L_149)))
|
|
{
|
|
goto IL_0333;
|
|
}
|
|
}
|
|
{
|
|
// planeVerts += baseVert.Count;
|
|
int32_t L_150 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_151 = V_9;
|
|
NullCheck(L_151);
|
|
int32_t L_152;
|
|
L_152 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_151, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_150, L_152));
|
|
// planeBottom = new CubePlane(baseVert, baseTris, vertIds);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_153 = V_9;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_154 = V_11;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_155 = V_12;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_156 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)il2cpp_codegen_object_new(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_156);
|
|
CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731(L_156, L_153, L_154, L_155, NULL);
|
|
__this->___planeBottom_11 = L_156;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeBottom_11), (void*)L_156);
|
|
// planeBottom.FindEdgesTopBottom(this);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_157 = __this->___planeBottom_11;
|
|
NullCheck(L_157);
|
|
CubePlane_FindEdgesTopBottom_m6C7F2921EDE14F3FEA37ECFC34163FDC734D7BDD(L_157, __this, NULL);
|
|
}
|
|
|
|
IL_037f:
|
|
{
|
|
// plane = _GeneratePlane(Subdivisions.y, Subdivisions.z, new Vector2(Scale.y - bevelV, Scale.z - bevelV));
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_158 = (&__this->___Subdivisions_1);
|
|
int32_t L_159;
|
|
L_159 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_158, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_160 = (&__this->___Subdivisions_1);
|
|
int32_t L_161;
|
|
L_161 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_160, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_162 = (&__this->___Scale_0);
|
|
float L_163 = L_162->___y_3;
|
|
float L_164 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_165 = (&__this->___Scale_0);
|
|
float L_166 = L_165->___z_4;
|
|
float L_167 = V_7;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_168;
|
|
memset((&L_168), 0, sizeof(L_168));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_168), ((float)il2cpp_codegen_subtract(L_163, L_164)), ((float)il2cpp_codegen_subtract(L_166, L_167)), /*hidden argument*/NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_169;
|
|
L_169 = TileMeshSetup__GeneratePlane_m9F63C437B93BE04AA79C3488545912318D647E32(L_159, L_161, L_168, NULL);
|
|
V_8 = L_169;
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_170 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_171 = V_9;
|
|
NullCheck(L_170);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_170, L_171, NULL);
|
|
// plane.GetUVs(0, baseUV);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_172 = V_8;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_173 = V_10;
|
|
NullCheck(L_172);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_172, 0, L_173, NULL);
|
|
// plane.GetTriangles(baseTris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_174 = V_8;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_175 = V_11;
|
|
NullCheck(L_174);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_174, L_175, 0, NULL);
|
|
// if (FaceRight)
|
|
bool L_176 = __this->___FaceRight_9;
|
|
if (!L_176)
|
|
{
|
|
goto IL_04e4;
|
|
}
|
|
}
|
|
{
|
|
// vertIds.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_177 = V_12;
|
|
NullCheck(L_177);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_177, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_178 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_179 = V_9;
|
|
NullCheck(L_178);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_178, L_179, NULL);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(-Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
V_20 = 0;
|
|
goto IL_043c;
|
|
}
|
|
|
|
IL_03fa:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(-Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_180 = V_9;
|
|
int32_t L_181 = V_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_182 = (&__this->___Scale_0);
|
|
float L_183 = L_182->___x_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_184 = V_9;
|
|
int32_t L_185 = V_20;
|
|
NullCheck(L_184);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_186;
|
|
L_186 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_184, L_185, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_187 = L_186.___x_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_188 = V_9;
|
|
int32_t L_189 = V_20;
|
|
NullCheck(L_188);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_190;
|
|
L_190 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_188, L_189, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_191 = L_190.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_192;
|
|
memset((&L_192), 0, sizeof(L_192));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_192), ((float)(((-L_183))/(2.0f))), L_187, L_191, /*hidden argument*/NULL);
|
|
NullCheck(L_180);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_180, L_181, L_192, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(-Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
int32_t L_193 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_193, 1));
|
|
}
|
|
|
|
IL_043c:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(-Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
int32_t L_194 = V_20;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_195 = V_9;
|
|
NullCheck(L_195);
|
|
int32_t L_196;
|
|
L_196 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_195, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_194) < ((int32_t)L_196)))
|
|
{
|
|
goto IL_03fa;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
V_21 = 0;
|
|
goto IL_0488;
|
|
}
|
|
|
|
IL_044c:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_197 = V_12;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_198 = V_0;
|
|
NullCheck(L_198);
|
|
int32_t L_199;
|
|
L_199 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_198, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
NullCheck(L_197);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_197, L_199, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_200 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_201 = V_9;
|
|
int32_t L_202 = V_21;
|
|
NullCheck(L_201);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_203;
|
|
L_203 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_201, L_202, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_200);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_200, L_203, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_204 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_205;
|
|
L_205 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
|
|
NullCheck(L_204);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_204, L_205, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_206 = V_2;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_207 = V_10;
|
|
int32_t L_208 = V_21;
|
|
NullCheck(L_207);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_209;
|
|
L_209 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_207, L_208, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
NullCheck(L_206);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_206, L_209, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
int32_t L_210 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_210, 1));
|
|
}
|
|
|
|
IL_0488:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.right); uvs.Add(baseUV[t]); }
|
|
int32_t L_211 = V_21;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_212 = V_9;
|
|
NullCheck(L_212);
|
|
int32_t L_213;
|
|
L_213 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_212, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_211) < ((int32_t)L_213)))
|
|
{
|
|
goto IL_044c;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
V_22 = 0;
|
|
goto IL_04b0;
|
|
}
|
|
|
|
IL_0498:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_214 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_215 = V_11;
|
|
int32_t L_216 = V_22;
|
|
NullCheck(L_215);
|
|
int32_t L_217;
|
|
L_217 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_215, L_216, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_218 = V_13;
|
|
NullCheck(L_214);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_214, ((int32_t)il2cpp_codegen_add(L_217, L_218)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_219 = V_22;
|
|
V_22 = ((int32_t)il2cpp_codegen_add(L_219, 1));
|
|
}
|
|
|
|
IL_04b0:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_220 = V_22;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_221 = V_11;
|
|
NullCheck(L_221);
|
|
int32_t L_222;
|
|
L_222 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_221, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_220) < ((int32_t)L_222)))
|
|
{
|
|
goto IL_0498;
|
|
}
|
|
}
|
|
{
|
|
// planeVerts += baseVert.Count;
|
|
int32_t L_223 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_224 = V_9;
|
|
NullCheck(L_224);
|
|
int32_t L_225;
|
|
L_225 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_224, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_223, L_225));
|
|
// planeRight = new CubePlane(baseVert, baseTris, vertIds);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_226 = V_9;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_227 = V_11;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_228 = V_12;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_229 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)il2cpp_codegen_object_new(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_229);
|
|
CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731(L_229, L_226, L_227, L_228, NULL);
|
|
__this->___planeRight_13 = L_229;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeRight_13), (void*)L_229);
|
|
// planeRight.FindEdgesLeftRight(this);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_230 = __this->___planeRight_13;
|
|
NullCheck(L_230);
|
|
CubePlane_FindEdgesLeftRight_m0C21C2EAD614618BF122F154BA1E093C7FCC9A58(L_230, __this, NULL);
|
|
}
|
|
|
|
IL_04e4:
|
|
{
|
|
// if (FaceLeft)
|
|
bool L_231 = __this->___FaceLeft_8;
|
|
if (!L_231)
|
|
{
|
|
goto IL_05f4;
|
|
}
|
|
}
|
|
{
|
|
// vertIds.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_232 = V_12;
|
|
NullCheck(L_232);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_232, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_233 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_234 = V_9;
|
|
NullCheck(L_233);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_233, L_234, NULL);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
V_23 = 0;
|
|
goto IL_0545;
|
|
}
|
|
|
|
IL_0504:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_235 = V_9;
|
|
int32_t L_236 = V_23;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_237 = (&__this->___Scale_0);
|
|
float L_238 = L_237->___x_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_239 = V_9;
|
|
int32_t L_240 = V_23;
|
|
NullCheck(L_239);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_241;
|
|
L_241 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_239, L_240, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_242 = L_241.___x_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_243 = V_9;
|
|
int32_t L_244 = V_23;
|
|
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);
|
|
float L_246 = L_245.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_247;
|
|
memset((&L_247), 0, sizeof(L_247));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_247), ((float)(L_238/(2.0f))), L_242, L_246, /*hidden argument*/NULL);
|
|
NullCheck(L_235);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_235, L_236, L_247, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
int32_t L_248 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_248, 1));
|
|
}
|
|
|
|
IL_0545:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(Scale.x / 2f, baseVert[t].x, baseVert[t].z));
|
|
int32_t L_249 = V_23;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_250 = V_9;
|
|
NullCheck(L_250);
|
|
int32_t L_251;
|
|
L_251 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_250, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_249) < ((int32_t)L_251)))
|
|
{
|
|
goto IL_0504;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
V_24 = 0;
|
|
goto IL_0591;
|
|
}
|
|
|
|
IL_0555:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_252 = V_12;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_253 = V_0;
|
|
NullCheck(L_253);
|
|
int32_t L_254;
|
|
L_254 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_253, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
NullCheck(L_252);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_252, L_254, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_255 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_256 = V_9;
|
|
int32_t L_257 = V_24;
|
|
NullCheck(L_256);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_258;
|
|
L_258 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_256, L_257, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_255);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_255, L_258, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_259 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_260;
|
|
L_260 = Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_inline(NULL);
|
|
NullCheck(L_259);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_259, L_260, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_261 = V_2;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_262 = V_10;
|
|
int32_t L_263 = V_24;
|
|
NullCheck(L_262);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_264;
|
|
L_264 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_262, L_263, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
NullCheck(L_261);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_261, L_264, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
int32_t L_265 = V_24;
|
|
V_24 = ((int32_t)il2cpp_codegen_add(L_265, 1));
|
|
}
|
|
|
|
IL_0591:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.left); uvs.Add(baseUV[t]); }
|
|
int32_t L_266 = V_24;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_267 = V_9;
|
|
NullCheck(L_267);
|
|
int32_t L_268;
|
|
L_268 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_267, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_266) < ((int32_t)L_268)))
|
|
{
|
|
goto IL_0555;
|
|
}
|
|
}
|
|
{
|
|
// baseTris.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_269 = V_11;
|
|
NullCheck(L_269);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_269, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
V_25 = 0;
|
|
goto IL_05c0;
|
|
}
|
|
|
|
IL_05a8:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_270 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_271 = V_11;
|
|
int32_t L_272 = V_25;
|
|
NullCheck(L_271);
|
|
int32_t L_273;
|
|
L_273 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_271, L_272, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_274 = V_13;
|
|
NullCheck(L_270);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_270, ((int32_t)il2cpp_codegen_add(L_273, L_274)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_275 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_275, 1));
|
|
}
|
|
|
|
IL_05c0:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_276 = V_25;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_277 = V_11;
|
|
NullCheck(L_277);
|
|
int32_t L_278;
|
|
L_278 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_277, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_276) < ((int32_t)L_278)))
|
|
{
|
|
goto IL_05a8;
|
|
}
|
|
}
|
|
{
|
|
// planeVerts += baseVert.Count;
|
|
int32_t L_279 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_280 = V_9;
|
|
NullCheck(L_280);
|
|
int32_t L_281;
|
|
L_281 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_280, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_279, L_281));
|
|
// planeLeft = new CubePlane(baseVert, baseTris, vertIds);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_282 = V_9;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_283 = V_11;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_284 = V_12;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_285 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)il2cpp_codegen_object_new(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_285);
|
|
CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731(L_285, L_282, L_283, L_284, NULL);
|
|
__this->___planeLeft_12 = L_285;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeLeft_12), (void*)L_285);
|
|
// planeLeft.FindEdgesLeftRight(this);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_286 = __this->___planeLeft_12;
|
|
NullCheck(L_286);
|
|
CubePlane_FindEdgesLeftRight_m0C21C2EAD614618BF122F154BA1E093C7FCC9A58(L_286, __this, NULL);
|
|
}
|
|
|
|
IL_05f4:
|
|
{
|
|
// plane = _GeneratePlane(Subdivisions.x, Subdivisions.y, new Vector2(Scale.x - bevelV * (areSides ? 1f : 0f), Scale.y - bevelV * (areSides ? 1f : 0f)));
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_287 = (&__this->___Subdivisions_1);
|
|
int32_t L_288;
|
|
L_288 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_287, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_289 = (&__this->___Subdivisions_1);
|
|
int32_t L_290;
|
|
L_290 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_289, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_291 = (&__this->___Scale_0);
|
|
float L_292 = L_291->___x_2;
|
|
float L_293 = V_7;
|
|
bool L_294 = V_5;
|
|
G_B64_0 = L_293;
|
|
G_B64_1 = L_292;
|
|
G_B64_2 = L_290;
|
|
G_B64_3 = L_288;
|
|
if (L_294)
|
|
{
|
|
G_B65_0 = L_293;
|
|
G_B65_1 = L_292;
|
|
G_B65_2 = L_290;
|
|
G_B65_3 = L_288;
|
|
goto IL_0622;
|
|
}
|
|
}
|
|
{
|
|
G_B66_0 = (0.0f);
|
|
G_B66_1 = G_B64_0;
|
|
G_B66_2 = G_B64_1;
|
|
G_B66_3 = G_B64_2;
|
|
G_B66_4 = G_B64_3;
|
|
goto IL_0627;
|
|
}
|
|
|
|
IL_0622:
|
|
{
|
|
G_B66_0 = (1.0f);
|
|
G_B66_1 = G_B65_0;
|
|
G_B66_2 = G_B65_1;
|
|
G_B66_3 = G_B65_2;
|
|
G_B66_4 = G_B65_3;
|
|
}
|
|
|
|
IL_0627:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_295 = (&__this->___Scale_0);
|
|
float L_296 = L_295->___y_3;
|
|
float L_297 = V_7;
|
|
bool L_298 = V_5;
|
|
G_B67_0 = L_297;
|
|
G_B67_1 = L_296;
|
|
G_B67_2 = ((float)il2cpp_codegen_subtract(G_B66_2, ((float)il2cpp_codegen_multiply(G_B66_1, G_B66_0))));
|
|
G_B67_3 = G_B66_3;
|
|
G_B67_4 = G_B66_4;
|
|
if (L_298)
|
|
{
|
|
G_B68_0 = L_297;
|
|
G_B68_1 = L_296;
|
|
G_B68_2 = ((float)il2cpp_codegen_subtract(G_B66_2, ((float)il2cpp_codegen_multiply(G_B66_1, G_B66_0))));
|
|
G_B68_3 = G_B66_3;
|
|
G_B68_4 = G_B66_4;
|
|
goto IL_0641;
|
|
}
|
|
}
|
|
{
|
|
G_B69_0 = (0.0f);
|
|
G_B69_1 = G_B67_0;
|
|
G_B69_2 = G_B67_1;
|
|
G_B69_3 = G_B67_2;
|
|
G_B69_4 = G_B67_3;
|
|
G_B69_5 = G_B67_4;
|
|
goto IL_0646;
|
|
}
|
|
|
|
IL_0641:
|
|
{
|
|
G_B69_0 = (1.0f);
|
|
G_B69_1 = G_B68_0;
|
|
G_B69_2 = G_B68_1;
|
|
G_B69_3 = G_B68_2;
|
|
G_B69_4 = G_B68_3;
|
|
G_B69_5 = G_B68_4;
|
|
}
|
|
|
|
IL_0646:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_299;
|
|
memset((&L_299), 0, sizeof(L_299));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_299), G_B69_3, ((float)il2cpp_codegen_subtract(G_B69_2, ((float)il2cpp_codegen_multiply(G_B69_1, G_B69_0)))), /*hidden argument*/NULL);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_300;
|
|
L_300 = TileMeshSetup__GeneratePlane_m9F63C437B93BE04AA79C3488545912318D647E32(G_B69_5, G_B69_4, L_299, NULL);
|
|
V_8 = L_300;
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_301 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_302 = V_9;
|
|
NullCheck(L_301);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_301, L_302, NULL);
|
|
// plane.GetUVs(0, baseUV);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_303 = V_8;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_304 = V_10;
|
|
NullCheck(L_303);
|
|
Mesh_GetUVs_m94D69E33DD6E74E3DBC273C5D3D8C39F663B14C9(L_303, 0, L_304, NULL);
|
|
// plane.GetTriangles(baseTris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_305 = V_8;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_306 = V_11;
|
|
NullCheck(L_305);
|
|
Mesh_GetTriangles_m9D306195322A51D0419222BE83B955850C6DAF64(L_305, L_306, 0, NULL);
|
|
// if (FaceBack)
|
|
bool L_307 = __this->___FaceBack_5;
|
|
if (!L_307)
|
|
{
|
|
goto IL_077b;
|
|
}
|
|
}
|
|
{
|
|
// vertIds.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_308 = V_12;
|
|
NullCheck(L_308);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_308, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_309 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_310 = V_9;
|
|
NullCheck(L_309);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_309, L_310, NULL);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, -Scale.z / 2f));
|
|
V_26 = 0;
|
|
goto IL_06d3;
|
|
}
|
|
|
|
IL_0691:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, -Scale.z / 2f));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_311 = V_9;
|
|
int32_t L_312 = V_26;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_313 = V_9;
|
|
int32_t L_314 = V_26;
|
|
NullCheck(L_313);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_315;
|
|
L_315 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_313, L_314, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_316 = L_315.___x_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_317 = V_9;
|
|
int32_t L_318 = V_26;
|
|
NullCheck(L_317);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_319;
|
|
L_319 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_317, L_318, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_320 = L_319.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_321 = (&__this->___Scale_0);
|
|
float L_322 = L_321->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_323;
|
|
memset((&L_323), 0, sizeof(L_323));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_323), L_316, L_320, ((float)(((-L_322))/(2.0f))), /*hidden argument*/NULL);
|
|
NullCheck(L_311);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_311, L_312, L_323, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, -Scale.z / 2f));
|
|
int32_t L_324 = V_26;
|
|
V_26 = ((int32_t)il2cpp_codegen_add(L_324, 1));
|
|
}
|
|
|
|
IL_06d3:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, -Scale.z / 2f));
|
|
int32_t L_325 = V_26;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_326 = V_9;
|
|
NullCheck(L_326);
|
|
int32_t L_327;
|
|
L_327 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_326, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_325) < ((int32_t)L_327)))
|
|
{
|
|
goto IL_0691;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
V_27 = 0;
|
|
goto IL_071f;
|
|
}
|
|
|
|
IL_06e3:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_328 = V_12;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_329 = V_0;
|
|
NullCheck(L_329);
|
|
int32_t L_330;
|
|
L_330 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_329, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
NullCheck(L_328);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_328, L_330, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_331 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_332 = V_9;
|
|
int32_t L_333 = V_27;
|
|
NullCheck(L_332);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_334;
|
|
L_334 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_332, L_333, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_331);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_331, L_334, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_335 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_336;
|
|
L_336 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
NullCheck(L_335);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_335, L_336, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_337 = V_2;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_338 = V_10;
|
|
int32_t L_339 = V_27;
|
|
NullCheck(L_338);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_340;
|
|
L_340 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_338, L_339, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
NullCheck(L_337);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_337, L_340, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
int32_t L_341 = V_27;
|
|
V_27 = ((int32_t)il2cpp_codegen_add(L_341, 1));
|
|
}
|
|
|
|
IL_071f:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.forward); uvs.Add(baseUV[t]); }
|
|
int32_t L_342 = V_27;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_343 = V_9;
|
|
NullCheck(L_343);
|
|
int32_t L_344;
|
|
L_344 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_343, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_342) < ((int32_t)L_344)))
|
|
{
|
|
goto IL_06e3;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
V_28 = 0;
|
|
goto IL_0747;
|
|
}
|
|
|
|
IL_072f:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_345 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_346 = V_11;
|
|
int32_t L_347 = V_28;
|
|
NullCheck(L_346);
|
|
int32_t L_348;
|
|
L_348 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_346, L_347, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_349 = V_13;
|
|
NullCheck(L_345);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_345, ((int32_t)il2cpp_codegen_add(L_348, L_349)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_350 = V_28;
|
|
V_28 = ((int32_t)il2cpp_codegen_add(L_350, 1));
|
|
}
|
|
|
|
IL_0747:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_351 = V_28;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_352 = V_11;
|
|
NullCheck(L_352);
|
|
int32_t L_353;
|
|
L_353 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_352, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_351) < ((int32_t)L_353)))
|
|
{
|
|
goto IL_072f;
|
|
}
|
|
}
|
|
{
|
|
// planeVerts += baseVert.Count;
|
|
int32_t L_354 = V_13;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_355 = V_9;
|
|
NullCheck(L_355);
|
|
int32_t L_356;
|
|
L_356 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_355, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_354, L_356));
|
|
// planeBack = new CubePlane(baseVert, baseTris, vertIds);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_357 = V_9;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_358 = V_11;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_359 = V_12;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_360 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)il2cpp_codegen_object_new(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_360);
|
|
CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731(L_360, L_357, L_358, L_359, NULL);
|
|
__this->___planeBack_15 = L_360;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeBack_15), (void*)L_360);
|
|
// planeBack.FindEdgesFrontBack(this);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_361 = __this->___planeBack_15;
|
|
NullCheck(L_361);
|
|
CubePlane_FindEdgesFrontBack_m3F0454554598F3CD514B939E9D8D81F25C792DD7(L_361, __this, NULL);
|
|
}
|
|
|
|
IL_077b:
|
|
{
|
|
// if (FaceFront)
|
|
bool L_362 = __this->___FaceFront_4;
|
|
if (!L_362)
|
|
{
|
|
goto IL_087f;
|
|
}
|
|
}
|
|
{
|
|
// vertIds.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_363 = V_12;
|
|
NullCheck(L_363);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_363, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// plane.GetVertices(baseVert);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_364 = V_8;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_365 = V_9;
|
|
NullCheck(L_364);
|
|
Mesh_GetVertices_m5BF8777074E383AD8C4B9974D27E4AB52963D92E(L_364, L_365, NULL);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, Scale.z / 2f));
|
|
V_29 = 0;
|
|
goto IL_07dc;
|
|
}
|
|
|
|
IL_079b:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, Scale.z / 2f));
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_366 = V_9;
|
|
int32_t L_367 = V_29;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_368 = V_9;
|
|
int32_t L_369 = V_29;
|
|
NullCheck(L_368);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_370;
|
|
L_370 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_368, L_369, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_371 = L_370.___x_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_372 = V_9;
|
|
int32_t L_373 = V_29;
|
|
NullCheck(L_372);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_374;
|
|
L_374 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_372, L_373, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_375 = L_374.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_376 = (&__this->___Scale_0);
|
|
float L_377 = L_376->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_378;
|
|
memset((&L_378), 0, sizeof(L_378));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_378), L_371, L_375, ((float)(L_377/(2.0f))), /*hidden argument*/NULL);
|
|
NullCheck(L_366);
|
|
List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C(L_366, L_367, L_378, List_1_set_Item_m35C8C18BF5DF9A5C8867BF0C872BC39275A41A9C_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, Scale.z / 2f));
|
|
int32_t L_379 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_379, 1));
|
|
}
|
|
|
|
IL_07dc:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) baseVert[t] = (new Vector3(baseVert[t].x, baseVert[t].z, Scale.z / 2f));
|
|
int32_t L_380 = V_29;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_381 = V_9;
|
|
NullCheck(L_381);
|
|
int32_t L_382;
|
|
L_382 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_381, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_380) < ((int32_t)L_382)))
|
|
{
|
|
goto IL_079b;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
V_30 = 0;
|
|
goto IL_0828;
|
|
}
|
|
|
|
IL_07ec:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_383 = V_12;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_384 = V_0;
|
|
NullCheck(L_384);
|
|
int32_t L_385;
|
|
L_385 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_384, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
NullCheck(L_383);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_383, L_385, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_386 = V_0;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_387 = V_9;
|
|
int32_t L_388 = V_30;
|
|
NullCheck(L_387);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_389;
|
|
L_389 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_387, L_388, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
NullCheck(L_386);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_386, L_389, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_390 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_391;
|
|
L_391 = Vector3_get_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_inline(NULL);
|
|
NullCheck(L_390);
|
|
List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_inline(L_390, L_391, List_1_Add_m79E50C4F592B1703F4B76A8BE7B4855515460CA1_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_392 = V_2;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_393 = V_10;
|
|
int32_t L_394 = V_30;
|
|
NullCheck(L_393);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_395;
|
|
L_395 = List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543(L_393, L_394, List_1_get_Item_m1F8E226CAD72B83C5E75BB66B43025247806B543_RuntimeMethod_var);
|
|
NullCheck(L_392);
|
|
List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_inline(L_392, L_395, List_1_Add_mB5FDF069171C4CB1778BFAC3B9015A22EA7DFBCD_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
int32_t L_396 = V_30;
|
|
V_30 = ((int32_t)il2cpp_codegen_add(L_396, 1));
|
|
}
|
|
|
|
IL_0828:
|
|
{
|
|
// for (int t = 0; t < baseVert.Count; t++) { vertIds.Add(verts.Count); verts.Add(baseVert[t]); normals.Add(Vector3.back); uvs.Add(baseUV[t]); }
|
|
int32_t L_397 = V_30;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_398 = V_9;
|
|
NullCheck(L_398);
|
|
int32_t L_399;
|
|
L_399 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_398, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_397) < ((int32_t)L_399)))
|
|
{
|
|
goto IL_07ec;
|
|
}
|
|
}
|
|
{
|
|
// baseTris.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_400 = V_11;
|
|
NullCheck(L_400);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_400, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
V_31 = 0;
|
|
goto IL_0857;
|
|
}
|
|
|
|
IL_083f:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_401 = V_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_402 = V_11;
|
|
int32_t L_403 = V_31;
|
|
NullCheck(L_402);
|
|
int32_t L_404;
|
|
L_404 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_402, L_403, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
int32_t L_405 = V_13;
|
|
NullCheck(L_401);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_401, ((int32_t)il2cpp_codegen_add(L_404, L_405)), List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_406 = V_31;
|
|
V_31 = ((int32_t)il2cpp_codegen_add(L_406, 1));
|
|
}
|
|
|
|
IL_0857:
|
|
{
|
|
// for (int t = 0; t < baseTris.Count; t++) tris.Add(baseTris[t] + planeVerts);
|
|
int32_t L_407 = V_31;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_408 = V_11;
|
|
NullCheck(L_408);
|
|
int32_t L_409;
|
|
L_409 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_408, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_407) < ((int32_t)L_409)))
|
|
{
|
|
goto IL_083f;
|
|
}
|
|
}
|
|
{
|
|
// planeFront = new CubePlane(baseVert, baseTris, vertIds);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_410 = V_9;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_411 = V_11;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_412 = V_12;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_413 = (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0*)il2cpp_codegen_object_new(CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0_il2cpp_TypeInfo_var);
|
|
NullCheck(L_413);
|
|
CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731(L_413, L_410, L_411, L_412, NULL);
|
|
__this->___planeFront_14 = L_413;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___planeFront_14), (void*)L_413);
|
|
// planeFront.FindEdgesFrontBack(this);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_414 = __this->___planeFront_14;
|
|
NullCheck(L_414);
|
|
CubePlane_FindEdgesFrontBack_m3F0454554598F3CD514B939E9D8D81F25C792DD7(L_414, __this, NULL);
|
|
}
|
|
|
|
IL_087f:
|
|
{
|
|
// if (BevelSize > 0f)
|
|
float L_415 = __this->___BevelSize_2;
|
|
if ((!(((float)L_415) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0f28;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceTop)
|
|
bool L_416 = __this->___FaceTop_6;
|
|
if (!L_416)
|
|
{
|
|
goto IL_0936;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceRight) ConnectAllSubdivsEdgePoly(planeTop.EdgeL, planeRight.EdgeF, tris, verts, false);
|
|
bool L_417 = __this->___FaceRight_9;
|
|
if (!L_417)
|
|
{
|
|
goto IL_08c1;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceRight) ConnectAllSubdivsEdgePoly(planeTop.EdgeL, planeRight.EdgeF, tris, verts, false);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_418 = __this->___planeTop_10;
|
|
NullCheck(L_418);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_419 = L_418->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_420 = __this->___planeRight_13;
|
|
NullCheck(L_420);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_421 = L_420->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_422 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_423 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_419, L_421, L_422, L_423, (bool)0, NULL);
|
|
}
|
|
|
|
IL_08c1:
|
|
{
|
|
// if (FaceLeft) ConnectAllSubdivsEdgePoly(planeTop.EdgeR, planeLeft.EdgeF, tris, verts, true);
|
|
bool L_424 = __this->___FaceLeft_8;
|
|
if (!L_424)
|
|
{
|
|
goto IL_08e8;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceLeft) ConnectAllSubdivsEdgePoly(planeTop.EdgeR, planeLeft.EdgeF, tris, verts, true);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_425 = __this->___planeTop_10;
|
|
NullCheck(L_425);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_426 = L_425->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_427 = __this->___planeLeft_12;
|
|
NullCheck(L_427);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_428 = L_427->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_429 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_430 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_426, L_428, L_429, L_430, (bool)1, NULL);
|
|
}
|
|
|
|
IL_08e8:
|
|
{
|
|
// if (FaceFront) ConnectAllSubdivsEdgePoly(planeTop.EdgeF, planeFront.EdgeF, tris, verts, false);
|
|
bool L_431 = __this->___FaceFront_4;
|
|
if (!L_431)
|
|
{
|
|
goto IL_090f;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceFront) ConnectAllSubdivsEdgePoly(planeTop.EdgeF, planeFront.EdgeF, tris, verts, false);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_432 = __this->___planeTop_10;
|
|
NullCheck(L_432);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_433 = L_432->___EdgeF_5;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_434 = __this->___planeFront_14;
|
|
NullCheck(L_434);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_435 = L_434->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_436 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_437 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_433, L_435, L_436, L_437, (bool)0, NULL);
|
|
}
|
|
|
|
IL_090f:
|
|
{
|
|
// if (FaceBack) ConnectAllSubdivsEdgePoly(planeTop.EdgeB, planeBack.EdgeF, tris, verts, true);
|
|
bool L_438 = __this->___FaceBack_5;
|
|
if (!L_438)
|
|
{
|
|
goto IL_0936;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceBack) ConnectAllSubdivsEdgePoly(planeTop.EdgeB, planeBack.EdgeF, tris, verts, true);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_439 = __this->___planeTop_10;
|
|
NullCheck(L_439);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_440 = L_439->___EdgeB_6;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_441 = __this->___planeBack_15;
|
|
NullCheck(L_441);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_442 = L_441->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_443 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_444 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_440, L_442, L_443, L_444, (bool)1, NULL);
|
|
}
|
|
|
|
IL_0936:
|
|
{
|
|
// if (FaceBottom)
|
|
bool L_445 = __this->___FaceBottom_7;
|
|
if (!L_445)
|
|
{
|
|
goto IL_09dd;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceRight) ConnectAllSubdivsEdgePoly(planeBottom.EdgeL, planeRight.EdgeB, tris, verts, true);
|
|
bool L_446 = __this->___FaceRight_9;
|
|
if (!L_446)
|
|
{
|
|
goto IL_0968;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceRight) ConnectAllSubdivsEdgePoly(planeBottom.EdgeL, planeRight.EdgeB, tris, verts, true);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_447 = __this->___planeBottom_11;
|
|
NullCheck(L_447);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_448 = L_447->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_449 = __this->___planeRight_13;
|
|
NullCheck(L_449);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_450 = L_449->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_451 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_452 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_448, L_450, L_451, L_452, (bool)1, NULL);
|
|
}
|
|
|
|
IL_0968:
|
|
{
|
|
// if (FaceLeft) ConnectAllSubdivsEdgePoly(planeBottom.EdgeR, planeLeft.EdgeB, tris, verts, false);
|
|
bool L_453 = __this->___FaceLeft_8;
|
|
if (!L_453)
|
|
{
|
|
goto IL_098f;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceLeft) ConnectAllSubdivsEdgePoly(planeBottom.EdgeR, planeLeft.EdgeB, tris, verts, false);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_454 = __this->___planeBottom_11;
|
|
NullCheck(L_454);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_455 = L_454->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_456 = __this->___planeLeft_12;
|
|
NullCheck(L_456);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_457 = L_456->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_458 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_459 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_455, L_457, L_458, L_459, (bool)0, NULL);
|
|
}
|
|
|
|
IL_098f:
|
|
{
|
|
// if (FaceFront) ConnectAllSubdivsEdgePoly(planeBottom.EdgeF, planeFront.EdgeB, tris, verts, true);
|
|
bool L_460 = __this->___FaceFront_4;
|
|
if (!L_460)
|
|
{
|
|
goto IL_09b6;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceFront) ConnectAllSubdivsEdgePoly(planeBottom.EdgeF, planeFront.EdgeB, tris, verts, true);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_461 = __this->___planeBottom_11;
|
|
NullCheck(L_461);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_462 = L_461->___EdgeF_5;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_463 = __this->___planeFront_14;
|
|
NullCheck(L_463);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_464 = L_463->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_465 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_466 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_462, L_464, L_465, L_466, (bool)1, NULL);
|
|
}
|
|
|
|
IL_09b6:
|
|
{
|
|
// if (FaceBack) ConnectAllSubdivsEdgePoly(planeBottom.EdgeB, planeBack.EdgeB, tris, verts, false);
|
|
bool L_467 = __this->___FaceBack_5;
|
|
if (!L_467)
|
|
{
|
|
goto IL_09dd;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceBack) ConnectAllSubdivsEdgePoly(planeBottom.EdgeB, planeBack.EdgeB, tris, verts, false);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_468 = __this->___planeBottom_11;
|
|
NullCheck(L_468);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_469 = L_468->___EdgeB_6;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_470 = __this->___planeBack_15;
|
|
NullCheck(L_470);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_471 = L_470->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_472 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_473 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_469, L_471, L_472, L_473, (bool)0, NULL);
|
|
}
|
|
|
|
IL_09dd:
|
|
{
|
|
// if (FaceLeft && FaceBack) ConnectAllSubdivsEdgePoly(planeLeft.EdgeL, planeBack.EdgeR, tris, verts, false);
|
|
bool L_474 = __this->___FaceLeft_8;
|
|
if (!L_474)
|
|
{
|
|
goto IL_0a0c;
|
|
}
|
|
}
|
|
{
|
|
bool L_475 = __this->___FaceBack_5;
|
|
if (!L_475)
|
|
{
|
|
goto IL_0a0c;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceLeft && FaceBack) ConnectAllSubdivsEdgePoly(planeLeft.EdgeL, planeBack.EdgeR, tris, verts, false);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_476 = __this->___planeLeft_12;
|
|
NullCheck(L_476);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_477 = L_476->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_478 = __this->___planeBack_15;
|
|
NullCheck(L_478);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_479 = L_478->___EdgeR_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_480 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_481 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_477, L_479, L_480, L_481, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0a0c:
|
|
{
|
|
// if (FaceRight && FaceFront) ConnectAllSubdivsEdgePoly(planeRight.EdgeR, planeFront.EdgeL, tris, verts, false);
|
|
bool L_482 = __this->___FaceRight_9;
|
|
if (!L_482)
|
|
{
|
|
goto IL_0a3b;
|
|
}
|
|
}
|
|
{
|
|
bool L_483 = __this->___FaceFront_4;
|
|
if (!L_483)
|
|
{
|
|
goto IL_0a3b;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceRight && FaceFront) ConnectAllSubdivsEdgePoly(planeRight.EdgeR, planeFront.EdgeL, tris, verts, false);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_484 = __this->___planeRight_13;
|
|
NullCheck(L_484);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_485 = L_484->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_486 = __this->___planeFront_14;
|
|
NullCheck(L_486);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_487 = L_486->___EdgeL_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_488 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_489 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_485, L_487, L_488, L_489, (bool)0, NULL);
|
|
}
|
|
|
|
IL_0a3b:
|
|
{
|
|
// if (FaceLeft && FaceFront) ConnectAllSubdivsEdgePoly(planeLeft.EdgeR, planeFront.EdgeR, tris, verts, true);
|
|
bool L_490 = __this->___FaceLeft_8;
|
|
if (!L_490)
|
|
{
|
|
goto IL_0a6a;
|
|
}
|
|
}
|
|
{
|
|
bool L_491 = __this->___FaceFront_4;
|
|
if (!L_491)
|
|
{
|
|
goto IL_0a6a;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceLeft && FaceFront) ConnectAllSubdivsEdgePoly(planeLeft.EdgeR, planeFront.EdgeR, tris, verts, true);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_492 = __this->___planeLeft_12;
|
|
NullCheck(L_492);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_493 = L_492->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_494 = __this->___planeFront_14;
|
|
NullCheck(L_494);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_495 = L_494->___EdgeR_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_496 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_497 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_493, L_495, L_496, L_497, (bool)1, NULL);
|
|
}
|
|
|
|
IL_0a6a:
|
|
{
|
|
// if (FaceRight && FaceBack) ConnectAllSubdivsEdgePoly(planeRight.EdgeL, planeBack.EdgeL, tris, verts, true);
|
|
bool L_498 = __this->___FaceRight_9;
|
|
if (!L_498)
|
|
{
|
|
goto IL_0a99;
|
|
}
|
|
}
|
|
{
|
|
bool L_499 = __this->___FaceBack_5;
|
|
if (!L_499)
|
|
{
|
|
goto IL_0a99;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceRight && FaceBack) ConnectAllSubdivsEdgePoly(planeRight.EdgeL, planeBack.EdgeL, tris, verts, true);
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_500 = __this->___planeRight_13;
|
|
NullCheck(L_500);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_501 = L_500->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_502 = __this->___planeBack_15;
|
|
NullCheck(L_502);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_503 = L_502->___EdgeL_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_504 = V_3;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_505 = V_0;
|
|
CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30(__this, L_501, L_503, L_504, L_505, (bool)1, NULL);
|
|
}
|
|
|
|
IL_0a99:
|
|
{
|
|
// if (FaceBack && FaceTop && FaceRight) if (planeBack.EdgeF.Count > 0)
|
|
bool L_506 = __this->___FaceBack_5;
|
|
if (!L_506)
|
|
{
|
|
goto IL_0b31;
|
|
}
|
|
}
|
|
{
|
|
bool L_507 = __this->___FaceTop_6;
|
|
if (!L_507)
|
|
{
|
|
goto IL_0b31;
|
|
}
|
|
}
|
|
{
|
|
bool L_508 = __this->___FaceRight_9;
|
|
if (!L_508)
|
|
{
|
|
goto IL_0b31;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceBack && FaceTop && FaceRight) if (planeBack.EdgeF.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_509 = __this->___planeBack_15;
|
|
NullCheck(L_509);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_510 = L_509->___EdgeF_5;
|
|
NullCheck(L_510);
|
|
int32_t L_511;
|
|
L_511 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_510, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_511) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0b31;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeTop.EdgeL[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_512 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_513 = __this->___planeTop_10;
|
|
NullCheck(L_513);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_514 = L_513->___EdgeL_3;
|
|
NullCheck(L_514);
|
|
int32_t L_515;
|
|
L_515 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_514, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_512);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_512, L_515, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeBack.EdgeL[planeBack.EdgeL.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_516 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_517 = __this->___planeBack_15;
|
|
NullCheck(L_517);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_518 = L_517->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_519 = __this->___planeBack_15;
|
|
NullCheck(L_519);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_520 = L_519->___EdgeL_3;
|
|
NullCheck(L_520);
|
|
int32_t L_521;
|
|
L_521 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_520, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_518);
|
|
int32_t L_522;
|
|
L_522 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_518, ((int32_t)il2cpp_codegen_subtract(L_521, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_516);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_516, L_522, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeRight.EdgeL[planeRight.EdgeL.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_523 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_524 = __this->___planeRight_13;
|
|
NullCheck(L_524);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_525 = L_524->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_526 = __this->___planeRight_13;
|
|
NullCheck(L_526);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_527 = L_526->___EdgeL_3;
|
|
NullCheck(L_527);
|
|
int32_t L_528;
|
|
L_528 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_527, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_525);
|
|
int32_t L_529;
|
|
L_529 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_525, ((int32_t)il2cpp_codegen_subtract(L_528, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_523);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_523, L_529, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0b31:
|
|
{
|
|
// if (FaceFront && FaceTop && FaceRight) if (planeRight.EdgeF.Count > 0)
|
|
bool L_530 = __this->___FaceFront_4;
|
|
if (!L_530)
|
|
{
|
|
goto IL_0bdd;
|
|
}
|
|
}
|
|
{
|
|
bool L_531 = __this->___FaceTop_6;
|
|
if (!L_531)
|
|
{
|
|
goto IL_0bdd;
|
|
}
|
|
}
|
|
{
|
|
bool L_532 = __this->___FaceRight_9;
|
|
if (!L_532)
|
|
{
|
|
goto IL_0bdd;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceFront && FaceTop && FaceRight) if (planeRight.EdgeF.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_533 = __this->___planeRight_13;
|
|
NullCheck(L_533);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_534 = L_533->___EdgeF_5;
|
|
NullCheck(L_534);
|
|
int32_t L_535;
|
|
L_535 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_534, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_535) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0bdd;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeRight.EdgeF[planeRight.EdgeF.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_536 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_537 = __this->___planeRight_13;
|
|
NullCheck(L_537);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_538 = L_537->___EdgeF_5;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_539 = __this->___planeRight_13;
|
|
NullCheck(L_539);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_540 = L_539->___EdgeF_5;
|
|
NullCheck(L_540);
|
|
int32_t L_541;
|
|
L_541 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_540, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_538);
|
|
int32_t L_542;
|
|
L_542 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_538, ((int32_t)il2cpp_codegen_subtract(L_541, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_536);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_536, L_542, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeFront.EdgeL[planeFront.EdgeL.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_543 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_544 = __this->___planeFront_14;
|
|
NullCheck(L_544);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_545 = L_544->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_546 = __this->___planeFront_14;
|
|
NullCheck(L_546);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_547 = L_546->___EdgeL_3;
|
|
NullCheck(L_547);
|
|
int32_t L_548;
|
|
L_548 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_547, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_545);
|
|
int32_t L_549;
|
|
L_549 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_545, ((int32_t)il2cpp_codegen_subtract(L_548, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_543);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_543, L_549, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeTop.EdgeL[planeTop.EdgeL.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_550 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_551 = __this->___planeTop_10;
|
|
NullCheck(L_551);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_552 = L_551->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_553 = __this->___planeTop_10;
|
|
NullCheck(L_553);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_554 = L_553->___EdgeL_3;
|
|
NullCheck(L_554);
|
|
int32_t L_555;
|
|
L_555 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_554, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_552);
|
|
int32_t L_556;
|
|
L_556 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_552, ((int32_t)il2cpp_codegen_subtract(L_555, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_550);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_550, L_556, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0bdd:
|
|
{
|
|
// if (FaceBack && FaceTop && FaceLeft) if (planeLeft.EdgeF.Count > 0)
|
|
bool L_557 = __this->___FaceBack_5;
|
|
if (!L_557)
|
|
{
|
|
goto IL_0c89;
|
|
}
|
|
}
|
|
{
|
|
bool L_558 = __this->___FaceTop_6;
|
|
if (!L_558)
|
|
{
|
|
goto IL_0c89;
|
|
}
|
|
}
|
|
{
|
|
bool L_559 = __this->___FaceLeft_8;
|
|
if (!L_559)
|
|
{
|
|
goto IL_0c89;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceBack && FaceTop && FaceLeft) if (planeLeft.EdgeF.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_560 = __this->___planeLeft_12;
|
|
NullCheck(L_560);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_561 = L_560->___EdgeF_5;
|
|
NullCheck(L_561);
|
|
int32_t L_562;
|
|
L_562 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_561, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_562) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0c89;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeLeft.EdgeL[planeLeft.EdgeL.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_563 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_564 = __this->___planeLeft_12;
|
|
NullCheck(L_564);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_565 = L_564->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_566 = __this->___planeLeft_12;
|
|
NullCheck(L_566);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_567 = L_566->___EdgeL_3;
|
|
NullCheck(L_567);
|
|
int32_t L_568;
|
|
L_568 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_567, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_565);
|
|
int32_t L_569;
|
|
L_569 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_565, ((int32_t)il2cpp_codegen_subtract(L_568, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_563);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_563, L_569, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeBack.EdgeR[planeBack.EdgeR.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_570 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_571 = __this->___planeBack_15;
|
|
NullCheck(L_571);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_572 = L_571->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_573 = __this->___planeBack_15;
|
|
NullCheck(L_573);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_574 = L_573->___EdgeR_4;
|
|
NullCheck(L_574);
|
|
int32_t L_575;
|
|
L_575 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_574, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_572);
|
|
int32_t L_576;
|
|
L_576 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_572, ((int32_t)il2cpp_codegen_subtract(L_575, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_570);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_570, L_576, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeTop.EdgeB[planeTop.EdgeB.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_577 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_578 = __this->___planeTop_10;
|
|
NullCheck(L_578);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_579 = L_578->___EdgeB_6;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_580 = __this->___planeTop_10;
|
|
NullCheck(L_580);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_581 = L_580->___EdgeB_6;
|
|
NullCheck(L_581);
|
|
int32_t L_582;
|
|
L_582 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_581, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_579);
|
|
int32_t L_583;
|
|
L_583 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_579, ((int32_t)il2cpp_codegen_subtract(L_582, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_577);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_577, L_583, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0c89:
|
|
{
|
|
// if (FaceFront && FaceTop && FaceLeft) if (planeTop.EdgeF.Count > 0)
|
|
bool L_584 = __this->___FaceFront_4;
|
|
if (!L_584)
|
|
{
|
|
goto IL_0d35;
|
|
}
|
|
}
|
|
{
|
|
bool L_585 = __this->___FaceTop_6;
|
|
if (!L_585)
|
|
{
|
|
goto IL_0d35;
|
|
}
|
|
}
|
|
{
|
|
bool L_586 = __this->___FaceLeft_8;
|
|
if (!L_586)
|
|
{
|
|
goto IL_0d35;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceFront && FaceTop && FaceLeft) if (planeTop.EdgeF.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_587 = __this->___planeTop_10;
|
|
NullCheck(L_587);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_588 = L_587->___EdgeF_5;
|
|
NullCheck(L_588);
|
|
int32_t L_589;
|
|
L_589 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_588, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_589) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0d35;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeTop.EdgeR[planeTop.EdgeR.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_590 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_591 = __this->___planeTop_10;
|
|
NullCheck(L_591);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_592 = L_591->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_593 = __this->___planeTop_10;
|
|
NullCheck(L_593);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_594 = L_593->___EdgeR_4;
|
|
NullCheck(L_594);
|
|
int32_t L_595;
|
|
L_595 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_594, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_592);
|
|
int32_t L_596;
|
|
L_596 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_592, ((int32_t)il2cpp_codegen_subtract(L_595, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_590);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_590, L_596, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeFront.EdgeR[planeFront.EdgeR.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_597 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_598 = __this->___planeFront_14;
|
|
NullCheck(L_598);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_599 = L_598->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_600 = __this->___planeFront_14;
|
|
NullCheck(L_600);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_601 = L_600->___EdgeR_4;
|
|
NullCheck(L_601);
|
|
int32_t L_602;
|
|
L_602 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_601, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_599);
|
|
int32_t L_603;
|
|
L_603 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_599, ((int32_t)il2cpp_codegen_subtract(L_602, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_597);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_597, L_603, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeLeft.EdgeR[planeLeft.EdgeR.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_604 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_605 = __this->___planeLeft_12;
|
|
NullCheck(L_605);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_606 = L_605->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_607 = __this->___planeLeft_12;
|
|
NullCheck(L_607);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_608 = L_607->___EdgeR_4;
|
|
NullCheck(L_608);
|
|
int32_t L_609;
|
|
L_609 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_608, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_606);
|
|
int32_t L_610;
|
|
L_610 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_606, ((int32_t)il2cpp_codegen_subtract(L_609, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_604);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_604, L_610, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0d35:
|
|
{
|
|
// if (FaceBack && FaceBottom && FaceRight) if (planeRight.EdgeF.Count > 0)
|
|
bool L_611 = __this->___FaceBack_5;
|
|
if (!L_611)
|
|
{
|
|
goto IL_0da5;
|
|
}
|
|
}
|
|
{
|
|
bool L_612 = __this->___FaceBottom_7;
|
|
if (!L_612)
|
|
{
|
|
goto IL_0da5;
|
|
}
|
|
}
|
|
{
|
|
bool L_613 = __this->___FaceRight_9;
|
|
if (!L_613)
|
|
{
|
|
goto IL_0da5;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceBack && FaceBottom && FaceRight) if (planeRight.EdgeF.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_614 = __this->___planeRight_13;
|
|
NullCheck(L_614);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_615 = L_614->___EdgeF_5;
|
|
NullCheck(L_615);
|
|
int32_t L_616;
|
|
L_616 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_615, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_616) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0da5;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeRight.EdgeL[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_617 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_618 = __this->___planeRight_13;
|
|
NullCheck(L_618);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_619 = L_618->___EdgeL_3;
|
|
NullCheck(L_619);
|
|
int32_t L_620;
|
|
L_620 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_619, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_617);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_617, L_620, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeBack.EdgeL[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_621 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_622 = __this->___planeBack_15;
|
|
NullCheck(L_622);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_623 = L_622->___EdgeL_3;
|
|
NullCheck(L_623);
|
|
int32_t L_624;
|
|
L_624 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_623, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_621);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_621, L_624, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeBottom.EdgeL[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_625 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_626 = __this->___planeBottom_11;
|
|
NullCheck(L_626);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_627 = L_626->___EdgeL_3;
|
|
NullCheck(L_627);
|
|
int32_t L_628;
|
|
L_628 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_627, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_625);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_625, L_628, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0da5:
|
|
{
|
|
// if (FaceFront && FaceBottom && FaceRight) if (planeBottom.EdgeF.Count > 0)
|
|
bool L_629 = __this->___FaceFront_4;
|
|
if (!L_629)
|
|
{
|
|
goto IL_0e26;
|
|
}
|
|
}
|
|
{
|
|
bool L_630 = __this->___FaceBottom_7;
|
|
if (!L_630)
|
|
{
|
|
goto IL_0e26;
|
|
}
|
|
}
|
|
{
|
|
bool L_631 = __this->___FaceRight_9;
|
|
if (!L_631)
|
|
{
|
|
goto IL_0e26;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceFront && FaceBottom && FaceRight) if (planeBottom.EdgeF.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_632 = __this->___planeBottom_11;
|
|
NullCheck(L_632);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_633 = L_632->___EdgeF_5;
|
|
NullCheck(L_633);
|
|
int32_t L_634;
|
|
L_634 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_633, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_634) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0e26;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeBottom.EdgeL[planeBottom.EdgeL.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_635 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_636 = __this->___planeBottom_11;
|
|
NullCheck(L_636);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_637 = L_636->___EdgeL_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_638 = __this->___planeBottom_11;
|
|
NullCheck(L_638);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_639 = L_638->___EdgeL_3;
|
|
NullCheck(L_639);
|
|
int32_t L_640;
|
|
L_640 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_639, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_637);
|
|
int32_t L_641;
|
|
L_641 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_637, ((int32_t)il2cpp_codegen_subtract(L_640, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_635);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_635, L_641, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeFront.EdgeL[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_642 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_643 = __this->___planeFront_14;
|
|
NullCheck(L_643);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_644 = L_643->___EdgeL_3;
|
|
NullCheck(L_644);
|
|
int32_t L_645;
|
|
L_645 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_644, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_642);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_642, L_645, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeRight.EdgeR[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_646 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_647 = __this->___planeRight_13;
|
|
NullCheck(L_647);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_648 = L_647->___EdgeR_4;
|
|
NullCheck(L_648);
|
|
int32_t L_649;
|
|
L_649 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_648, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_646);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_646, L_649, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0e26:
|
|
{
|
|
// if (FaceBack && FaceBottom && FaceLeft) if (planeBottom.EdgeB.Count > 0)
|
|
bool L_650 = __this->___FaceBack_5;
|
|
if (!L_650)
|
|
{
|
|
goto IL_0ea7;
|
|
}
|
|
}
|
|
{
|
|
bool L_651 = __this->___FaceBottom_7;
|
|
if (!L_651)
|
|
{
|
|
goto IL_0ea7;
|
|
}
|
|
}
|
|
{
|
|
bool L_652 = __this->___FaceLeft_8;
|
|
if (!L_652)
|
|
{
|
|
goto IL_0ea7;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceBack && FaceBottom && FaceLeft) if (planeBottom.EdgeB.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_653 = __this->___planeBottom_11;
|
|
NullCheck(L_653);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_654 = L_653->___EdgeB_6;
|
|
NullCheck(L_654);
|
|
int32_t L_655;
|
|
L_655 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_654, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_655) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0ea7;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeBottom.EdgeB[planeBottom.EdgeB.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_656 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_657 = __this->___planeBottom_11;
|
|
NullCheck(L_657);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_658 = L_657->___EdgeB_6;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_659 = __this->___planeBottom_11;
|
|
NullCheck(L_659);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_660 = L_659->___EdgeB_6;
|
|
NullCheck(L_660);
|
|
int32_t L_661;
|
|
L_661 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_660, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_658);
|
|
int32_t L_662;
|
|
L_662 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_658, ((int32_t)il2cpp_codegen_subtract(L_661, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_656);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_656, L_662, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeBack.EdgeR[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_663 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_664 = __this->___planeBack_15;
|
|
NullCheck(L_664);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_665 = L_664->___EdgeR_4;
|
|
NullCheck(L_665);
|
|
int32_t L_666;
|
|
L_666 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_665, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_663);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_663, L_666, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeLeft.EdgeL[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_667 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_668 = __this->___planeLeft_12;
|
|
NullCheck(L_668);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_669 = L_668->___EdgeL_3;
|
|
NullCheck(L_669);
|
|
int32_t L_670;
|
|
L_670 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_669, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_667);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_667, L_670, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0ea7:
|
|
{
|
|
// if (FaceFront && FaceBottom && FaceLeft) if (planeLeft.EdgeR.Count > 0)
|
|
bool L_671 = __this->___FaceFront_4;
|
|
if (!L_671)
|
|
{
|
|
goto IL_0f28;
|
|
}
|
|
}
|
|
{
|
|
bool L_672 = __this->___FaceBottom_7;
|
|
if (!L_672)
|
|
{
|
|
goto IL_0f28;
|
|
}
|
|
}
|
|
{
|
|
bool L_673 = __this->___FaceLeft_8;
|
|
if (!L_673)
|
|
{
|
|
goto IL_0f28;
|
|
}
|
|
}
|
|
{
|
|
// if (FaceFront && FaceBottom && FaceLeft) if (planeLeft.EdgeR.Count > 0)
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_674 = __this->___planeLeft_12;
|
|
NullCheck(L_674);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_675 = L_674->___EdgeR_4;
|
|
NullCheck(L_675);
|
|
int32_t L_676;
|
|
L_676 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_675, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_676) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0f28;
|
|
}
|
|
}
|
|
{
|
|
// tris.Add(planeLeft.EdgeR[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_677 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_678 = __this->___planeLeft_12;
|
|
NullCheck(L_678);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_679 = L_678->___EdgeR_4;
|
|
NullCheck(L_679);
|
|
int32_t L_680;
|
|
L_680 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_679, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_677);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_677, L_680, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeFront.EdgeR[0]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_681 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_682 = __this->___planeFront_14;
|
|
NullCheck(L_682);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_683 = L_682->___EdgeR_4;
|
|
NullCheck(L_683);
|
|
int32_t L_684;
|
|
L_684 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_683, 0, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_681);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_681, L_684, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// tris.Add(planeBottom.EdgeR[planeBottom.EdgeR.Count - 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_685 = V_3;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_686 = __this->___planeBottom_11;
|
|
NullCheck(L_686);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_687 = L_686->___EdgeR_4;
|
|
CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* L_688 = __this->___planeBottom_11;
|
|
NullCheck(L_688);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_689 = L_688->___EdgeR_4;
|
|
NullCheck(L_689);
|
|
int32_t L_690;
|
|
L_690 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_689, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
NullCheck(L_687);
|
|
int32_t L_691;
|
|
L_691 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_687, ((int32_t)il2cpp_codegen_subtract(L_690, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_685);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_685, L_691, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0f28:
|
|
{
|
|
// Mesh mesh = new Mesh();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_692 = (Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4*)il2cpp_codegen_object_new(Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4_il2cpp_TypeInfo_var);
|
|
NullCheck(L_692);
|
|
Mesh__ctor_m5A9AECEDDAFFD84811ED8928012BDE97A9CEBD00(L_692, NULL);
|
|
// mesh.SetVertices(verts);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_693 = L_692;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_694 = V_0;
|
|
NullCheck(L_693);
|
|
Mesh_SetVertices_mCE01139EEEC3D10B4A6CEA1749FD84DABC53599E(L_693, L_694, NULL);
|
|
// mesh.SetTriangles(tris, 0);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_695 = L_693;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_696 = V_3;
|
|
NullCheck(L_695);
|
|
Mesh_SetTriangles_mD495DA0B00DB0E60A2B7B500D644F4470C1D61DB(L_695, L_696, 0, NULL);
|
|
// mesh.SetNormals(normals);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_697 = L_695;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_698 = V_1;
|
|
NullCheck(L_697);
|
|
Mesh_SetNormals_mB4072A4D2600768FD62BC9CAAFF8C43955A4A365(L_697, L_698, NULL);
|
|
// mesh.SetUVs(0, uvs);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_699 = L_697;
|
|
List_1_t8F3790B7F8C471B3A1336522C7415FB0AC36D47B* L_700 = V_2;
|
|
NullCheck(L_699);
|
|
Mesh_SetUVs_m5A7A6EC14A621579B7138F2EF9BECA60E880A8D7(L_699, 0, L_700, NULL);
|
|
// mesh.RecalculateBounds();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_701 = L_699;
|
|
NullCheck(L_701);
|
|
Mesh_RecalculateBounds_mA9B293F57C6CD298AE2D2DB19061FC23B05AB90B(L_701, NULL);
|
|
// mesh.Optimize();
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_702 = L_701;
|
|
NullCheck(L_702);
|
|
Mesh_Optimize_m9BEEA08D34B1E99B712B862F540C8B0B9E6505E6(L_702, NULL);
|
|
// return mesh;
|
|
return L_702;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator::ConnectAllSubdivsEdgePoly(System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubeGenerator_ConnectAllSubdivsEdgePoly_mBF385A5C03E6E40494AECD13B1D3A02EE2FE3E30 (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___0_edgeA, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_edgeB, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_finalTris, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___3_verts, bool ___4_reverse, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
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_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
int32_t V_1 = 0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
int32_t V_3 = 0;
|
|
{
|
|
// if (BevelSubdivs <= 1)
|
|
int32_t L_0 = __this->___BevelSubdivs_3;
|
|
if ((((int32_t)L_0) > ((int32_t)1)))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < edgeA.Count - 1; i++)
|
|
V_0 = 0;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// ConnectEdgePoly(i, edgeA, edgeB, finalTris, reverse);
|
|
int32_t L_1 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_2 = ___0_edgeA;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_3 = ___1_edgeB;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_4 = ___2_finalTris;
|
|
bool L_5 = ___4_reverse;
|
|
CubeGenerator_ConnectEdgePoly_m2ED2B9CAB54140BA2259F6C3CE226BC55ADD8808(__this, L_1, L_2, L_3, L_4, L_5, NULL);
|
|
// for (int i = 0; i < edgeA.Count - 1; i++)
|
|
int32_t L_6 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_6, 1));
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int i = 0; i < edgeA.Count - 1; i++)
|
|
int32_t L_7 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_8 = ___0_edgeA;
|
|
NullCheck(L_8);
|
|
int32_t L_9;
|
|
L_9 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_8, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_7) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_9, 1)))))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
return;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// for (int i = 0; i < edgeA.Count - 1; i++)
|
|
V_1 = 0;
|
|
goto IL_00b9;
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// if (i >= edgeB.Count) break;
|
|
int32_t L_10 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = ___1_edgeB;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_11, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_10) >= ((int32_t)L_12)))
|
|
{
|
|
goto IL_00c7;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 a1 = verts[edgeA[i]];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_13 = ___3_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_14 = ___0_edgeA;
|
|
int32_t L_15 = V_1;
|
|
NullCheck(L_14);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_14, L_15, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_13, L_16, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
V_2 = L_17;
|
|
// Vector3 a2 = verts[edgeA[i + 1]];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_18 = ___3_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_19 = ___0_edgeA;
|
|
int32_t L_20 = V_1;
|
|
NullCheck(L_19);
|
|
int32_t L_21;
|
|
L_21 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_19, ((int32_t)il2cpp_codegen_add(L_20, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_18);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_18, L_21, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
// Vector3 b1 = verts[edgeB[i]];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_23 = ___3_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_24 = ___1_edgeB;
|
|
int32_t L_25 = V_1;
|
|
NullCheck(L_24);
|
|
int32_t L_26;
|
|
L_26 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_24, L_25, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_23, L_26, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
// Vector3 b2 = verts[edgeB[i + 1]];
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_28 = ___3_verts;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_29 = ___1_edgeB;
|
|
int32_t L_30 = V_1;
|
|
NullCheck(L_29);
|
|
int32_t L_31;
|
|
L_31 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_29, ((int32_t)il2cpp_codegen_add(L_30, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_28);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_28, L_31, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
// Vector3 targetV = a2;
|
|
// float step = 1f / (float)BevelSubdivs;
|
|
int32_t L_33 = __this->___BevelSubdivs_3;
|
|
// for (int b = 0; b < BevelSubdivs; b++)
|
|
V_3 = 0;
|
|
goto IL_00ac;
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// if (b == 0) // Connect with start
|
|
int32_t L_34 = V_3;
|
|
if (!L_34)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// else if (b == BevelSubdivs - 1) // Finalize
|
|
int32_t L_35 = V_3;
|
|
int32_t L_36 = __this->___BevelSubdivs_3;
|
|
if ((!(((uint32_t)L_35) == ((uint32_t)((int32_t)il2cpp_codegen_subtract(L_36, 1))))))
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// ConnectEdgePoly(i, edgeA, edgeB, finalTris, reverse);
|
|
int32_t L_37 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_38 = ___0_edgeA;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = ___1_edgeB;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_40 = ___2_finalTris;
|
|
bool L_41 = ___4_reverse;
|
|
CubeGenerator_ConnectEdgePoly_m2ED2B9CAB54140BA2259F6C3CE226BC55ADD8808(__this, L_37, L_38, L_39, L_40, L_41, NULL);
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// for (int b = 0; b < BevelSubdivs; b++)
|
|
int32_t L_42 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00ac:
|
|
{
|
|
// for (int b = 0; b < BevelSubdivs; b++)
|
|
int32_t L_43 = V_3;
|
|
int32_t L_44 = __this->___BevelSubdivs_3;
|
|
if ((((int32_t)L_43) < ((int32_t)L_44)))
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < edgeA.Count - 1; i++)
|
|
int32_t L_45 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_45, 1));
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// for (int i = 0; i < edgeA.Count - 1; i++)
|
|
int32_t L_46 = V_1;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_47 = ___0_edgeA;
|
|
NullCheck(L_47);
|
|
int32_t L_48;
|
|
L_48 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_47, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_46) < ((int32_t)((int32_t)il2cpp_codegen_subtract(L_48, 1)))))
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
}
|
|
|
|
IL_00c7:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator::ConnectEdgePoly(System.Int32,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubeGenerator_ConnectEdgePoly_m2ED2B9CAB54140BA2259F6C3CE226BC55ADD8808 (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, int32_t ___0_startIndex, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_edgeA, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_edgeB, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___3_finalTris, bool ___4_reverse, 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_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_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);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// _toAddTris.Clear();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_0 = __this->____toAddTris_16;
|
|
NullCheck(L_0);
|
|
List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_inline(L_0, List_1_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_RuntimeMethod_var);
|
|
// if (startIndex >= edgeB.Count) return;
|
|
int32_t L_1 = ___0_startIndex;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_2 = ___2_edgeB;
|
|
NullCheck(L_2);
|
|
int32_t L_3;
|
|
L_3 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_2, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_1) < ((int32_t)L_3)))
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (startIndex >= edgeB.Count) return;
|
|
return;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// if (startIndex + 1 >= edgeB.Count) return;
|
|
int32_t L_4 = ___0_startIndex;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_5 = ___2_edgeB;
|
|
NullCheck(L_5);
|
|
int32_t L_6;
|
|
L_6 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_5, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_4, 1))) < ((int32_t)L_6)))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// if (startIndex + 1 >= edgeB.Count) return;
|
|
return;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// if (startIndex >= edgeA.Count) return;
|
|
int32_t L_7 = ___0_startIndex;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_8 = ___1_edgeA;
|
|
NullCheck(L_8);
|
|
int32_t L_9;
|
|
L_9 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_8, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_7) < ((int32_t)L_9)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// if (startIndex >= edgeA.Count) return;
|
|
return;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (startIndex + 1 >= edgeA.Count) return;
|
|
int32_t L_10 = ___0_startIndex;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = ___1_edgeA;
|
|
NullCheck(L_11);
|
|
int32_t L_12;
|
|
L_12 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_11, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)((int32_t)il2cpp_codegen_add(L_10, 1))) < ((int32_t)L_12)))
|
|
{
|
|
goto IL_0037;
|
|
}
|
|
}
|
|
{
|
|
// if (startIndex + 1 >= edgeA.Count) return;
|
|
return;
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
// _toAddTris.Add(edgeA[startIndex]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_13 = __this->____toAddTris_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_14 = ___1_edgeA;
|
|
int32_t L_15 = ___0_startIndex;
|
|
NullCheck(L_14);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_14, L_15, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_13);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_13, L_16, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// _toAddTris.Add(edgeB[startIndex]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_17 = __this->____toAddTris_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_18 = ___2_edgeB;
|
|
int32_t L_19 = ___0_startIndex;
|
|
NullCheck(L_18);
|
|
int32_t L_20;
|
|
L_20 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_18, L_19, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_17);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_17, L_20, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// _toAddTris.Add(edgeA[startIndex + 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = __this->____toAddTris_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_22 = ___1_edgeA;
|
|
int32_t L_23 = ___0_startIndex;
|
|
NullCheck(L_22);
|
|
int32_t L_24;
|
|
L_24 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_22, ((int32_t)il2cpp_codegen_add(L_23, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_21);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_21, L_24, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// _toAddTris.Add(edgeB[startIndex]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_25 = __this->____toAddTris_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_26 = ___2_edgeB;
|
|
int32_t L_27 = ___0_startIndex;
|
|
NullCheck(L_26);
|
|
int32_t L_28;
|
|
L_28 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_26, L_27, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_25);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_25, L_28, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// _toAddTris.Add(edgeB[startIndex + 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_29 = __this->____toAddTris_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_30 = ___2_edgeB;
|
|
int32_t L_31 = ___0_startIndex;
|
|
NullCheck(L_30);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_30, ((int32_t)il2cpp_codegen_add(L_31, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_29);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_29, L_32, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// _toAddTris.Add(edgeA[startIndex + 1]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_33 = __this->____toAddTris_16;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_34 = ___1_edgeA;
|
|
int32_t L_35 = ___0_startIndex;
|
|
NullCheck(L_34);
|
|
int32_t L_36;
|
|
L_36 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_34, ((int32_t)il2cpp_codegen_add(L_35, 1)), List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_33);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_33, L_36, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// if (reverse) _toAddTris.Reverse();
|
|
bool L_37 = ___4_reverse;
|
|
if (!L_37)
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
// if (reverse) _toAddTris.Reverse();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_38 = __this->____toAddTris_16;
|
|
NullCheck(L_38);
|
|
List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC(L_38, List_1_Reverse_m09394C650409964E568ED088D88C1BA78EE468DC_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// for (int i = 0; i < _toAddTris.Count; i++) finalTris.Add(_toAddTris[i]);
|
|
V_0 = 0;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
// for (int i = 0; i < _toAddTris.Count; i++) finalTris.Add(_toAddTris[i]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = ___3_finalTris;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_40 = __this->____toAddTris_16;
|
|
int32_t L_41 = V_0;
|
|
NullCheck(L_40);
|
|
int32_t L_42;
|
|
L_42 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_40, L_41, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_39);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_39, L_42, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
// for (int i = 0; i < _toAddTris.Count; i++) finalTris.Add(_toAddTris[i]);
|
|
int32_t L_43 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_43, 1));
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// for (int i = 0; i < _toAddTris.Count; i++) finalTris.Add(_toAddTris[i]);
|
|
int32_t L_44 = V_0;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_45 = __this->____toAddTris_16;
|
|
NullCheck(L_45);
|
|
int32_t L_46;
|
|
L_46 = List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_inline(L_45, List_1_get_Count_mF590592E32D421DE2C6E2F0D5C2F62FB14CCEFDF_RuntimeMethod_var);
|
|
if ((((int32_t)L_44) < ((int32_t)L_46)))
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubeGenerator__ctor_m0359C8BCF422DCC9BD650DAA781C7774D943AAFE (CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// List<int> _toAddTris = 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);
|
|
__this->____toAddTris_16 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->____toAddTris_16), (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.TileMeshSetup/CubeGenerator/CubePlane::.ctor(System.Collections.Generic.List`1<UnityEngine.Vector3>,System.Collections.Generic.List`1<System.Int32>,System.Collections.Generic.List`1<System.Int32>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane__ctor_mDDD1C7B3E14F9A8EAB919F3925295DB09F443731 (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* ___0_baseVert, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___1_baseTris, List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* ___2_vertIds, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public List<int> EdgeL = 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);
|
|
__this->___EdgeL_3 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___EdgeL_3), (void*)L_0);
|
|
// public List<int> EdgeR = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_1 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_1, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
__this->___EdgeR_4 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___EdgeR_4), (void*)L_1);
|
|
// public List<int> EdgeF = new List<int>();
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_2 = (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73*)il2cpp_codegen_object_new(List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73_il2cpp_TypeInfo_var);
|
|
NullCheck(L_2);
|
|
List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8(L_2, List_1__ctor_m17F501B5A5C289ECE1B4F3D6EBF05DFA421433F8_RuntimeMethod_var);
|
|
__this->___EdgeF_5 = L_2;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___EdgeF_5), (void*)L_2);
|
|
// public List<int> EdgeB = 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);
|
|
__this->___EdgeB_6 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___EdgeB_6), (void*)L_3);
|
|
// public CubePlane(List<Vector3> baseVert, List<int> baseTris, List<int> vertIds)
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
// verts = baseVert;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_4 = ___0_baseVert;
|
|
__this->___verts_0 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___verts_0), (void*)L_4);
|
|
// tris = baseTris;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_5 = ___1_baseTris;
|
|
__this->___tris_2 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___tris_2), (void*)L_5);
|
|
// vertsIndexes = vertIds;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_6 = ___2_vertIds;
|
|
__this->___vertsIndexes_1 = L_6;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___vertsIndexes_1), (void*)L_6);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::FindEdgesTopBottom(FIMSpace.Generating.TileMeshSetup/CubeGenerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane_FindEdgesTopBottom_m6C7F2921EDE14F3FEA37ECFC34163FDC734D7BDD (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* ___0_g, 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_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_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// float limitX = 0.1f * (g.Scale.x);
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_0 = ___0_g;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_1 = (&L_0->___Scale_0);
|
|
float L_2 = L_1->___x_2;
|
|
V_0 = ((float)il2cpp_codegen_multiply((0.100000001f), L_2));
|
|
// float limitZ = 0.1f * (g.Scale.z);
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_3 = ___0_g;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_4 = (&L_3->___Scale_0);
|
|
float L_5 = L_4->___z_4;
|
|
V_1 = ((float)il2cpp_codegen_multiply((0.100000001f), L_5));
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
V_2 = 0;
|
|
goto IL_00e1;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (verts[v].x > limitX) EdgeR.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = __this->___verts_0;
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_6, L_7, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_9 = L_8.___x_2;
|
|
float L_10 = V_0;
|
|
if ((!(((float)L_9) > ((float)L_10))))
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[v].x > limitX) EdgeR.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = __this->___EdgeR_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_12 = __this->___vertsIndexes_1;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
int32_t L_14;
|
|
L_14 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_12, L_13, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_11, L_14, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_0084;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// else if (verts[v].x < -limitX) EdgeL.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_15 = __this->___verts_0;
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_15, L_16, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_18 = L_17.___x_2;
|
|
float L_19 = V_0;
|
|
if ((!(((float)L_18) < ((float)((-L_19))))))
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
// else if (verts[v].x < -limitX) EdgeL.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_20 = __this->___EdgeL_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = __this->___vertsIndexes_1;
|
|
int32_t L_22 = V_2;
|
|
NullCheck(L_21);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_21, L_22, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_20, L_23, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// if (verts[v].z > limitZ) EdgeF.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_24 = __this->___verts_0;
|
|
int32_t L_25 = V_2;
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_24, L_25, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_27 = L_26.___z_4;
|
|
float L_28 = V_1;
|
|
if ((!(((float)L_27) > ((float)L_28))))
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[v].z > limitZ) EdgeF.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_29 = __this->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_30 = __this->___vertsIndexes_1;
|
|
int32_t L_31 = V_2;
|
|
NullCheck(L_30);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_30, L_31, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_29);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_29, L_32, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_00dd;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// else if (verts[v].z < -limitZ) EdgeB.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_33 = __this->___verts_0;
|
|
int32_t L_34 = V_2;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_33, L_34, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_36 = L_35.___z_4;
|
|
float L_37 = V_1;
|
|
if ((!(((float)L_36) < ((float)((-L_37))))))
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// else if (verts[v].z < -limitZ) EdgeB.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_38 = __this->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = __this->___vertsIndexes_1;
|
|
int32_t L_40 = V_2;
|
|
NullCheck(L_39);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_39, L_40, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_38);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_38, L_41, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_42 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00e1:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_43 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_44 = __this->___verts_0;
|
|
NullCheck(L_44);
|
|
int32_t L_45;
|
|
L_45 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_44, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_43) < ((int32_t)L_45)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::FindEdgesLeftRight(FIMSpace.Generating.TileMeshSetup/CubeGenerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane_FindEdgesLeftRight_m0C21C2EAD614618BF122F154BA1E093C7FCC9A58 (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* ___0_g, 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_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_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// float limitZ = 0.1f * (g.Scale.z);
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_0 = ___0_g;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_1 = (&L_0->___Scale_0);
|
|
float L_2 = L_1->___z_4;
|
|
V_0 = ((float)il2cpp_codegen_multiply((0.100000001f), L_2));
|
|
// float limitY = 0.1f * (g.Scale.y);
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_3 = ___0_g;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_4 = (&L_3->___Scale_0);
|
|
float L_5 = L_4->___y_3;
|
|
V_1 = ((float)il2cpp_codegen_multiply((0.100000001f), L_5));
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
V_2 = 0;
|
|
goto IL_00e1;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (verts[v].z > limitZ) EdgeR.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = __this->___verts_0;
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_6, L_7, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_9 = L_8.___z_4;
|
|
float L_10 = V_0;
|
|
if ((!(((float)L_9) > ((float)L_10))))
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[v].z > limitZ) EdgeR.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = __this->___EdgeR_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_12 = __this->___vertsIndexes_1;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
int32_t L_14;
|
|
L_14 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_12, L_13, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_11, L_14, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_0084;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// else if (verts[v].z < -limitZ) EdgeL.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_15 = __this->___verts_0;
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_15, L_16, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_18 = L_17.___z_4;
|
|
float L_19 = V_0;
|
|
if ((!(((float)L_18) < ((float)((-L_19))))))
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
// else if (verts[v].z < -limitZ) EdgeL.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_20 = __this->___EdgeL_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = __this->___vertsIndexes_1;
|
|
int32_t L_22 = V_2;
|
|
NullCheck(L_21);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_21, L_22, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_20, L_23, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// if (verts[v].y > limitY) EdgeF.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_24 = __this->___verts_0;
|
|
int32_t L_25 = V_2;
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_24, L_25, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_27 = L_26.___y_3;
|
|
float L_28 = V_1;
|
|
if ((!(((float)L_27) > ((float)L_28))))
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[v].y > limitY) EdgeF.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_29 = __this->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_30 = __this->___vertsIndexes_1;
|
|
int32_t L_31 = V_2;
|
|
NullCheck(L_30);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_30, L_31, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_29);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_29, L_32, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_00dd;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// else if (verts[v].y < -limitY) EdgeB.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_33 = __this->___verts_0;
|
|
int32_t L_34 = V_2;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_33, L_34, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_36 = L_35.___y_3;
|
|
float L_37 = V_1;
|
|
if ((!(((float)L_36) < ((float)((-L_37))))))
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// else if (verts[v].y < -limitY) EdgeB.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_38 = __this->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = __this->___vertsIndexes_1;
|
|
int32_t L_40 = V_2;
|
|
NullCheck(L_39);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_39, L_40, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_38);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_38, L_41, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_42 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00e1:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_43 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_44 = __this->___verts_0;
|
|
NullCheck(L_44);
|
|
int32_t L_45;
|
|
L_45 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_44, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_43) < ((int32_t)L_45)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.TileMeshSetup/CubeGenerator/CubePlane::FindEdgesFrontBack(FIMSpace.Generating.TileMeshSetup/CubeGenerator)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CubePlane_FindEdgesFrontBack_m3F0454554598F3CD514B939E9D8D81F25C792DD7 (CubePlane_t8635AB8E8C46C05503431CAF797E373697EF98A0* __this, CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* ___0_g, 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_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_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// float limitX = 0.1f * (g.Scale.x);
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_0 = ___0_g;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_1 = (&L_0->___Scale_0);
|
|
float L_2 = L_1->___x_2;
|
|
V_0 = ((float)il2cpp_codegen_multiply((0.100000001f), L_2));
|
|
// float limitY = 0.1f * (g.Scale.y);
|
|
CubeGenerator_t110E27635C2801C1380EC6679EC9217BB9CA309D* L_3 = ___0_g;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_4 = (&L_3->___Scale_0);
|
|
float L_5 = L_4->___y_3;
|
|
V_1 = ((float)il2cpp_codegen_multiply((0.100000001f), L_5));
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
V_2 = 0;
|
|
goto IL_00e1;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (verts[v].x > limitX) EdgeR.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_6 = __this->___verts_0;
|
|
int32_t L_7 = V_2;
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_6, L_7, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_9 = L_8.___x_2;
|
|
float L_10 = V_0;
|
|
if ((!(((float)L_9) > ((float)L_10))))
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[v].x > limitX) EdgeR.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_11 = __this->___EdgeR_4;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_12 = __this->___vertsIndexes_1;
|
|
int32_t L_13 = V_2;
|
|
NullCheck(L_12);
|
|
int32_t L_14;
|
|
L_14 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_12, L_13, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_11);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_11, L_14, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_0084;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// else if (verts[v].x < -limitX) EdgeL.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_15 = __this->___verts_0;
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_15, L_16, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_18 = L_17.___x_2;
|
|
float L_19 = V_0;
|
|
if ((!(((float)L_18) < ((float)((-L_19))))))
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
// else if (verts[v].x < -limitX) EdgeL.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_20 = __this->___EdgeL_3;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_21 = __this->___vertsIndexes_1;
|
|
int32_t L_22 = V_2;
|
|
NullCheck(L_21);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_21, L_22, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_20);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_20, L_23, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// if (verts[v].y > limitY) EdgeF.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_24 = __this->___verts_0;
|
|
int32_t L_25 = V_2;
|
|
NullCheck(L_24);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_24, L_25, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_27 = L_26.___y_3;
|
|
float L_28 = V_1;
|
|
if ((!(((float)L_27) > ((float)L_28))))
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// if (verts[v].y > limitY) EdgeF.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_29 = __this->___EdgeF_5;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_30 = __this->___vertsIndexes_1;
|
|
int32_t L_31 = V_2;
|
|
NullCheck(L_30);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_30, L_31, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_29);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_29, L_32, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
goto IL_00dd;
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// else if (verts[v].y < -limitY) EdgeB.Add(vertsIndexes[v]);
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_33 = __this->___verts_0;
|
|
int32_t L_34 = V_2;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810(L_33, L_34, List_1_get_Item_m8F2E15FC96DA75186C51228128A0660709E4E810_RuntimeMethod_var);
|
|
float L_36 = L_35.___y_3;
|
|
float L_37 = V_1;
|
|
if ((!(((float)L_36) < ((float)((-L_37))))))
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// else if (verts[v].y < -limitY) EdgeB.Add(vertsIndexes[v]);
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_38 = __this->___EdgeB_6;
|
|
List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* L_39 = __this->___vertsIndexes_1;
|
|
int32_t L_40 = V_2;
|
|
NullCheck(L_39);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D(L_39, L_40, List_1_get_Item_mD99081BEFA1AB3526715F489192B0F7F596C183D_RuntimeMethod_var);
|
|
NullCheck(L_38);
|
|
List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_inline(L_38, L_41, List_1_Add_m0248A96C5334E9A93E6994B7780478BCD994EA3D_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_42 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00e1:
|
|
{
|
|
// for (int v = 0; v < verts.Count; v++)
|
|
int32_t L_43 = V_2;
|
|
List_1_t77B94703E05C519A9010DD0614F757F974E1CD8B* L_44 = __this->___verts_0;
|
|
NullCheck(L_44);
|
|
int32_t L_45;
|
|
L_45 = List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_inline(L_44, List_1_get_Count_m46EEFFA770BE665EA0CB3A5332E941DA4B3C1D37_RuntimeMethod_var);
|
|
if ((((int32_t)L_43) < ((int32_t)L_45)))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
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.TileMeshSetup/MeshVertPoint::.ctor(UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void MeshVertPoint__ctor_m351E7621106F8D034D21FBD379891BF8A6E7B622 (MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// this.pos = pos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___0_pos;
|
|
__this->___pos_0 = L_0;
|
|
// vCol = Color.white;
|
|
Color_tD001788D726C3A7F1379BEED0260B9591F440C1F L_1;
|
|
L_1 = Color_get_white_m068F5AF879B0FCA584E3693F762EA41BB65532C6_inline(NULL);
|
|
__this->___vCol_1 = L_1;
|
|
// norm = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___norm_2 = L_2;
|
|
// UV = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_4;
|
|
L_4 = Vector2_op_Implicit_mE8EBEE9291F11BB02F062D6E000F4798968CBD96_inline(L_3, NULL);
|
|
__this->___UV_3 = L_4;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void MeshVertPoint__ctor_m351E7621106F8D034D21FBD379891BF8A6E7B622_AdjustorThunk (RuntimeObject* __this, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_pos, const RuntimeMethod* method)
|
|
{
|
|
MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<MeshVertPoint_tF4E8FC6546C9F236CD34973823D9238801BE53DD*>(__this + _offset);
|
|
MeshVertPoint__ctor_m351E7621106F8D034D21FBD379891BF8A6E7B622(_thisAdjusted, ___0_pos, 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
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::GetRemovalAngle(FIMSpace.Generating.Rules.ESR_AngleRemovalMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 SpawnRules_GetRemovalAngle_mEECF751CEEC2D2F0D1294DECABBA15872BC4927B (int32_t ___0_mode, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___0_mode;
|
|
switch (((int32_t)il2cpp_codegen_subtract((int32_t)L_0, 1)))
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
case 5:
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// case ESR_AngleRemovalMode.OnTheLeft: return Q270;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q270_3;
|
|
return L_1;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// case ESR_AngleRemovalMode.OnTheRight: return Q90;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q90_1;
|
|
return L_2;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// case ESR_AngleRemovalMode.InFront: return Q0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q0_0;
|
|
return L_3;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// case ESR_AngleRemovalMode.Behind: return Q180;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q180_2;
|
|
return L_4;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// case ESR_AngleRemovalMode.Below: return QX90;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___QX90_4;
|
|
return L_5;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// case ESR_AngleRemovalMode.Above: return QX270;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___QX270_5;
|
|
return L_6;
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// return Q0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q0_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.SpawnRules::GetAxis(FIMSpace.Generating.Rules.ESR_AngleRemovalMode)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnRules_GetAxis_m5BE7796B21762870F43259A55BDB6ACDE4F11A17 (int32_t ___0_angleMode, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (angleMode == ESR_AngleRemovalMode.Above || angleMode == ESR_AngleRemovalMode.Below)
|
|
int32_t L_0 = ___0_angleMode;
|
|
if ((((int32_t)L_0) == ((int32_t)6)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_1 = ___0_angleMode;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)5))))
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
// return Vector3.right;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_right_mFF573AFBBB2186E7AFA1BA7CA271A78DF67E4EA0_inline(NULL);
|
|
return L_2;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// return Vector3.up;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
return L_3;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::IsNull(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_IsNull_mC7C9CE22B3A3D58E4EC7B0FBFA19707708657E97 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_data, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// { return FGenerators.CheckIfIsNull(data); }
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_data;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::NotNull(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_NotNull_m89AC94E3453A7ED190E7E3E3E646DD38A8EA7FE9 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_data, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// { return FGenerators.CheckIfExist_NOTNULL(data); }
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_data;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::IsNull(FIMSpace.Generating.SpawnData)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_IsNull_m28A10680B365EA2188D8F046A1408D078B02A97C (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_data, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// { return FGenerators.CheckIfIsNull(data); }
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_0 = ___0_data;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::NotNull(FIMSpace.Generating.SpawnData)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_NotNull_m42640DC776714CFE97CE5B8BA7DC51A7A53CB576 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_data, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// { return FGenerators.CheckIfExist_NOTNULL(data); }
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_0 = ___0_data;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::CheckCellAllowOR(FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, String_t* ___1_occupyTags, int32_t ___2_checkMode, bool ___3_useStateORTag, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (useStateORTag == false)
|
|
bool L_0 = ___3_useStateORTag;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// if (string.IsNullOrEmpty(occupyTags)) return false;
|
|
String_t* L_1 = ___1_occupyTags;
|
|
bool L_2;
|
|
L_2 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (string.IsNullOrEmpty(occupyTags)) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// return CheckNeightbourCellAllow(ESR_Space.Occupied, cell, occupyTags, checkMode);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___0_cell;
|
|
String_t* L_4 = ___1_occupyTags;
|
|
int32_t L_5 = ___2_checkMode;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = SpawnRules_CheckNeightbourCellAllow_mAF0C5EF8D8B69FCFA8CD4DBF6EDBA2814A81A4F7(1, L_3, L_4, L_5, (bool)0, NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::CheckNeightbourCellAllow(FIMSpace.Generating.Rules.ESR_Space,FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_CheckNeightbourCellAllow_mAF0C5EF8D8B69FCFA8CD4DBF6EDBA2814A81A4F7 (int32_t ___0_check, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___1_cell, String_t* ___2_occupyTags, int32_t ___3_checkMode, bool ___4_useStateORTag, 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_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (cell == null)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___1_cell;
|
|
if (L_0)
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (check == ESR_Space.OutOfGrid)
|
|
int32_t L_1 = ___0_check;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (check == ESR_Space.InGrid)
|
|
int32_t L_2 = ___0_check;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___1_cell;
|
|
NullCheck(L_3);
|
|
bool L_4 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_3)->___InTargetGridArea_1;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_5 = ___1_cell;
|
|
String_t* L_6 = ___2_occupyTags;
|
|
int32_t L_7 = ___3_checkMode;
|
|
bool L_8 = ___4_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_5, L_6, L_7, L_8, NULL);
|
|
return L_9;
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// if (check == ESR_Space.Occupied)
|
|
int32_t L_10 = ___0_check;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// if (checkMode == ESR_Details.CellData)
|
|
int32_t L_11 = ___3_checkMode;
|
|
if ((!(((uint32_t)L_11) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(SpawnRuleBase.CellSpawnsHaveSpecifics(cell, occupyTags, ESR_Details.CellData)))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = ___1_cell;
|
|
String_t* L_13 = ___2_occupyTags;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_14;
|
|
L_14 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_12, L_13, 2, (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL, (bool)0, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_15;
|
|
L_15 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_14, NULL);
|
|
if (!L_15)
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// if (string.IsNullOrEmpty(occupyTags))
|
|
String_t* L_16 = ___2_occupyTags;
|
|
bool L_17;
|
|
L_17 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_16, NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count > 0) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = ___1_cell;
|
|
NullCheck(L_18);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_19;
|
|
L_19 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_18, 1, (bool)0, NULL);
|
|
NullCheck(L_19);
|
|
int32_t L_20;
|
|
L_20 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_19, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_20) <= ((int32_t)0)))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count > 0) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// if (cell.CollectSpawns().Count <= 0) return false;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_21 = ___1_cell;
|
|
NullCheck(L_21);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_22;
|
|
L_22 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_21, 1, (bool)0, NULL);
|
|
NullCheck(L_22);
|
|
int32_t L_23;
|
|
L_23 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_22, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_23) > ((int32_t)0)))
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count <= 0) return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(SpawnRuleBase.CellSpawnsHaveSpecifics(cell, occupyTags, checkMode)))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_24 = ___1_cell;
|
|
String_t* L_25 = ___2_occupyTags;
|
|
int32_t L_26 = ___3_checkMode;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_27;
|
|
L_27 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_24, L_25, L_26, (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL, (bool)0, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_28;
|
|
L_28 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_27, NULL);
|
|
if (!L_28)
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// else if (check == ESR_Space.Empty)
|
|
int32_t L_29 = ___0_check;
|
|
if (L_29)
|
|
{
|
|
goto IL_00a0;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count < 1) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_30 = ___1_cell;
|
|
NullCheck(L_30);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_31;
|
|
L_31 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_30, 1, (bool)0, NULL);
|
|
NullCheck(L_31);
|
|
int32_t L_32;
|
|
L_32 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_31, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_32) >= ((int32_t)1)))
|
|
{
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count < 1) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0095:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_33 = ___1_cell;
|
|
String_t* L_34 = ___2_occupyTags;
|
|
int32_t L_35 = ___3_checkMode;
|
|
bool L_36 = ___4_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_37;
|
|
L_37 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_33, L_34, L_35, L_36, NULL);
|
|
return L_37;
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// else if (check == ESR_Space.OutOfGrid)
|
|
int32_t L_38 = ___0_check;
|
|
if ((!(((uint32_t)L_38) == ((uint32_t)2))))
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea == false) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_39 = ___1_cell;
|
|
NullCheck(L_39);
|
|
bool L_40 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_39)->___InTargetGridArea_1;
|
|
if (L_40)
|
|
{
|
|
goto IL_00ae;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea == false) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_41 = ___1_cell;
|
|
String_t* L_42 = ___2_occupyTags;
|
|
int32_t L_43 = ___3_checkMode;
|
|
bool L_44 = ___4_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_45;
|
|
L_45 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_41, L_42, L_43, L_44, NULL);
|
|
return L_45;
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// else if (check == ESR_Space.InGrid)
|
|
int32_t L_46 = ___0_check;
|
|
if ((!(((uint32_t)L_46) == ((uint32_t)3))))
|
|
{
|
|
goto IL_00d2;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_47 = ___1_cell;
|
|
NullCheck(L_47);
|
|
bool L_48 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_47)->___InTargetGridArea_1;
|
|
if (!L_48)
|
|
{
|
|
goto IL_00c7;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00c7:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_49 = ___1_cell;
|
|
String_t* L_50 = ___2_occupyTags;
|
|
int32_t L_51 = ___3_checkMode;
|
|
bool L_52 = ___4_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_53;
|
|
L_53 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_49, L_50, L_51, L_52, NULL);
|
|
return L_53;
|
|
}
|
|
|
|
IL_00d2:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::CheckNeightbourCellAllowAngled(FIMSpace.Generating.Rules.ESR_Space,FIMSpace.Generating.FieldCell,System.String,UnityEngine.Vector3,System.Single,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_CheckNeightbourCellAllowAngled_mF3BF839D50306A9CB0BAAD7422D36B877FEBD23C (int32_t ___0_check, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___1_cell, String_t* ___2_occupyTags, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___3_checkDirection, float ___4_ignoreAboveAngle, int32_t ___5_checkMode, bool ___6_useStateORTag, 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_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_2 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_3;
|
|
memset((&V_3), 0, sizeof(V_3));
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_6 = NULL;
|
|
{
|
|
// if (cell == null)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___1_cell;
|
|
if (L_0)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (check == ESR_Space.OutOfGrid)
|
|
int32_t L_1 = ___0_check;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___1_cell;
|
|
String_t* L_3 = ___2_occupyTags;
|
|
int32_t L_4 = ___5_checkMode;
|
|
bool L_5 = ___6_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_2, L_3, L_4, L_5, NULL);
|
|
return L_6;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// if (check == ESR_Space.InGrid) if (cell.InTargetGridArea)
|
|
int32_t L_7 = ___0_check;
|
|
if ((!(((uint32_t)L_7) == ((uint32_t)3))))
|
|
{
|
|
goto IL_002f;
|
|
}
|
|
}
|
|
{
|
|
// if (check == ESR_Space.InGrid) if (cell.InTargetGridArea)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___1_cell;
|
|
NullCheck(L_8);
|
|
bool L_9 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_8)->___InTargetGridArea_1;
|
|
if (!L_9)
|
|
{
|
|
goto IL_0023;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0023:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = ___1_cell;
|
|
String_t* L_11 = ___2_occupyTags;
|
|
int32_t L_12 = ___5_checkMode;
|
|
bool L_13 = ___6_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_14;
|
|
L_14 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_10, L_11, L_12, L_13, NULL);
|
|
return L_14;
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// if (check == ESR_Space.Occupied)
|
|
int32_t L_15 = ___0_check;
|
|
if ((!(((uint32_t)L_15) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0119;
|
|
}
|
|
}
|
|
{
|
|
// if (string.IsNullOrEmpty(occupyTags))
|
|
String_t* L_16 = ___2_occupyTags;
|
|
bool L_17;
|
|
L_17 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_16, NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_009e;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count > 0)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = ___1_cell;
|
|
NullCheck(L_18);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_19;
|
|
L_19 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_18, 1, (bool)0, NULL);
|
|
NullCheck(L_19);
|
|
int32_t L_20;
|
|
L_20 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_19, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_20) <= ((int32_t)0)))
|
|
{
|
|
goto IL_009c;
|
|
}
|
|
}
|
|
{
|
|
// if (ignoreAboveAngle > 0f)
|
|
float L_21 = ___4_ignoreAboveAngle;
|
|
if ((!(((float)L_21) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
{
|
|
// var spawns = cell.CollectSpawns();
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22 = ___1_cell;
|
|
NullCheck(L_22);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_23;
|
|
L_23 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_22, 1, (bool)0, NULL);
|
|
V_0 = L_23;
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_008e;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// var spawn = spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_24 = V_0;
|
|
int32_t L_25 = V_1;
|
|
NullCheck(L_24);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_26;
|
|
L_26 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_24, L_25, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_2 = L_26;
|
|
// float angle = Vector3.Angle(checkDirection, spawn.GetFullOffset().normalized);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = ___3_checkDirection;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_28 = V_2;
|
|
NullCheck(L_28);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3(L_28, (bool)0, NULL);
|
|
V_3 = L_29;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_3), NULL);
|
|
float L_31;
|
|
L_31 = Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline(L_27, L_30, NULL);
|
|
// if (angle <= ignoreAboveAngle) return true;
|
|
float L_32 = ___4_ignoreAboveAngle;
|
|
if ((!(((float)L_31) <= ((float)L_32))))
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// if (angle <= ignoreAboveAngle) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_33 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_33, 1));
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_34 = V_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_35 = V_0;
|
|
NullCheck(L_35);
|
|
int32_t L_36;
|
|
L_36 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_35, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_34) < ((int32_t)L_36)))
|
|
{
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
|
|
IL_009c:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
// if (cell.CollectSpawns().Count <= 0)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_37 = ___1_cell;
|
|
NullCheck(L_37);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_38;
|
|
L_38 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_37, 1, (bool)0, NULL);
|
|
NullCheck(L_38);
|
|
int32_t L_39;
|
|
L_39 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_38, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_39) > ((int32_t)0)))
|
|
{
|
|
goto IL_00b0;
|
|
}
|
|
}
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_00b0:
|
|
{
|
|
// if (ignoreAboveAngle > 0f)
|
|
float L_40 = ___4_ignoreAboveAngle;
|
|
if ((!(((float)L_40) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// var spawns = SpawnRuleBase.GetAllSpecificSpawns(cell, occupyTags, checkMode);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_41 = ___1_cell;
|
|
String_t* L_42 = ___2_occupyTags;
|
|
int32_t L_43 = ___5_checkMode;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_44;
|
|
L_44 = SpawnRuleBase_GetAllSpecificSpawns_mA958FEC0E721DAE5CEF7F413175AD4D955CFCBC3(L_41, L_42, L_43, (GameObject_t76FEDD663AB33C991A9C9A23129337651094216F*)NULL, (FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*)NULL, NULL);
|
|
V_4 = L_44;
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
V_5 = 0;
|
|
goto IL_00f8;
|
|
}
|
|
|
|
IL_00cb:
|
|
{
|
|
// var spawn = spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_45 = V_4;
|
|
int32_t L_46 = V_5;
|
|
NullCheck(L_45);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_47;
|
|
L_47 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_45, L_46, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_6 = L_47;
|
|
// float angle = Vector3.Angle(checkDirection, spawn.GetFullOffset().normalized);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = ___3_checkDirection;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_49 = V_6;
|
|
NullCheck(L_49);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3(L_49, (bool)0, NULL);
|
|
V_3 = L_50;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51;
|
|
L_51 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_3), NULL);
|
|
float L_52;
|
|
L_52 = Vector3_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline(L_48, L_51, NULL);
|
|
// if (angle <= ignoreAboveAngle) return true;
|
|
float L_53 = ___4_ignoreAboveAngle;
|
|
if ((!(((float)L_52) <= ((float)L_53))))
|
|
{
|
|
goto IL_00f2;
|
|
}
|
|
}
|
|
{
|
|
// if (angle <= ignoreAboveAngle) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_00f2:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_54 = V_5;
|
|
V_5 = ((int32_t)il2cpp_codegen_add(L_54, 1));
|
|
}
|
|
|
|
IL_00f8:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_55 = V_5;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_56 = V_4;
|
|
NullCheck(L_56);
|
|
int32_t L_57;
|
|
L_57 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_56, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_55) < ((int32_t)L_57)))
|
|
{
|
|
goto IL_00cb;
|
|
}
|
|
}
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(SpawnRuleBase.CellSpawnsHaveSpecifics(cell, occupyTags, checkMode)))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_58 = ___1_cell;
|
|
String_t* L_59 = ___2_occupyTags;
|
|
int32_t L_60 = ___5_checkMode;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_61;
|
|
L_61 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_58, L_59, L_60, (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL, (bool)0, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_62;
|
|
L_62 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_61, NULL);
|
|
if (!L_62)
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0119:
|
|
{
|
|
// else if (check == ESR_Space.Empty)
|
|
int32_t L_63 = ___0_check;
|
|
if (L_63)
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count < 1) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_64 = ___1_cell;
|
|
NullCheck(L_64);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_65;
|
|
L_65 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_64, 1, (bool)0, NULL);
|
|
NullCheck(L_65);
|
|
int32_t L_66;
|
|
L_66 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_65, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_66) >= ((int32_t)1)))
|
|
{
|
|
goto IL_012e;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.CollectSpawns().Count < 1) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_012e:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_67 = ___1_cell;
|
|
String_t* L_68 = ___2_occupyTags;
|
|
int32_t L_69 = ___5_checkMode;
|
|
bool L_70 = ___6_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_71;
|
|
L_71 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_67, L_68, L_69, L_70, NULL);
|
|
return L_71;
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// else if (check == ESR_Space.OutOfGrid)
|
|
int32_t L_72 = ___0_check;
|
|
if ((!(((uint32_t)L_72) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0154;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea == false) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_73 = ___1_cell;
|
|
NullCheck(L_73);
|
|
bool L_74 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_73)->___InTargetGridArea_1;
|
|
if (L_74)
|
|
{
|
|
goto IL_0148;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea == false) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0148:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_75 = ___1_cell;
|
|
String_t* L_76 = ___2_occupyTags;
|
|
int32_t L_77 = ___5_checkMode;
|
|
bool L_78 = ___6_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_79;
|
|
L_79 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_75, L_76, L_77, L_78, NULL);
|
|
return L_79;
|
|
}
|
|
|
|
IL_0154:
|
|
{
|
|
// else if (check == ESR_Space.InGrid)
|
|
int32_t L_80 = ___0_check;
|
|
if ((!(((uint32_t)L_80) == ((uint32_t)3))))
|
|
{
|
|
goto IL_016e;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea) return true;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_81 = ___1_cell;
|
|
NullCheck(L_81);
|
|
bool L_82 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_81)->___InTargetGridArea_1;
|
|
if (!L_82)
|
|
{
|
|
goto IL_0162;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.InTargetGridArea) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_0162:
|
|
{
|
|
// return CheckCellAllowOR(cell, occupyTags, checkMode, useStateORTag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_83 = ___1_cell;
|
|
String_t* L_84 = ___2_occupyTags;
|
|
int32_t L_85 = ___5_checkMode;
|
|
bool L_86 = ___6_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_87;
|
|
L_87 = SpawnRules_CheckCellAllowOR_mB5ABFF8BC5B1BB035DD8E3F3B9A05C41FCE0BC86(L_83, L_84, L_85, L_86, NULL);
|
|
return L_87;
|
|
}
|
|
|
|
IL_016e:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursAround(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.Rules.ESR_Space,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursAround_mFA1CA1C2D543B511A7819B6651912708F9C565D5 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_targetState, String_t* ___3_tags, int32_t ___4_checkMode, bool ___5_useStateORTag, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
{
|
|
// List<FieldCell> cells = new List<FieldCell>();
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_0 = (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*)il2cpp_codegen_object_new(List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1(L_0, List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// for (int x = -1; x <= 1; x++)
|
|
V_1 = (-1);
|
|
goto IL_00b9;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
V_2 = (-1);
|
|
goto IL_00ae;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (x == 0 && z == 0) continue; // Ignore self
|
|
int32_t L_1 = V_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_00aa;
|
|
}
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// FieldCell nCell = grid.GetCell(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_3 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_4 = ___0_cell;
|
|
NullCheck(L_4);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_5 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_4)->___Pos_0);
|
|
int32_t L_6;
|
|
L_6 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_5, NULL);
|
|
int32_t L_7 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___0_cell;
|
|
NullCheck(L_8);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_9 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_8)->___Pos_0);
|
|
int32_t L_10;
|
|
L_10 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_9, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11 = ___0_cell;
|
|
NullCheck(L_11);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_12 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_11)->___Pos_0);
|
|
int32_t L_13;
|
|
L_13 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_12, NULL);
|
|
int32_t L_14 = V_2;
|
|
NullCheck(L_3);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_15;
|
|
L_15 = FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499(L_3, ((int32_t)il2cpp_codegen_add(L_6, L_7)), L_10, ((int32_t)il2cpp_codegen_add(L_13, L_14)), (bool)0, FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
V_3 = L_15;
|
|
// if (SpawnRules.CheckNeightbourCellAllow(targetState, nCell, tags, checkMode, useStateORTag) == false) continue;
|
|
int32_t L_16 = ___2_targetState;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17 = V_3;
|
|
String_t* L_18 = ___3_tags;
|
|
int32_t L_19 = ___4_checkMode;
|
|
bool L_20 = ___5_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_21;
|
|
L_21 = SpawnRules_CheckNeightbourCellAllow_mAF0C5EF8D8B69FCFA8CD4DBF6EDBA2814A81A4F7(L_16, L_17, L_18, L_19, L_20, NULL);
|
|
if (!L_21)
|
|
{
|
|
goto IL_00aa;
|
|
}
|
|
}
|
|
{
|
|
// if (nCell != null)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22 = V_3;
|
|
if (!L_22)
|
|
{
|
|
goto IL_0064;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(nCell);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_23 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_24 = V_3;
|
|
NullCheck(L_23);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_23, L_24, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
goto IL_00aa;
|
|
}
|
|
|
|
IL_0064:
|
|
{
|
|
// if (targetState == ESR_Space.OutOfGrid)
|
|
int32_t L_25 = ___2_targetState;
|
|
if ((!(((uint32_t)L_25) == ((uint32_t)2))))
|
|
{
|
|
goto IL_00aa;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(new FieldCell() { Pos = new Vector3Int(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z), InTargetGridArea = false });
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_26 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_27 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_27);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_27, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_28 = L_27;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_29 = ___0_cell;
|
|
NullCheck(L_29);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_30 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_29)->___Pos_0);
|
|
int32_t L_31;
|
|
L_31 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_30, NULL);
|
|
int32_t L_32 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_33 = ___0_cell;
|
|
NullCheck(L_33);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_34 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_33)->___Pos_0);
|
|
int32_t L_35;
|
|
L_35 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_34, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_36 = ___0_cell;
|
|
NullCheck(L_36);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_37 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_36)->___Pos_0);
|
|
int32_t L_38;
|
|
L_38 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_37, NULL);
|
|
int32_t L_39 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_40;
|
|
memset((&L_40), 0, sizeof(L_40));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_40), ((int32_t)il2cpp_codegen_add(L_31, L_32)), L_35, ((int32_t)il2cpp_codegen_add(L_38, L_39)), /*hidden argument*/NULL);
|
|
NullCheck(L_28);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_28)->___Pos_0 = L_40;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_41 = L_28;
|
|
NullCheck(L_41);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_41)->___InTargetGridArea_1 = (bool)0;
|
|
NullCheck(L_26);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_26, L_41, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00aa:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_42 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_42, 1));
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_43 = V_2;
|
|
if ((((int32_t)L_43) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_44 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_44, 1));
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_45 = V_1;
|
|
if ((((int32_t)L_45) <= ((int32_t)1)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return cells;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_46 = V_0;
|
|
return L_46;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::Get3x3Square(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_Get3x3Square_m99F4803182821C9DCF0246638C43B48B7AD9E490 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
{
|
|
// List<FieldCell> cells = new List<FieldCell>();
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_0 = (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*)il2cpp_codegen_object_new(List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1(L_0, List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// for (int x = -1; x <= 1; x++)
|
|
V_1 = (-1);
|
|
goto IL_00a4;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
V_2 = (-1);
|
|
goto IL_0099;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (x == 0 && z == 0) continue; // Ignore self
|
|
int32_t L_1 = V_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// FieldCell nCell = grid.GetCell(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_3 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_4 = ___0_cell;
|
|
NullCheck(L_4);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_5 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_4)->___Pos_0);
|
|
int32_t L_6;
|
|
L_6 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_5, NULL);
|
|
int32_t L_7 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___0_cell;
|
|
NullCheck(L_8);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_9 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_8)->___Pos_0);
|
|
int32_t L_10;
|
|
L_10 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_9, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11 = ___0_cell;
|
|
NullCheck(L_11);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_12 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_11)->___Pos_0);
|
|
int32_t L_13;
|
|
L_13 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_12, NULL);
|
|
int32_t L_14 = V_2;
|
|
NullCheck(L_3);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_15;
|
|
L_15 = FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499(L_3, ((int32_t)il2cpp_codegen_add(L_6, L_7)), L_10, ((int32_t)il2cpp_codegen_add(L_13, L_14)), (bool)0, FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
V_3 = L_15;
|
|
// if (nCell != null)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_16 = V_3;
|
|
if (!L_16)
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(nCell);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_17 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = V_3;
|
|
NullCheck(L_17);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_17, L_18, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
goto IL_0095;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// cells.Add(new FieldCell() { Pos = new Vector3Int(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z), InTargetGridArea = false });
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_19 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_20 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_20);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_20, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_21 = L_20;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22 = ___0_cell;
|
|
NullCheck(L_22);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_23 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_22)->___Pos_0);
|
|
int32_t L_24;
|
|
L_24 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_23, NULL);
|
|
int32_t L_25 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_26 = ___0_cell;
|
|
NullCheck(L_26);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_27 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_26)->___Pos_0);
|
|
int32_t L_28;
|
|
L_28 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_27, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_29 = ___0_cell;
|
|
NullCheck(L_29);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_30 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_29)->___Pos_0);
|
|
int32_t L_31;
|
|
L_31 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_30, NULL);
|
|
int32_t L_32 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_33;
|
|
memset((&L_33), 0, sizeof(L_33));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_33), ((int32_t)il2cpp_codegen_add(L_24, L_25)), L_28, ((int32_t)il2cpp_codegen_add(L_31, L_32)), /*hidden argument*/NULL);
|
|
NullCheck(L_21);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_21)->___Pos_0 = L_33;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_34 = L_21;
|
|
NullCheck(L_34);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_34)->___InTargetGridArea_1 = (bool)0;
|
|
NullCheck(L_19);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_19, L_34, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0095:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_35 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_35, 1));
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_36 = V_2;
|
|
if ((((int32_t)L_36) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_37 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00a4:
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_38 = V_1;
|
|
if ((((int32_t)L_38) <= ((int32_t)1)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return cells;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_39 = V_0;
|
|
return L_39;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursDiagonal(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursDiagonal_mDB9CCAEB3147C54D459E5D3C9048DA24F79491FC (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
{
|
|
// List<FieldCell> cells = new List<FieldCell>();
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_0 = (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*)il2cpp_codegen_object_new(List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1(L_0, List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// for (int x = -1; x <= 1; x++)
|
|
V_1 = (-1);
|
|
goto IL_00a3;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
V_2 = (-1);
|
|
goto IL_0098;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (x == 0 && z == 0) continue; // Ignore self
|
|
int32_t L_1 = V_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (x == 0 || z == 0) continue;
|
|
int32_t L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = V_2;
|
|
if (!L_4)
|
|
{
|
|
goto IL_0094;
|
|
}
|
|
}
|
|
{
|
|
// FieldCell nCell = grid.GetCell(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_5 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_6 = ___0_cell;
|
|
NullCheck(L_6);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_7 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_6)->___Pos_0);
|
|
int32_t L_8;
|
|
L_8 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_7, NULL);
|
|
int32_t L_9 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = ___0_cell;
|
|
NullCheck(L_10);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_11 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_10)->___Pos_0);
|
|
int32_t L_12;
|
|
L_12 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_11, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_13 = ___0_cell;
|
|
NullCheck(L_13);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_14 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_13)->___Pos_0);
|
|
int32_t L_15;
|
|
L_15 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_14, NULL);
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_5);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17;
|
|
L_17 = FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499(L_5, ((int32_t)il2cpp_codegen_add(L_8, L_9)), L_12, ((int32_t)il2cpp_codegen_add(L_15, L_16)), (bool)0, FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
V_3 = L_17;
|
|
// if (nCell != null)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = V_3;
|
|
if (!L_18)
|
|
{
|
|
goto IL_0059;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(nCell);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_19 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_20 = V_3;
|
|
NullCheck(L_19);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_19, L_20, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
goto IL_0094;
|
|
}
|
|
|
|
IL_0059:
|
|
{
|
|
// cells.Add(new FieldCell() { Pos = new Vector3Int(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z) });
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_21 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_22);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_22, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_23 = L_22;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_24 = ___0_cell;
|
|
NullCheck(L_24);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_25 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_24)->___Pos_0);
|
|
int32_t L_26;
|
|
L_26 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_25, NULL);
|
|
int32_t L_27 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_28 = ___0_cell;
|
|
NullCheck(L_28);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_29 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_28)->___Pos_0);
|
|
int32_t L_30;
|
|
L_30 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_29, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_31 = ___0_cell;
|
|
NullCheck(L_31);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_32 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_31)->___Pos_0);
|
|
int32_t L_33;
|
|
L_33 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_32, NULL);
|
|
int32_t L_34 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_35;
|
|
memset((&L_35), 0, sizeof(L_35));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_35), ((int32_t)il2cpp_codegen_add(L_26, L_27)), L_30, ((int32_t)il2cpp_codegen_add(L_33, L_34)), /*hidden argument*/NULL);
|
|
NullCheck(L_23);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_23)->___Pos_0 = L_35;
|
|
NullCheck(L_21);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_21, L_23, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0094:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_36 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_36, 1));
|
|
}
|
|
|
|
IL_0098:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_37 = V_2;
|
|
if ((((int32_t)L_37) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_38 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00a3:
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_39 = V_1;
|
|
if ((((int32_t)L_39) <= ((int32_t)1)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return cells;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_40 = V_0;
|
|
return L_40;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursDiagonal(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.Rules.ESR_Space,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursDiagonal_mFCFB75E8F9F057E2289296698972AEC4569657DC (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_targetState, String_t* ___3_tags, int32_t ___4_checkMode, bool ___5_useStateORTag, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
{
|
|
// List<FieldCell> cells = new List<FieldCell>();
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_0 = (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*)il2cpp_codegen_object_new(List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1(L_0, List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// for (int x = -1; x <= 1; x++)
|
|
V_1 = (-1);
|
|
goto IL_00be;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
V_2 = (-1);
|
|
goto IL_00b3;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (x == 0 && z == 0) continue; // Ignore self
|
|
int32_t L_1 = V_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// if (x == 0 || z == 0) continue;
|
|
int32_t L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = V_2;
|
|
if (!L_4)
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// FieldCell nCell = grid.GetCell(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_5 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_6 = ___0_cell;
|
|
NullCheck(L_6);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_7 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_6)->___Pos_0);
|
|
int32_t L_8;
|
|
L_8 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_7, NULL);
|
|
int32_t L_9 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = ___0_cell;
|
|
NullCheck(L_10);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_11 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_10)->___Pos_0);
|
|
int32_t L_12;
|
|
L_12 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_11, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_13 = ___0_cell;
|
|
NullCheck(L_13);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_14 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_13)->___Pos_0);
|
|
int32_t L_15;
|
|
L_15 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_14, NULL);
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_5);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17;
|
|
L_17 = FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499(L_5, ((int32_t)il2cpp_codegen_add(L_8, L_9)), L_12, ((int32_t)il2cpp_codegen_add(L_15, L_16)), (bool)0, FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
V_3 = L_17;
|
|
// if (SpawnRules.CheckNeightbourCellAllow(targetState, nCell, tags, checkMode, useStateORTag) == false) continue;
|
|
int32_t L_18 = ___2_targetState;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_19 = V_3;
|
|
String_t* L_20 = ___3_tags;
|
|
int32_t L_21 = ___4_checkMode;
|
|
bool L_22 = ___5_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_23;
|
|
L_23 = SpawnRules_CheckNeightbourCellAllow_mAF0C5EF8D8B69FCFA8CD4DBF6EDBA2814A81A4F7(L_18, L_19, L_20, L_21, L_22, NULL);
|
|
if (!L_23)
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// if (nCell != null)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_24 = V_3;
|
|
if (!L_24)
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(nCell);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_25 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_26 = V_3;
|
|
NullCheck(L_25);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_25, L_26, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
goto IL_00af;
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// if (targetState == ESR_Space.OutOfGrid)
|
|
int32_t L_27 = ___2_targetState;
|
|
if ((!(((uint32_t)L_27) == ((uint32_t)2))))
|
|
{
|
|
goto IL_00af;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(new FieldCell() { Pos = new Vector3Int(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z) });
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_28 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_29 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_29);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_29, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_30 = L_29;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_31 = ___0_cell;
|
|
NullCheck(L_31);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_32 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_31)->___Pos_0);
|
|
int32_t L_33;
|
|
L_33 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_32, NULL);
|
|
int32_t L_34 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_35 = ___0_cell;
|
|
NullCheck(L_35);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_36 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_35)->___Pos_0);
|
|
int32_t L_37;
|
|
L_37 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_36, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_38 = ___0_cell;
|
|
NullCheck(L_38);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_39 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_38)->___Pos_0);
|
|
int32_t L_40;
|
|
L_40 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_39, NULL);
|
|
int32_t L_41 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_42;
|
|
memset((&L_42), 0, sizeof(L_42));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_42), ((int32_t)il2cpp_codegen_add(L_33, L_34)), L_37, ((int32_t)il2cpp_codegen_add(L_40, L_41)), /*hidden argument*/NULL);
|
|
NullCheck(L_30);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_30)->___Pos_0 = L_42;
|
|
NullCheck(L_28);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_28, L_30, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00af:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_43 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_43, 1));
|
|
}
|
|
|
|
IL_00b3:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_44 = V_2;
|
|
if ((((int32_t)L_44) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_45 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_45, 1));
|
|
}
|
|
|
|
IL_00be:
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_46 = V_1;
|
|
if ((((int32_t)L_46) <= ((int32_t)1)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return cells;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_47 = V_0;
|
|
return L_47;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.SpawnRules::GetSpawnRotated(FIMSpace.Generating.FieldCell,UnityEngine.Quaternion,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* SpawnRules_GetSpawnRotated_mB9BC7DEAF1747EB22D8C7DC8D3E320A7229CB8D1 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_targetRot, float ___2_tolerance, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_2 = NULL;
|
|
{
|
|
// var spawns = cell.CollectSpawns();
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
NullCheck(L_0);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_1;
|
|
L_1 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_0, 1, (bool)0, NULL);
|
|
V_0 = L_1;
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_002f;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// var s = spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_2 = V_0;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4;
|
|
L_4 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_2, L_3, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_2 = L_4;
|
|
// if (Quaternion.Angle(Quaternion.Euler(s.RotationOffset), targetRot) < tolerance)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_5 = V_2;
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = L_5->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_6, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___1_targetRot;
|
|
float L_9;
|
|
L_9 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_7, L_8, NULL);
|
|
float L_10 = ___2_tolerance;
|
|
if ((!(((float)L_9) < ((float)L_10))))
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// return s;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_11 = V_2;
|
|
return L_11;
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_12 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
}
|
|
|
|
IL_002f:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_13 = V_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_14 = V_0;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_14, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_13) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return null;
|
|
return (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.SpawnRules::GetNearest(FIMSpace.Generating.FieldCell,UnityEngine.Vector3,FIMSpace.Generating.FieldSetup,System.Single,System.Func`2<FIMSpace.Generating.SpawnData,System.Boolean>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* SpawnRules_GetNearest_mCB3CDE2123C0E048B1F14F9F65E7F4C7BAFA7CCF (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_wpos, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_forNearestCheck, float ___3_maxDistance, Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9* ___4_iterationCondition, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_5 = NULL;
|
|
float V_6 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
{
|
|
// var spawns = cell.CollectSpawns();
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
NullCheck(L_0);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_1;
|
|
L_1 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_0, 1, (bool)0, NULL);
|
|
V_0 = L_1;
|
|
// float nearest = float.MaxValue;
|
|
V_1 = ((std::numeric_limits<float>::max)());
|
|
// float maxDistSqrt = maxDistance * maxDistance;
|
|
float L_2 = ___3_maxDistance;
|
|
float L_3 = ___3_maxDistance;
|
|
V_2 = ((float)il2cpp_codegen_multiply(L_2, L_3));
|
|
// SpawnData nesrSp = null;
|
|
V_3 = (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_006c;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// var s = spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_4 = V_0;
|
|
int32_t L_5 = V_4;
|
|
NullCheck(L_4);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6;
|
|
L_6 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_4, L_5, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_5 = L_6;
|
|
// if (s.DontSpawnMainPrefab) continue;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7 = V_5;
|
|
NullCheck(L_7);
|
|
bool L_8 = L_7->___DontSpawnMainPrefab_7;
|
|
if (L_8)
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// refPos = (s.GetWorldPositionWithFullOffset(forNearestCheck));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9 = V_5;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_10 = ___2_forNearestCheck;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = SpawnData_GetWorldPositionWithFullOffset_m45DAE8D6B353C1EABC54D7B7A1D721400289D7C4(L_9, L_10, (bool)0, NULL);
|
|
// dist = (refPos - wpos).sqrMagnitude;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = ___1_wpos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_11, L_12, NULL);
|
|
V_7 = L_13;
|
|
float L_14;
|
|
L_14 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_7), NULL);
|
|
V_6 = L_14;
|
|
// if (dist > maxDistSqrt) continue;
|
|
float L_15 = V_6;
|
|
float L_16 = V_2;
|
|
if ((((float)L_15) > ((float)L_16)))
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// if (iterationCondition != null)
|
|
Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9* L_17 = ___4_iterationCondition;
|
|
if (!L_17)
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
// if (iterationCondition.Invoke(s) == false) continue;
|
|
Func_2_t800C970331044D7EC6CA25997032D19C46F4F6B9* L_18 = ___4_iterationCondition;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = V_5;
|
|
NullCheck(L_18);
|
|
bool L_20;
|
|
L_20 = Func_2_Invoke_m29C19E51C51AAD8469FE136E9D3E96FA72AA2B99_inline(L_18, L_19, NULL);
|
|
if (!L_20)
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// if (dist < nearest)
|
|
float L_21 = V_6;
|
|
float L_22 = V_1;
|
|
if ((!(((float)L_21) < ((float)L_22))))
|
|
{
|
|
goto IL_0066;
|
|
}
|
|
}
|
|
{
|
|
// nearest = dist;
|
|
float L_23 = V_6;
|
|
V_1 = L_23;
|
|
// nesrSp = s;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_24 = V_5;
|
|
V_3 = L_24;
|
|
}
|
|
|
|
IL_0066:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_25 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_006c:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_26 = V_4;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_27 = V_0;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_27, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_26) < ((int32_t)L_28)))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// return nesrSp;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_29 = V_3;
|
|
return L_29;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.SpawnRules::GetSpawnRotated(FIMSpace.Generating.FieldCell,UnityEngine.Quaternion,FIMSpace.Generating.FieldModification,System.String,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* SpawnRules_GetSpawnRotated_mE5AE69B047F898A596D32B983042D5FCB2D26891 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_targetRot, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___2_mustHaveMod, String_t* ___3_cantHaveStigma, float ___4_tolerance, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_2 = NULL;
|
|
bool V_3 = false;
|
|
{
|
|
// var spawns = cell.CollectSpawns();
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
NullCheck(L_0);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_1;
|
|
L_1 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_0, 1, (bool)0, NULL);
|
|
V_0 = L_1;
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_0062;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// var s = spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_2 = V_0;
|
|
int32_t L_3 = V_1;
|
|
NullCheck(L_2);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4;
|
|
L_4 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_2, L_3, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_2 = L_4;
|
|
// bool mod = false;
|
|
V_3 = (bool)0;
|
|
// if (mustHaveMod != null) mod = s.OwnerMod == mustHaveMod;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_5 = ___2_mustHaveMod;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_5, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
// if (mustHaveMod != null) mod = s.OwnerMod == mustHaveMod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7 = V_2;
|
|
NullCheck(L_7);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_8 = L_7->___OwnerMod_9;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_9 = ___2_mustHaveMod;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_10;
|
|
L_10 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_8, L_9, NULL);
|
|
V_3 = L_10;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// if (mod) if (!string.IsNullOrEmpty(cantHaveStigma)) if (s.GetCustomStigma(cantHaveStigma)) mod = false;
|
|
bool L_11 = V_3;
|
|
if (!L_11)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// if (mod) if (!string.IsNullOrEmpty(cantHaveStigma)) if (s.GetCustomStigma(cantHaveStigma)) mod = false;
|
|
String_t* L_12 = ___3_cantHaveStigma;
|
|
bool L_13;
|
|
L_13 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_12, NULL);
|
|
if (L_13)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// if (mod) if (!string.IsNullOrEmpty(cantHaveStigma)) if (s.GetCustomStigma(cantHaveStigma)) mod = false;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_14 = V_2;
|
|
String_t* L_15 = ___3_cantHaveStigma;
|
|
NullCheck(L_14);
|
|
bool L_16;
|
|
L_16 = SpawnData_GetCustomStigma_mF98DE02C17FBCCFC17027990FDA64381ED40AE88(L_14, L_15, (bool)0, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_0044;
|
|
}
|
|
}
|
|
{
|
|
// if (mod) if (!string.IsNullOrEmpty(cantHaveStigma)) if (s.GetCustomStigma(cantHaveStigma)) mod = false;
|
|
V_3 = (bool)0;
|
|
}
|
|
|
|
IL_0044:
|
|
{
|
|
// if (mod)
|
|
bool L_17 = V_3;
|
|
if (!L_17)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// if (Quaternion.Angle(Quaternion.Euler(s.RotationOffset), targetRot) < tolerance)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18 = V_2;
|
|
NullCheck(L_18);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19 = L_18->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
|
|
L_20 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_19, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_21 = ___1_targetRot;
|
|
float L_22;
|
|
L_22 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_20, L_21, NULL);
|
|
float L_23 = ___4_tolerance;
|
|
if ((!(((float)L_22) < ((float)L_23))))
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// return s;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_24 = V_2;
|
|
return L_24;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_25 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_25, 1));
|
|
}
|
|
|
|
IL_0062:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++)
|
|
int32_t L_26 = V_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_27 = V_0;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_27, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_26) < ((int32_t)L_28)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return null;
|
|
return (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.SpawnRules::GetSpawnWithStigma(FIMSpace.Generating.FieldCell,System.String,FIMSpace.Generating.FieldModification)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* SpawnRules_GetSpawnWithStigma_m7A91AC457521FD5D0763E717E9383D9AE412FC43 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, String_t* ___1_stigma, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___2_onlyMod, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
{
|
|
// var spawns = cell.CollectSpawns();
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
NullCheck(L_0);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_1;
|
|
L_1 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_0, 1, (bool)0, NULL);
|
|
V_0 = L_1;
|
|
// if (onlyMod == null)
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_2 = ___2_onlyMod;
|
|
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_003d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
V_1 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_4 = V_0;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6;
|
|
L_6 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_4, L_5, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
String_t* L_7 = ___1_stigma;
|
|
NullCheck(L_6);
|
|
bool L_8;
|
|
L_8 = SpawnData_GetCustomStigma_mF98DE02C17FBCCFC17027990FDA64381ED40AE88(L_6, L_7, (bool)0, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_9 = V_0;
|
|
int32_t L_10 = V_1;
|
|
NullCheck(L_9);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_11;
|
|
L_11 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_9, L_10, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
return L_11;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
int32_t L_12 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_12, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
int32_t L_13 = V_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_14 = V_0;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_14, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_13) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
goto IL_007a;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == onlyMod) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
V_2 = 0;
|
|
goto IL_0071;
|
|
}
|
|
|
|
IL_0041:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == onlyMod) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_16 = V_0;
|
|
int32_t L_17 = V_2;
|
|
NullCheck(L_16);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18;
|
|
L_18 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_16, L_17, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_18);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_19 = L_18->___OwnerMod_9;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_20 = ___2_onlyMod;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_21;
|
|
L_21 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_19, L_20, NULL);
|
|
if (!L_21)
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == onlyMod) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_22 = V_0;
|
|
int32_t L_23 = V_2;
|
|
NullCheck(L_22);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_24;
|
|
L_24 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_22, L_23, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
String_t* L_25 = ___1_stigma;
|
|
NullCheck(L_24);
|
|
bool L_26;
|
|
L_26 = SpawnData_GetCustomStigma_mF98DE02C17FBCCFC17027990FDA64381ED40AE88(L_24, L_25, (bool)0, NULL);
|
|
if (!L_26)
|
|
{
|
|
goto IL_006d;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == onlyMod) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_27 = V_0;
|
|
int32_t L_28 = V_2;
|
|
NullCheck(L_27);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_29;
|
|
L_29 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_27, L_28, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
return L_29;
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == onlyMod) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
int32_t L_30 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == onlyMod) if (spawns[i].GetCustomStigma(stigma)) return spawns[i];
|
|
int32_t L_31 = V_2;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_32 = V_0;
|
|
NullCheck(L_32);
|
|
int32_t L_33;
|
|
L_33 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_32, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_31) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_0041;
|
|
}
|
|
}
|
|
|
|
IL_007a:
|
|
{
|
|
// return null;
|
|
return (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnData FIMSpace.Generating.Rules.SpawnRules::GetSpawnWithExactMod(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FieldModification)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* SpawnRules_GetSpawnWithExactMod_m05D989E6D39E6DD4ADD62F3A41FB21CBADF31D1A (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// var spawns = cell.CollectSpawns();
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
NullCheck(L_0);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_1;
|
|
L_1 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_0, 1, (bool)0, NULL);
|
|
V_0 = L_1;
|
|
// if (mod == null)
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_2 = ___1_mod;
|
|
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_0014;
|
|
}
|
|
}
|
|
{
|
|
// return null;
|
|
return (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == mod) return spawns[i];
|
|
V_1 = 0;
|
|
goto IL_0038;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == mod) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_4 = V_0;
|
|
int32_t L_5 = V_1;
|
|
NullCheck(L_4);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6;
|
|
L_6 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_4, L_5, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_6);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_7 = L_6->___OwnerMod_9;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_8 = ___1_mod;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == mod) return spawns[i];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_10 = V_0;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_12;
|
|
L_12 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_10, L_11, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
return L_12;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == mod) return spawns[i];
|
|
int32_t L_13 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// for (int i = 0; i < spawns.Count; i++) if (spawns[i].OwnerMod == mod) return spawns[i];
|
|
int32_t L_14 = V_1;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_15 = V_0;
|
|
NullCheck(L_15);
|
|
int32_t L_16;
|
|
L_16 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_15, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_14) < ((int32_t)L_16)))
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
{
|
|
// return null;
|
|
return (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.SpawnRules::IsSpawnRotated(FIMSpace.Generating.SpawnData,UnityEngine.Quaternion)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SpawnRules_IsSpawnRotated_mE6B27E4A5925F1E990E14BD9F09CD00A9EF7D8A1 (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_targetRotation, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (Quaternion.Angle(Quaternion.Euler(spawn.RotationOffset), targetRotation) < 1f) return true;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_0 = ___0_spawn;
|
|
NullCheck(L_0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = L_0->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_1, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ___1_targetRotation;
|
|
float L_4;
|
|
L_4 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_2, L_3, NULL);
|
|
if ((!(((float)L_4) < ((float)(1.0f)))))
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (Quaternion.Angle(Quaternion.Euler(spawn.RotationOffset), targetRotation) < 1f) return true;
|
|
return (bool)1;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursPLUS(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursPLUS_m5C0D2A972CD61CC15C3559148B9029717A350BFF (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
{
|
|
// List<FieldCell> cells = new List<FieldCell>();
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_0 = (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*)il2cpp_codegen_object_new(List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1(L_0, List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// for (int x = -1; x <= 1; x++)
|
|
V_1 = (-1);
|
|
goto IL_00a8;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
V_2 = (-1);
|
|
goto IL_009d;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (x == 0 && z == 0) continue; // Ignore self
|
|
int32_t L_1 = V_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// if (x != 0 && z != 0) continue; // Ignore diagonals
|
|
int32_t L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = V_2;
|
|
if (L_4)
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// FieldCell nCell = grid.GetCell(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_5 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_6 = ___0_cell;
|
|
NullCheck(L_6);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_7 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_6)->___Pos_0);
|
|
int32_t L_8;
|
|
L_8 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_7, NULL);
|
|
int32_t L_9 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = ___0_cell;
|
|
NullCheck(L_10);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_11 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_10)->___Pos_0);
|
|
int32_t L_12;
|
|
L_12 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_11, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_13 = ___0_cell;
|
|
NullCheck(L_13);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_14 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_13)->___Pos_0);
|
|
int32_t L_15;
|
|
L_15 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_14, NULL);
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_5);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17;
|
|
L_17 = FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499(L_5, ((int32_t)il2cpp_codegen_add(L_8, L_9)), L_12, ((int32_t)il2cpp_codegen_add(L_15, L_16)), (bool)0, FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
V_3 = L_17;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(nCell))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_19;
|
|
L_19 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_18, NULL);
|
|
if (!L_19)
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(nCell);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_20 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_21 = V_3;
|
|
NullCheck(L_20);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_20, L_21, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
goto IL_0099;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// cells.Add(new FieldCell() { Pos = new Vector3Int(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z) });
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_22 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_23 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_23);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_23, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_24 = L_23;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_25 = ___0_cell;
|
|
NullCheck(L_25);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_26 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_25)->___Pos_0);
|
|
int32_t L_27;
|
|
L_27 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_26, NULL);
|
|
int32_t L_28 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_29 = ___0_cell;
|
|
NullCheck(L_29);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_30 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_29)->___Pos_0);
|
|
int32_t L_31;
|
|
L_31 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_30, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_32 = ___0_cell;
|
|
NullCheck(L_32);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_33 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_32)->___Pos_0);
|
|
int32_t L_34;
|
|
L_34 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_33, NULL);
|
|
int32_t L_35 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_36;
|
|
memset((&L_36), 0, sizeof(L_36));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_36), ((int32_t)il2cpp_codegen_add(L_27, L_28)), L_31, ((int32_t)il2cpp_codegen_add(L_34, L_35)), /*hidden argument*/NULL);
|
|
NullCheck(L_24);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_24)->___Pos_0 = L_36;
|
|
NullCheck(L_22);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_22, L_24, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_37 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_009d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_38 = V_2;
|
|
if ((((int32_t)L_38) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_39 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_39, 1));
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_40 = V_1;
|
|
if ((((int32_t)L_40) <= ((int32_t)1)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return cells;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_41 = V_0;
|
|
return L_41;
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.FieldCell> FIMSpace.Generating.Rules.SpawnRules::GetTargetNeightboursPLUS(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.Rules.ESR_Space,System.String,FIMSpace.Generating.Rules.ESR_Details,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* SpawnRules_GetTargetNeightboursPLUS_m2E7F95EE322672D6B202A8ED3E89BFB4A8B5E5A5 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_targetState, String_t* ___3_tags, int32_t ___4_checkMode, bool ___5_useStateORTag, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
int32_t V_2 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
{
|
|
// List<FieldCell> cells = new List<FieldCell>();
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_0 = (List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7*)il2cpp_codegen_object_new(List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1(L_0, List_1__ctor_m8A20A7B7869A16442121DB2B0810155990A7AEA1_RuntimeMethod_var);
|
|
V_0 = L_0;
|
|
// for (int x = -1; x <= 1; x++)
|
|
V_1 = (-1);
|
|
goto IL_00c0;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
V_2 = (-1);
|
|
goto IL_00b5;
|
|
}
|
|
|
|
IL_0014:
|
|
{
|
|
// if (x == 0 && z == 0) continue; // Ignore self
|
|
int32_t L_1 = V_1;
|
|
if (L_1)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = V_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// if (x != 0 && z != 0) continue; // Ignore diagonals
|
|
int32_t L_3 = V_1;
|
|
if (!L_3)
|
|
{
|
|
goto IL_0026;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4 = V_2;
|
|
if (L_4)
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
|
|
IL_0026:
|
|
{
|
|
// FieldCell nCell = grid.GetCell(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_5 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_6 = ___0_cell;
|
|
NullCheck(L_6);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_7 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_6)->___Pos_0);
|
|
int32_t L_8;
|
|
L_8 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_7, NULL);
|
|
int32_t L_9 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = ___0_cell;
|
|
NullCheck(L_10);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_11 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_10)->___Pos_0);
|
|
int32_t L_12;
|
|
L_12 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_11, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_13 = ___0_cell;
|
|
NullCheck(L_13);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_14 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_13)->___Pos_0);
|
|
int32_t L_15;
|
|
L_15 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_14, NULL);
|
|
int32_t L_16 = V_2;
|
|
NullCheck(L_5);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17;
|
|
L_17 = FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499(L_5, ((int32_t)il2cpp_codegen_add(L_8, L_9)), L_12, ((int32_t)il2cpp_codegen_add(L_15, L_16)), (bool)0, FGenGraph_2_GetCell_mE6AE8333A2FF46E36FC476F9C583EB5043342499_RuntimeMethod_var);
|
|
V_3 = L_17;
|
|
// if (SpawnRules.CheckNeightbourCellAllow(targetState, nCell, tags, checkMode, useStateORTag) == false) continue;
|
|
int32_t L_18 = ___2_targetState;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_19 = V_3;
|
|
String_t* L_20 = ___3_tags;
|
|
int32_t L_21 = ___4_checkMode;
|
|
bool L_22 = ___5_useStateORTag;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_23;
|
|
L_23 = SpawnRules_CheckNeightbourCellAllow_mAF0C5EF8D8B69FCFA8CD4DBF6EDBA2814A81A4F7(L_18, L_19, L_20, L_21, L_22, NULL);
|
|
if (!L_23)
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(nCell))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_24 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_25;
|
|
L_25 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_24, NULL);
|
|
if (!L_25)
|
|
{
|
|
goto IL_0072;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(nCell);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_26 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_27 = V_3;
|
|
NullCheck(L_26);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_26, L_27, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
goto IL_00b1;
|
|
}
|
|
|
|
IL_0072:
|
|
{
|
|
// if (targetState == ESR_Space.OutOfGrid)
|
|
int32_t L_28 = ___2_targetState;
|
|
if ((!(((uint32_t)L_28) == ((uint32_t)2))))
|
|
{
|
|
goto IL_00b1;
|
|
}
|
|
}
|
|
{
|
|
// cells.Add(new FieldCell() { Pos = new Vector3Int(cell.Pos.x + x, cell.Pos.y, cell.Pos.z + z) });
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_29 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_30 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_30);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_30, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_31 = L_30;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_32 = ___0_cell;
|
|
NullCheck(L_32);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_33 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_32)->___Pos_0);
|
|
int32_t L_34;
|
|
L_34 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline(L_33, NULL);
|
|
int32_t L_35 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_36 = ___0_cell;
|
|
NullCheck(L_36);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_37 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_36)->___Pos_0);
|
|
int32_t L_38;
|
|
L_38 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline(L_37, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_39 = ___0_cell;
|
|
NullCheck(L_39);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376* L_40 = (&((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_39)->___Pos_0);
|
|
int32_t L_41;
|
|
L_41 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline(L_40, NULL);
|
|
int32_t L_42 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_43;
|
|
memset((&L_43), 0, sizeof(L_43));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_43), ((int32_t)il2cpp_codegen_add(L_34, L_35)), L_38, ((int32_t)il2cpp_codegen_add(L_41, L_42)), /*hidden argument*/NULL);
|
|
NullCheck(L_31);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_31)->___Pos_0 = L_43;
|
|
NullCheck(L_29);
|
|
List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_inline(L_29, L_31, List_1_Add_mEE09356D8AF2AE74154C8AF03EEDD1ABEE4977A6_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00b1:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_44 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_44, 1));
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
// for (int z = -1; z <= 1; z++)
|
|
int32_t L_45 = V_2;
|
|
if ((((int32_t)L_45) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0014;
|
|
}
|
|
}
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_46 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_46, 1));
|
|
}
|
|
|
|
IL_00c0:
|
|
{
|
|
// for (int x = -1; x <= 1; x++)
|
|
int32_t L_47 = V_1;
|
|
if ((((int32_t)L_47) <= ((int32_t)1)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// return cells;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_48 = V_0;
|
|
return L_48;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.Rules.SpawnRules::GetCellOffset(FIMSpace.Generating.Rules.SpawnRules/CellOffset)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3 (int32_t ___0_off, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_off;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0031;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
case 5:
|
|
{
|
|
goto IL_0055;
|
|
}
|
|
case 6:
|
|
{
|
|
goto IL_005e;
|
|
}
|
|
case 7:
|
|
{
|
|
goto IL_0067;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0070;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// case CellOffset.Angle0: return new Vector3Int(0, 0, 1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_1), 0, 0, 1, /*hidden argument*/NULL);
|
|
return L_1;
|
|
}
|
|
|
|
IL_0031:
|
|
{
|
|
// case CellOffset.Angle90: return new Vector3Int(1, 0, 0);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_2), 1, 0, 0, /*hidden argument*/NULL);
|
|
return L_2;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// case CellOffset.Angle180: return new Vector3Int(0, 0, -1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_3), 0, 0, (-1), /*hidden argument*/NULL);
|
|
return L_3;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// case CellOffset.Angle270: return new Vector3Int(-1, 0, 0);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_4;
|
|
memset((&L_4), 0, sizeof(L_4));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_4), (-1), 0, 0, /*hidden argument*/NULL);
|
|
return L_4;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// case CellOffset.Angle45: return new Vector3Int(1, 0, 1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_5;
|
|
memset((&L_5), 0, sizeof(L_5));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_5), 1, 0, 1, /*hidden argument*/NULL);
|
|
return L_5;
|
|
}
|
|
|
|
IL_0055:
|
|
{
|
|
// case CellOffset.Angle135: return new Vector3Int(-1, 0, 1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_6), (-1), 0, 1, /*hidden argument*/NULL);
|
|
return L_6;
|
|
}
|
|
|
|
IL_005e:
|
|
{
|
|
// case CellOffset.Angle225: return new Vector3Int(-1, 0, -1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_7;
|
|
memset((&L_7), 0, sizeof(L_7));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_7), (-1), 0, (-1), /*hidden argument*/NULL);
|
|
return L_7;
|
|
}
|
|
|
|
IL_0067:
|
|
{
|
|
// case CellOffset.Angle315: return new Vector3Int(1, 0, -1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_8), 1, 0, (-1), /*hidden argument*/NULL);
|
|
return L_8;
|
|
}
|
|
|
|
IL_0070:
|
|
{
|
|
// default: return Vector3Int.zero;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9;
|
|
L_9 = Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline(NULL);
|
|
return L_9;
|
|
}
|
|
}
|
|
// UnityEngine.Quaternion FIMSpace.Generating.Rules.SpawnRules::GetCellOffsetQ(FIMSpace.Generating.Rules.SpawnRules/CellOffset)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 SpawnRules_GetCellOffsetQ_mE5A5615FA0AB77D09361A2AE1E7F047C40C62F9A (int32_t ___0_off, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
int32_t L_0 = ___0_off;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_0040;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
case 5:
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
case 6:
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
case 7:
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0058;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// case CellOffset.Angle0: return Step0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step0_6;
|
|
return L_1;
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// case CellOffset.Angle45: return Step45;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step45_7;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// case CellOffset.Angle90: return Step90;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step90_8;
|
|
return L_3;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// case CellOffset.Angle135: return Step135;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step135_9;
|
|
return L_4;
|
|
}
|
|
|
|
IL_0040:
|
|
{
|
|
// case CellOffset.Angle180: return Step180;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step180_10;
|
|
return L_5;
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// case CellOffset.Angle225: return Step225;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step225_11;
|
|
return L_6;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// case CellOffset.Angle270: return Step270;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step270_12;
|
|
return L_7;
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// case CellOffset.Angle315: return Step315;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step315_13;
|
|
return L_8;
|
|
}
|
|
|
|
IL_0058:
|
|
{
|
|
// default: return Step0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = ((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step0_6;
|
|
return L_9;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.Rules.SpawnRules/CellOffset FIMSpace.Generating.Rules.SpawnRules::GetCellOffset45Step(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpawnRules_GetCellOffset45Step_mC20D1EF7062F889845434C80957CB0A50CBE5399 (int32_t ___0_id, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = ___0_id;
|
|
switch (L_0)
|
|
{
|
|
case 0:
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
case 1:
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
case 2:
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
case 3:
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
case 4:
|
|
{
|
|
goto IL_0030;
|
|
}
|
|
case 5:
|
|
{
|
|
goto IL_0032;
|
|
}
|
|
case 6:
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
case 7:
|
|
{
|
|
goto IL_0036;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
goto IL_0038;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// case 0: return CellOffset.Angle0;
|
|
return (int32_t)(0);
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// case 1: return CellOffset.Angle45;
|
|
return (int32_t)(4);
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// case 2: return CellOffset.Angle90;
|
|
return (int32_t)(1);
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// case 3: return CellOffset.Angle135;
|
|
return (int32_t)(5);
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// case 4: return CellOffset.Angle180;
|
|
return (int32_t)(2);
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// case 5: return CellOffset.Angle225;
|
|
return (int32_t)(6);
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// case 6: return CellOffset.Angle270;
|
|
return (int32_t)(3);
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// case 7: return CellOffset.Angle315;
|
|
return (int32_t)(7);
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
// default: return CellOffset.Angle0;
|
|
return (int32_t)(0);
|
|
}
|
|
}
|
|
// UnityEngine.Vector3 FIMSpace.Generating.Rules.SpawnRules::V2toV3(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 SpawnRules_V2toV3_mFF9EEC98F55DEC3904D9F06DE3030EAE1B55F057 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_flat, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector3(flat.x, 0, flat.y);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_flat;
|
|
float L_1 = L_0.___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2 = ___0_flat;
|
|
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, (0.0f), L_3, /*hidden argument*/NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
// UnityEngine.Vector3Int FIMSpace.Generating.Rules.SpawnRules::V2toV3Int(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 SpawnRules_V2toV3Int_m946B5AB5D6A8F17F3D1F2C76A0679C1E097DEB71 (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_flat, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector3Int(Mathf.RoundToInt(flat.x), 0, Mathf.RoundToInt(flat.y));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_flat;
|
|
float L_1 = L_0.___x_0;
|
|
int32_t L_2;
|
|
L_2 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(L_1, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___0_flat;
|
|
float L_4 = L_3.___y_1;
|
|
int32_t L_5;
|
|
L_5 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(L_4, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_6), L_2, 0, L_5, /*hidden argument*/NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// UnityEngine.Vector2Int FIMSpace.Generating.Rules.SpawnRules::V2toV2Int(UnityEngine.Vector2)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A SpawnRules_V2toV2Int_m392CC317B77B214453844467E5153259D938DCAA (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_flat, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Vector2Int(Mathf.RoundToInt(flat.x), Mathf.RoundToInt(flat.y));
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___0_flat;
|
|
float L_1 = L_0.___x_0;
|
|
int32_t L_2;
|
|
L_2 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(L_1, NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___0_flat;
|
|
float L_4 = L_3.___y_1;
|
|
int32_t L_5;
|
|
L_5 = Mathf_RoundToInt_m60F8B66CF27F1FA75AA219342BD184B75771EB4B_inline(L_4, NULL);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector2Int__ctor_mC20D1312133EB8CB63EC11067088B043660F11CE_inline((&L_6), L_2, L_5, /*hidden argument*/NULL);
|
|
return L_6;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.Rules.SpawnRules/CellOffset FIMSpace.Generating.Rules.SpawnRules::Get90Offset(System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SpawnRules_Get90Offset_m24A01BB5E6E1CE0FB01519E6D8B1C5BE6D85282D (int32_t ___0_step, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (step == 0) return CellOffset.Angle0;
|
|
int32_t L_0 = ___0_step;
|
|
if (L_0)
|
|
{
|
|
goto IL_0005;
|
|
}
|
|
}
|
|
{
|
|
// if (step == 0) return CellOffset.Angle0;
|
|
return (int32_t)(0);
|
|
}
|
|
|
|
IL_0005:
|
|
{
|
|
// else if (step == 1) return CellOffset.Angle90;
|
|
int32_t L_1 = ___0_step;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// else if (step == 1) return CellOffset.Angle90;
|
|
return (int32_t)(1);
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// else if (step == 2) return CellOffset.Angle180;
|
|
int32_t L_2 = ___0_step;
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0011;
|
|
}
|
|
}
|
|
{
|
|
// else if (step == 2) return CellOffset.Angle180;
|
|
return (int32_t)(2);
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// else return CellOffset.Angle270;
|
|
return (int32_t)(3);
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.Rules.SpawnRules::GetAngledNeightbour(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.Rules.SpawnRules/CellOffset)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldCell_t0474210B4815B1D080500050D625323788B306F9* SpawnRules_GetAngledNeightbour_mD3FB5FFE83FD07106ED6BFD375FA16B02C94982A (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_angle, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_0 = NULL;
|
|
{
|
|
// FieldCell c = grid.GetCell(cell.Pos + GetCellOffset(angle), false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_0 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_1 = ___0_cell;
|
|
NullCheck(L_1);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_2 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_1)->___Pos_0;
|
|
int32_t L_3 = ___2_angle;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_4;
|
|
L_4 = SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3(L_3, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_5;
|
|
L_5 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_2, L_4, NULL);
|
|
NullCheck(L_0);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_6;
|
|
L_6 = FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E(L_0, L_5, (bool)0, FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
V_0 = L_6;
|
|
// if (FGenerators.CheckIfIsNull(c))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_7 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_7, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// c = new FieldCell() { Pos = cell.Pos + (GetCellOffset(angle)), InTargetGridArea = false };
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_9 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_9);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_9, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = L_9;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11 = ___0_cell;
|
|
NullCheck(L_11);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_12 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_11)->___Pos_0;
|
|
int32_t L_13 = ___2_angle;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_14;
|
|
L_14 = SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3(L_13, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_15;
|
|
L_15 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_12, L_14, NULL);
|
|
NullCheck(L_10);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_10)->___Pos_0 = L_15;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_16 = L_10;
|
|
NullCheck(L_16);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_16)->___InTargetGridArea_1 = (bool)0;
|
|
V_0 = L_16;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// return c;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17 = V_0;
|
|
return L_17;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.Rules.SpawnRules::GetAngledNeightbour45(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldCell_t0474210B4815B1D080500050D625323788B306F9* SpawnRules_GetAngledNeightbour45_m26312A21D7A6A568856E9E863557ACBE247F4025 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_angleId, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_0 = NULL;
|
|
{
|
|
// if (angleId > 7) angleId -= 8;
|
|
int32_t L_0 = ___2_angleId;
|
|
if ((((int32_t)L_0) <= ((int32_t)7)))
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (angleId > 7) angleId -= 8;
|
|
int32_t L_1 = ___2_angleId;
|
|
___2_angleId = ((int32_t)il2cpp_codegen_subtract(L_1, 8));
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (angleId < 0) angleId += 8;
|
|
int32_t L_2 = ___2_angleId;
|
|
if ((((int32_t)L_2) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// if (angleId < 0) angleId += 8;
|
|
int32_t L_3 = ___2_angleId;
|
|
___2_angleId = ((int32_t)il2cpp_codegen_add(L_3, 8));
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// FieldCell c = grid.GetCell(cell.Pos + GetCellOffset(GetCellOffset45Step(angleId)), false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_5 = ___0_cell;
|
|
NullCheck(L_5);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_5)->___Pos_0;
|
|
int32_t L_7 = ___2_angleId;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
int32_t L_8;
|
|
L_8 = SpawnRules_GetCellOffset45Step_mC20D1EF7062F889845434C80957CB0A50CBE5399(L_7, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9;
|
|
L_9 = SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3(L_8, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_10;
|
|
L_10 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_6, L_9, NULL);
|
|
NullCheck(L_4);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11;
|
|
L_11 = FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E(L_4, L_10, (bool)0, FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
V_0 = L_11;
|
|
// if (FGenerators.CheckIfIsNull(c))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_13;
|
|
L_13 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_12, NULL);
|
|
if (!L_13)
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// c = new FieldCell() { Pos = cell.Pos + (GetCellOffset(GetCellOffset45Step(angleId))), InTargetGridArea = false };
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_14 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_14);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_14, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_15 = L_14;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_16 = ___0_cell;
|
|
NullCheck(L_16);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_17 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_16)->___Pos_0;
|
|
int32_t L_18 = ___2_angleId;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
int32_t L_19;
|
|
L_19 = SpawnRules_GetCellOffset45Step_mC20D1EF7062F889845434C80957CB0A50CBE5399(L_18, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_20;
|
|
L_20 = SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3(L_19, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_21;
|
|
L_21 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_17, L_20, NULL);
|
|
NullCheck(L_15);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_15)->___Pos_0 = L_21;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22 = L_15;
|
|
NullCheck(L_22);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_22)->___InTargetGridArea_1 = (bool)0;
|
|
V_0 = L_22;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// return c;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_23 = V_0;
|
|
return L_23;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FieldCell FIMSpace.Generating.Rules.SpawnRules::GetAngledNeightbour90(FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Int32)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldCell_t0474210B4815B1D080500050D625323788B306F9* SpawnRules_GetAngledNeightbour90_mA7D6971543146A07C09D71265A997DF8AC154529 (FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___1_grid, int32_t ___2_angleId, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_0 = NULL;
|
|
{
|
|
// if (angleId > 3) angleId -= 4;
|
|
int32_t L_0 = ___2_angleId;
|
|
if ((((int32_t)L_0) <= ((int32_t)3)))
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (angleId > 3) angleId -= 4;
|
|
int32_t L_1 = ___2_angleId;
|
|
___2_angleId = ((int32_t)il2cpp_codegen_subtract(L_1, 4));
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (angleId < 0) angleId += 4;
|
|
int32_t L_2 = ___2_angleId;
|
|
if ((((int32_t)L_2) >= ((int32_t)0)))
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// if (angleId < 0) angleId += 4;
|
|
int32_t L_3 = ___2_angleId;
|
|
___2_angleId = ((int32_t)il2cpp_codegen_add(L_3, 4));
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// FieldCell c = grid.GetCell(cell.Pos + GetCellOffset(SpawnRules.Get90Offset(angleId)), false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___1_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_5 = ___0_cell;
|
|
NullCheck(L_5);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_5)->___Pos_0;
|
|
int32_t L_7 = ___2_angleId;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
int32_t L_8;
|
|
L_8 = SpawnRules_Get90Offset_m24A01BB5E6E1CE0FB01519E6D8B1C5BE6D85282D(L_7, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9;
|
|
L_9 = SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3(L_8, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_10;
|
|
L_10 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_6, L_9, NULL);
|
|
NullCheck(L_4);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11;
|
|
L_11 = FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E(L_4, L_10, (bool)0, FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
V_0 = L_11;
|
|
// if (FGenerators.CheckIfIsNull(c))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_13;
|
|
L_13 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_12, NULL);
|
|
if (!L_13)
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// c = new FieldCell() { Pos = cell.Pos + (GetCellOffset(SpawnRules.Get90Offset(angleId))), InTargetGridArea = false };
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_14 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)il2cpp_codegen_object_new(FieldCell_t0474210B4815B1D080500050D625323788B306F9_il2cpp_TypeInfo_var);
|
|
NullCheck(L_14);
|
|
FieldCell__ctor_m2A4A42DE96F3C584CF8E6C22465879B3D47C6D61(L_14, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_15 = L_14;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_16 = ___0_cell;
|
|
NullCheck(L_16);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_17 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_16)->___Pos_0;
|
|
int32_t L_18 = ___2_angleId;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
int32_t L_19;
|
|
L_19 = SpawnRules_Get90Offset_m24A01BB5E6E1CE0FB01519E6D8B1C5BE6D85282D(L_18, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_20;
|
|
L_20 = SpawnRules_GetCellOffset_m127E3F0E3B658A27C64AE6D0F60C60000627A1D3(L_19, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_21;
|
|
L_21 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_17, L_20, NULL);
|
|
NullCheck(L_15);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_15)->___Pos_0 = L_21;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22 = L_15;
|
|
NullCheck(L_22);
|
|
((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_22)->___InTargetGridArea_1 = (bool)0;
|
|
V_0 = L_22;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// return c;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_23 = V_0;
|
|
return L_23;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.SpawnRules::.cctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SpawnRules__cctor_m379FBBB34E5E35ACC5DFA53CF82856CDCB1F705D (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// static readonly Quaternion Q0 = Quaternion.Euler(0, 0, 0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0;
|
|
L_0 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (0.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q0_0 = L_0;
|
|
// static readonly Quaternion Q90 = Quaternion.Euler(0, 90, 0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (90.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q90_1 = L_1;
|
|
// static readonly Quaternion Q180 = Quaternion.Euler(0, 180, 0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (180.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q180_2 = L_2;
|
|
// static readonly Quaternion Q270 = Quaternion.Euler(0, 270, 0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_3;
|
|
L_3 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (270.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Q270_3 = L_3;
|
|
// static readonly Quaternion QX90 = Quaternion.Euler(90, 0, 0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4;
|
|
L_4 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((90.0f), (0.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___QX90_4 = L_4;
|
|
// static readonly Quaternion QX270 = Quaternion.Euler(270, 0, 0);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_5;
|
|
L_5 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((270.0f), (0.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___QX270_5 = L_5;
|
|
// public static readonly Quaternion Step0 = Quaternion.Euler(0f, 0f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6;
|
|
L_6 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (0.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step0_6 = L_6;
|
|
// public static readonly Quaternion Step45 = Quaternion.Euler(0f, 45f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (45.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step45_7 = L_7;
|
|
// public static readonly Quaternion Step90 = Quaternion.Euler(0f, 90f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8;
|
|
L_8 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (90.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step90_8 = L_8;
|
|
// public static readonly Quaternion Step135 = Quaternion.Euler(0f, 135f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9;
|
|
L_9 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (135.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step135_9 = L_9;
|
|
// public static readonly Quaternion Step180 = Quaternion.Euler(0f, 180f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (180.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step180_10 = L_10;
|
|
// public static readonly Quaternion Step225 = Quaternion.Euler(0f, 225, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (225.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step225_11 = L_11;
|
|
// public static readonly Quaternion Step270 = Quaternion.Euler(0f, 270f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12;
|
|
L_12 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (270.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step270_12 = L_12;
|
|
// public static readonly Quaternion Step315 = Quaternion.Euler(0f, 315f, 0f);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), (315.0f), (0.0f), NULL);
|
|
((SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_StaticFields*)il2cpp_codegen_static_fields_for(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var))->___Step315_13 = L_13;
|
|
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
|
|
// Conversion methods for marshalling of: FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
IL2CPP_EXTERN_C void CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshal_pinvoke(const CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC& unmarshaled, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_pinvoke& marshaled)
|
|
{
|
|
Exception_t* ___parent_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'parent' of type 'CollisionOffsetData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___parent_0Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshal_pinvoke_back(const CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_pinvoke& marshaled, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC& unmarshaled)
|
|
{
|
|
Exception_t* ___parent_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'parent' of type 'CollisionOffsetData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___parent_0Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
IL2CPP_EXTERN_C void CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshal_pinvoke_cleanup(CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_pinvoke& marshaled)
|
|
{
|
|
}
|
|
// Conversion methods for marshalling of: FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
IL2CPP_EXTERN_C void CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshal_com(const CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC& unmarshaled, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_com& marshaled)
|
|
{
|
|
Exception_t* ___parent_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'parent' of type 'CollisionOffsetData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___parent_0Exception, NULL);
|
|
}
|
|
IL2CPP_EXTERN_C void CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshal_com_back(const CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_com& marshaled, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC& unmarshaled)
|
|
{
|
|
Exception_t* ___parent_0Exception = il2cpp_codegen_get_marshal_directive_exception("Cannot marshal field 'parent' of type 'CollisionOffsetData': Reference type field marshaling is not supported.");
|
|
IL2CPP_RAISE_MANAGED_EXCEPTION(___parent_0Exception, NULL);
|
|
}
|
|
// Conversion method for clean up from marshalling of: FIMSpace.Generating.Rules.Helpers.CollisionOffsetData
|
|
IL2CPP_EXTERN_C void CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshal_com_cleanup(CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC_marshaled_com& marshaled)
|
|
{
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::.ctor(FIMSpace.Generating.SpawnData,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void CollisionOffsetData__ctor_m31AE498AE930A8B260E38543C605F9F9619DFCC1 (CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___1_cellOffset, 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*)&GameObject_GetComponentInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_mCEB1DBA2CA3D840367BAC4D8B11329FAFDABD971_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB0E4384089A4BE87DEE8F8EDFB869794963BD02E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* V_1 = NULL;
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* V_2 = NULL;
|
|
float V_3 = 0.0f;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* G_B3_0 = NULL;
|
|
String_t* G_B3_1 = NULL;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* G_B2_0 = NULL;
|
|
String_t* G_B2_1 = NULL;
|
|
String_t* G_B4_0 = NULL;
|
|
String_t* G_B4_1 = NULL;
|
|
{
|
|
// parent = spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_0 = ___0_spawn;
|
|
__this->___parent_0 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___parent_0), (void*)L_0);
|
|
// if (spawn.Prefab == null )
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_1 = ___0_spawn;
|
|
NullCheck(L_1);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_2 = L_1->___Prefab_4;
|
|
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_0036;
|
|
}
|
|
}
|
|
{
|
|
// Debug.LogError("[Interior Generator] Null Prefab in modificator: " + spawn.OwnerMod);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4 = ___0_spawn;
|
|
NullCheck(L_4);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_5 = L_4->___OwnerMod_9;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_6 = L_5;
|
|
G_B2_0 = L_6;
|
|
G_B2_1 = _stringLiteralB0E4384089A4BE87DEE8F8EDFB869794963BD02E;
|
|
if (L_6)
|
|
{
|
|
G_B3_0 = L_6;
|
|
G_B3_1 = _stringLiteralB0E4384089A4BE87DEE8F8EDFB869794963BD02E;
|
|
goto IL_0027;
|
|
}
|
|
}
|
|
{
|
|
G_B4_0 = ((String_t*)(NULL));
|
|
G_B4_1 = G_B2_1;
|
|
goto IL_002c;
|
|
}
|
|
|
|
IL_0027:
|
|
{
|
|
NullCheck(G_B3_0);
|
|
String_t* L_7;
|
|
L_7 = VirtualFuncInvoker0< String_t* >::Invoke(3 /* System.String System.Object::ToString() */, G_B3_0);
|
|
G_B4_0 = L_7;
|
|
G_B4_1 = G_B3_1;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
String_t* L_8;
|
|
L_8 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(G_B4_1, G_B4_0, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Debug_t8394C7EEAECA3689C2C9B9DE9C7166D73596276F_il2cpp_TypeInfo_var);
|
|
Debug_LogError_mB00B2B4468EF3CAF041B038D840820FB84C924B2(L_8, NULL);
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// name = spawn.Prefab.name;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9 = ___0_spawn;
|
|
NullCheck(L_9);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_10 = L_9->___Prefab_4;
|
|
NullCheck(L_10);
|
|
String_t* L_11;
|
|
L_11 = Object_get_name_mAC2F6B897CF1303BA4249B4CB55271AFACBB6392(L_10, NULL);
|
|
__this->___name_8 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___name_8), (void*)L_11);
|
|
// bounds = new Bounds(Vector3.zero, new Vector3(0.1f, 0.1f, 0.1f));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_13), (0.100000001f), (0.100000001f), (0.100000001f), /*hidden argument*/NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_14;
|
|
memset((&L_14), 0, sizeof(L_14));
|
|
Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A((&L_14), L_12, L_13, /*hidden argument*/NULL);
|
|
__this->___bounds_1 = L_14;
|
|
// if ( spawn.PreviewMesh != null)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_15 = ___0_spawn;
|
|
NullCheck(L_15);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_16 = L_15->___PreviewMesh_14;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_17;
|
|
L_17 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_16, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_17)
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// bounds = spawn.PreviewMesh.bounds;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18 = ___0_spawn;
|
|
NullCheck(L_18);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_19 = L_18->___PreviewMesh_14;
|
|
NullCheck(L_19);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_20;
|
|
L_20 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_19, NULL);
|
|
__this->___bounds_1 = L_20;
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// Vector3 eul = spawn.RotationOffset + spawn.LocalRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_21 = ___0_spawn;
|
|
NullCheck(L_21);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = L_21->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_23 = ___0_spawn;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_24, NULL);
|
|
V_0 = L_25;
|
|
// rotation = Quaternion.Euler(eul);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
|
|
L_27 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_26, NULL);
|
|
__this->___rotation_7 = L_27;
|
|
// Renderer filtr = spawn.Prefab.gameObject.GetComponentInChildren<Renderer>();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_28 = ___0_spawn;
|
|
NullCheck(L_28);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_29 = L_28->___Prefab_4;
|
|
NullCheck(L_29);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_30;
|
|
L_30 = GameObject_get_gameObject_m0878015B8CF7F5D432B583C187725810D27B57DC(L_29, NULL);
|
|
NullCheck(L_30);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_31;
|
|
L_31 = GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB(L_30, GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var);
|
|
V_1 = L_31;
|
|
// if (filtr)
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_32 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_33;
|
|
L_33 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_32, NULL);
|
|
if (!L_33)
|
|
{
|
|
goto IL_014f;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Prefab.transform.position = Vector3.zero;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_34 = ___0_spawn;
|
|
NullCheck(L_34);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_35 = L_34->___Prefab_4;
|
|
NullCheck(L_35);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_36;
|
|
L_36 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_35, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37;
|
|
L_37 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_36);
|
|
Transform_set_position_mA1A817124BB41B685043DED2A9BA48CDF37C4156(L_36, L_37, NULL);
|
|
// spawn.Prefab.transform.rotation = rotation;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_38 = ___0_spawn;
|
|
NullCheck(L_38);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_39 = L_38->___Prefab_4;
|
|
NullCheck(L_39);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_40;
|
|
L_40 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_39, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_41 = __this->___rotation_7;
|
|
NullCheck(L_40);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_40, L_41, NULL);
|
|
// bounds = filtr.bounds;
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_42 = V_1;
|
|
NullCheck(L_42);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_43;
|
|
L_43 = Renderer_get_bounds_m390CF334730C3C34E45CE59F1D08C3B9F3109C7C(L_42, NULL);
|
|
__this->___bounds_1 = L_43;
|
|
// if (filtr.transform.parent != null)
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_44 = V_1;
|
|
NullCheck(L_44);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_45;
|
|
L_45 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_44, NULL);
|
|
NullCheck(L_45);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_46;
|
|
L_46 = Transform_get_parent_m65354E28A4C94EC00EBCF03532F7B0718380791E(L_45, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_47;
|
|
L_47 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_46, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_47)
|
|
{
|
|
goto IL_013a;
|
|
}
|
|
}
|
|
{
|
|
// bounds.center -= filtr.transform.TransformVector(filtr.transform.localPosition);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_48 = (&__this->___bounds_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_49 = L_48;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50;
|
|
L_50 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_49, NULL);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_51 = V_1;
|
|
NullCheck(L_51);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_52;
|
|
L_52 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_51, NULL);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_53 = V_1;
|
|
NullCheck(L_53);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_54;
|
|
L_54 = Component_get_transform_m2919A1D81931E6932C7F06D4C2F0AB8DDA9A5371(L_53, NULL);
|
|
NullCheck(L_54);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Transform_get_localPosition_mA9C86B990DF0685EA1061A120218993FDCC60A95(L_54, NULL);
|
|
NullCheck(L_52);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Transform_TransformVector_mFA6FB7570442728CB15D03C696353148711CDD98(L_52, L_55, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
|
|
L_57 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_50, L_56, NULL);
|
|
Bounds_set_center_m891869DD5B1BEEE2D17907BBFB7EB79AAE44884B(L_49, L_57, NULL);
|
|
}
|
|
|
|
IL_013a:
|
|
{
|
|
// spawn.Prefab.transform.rotation = Quaternion.identity;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_58 = ___0_spawn;
|
|
NullCheck(L_58);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_59 = L_58->___Prefab_4;
|
|
NullCheck(L_59);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_60;
|
|
L_60 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_59, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_61;
|
|
L_61 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
NullCheck(L_60);
|
|
Transform_set_rotation_m61340DE74726CF0F9946743A727C4D444397331D(L_60, L_61, NULL);
|
|
}
|
|
|
|
IL_014f:
|
|
{
|
|
// Collider col = spawn.Prefab.GetComponentInChildren<Collider>();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_62 = ___0_spawn;
|
|
NullCheck(L_62);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_63 = L_62->___Prefab_4;
|
|
NullCheck(L_63);
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_64;
|
|
L_64 = GameObject_GetComponentInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_mCEB1DBA2CA3D840367BAC4D8B11329FAFDABD971(L_63, GameObject_GetComponentInChildren_TisCollider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76_mCEB1DBA2CA3D840367BAC4D8B11329FAFDABD971_RuntimeMethod_var);
|
|
V_2 = L_64;
|
|
// if ( col)
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_65 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_66;
|
|
L_66 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_65, NULL);
|
|
if (!L_66)
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
// if (col.bounds.size.magnitude > bounds.size.magnitude)
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_67 = V_2;
|
|
NullCheck(L_67);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_68;
|
|
L_68 = Collider_get_bounds_mCC32F749590E9A85C7930E5355661367F78E4CB4(L_67, NULL);
|
|
V_4 = L_68;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69;
|
|
L_69 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_4), NULL);
|
|
V_5 = L_69;
|
|
float L_70;
|
|
L_70 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_5), NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_71 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_72;
|
|
L_72 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_71, NULL);
|
|
V_5 = L_72;
|
|
float L_73;
|
|
L_73 = Vector3_get_magnitude_mF0D6017E90B345F1F52D1CC564C640F1A847AF2D_inline((&V_5), NULL);
|
|
if ((!(((float)L_70) > ((float)L_73))))
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
// bounds.size = col.bounds.size;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_74 = (&__this->___bounds_1);
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_75 = V_2;
|
|
NullCheck(L_75);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_76;
|
|
L_76 = Collider_get_bounds_mCC32F749590E9A85C7930E5355661367F78E4CB4(L_75, NULL);
|
|
V_4 = L_76;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_4), NULL);
|
|
Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128(L_74, L_77, NULL);
|
|
}
|
|
|
|
IL_01ab:
|
|
{
|
|
// positionOffset = spawn.Offset + Quaternion.Euler(spawn.RotationOffset) * spawn.DirectionalOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_78 = ___0_spawn;
|
|
NullCheck(L_78);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = L_78->___Offset_15;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_80 = ___0_spawn;
|
|
NullCheck(L_80);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81 = L_80->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_82;
|
|
L_82 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_81, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_83 = ___0_spawn;
|
|
NullCheck(L_83);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = L_83->___DirectionalOffset_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_82, L_84, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
|
|
L_86 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_79, L_85, NULL);
|
|
__this->___positionOffset_4 = L_86;
|
|
// scale = spawn.LocalScaleMul;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_87 = ___0_spawn;
|
|
NullCheck(L_87);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88 = L_87->___LocalScaleMul_18;
|
|
__this->___scale_6 = L_88;
|
|
// bounds.size = Vector3.Scale(bounds.size, spawn.Prefab.transform.localScale);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_89 = (&__this->___bounds_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_90 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91;
|
|
L_91 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_90, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_92 = ___0_spawn;
|
|
NullCheck(L_92);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_93 = L_92->___Prefab_4;
|
|
NullCheck(L_93);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_94;
|
|
L_94 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_93, NULL);
|
|
NullCheck(L_94);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
|
|
L_95 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_94, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96;
|
|
L_96 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_91, L_95, NULL);
|
|
Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128(L_89, L_96, NULL);
|
|
// float angle = Quaternion.Angle(rotation, Quaternion.identity);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_97 = __this->___rotation_7;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_98;
|
|
L_98 = Quaternion_get_identity_m7E701AE095ED10FD5EA0B50ABCFDE2EEFF2173A5_inline(NULL);
|
|
float L_99;
|
|
L_99 = Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline(L_97, L_98, NULL);
|
|
V_3 = L_99;
|
|
// if (!filtr && !col)
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_100 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_101;
|
|
L_101 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_100, NULL);
|
|
if (L_101)
|
|
{
|
|
goto IL_02d0;
|
|
}
|
|
}
|
|
{
|
|
Collider_t1CC3163924FCD6C4CC2E816373A929C1E3D55E76* L_102 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_103;
|
|
L_103 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_102, NULL);
|
|
if (L_103)
|
|
{
|
|
goto IL_02d0;
|
|
}
|
|
}
|
|
{
|
|
// if (angle > 45 && angle < 135) bounds.size = new Vector3(bounds.size.z, bounds.size.y, bounds.size.x);
|
|
float L_104 = V_3;
|
|
if ((!(((float)L_104) > ((float)(45.0f)))))
|
|
{
|
|
goto IL_0280;
|
|
}
|
|
}
|
|
{
|
|
float L_105 = V_3;
|
|
if ((!(((float)L_105) < ((float)(135.0f)))))
|
|
{
|
|
goto IL_0280;
|
|
}
|
|
}
|
|
{
|
|
// if (angle > 45 && angle < 135) bounds.size = new Vector3(bounds.size.z, bounds.size.y, bounds.size.x);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_106 = (&__this->___bounds_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_107 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_108;
|
|
L_108 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_107, NULL);
|
|
float L_109 = L_108.___z_4;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_110 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111;
|
|
L_111 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_110, NULL);
|
|
float L_112 = L_111.___y_3;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_113 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114;
|
|
L_114 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_113, NULL);
|
|
float L_115 = L_114.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_116;
|
|
memset((&L_116), 0, sizeof(L_116));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_116), L_109, L_112, L_115, /*hidden argument*/NULL);
|
|
Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128(L_106, L_116, NULL);
|
|
}
|
|
|
|
IL_0280:
|
|
{
|
|
// if (angle < 315 && angle > 225) bounds.size = new Vector3(bounds.size.z, bounds.size.y, bounds.size.x);
|
|
float L_117 = V_3;
|
|
if ((!(((float)L_117) < ((float)(315.0f)))))
|
|
{
|
|
goto IL_02d0;
|
|
}
|
|
}
|
|
{
|
|
float L_118 = V_3;
|
|
if ((!(((float)L_118) > ((float)(225.0f)))))
|
|
{
|
|
goto IL_02d0;
|
|
}
|
|
}
|
|
{
|
|
// if (angle < 315 && angle > 225) bounds.size = new Vector3(bounds.size.z, bounds.size.y, bounds.size.x);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_119 = (&__this->___bounds_1);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_120 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
|
|
L_121 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_120, NULL);
|
|
float L_122 = L_121.___z_4;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_123 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_124;
|
|
L_124 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_123, NULL);
|
|
float L_125 = L_124.___y_3;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_126 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
|
|
L_127 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_126, NULL);
|
|
float L_128 = L_127.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129;
|
|
memset((&L_129), 0, sizeof(L_129));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_129), L_122, L_125, L_128, /*hidden argument*/NULL);
|
|
Bounds_set_size_m950CFB68CDD1BF409E770509A38B958E1AE68128(L_119, L_129, NULL);
|
|
}
|
|
|
|
IL_02d0:
|
|
{
|
|
// if (cellOffset == null) this.cellOffset = Vector3.zero; else this.cellOffset = cellOffset.Value;
|
|
bool L_130;
|
|
L_130 = Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_inline((&___1_cellOffset), Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var);
|
|
if (L_130)
|
|
{
|
|
goto IL_02e6;
|
|
}
|
|
}
|
|
{
|
|
// if (cellOffset == null) this.cellOffset = Vector3.zero; else this.cellOffset = cellOffset.Value;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131;
|
|
L_131 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___cellOffset_5 = L_131;
|
|
goto IL_02f3;
|
|
}
|
|
|
|
IL_02e6:
|
|
{
|
|
// if (cellOffset == null) this.cellOffset = Vector3.zero; else this.cellOffset = cellOffset.Value;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
|
|
L_132 = Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792((&___1_cellOffset), Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
__this->___cellOffset_5 = L_132;
|
|
}
|
|
|
|
IL_02f3:
|
|
{
|
|
// prbounds = PRBounds(bounds, scale, positionOffset - this.cellOffset);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_133 = __this->___bounds_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_134 = __this->___scale_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_135 = __this->___positionOffset_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_136 = __this->___cellOffset_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_137;
|
|
L_137 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_135, L_136, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_138;
|
|
L_138 = CollisionOffsetData_PRBounds_mBB885AAD418DC804D802A5DC6A457911DEC715BF(L_133, L_134, L_137, NULL);
|
|
__this->___prbounds_3 = L_138;
|
|
// boundsWithSpawnOff = new Bounds(bounds.center + spawn.GetFullOffset(true), bounds.size);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_139 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_140;
|
|
L_140 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_139, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_141 = ___0_spawn;
|
|
NullCheck(L_141);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142;
|
|
L_142 = SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3(L_141, (bool)1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143;
|
|
L_143 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_140, L_142, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_144 = (&__this->___bounds_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145;
|
|
L_145 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4(L_144, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_146;
|
|
memset((&L_146), 0, sizeof(L_146));
|
|
Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A((&L_146), L_143, L_145, /*hidden argument*/NULL);
|
|
__this->___boundsWithSpawnOff_2 = L_146;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C void CollisionOffsetData__ctor_m31AE498AE930A8B260E38543C605F9F9619DFCC1_AdjustorThunk (RuntimeObject* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___1_cellOffset, const RuntimeMethod* method)
|
|
{
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC*>(__this + _offset);
|
|
CollisionOffsetData__ctor_m31AE498AE930A8B260E38543C605F9F9619DFCC1(_thisAdjusted, ___0_spawn, ___1_cellOffset, method);
|
|
}
|
|
// UnityEngine.Bounds FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::PRBounds(UnityEngine.Bounds,UnityEngine.Vector3,UnityEngine.Vector3)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 CollisionOffsetData_PRBounds_mBB885AAD418DC804D802A5DC6A457911DEC715BF (Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 ___0_refB, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_scale, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___2_off, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// return new Bounds(Vector3.Scale(refB.center, scale) + off, Vector3.Scale(refB.size, scale));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&___0_refB), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1 = ___1_scale;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_0, L_1, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = ___2_off;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_2, L_3, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&___0_refB), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_scale;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_5, L_6, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_8;
|
|
memset((&L_8), 0, sizeof(L_8));
|
|
Bounds__ctor_mAF7B238B9FBF90C495E5D7951760085A93119C5A((&L_8), L_4, L_7, /*hidden argument*/NULL);
|
|
return L_8;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.Helpers.CollisionOffsetData::OffsetOn(FIMSpace.Generating.Rules.Helpers.CollisionOffsetData,FIMSpace.Generating.SpawnData&,System.Single,FIMSpace.Generating.FieldCell,System.Single,System.Single)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool CollisionOffsetData_OffsetOn_m36BA22903D22AB1F8868FD389B7B8D15A1F90076 (CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC* __this, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC ___0_other, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, float ___2_amount, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, float ___4_sides, float ___5_limit, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
float V_2 = 0.0f;
|
|
float V_3 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_4;
|
|
memset((&V_4), 0, sizeof(V_4));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
float V_6 = 0.0f;
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 V_7;
|
|
memset((&V_7), 0, sizeof(V_7));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_8;
|
|
memset((&V_8), 0, sizeof(V_8));
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_9;
|
|
memset((&V_9), 0, sizeof(V_9));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
float G_B4_0 = 0.0f;
|
|
{
|
|
// if (other.prbounds.Intersects(prbounds))
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_0 = (&(&___0_other)->___prbounds_3);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_1 = __this->___prbounds_3;
|
|
bool L_2;
|
|
L_2 = Bounds_Intersects_m91D6CE48052C56F8519243104C3575738B159531(L_0, L_1, NULL);
|
|
if (!L_2)
|
|
{
|
|
goto IL_02c6;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 toCenter = (-other.positionOffset).normalized;
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC L_3 = ___0_other;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3.___positionOffset_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_4, NULL);
|
|
V_8 = L_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline((&V_8), NULL);
|
|
V_0 = L_6;
|
|
// float startRotY = toCenter == Vector3.zero ? 0f : Quaternion.LookRotation(toCenter).eulerAngles.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_9;
|
|
L_9 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_7, L_8, NULL);
|
|
if (L_9)
|
|
{
|
|
goto IL_004f;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_11;
|
|
L_11 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_10, NULL);
|
|
V_9 = L_11;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_9), NULL);
|
|
float L_13 = L_12.___y_3;
|
|
G_B4_0 = L_13;
|
|
goto IL_0054;
|
|
}
|
|
|
|
IL_004f:
|
|
{
|
|
G_B4_0 = (0.0f);
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
V_1 = G_B4_0;
|
|
// float toEdgeFactor = Mathf.Abs(other.prbounds.min.x) + Mathf.Abs(other.prbounds.max.x) + Mathf.Abs(other.prbounds.min.z) + Mathf.Abs(other.prbounds.max.z) + Mathf.Abs(other.prbounds.center.x) + Mathf.Abs(other.prbounds.center.z) + Mathf.Abs(other.positionOffset.x) + Mathf.Abs(other.positionOffset.z);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_14 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13(L_14, NULL);
|
|
float L_16 = L_15.___x_2;
|
|
float L_17;
|
|
L_17 = fabsf(L_16);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_18 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09(L_18, NULL);
|
|
float L_20 = L_19.___x_2;
|
|
float L_21;
|
|
L_21 = fabsf(L_20);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_22 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Bounds_get_min_m465AC9BBE1DE5D8E8AD95AC19B9899068FEEBB13(L_22, NULL);
|
|
float L_24 = L_23.___z_4;
|
|
float L_25;
|
|
L_25 = fabsf(L_24);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_26 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
L_27 = Bounds_get_max_m6446F2AB97C1E57CA89467B9DE52D4EB61F1CB09(L_26, NULL);
|
|
float L_28 = L_27.___z_4;
|
|
float L_29;
|
|
L_29 = fabsf(L_28);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_30 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_30, NULL);
|
|
float L_32 = L_31.___x_2;
|
|
float L_33;
|
|
L_33 = fabsf(L_32);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_34 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_34, NULL);
|
|
float L_36 = L_35.___z_4;
|
|
float L_37;
|
|
L_37 = fabsf(L_36);
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC L_38 = ___0_other;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = L_38.___positionOffset_4;
|
|
float L_40 = L_39.___x_2;
|
|
float L_41;
|
|
L_41 = fabsf(L_40);
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC L_42 = ___0_other;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42.___positionOffset_4;
|
|
float L_44 = L_43.___z_4;
|
|
float L_45;
|
|
L_45 = fabsf(L_44);
|
|
V_2 = ((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(((float)il2cpp_codegen_add(L_17, L_21)), L_25)), L_29)), L_33)), L_37)), L_41)), L_45));
|
|
// float distMul = 2f;
|
|
V_3 = (2.0f);
|
|
// if (toEdgeFactor > 3f) distMul = Mathf.Lerp(distMul, 0.85f, toEdgeFactor - 3f);
|
|
float L_46 = V_2;
|
|
if ((!(((float)L_46) > ((float)(3.0f)))))
|
|
{
|
|
goto IL_0122;
|
|
}
|
|
}
|
|
{
|
|
// if (toEdgeFactor > 3f) distMul = Mathf.Lerp(distMul, 0.85f, toEdgeFactor - 3f);
|
|
float L_47 = V_3;
|
|
float L_48 = V_2;
|
|
float L_49;
|
|
L_49 = Mathf_Lerp_m47EF2FFB7647BD0A1FDC26DC03E28B19812139B5_inline(L_47, (0.850000024f), ((float)il2cpp_codegen_subtract(L_48, (3.0f))), NULL);
|
|
V_3 = L_49;
|
|
}
|
|
|
|
IL_0122:
|
|
{
|
|
// Vector3 origin = Quaternion.Euler(0, startRotY + 89f * sides, 0f) * Vector3.forward * distMul;
|
|
float L_50 = V_1;
|
|
float L_51 = ___4_sides;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_52;
|
|
L_52 = Quaternion_Euler_m9262AB29E3E9CE94EF71051F38A28E82AEC73F90_inline((0.0f), ((float)il2cpp_codegen_add(L_50, ((float)il2cpp_codegen_multiply((89.0f), L_51)))), (0.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_52, L_53, NULL);
|
|
float L_55 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_54, L_55, NULL);
|
|
V_4 = L_56;
|
|
// origin.y = other.prbounds.center.y;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_57 = (&(&___0_other)->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_57, NULL);
|
|
float L_59 = L_58.___y_3;
|
|
(&V_4)->___y_3 = L_59;
|
|
// Vector3 castDir = -origin;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_60, NULL);
|
|
V_5 = L_61;
|
|
// castDir.y = 0f;
|
|
(&V_5)->___y_3 = (0.0f);
|
|
// castDir.Normalize();
|
|
Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline((&V_5), NULL);
|
|
// if (toEdgeFactor >= 3f)
|
|
float L_62 = V_2;
|
|
if ((!(((float)L_62) >= ((float)(3.0f)))))
|
|
{
|
|
goto IL_01cc;
|
|
}
|
|
}
|
|
{
|
|
// castDir = Vector3.Lerp(castDir, other.positionOffset.normalized, toEdgeFactor /2f - 2.5f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_64 = (&(&___0_other)->___positionOffset_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_65;
|
|
L_65 = Vector3_get_normalized_m736BBF65D5CDA7A18414370D15B4DFCC1E466F07_inline(L_64, NULL);
|
|
float L_66 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
|
|
L_67 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_63, L_65, ((float)il2cpp_codegen_subtract(((float)(L_66/(2.0f))), (2.5f))), NULL);
|
|
V_5 = L_67;
|
|
// origin = Vector3.Lerp(origin, -other.positionOffset, toEdgeFactor/2f - 2.5f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68 = V_4;
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC L_69 = ___0_other;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = L_69.___positionOffset_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
|
|
L_71 = Vector3_op_UnaryNegation_m5450829F333BD2A88AF9A592C4EE331661225915_inline(L_70, NULL);
|
|
float L_72 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73;
|
|
L_73 = Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_inline(L_68, L_71, ((float)il2cpp_codegen_subtract(((float)(L_72/(2.0f))), (2.5f))), NULL);
|
|
V_4 = L_73;
|
|
}
|
|
|
|
IL_01cc:
|
|
{
|
|
// origin += other.positionOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_74 = V_4;
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC L_75 = ___0_other;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = L_75.___positionOffset_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_74, L_76, NULL);
|
|
V_4 = L_77;
|
|
// Ray r = new Ray(origin, castDir);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = V_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79 = V_5;
|
|
Ray__ctor_mE298992FD10A3894C38373198385F345C58BD64C((&V_7), L_78, L_79, NULL);
|
|
// if (other.prbounds.IntersectRay(r, out distance))
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_80 = (&(&___0_other)->___prbounds_3);
|
|
Ray_t2B1742D7958DC05BDC3EFC7461D3593E1430DC00 L_81 = V_7;
|
|
bool L_82;
|
|
L_82 = Bounds_IntersectRay_mF5EE01759AA2D09C683FBE015007A85CFECB8393(L_80, L_81, (&V_6), NULL);
|
|
if (!L_82)
|
|
{
|
|
goto IL_02c6;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 hitPoint = r.origin + r.direction * distance;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
|
|
L_83 = Ray_get_origin_m97604A8F180316A410DCD77B7D74D04522FA1BA6((&V_7), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
|
|
L_84 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_7), NULL);
|
|
float L_85 = V_6;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
|
|
L_86 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_84, L_85, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
|
|
L_87 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_83, L_86, NULL);
|
|
// Vector3 desiredPos = hitPoint - r.direction * amount * (prbounds.extents.x + prbounds.extents.z) / 2f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_88;
|
|
L_88 = Ray_get_direction_m21C2D22D3BD4A683BD4DC191AB22DD05F5EC2086((&V_7), NULL);
|
|
float L_89 = ___2_amount;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90;
|
|
L_90 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_88, L_89, NULL);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_91 = (&__this->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
|
|
L_92 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_91, NULL);
|
|
float L_93 = L_92.___x_2;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_94 = (&__this->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95;
|
|
L_95 = Bounds_get_extents_mFE6DC407FCE2341BE2C750CB554055D211281D25(L_94, NULL);
|
|
float L_96 = L_95.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_97;
|
|
L_97 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_90, ((float)il2cpp_codegen_add(L_93, L_96)), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_98;
|
|
L_98 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_97, (2.0f), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99;
|
|
L_99 = Vector3_op_Subtraction_mE42023FF80067CB44A1D4A27EB7CF2B24CABB828_inline(L_87, L_98, NULL);
|
|
V_10 = L_99;
|
|
// if (Mathf.Abs(desiredPos.x) > limit || Mathf.Abs(desiredPos.z) > limit)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100 = V_10;
|
|
float L_101 = L_100.___x_2;
|
|
float L_102;
|
|
L_102 = fabsf(L_101);
|
|
float L_103 = ___5_limit;
|
|
if ((((float)L_102) > ((float)L_103)))
|
|
{
|
|
goto IL_0279;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104 = V_10;
|
|
float L_105 = L_104.___z_4;
|
|
float L_106;
|
|
L_106 = fabsf(L_105);
|
|
float L_107 = ___5_limit;
|
|
if ((!(((float)L_106) > ((float)L_107))))
|
|
{
|
|
goto IL_027b;
|
|
}
|
|
}
|
|
|
|
IL_0279:
|
|
{
|
|
// return false;
|
|
return (bool)0;
|
|
}
|
|
|
|
IL_027b:
|
|
{
|
|
// desiredPos.y = positionOffset.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_108 = (&__this->___positionOffset_4);
|
|
float L_109 = L_108->___y_3;
|
|
(&V_10)->___y_3 = L_109;
|
|
// spawn.DirectionalOffset = Vector3.zero;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_110 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_111 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_110);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
|
|
L_112 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_111);
|
|
L_111->___DirectionalOffset_19 = L_112;
|
|
// spawn.Offset = desiredPos;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_113 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_114 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_113);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_115 = V_10;
|
|
NullCheck(L_114);
|
|
L_114->___Offset_15 = L_115;
|
|
// desiredPos.y = prbounds.center.y;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_116 = (&__this->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117;
|
|
L_117 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3(L_116, NULL);
|
|
float L_118 = L_117.___y_3;
|
|
(&V_10)->___y_3 = L_118;
|
|
// prbounds.center = desiredPos;
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3* L_119 = (&__this->___prbounds_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_120 = V_10;
|
|
Bounds_set_center_m891869DD5B1BEEE2D17907BBFB7EB79AAE44884B(L_119, L_120, NULL);
|
|
}
|
|
|
|
IL_02c6:
|
|
{
|
|
// return true;
|
|
return (bool)1;
|
|
}
|
|
}
|
|
IL2CPP_EXTERN_C bool CollisionOffsetData_OffsetOn_m36BA22903D22AB1F8868FD389B7B8D15A1F90076_AdjustorThunk (RuntimeObject* __this, CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC ___0_other, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, float ___2_amount, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, float ___4_sides, float ___5_limit, const RuntimeMethod* method)
|
|
{
|
|
CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC* _thisAdjusted;
|
|
int32_t _offset = 1;
|
|
_thisAdjusted = reinterpret_cast<CollisionOffsetData_tE6614C9454F5C0D0C31BBDAAE6A3AA9728FF67CC*>(__this + _offset);
|
|
bool _returnValue;
|
|
_returnValue = CollisionOffsetData_OffsetOn_m36BA22903D22AB1F8868FD389B7B8D15A1F90076(_thisAdjusted, ___0_other, ___1_spawn, ___2_amount, ___3_cell, ___4_sides, ___5_limit, method);
|
|
return _returnValue;
|
|
}
|
|
#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.Boolean FIMSpace.Generating.Rules.Helpers.RemoveInstruction::ProceedRemoving(FIMSpace.Generating.FieldSpawner,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool RemoveInstruction_ProceedRemoving_mAA258FEFFFF45D40B106349442F1CB772C21E0A3 (RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3* __this, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___0_spawner, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___3_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_2_t8699AD063704997E98999B3BFF13FA7750266B16_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass9_0_U3CProceedRemovingU3Eb__0_mA47DC59DAA56B2CC8BE9063F6A64FB8CD6B4594E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* V_0 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_1 = NULL;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* L_0 = (U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass9_0__ctor_m88883B8079D39717F606B40319896A3D5BE54E4C(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_0 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_0), (void*)__this);
|
|
U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* L_2 = V_0;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_3 = ___0_spawner;
|
|
NullCheck(L_2);
|
|
L_2->___spawner_1 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___spawner_1), (void*)L_3);
|
|
// var targetCell = cell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_4 = ___2_cell;
|
|
V_1 = L_4;
|
|
// if (CheckOffset != ESR_DirectionMode.NoOffset) if (OffsetCellPosition != Vector3Int.zero)
|
|
int32_t L_5 = __this->___CheckOffset_3;
|
|
if (!L_5)
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
// if (CheckOffset != ESR_DirectionMode.NoOffset) if (OffsetCellPosition != Vector3Int.zero)
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6 = __this->___OffsetCellPosition_4;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_7;
|
|
L_7 = Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline(NULL);
|
|
bool L_8;
|
|
L_8 = Vector3Int_op_Inequality_mBE6E58893DF1A6BA41E2B4FAB97F4EFBDA857F88_inline(L_6, L_7, NULL);
|
|
if (!L_8)
|
|
{
|
|
goto IL_0068;
|
|
}
|
|
}
|
|
{
|
|
// Vector3Int off = OffsetCellPosition;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9 = __this->___OffsetCellPosition_4;
|
|
V_2 = L_9;
|
|
// if (CheckOffset == ESR_DirectionMode.CellRotateDirection) off = SpawnRuleBase.GetOffset(spawn.GetRotationOffset(), off);
|
|
int32_t L_10 = __this->___CheckOffset_3;
|
|
if ((!(((uint32_t)L_10) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0053;
|
|
}
|
|
}
|
|
{
|
|
// if (CheckOffset == ESR_DirectionMode.CellRotateDirection) off = SpawnRuleBase.GetOffset(spawn.GetRotationOffset(), off);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_11 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_12 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_11);
|
|
NullCheck(L_12);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_12, NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_14 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_14, NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_16;
|
|
L_16 = SpawnRuleBase_GetOffset_mF9C79F1FDA5E336E8DBC7F2521E4D4A08EAE3F81(L_13, L_15, NULL);
|
|
V_2 = L_16;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
// targetCell = grid.GetCell(cell.Pos + off, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_17 = ___3_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = ___2_cell;
|
|
NullCheck(L_18);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_19 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_18)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_20 = V_2;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_21;
|
|
L_21 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_19, L_20, NULL);
|
|
NullCheck(L_17);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_22;
|
|
L_22 = FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E(L_17, L_21, (bool)0, FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
V_1 = L_22;
|
|
}
|
|
|
|
IL_0068:
|
|
{
|
|
// removed = 0;
|
|
__this->___removed_8 = 0;
|
|
// SpawnRuleBase.CellSelector_Execute(checkSetup, grid, targetCell, targetCell, spawn, (FieldCell f, SpawnData s) => ProceedRemovingOnCell(f, s, spawner));
|
|
CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1* L_23 = __this->___checkSetup_9;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_24 = ___3_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_25 = V_1;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_26 = V_1;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_27 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_28 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_27);
|
|
U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* L_29 = V_0;
|
|
Action_2_t8699AD063704997E98999B3BFF13FA7750266B16* L_30 = (Action_2_t8699AD063704997E98999B3BFF13FA7750266B16*)il2cpp_codegen_object_new(Action_2_t8699AD063704997E98999B3BFF13FA7750266B16_il2cpp_TypeInfo_var);
|
|
NullCheck(L_30);
|
|
Action_2__ctor_m18A6E742D012866AB5955AB2BEE6C11243142B8F(L_30, L_29, (intptr_t)((void*)U3CU3Ec__DisplayClass9_0_U3CProceedRemovingU3Eb__0_mA47DC59DAA56B2CC8BE9063F6A64FB8CD6B4594E_RuntimeMethod_var), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase_CellSelector_Execute_m869797135FD967FF45ADA3A7D0467817ABEC5B78(L_23, L_24, L_25, L_26, L_28, L_30, NULL);
|
|
// return removed > 0; // removed spawns > 0 means removed something during this method
|
|
int32_t L_31 = __this->___removed_8;
|
|
return (bool)((((int32_t)L_31) > ((int32_t)0))? 1 : 0);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.RemoveInstruction::ProceedRemovingOnCell(FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData,FIMSpace.Generating.FieldSpawner)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RemoveInstruction_ProceedRemovingOnCell_mB495285A9D4E7157BA5DF2C12C541FB8617EB5E3 (RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___1_spawn, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___2_spawner, 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_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(cell)) return;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(cell)) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (RemoveCount != 0) if (removed == RemoveCount) return;
|
|
int32_t L_2 = __this->___RemoveCount_2;
|
|
if (!L_2)
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// if (RemoveCount != 0) if (removed == RemoveCount) return;
|
|
int32_t L_3 = __this->___removed_8;
|
|
int32_t L_4 = __this->___RemoveCount_2;
|
|
if ((!(((uint32_t)L_3) == ((uint32_t)L_4))))
|
|
{
|
|
goto IL_0020;
|
|
}
|
|
}
|
|
{
|
|
// if (RemoveCount != 0) if (removed == RemoveCount) return;
|
|
return;
|
|
}
|
|
|
|
IL_0020:
|
|
{
|
|
// var spawns = cell.CollectSpawns(spawner.ScaleAccess);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_5 = ___0_cell;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_6 = ___2_spawner;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->___ScaleAccess_20;
|
|
NullCheck(L_5);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_8;
|
|
L_8 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_5, L_7, (bool)0, NULL);
|
|
V_0 = L_8;
|
|
// for (int s = spawns.Count - 1; s >= 0; s--)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_9 = V_0;
|
|
NullCheck(L_9);
|
|
int32_t L_10;
|
|
L_10 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_9, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_10, 1));
|
|
goto IL_0108;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// if (spawns[s].OwnerMod == null)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_11 = V_0;
|
|
int32_t L_12 = V_1;
|
|
NullCheck(L_11);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13;
|
|
L_13 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_11, L_12, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_13);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_14 = L_13->___OwnerMod_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_15;
|
|
L_15 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_14, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_15)
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
{
|
|
// if (spawns[s] == spawn)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_16 = V_0;
|
|
int32_t L_17 = V_1;
|
|
NullCheck(L_16);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18;
|
|
L_18 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_16, L_17, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = ___1_spawn;
|
|
if ((((RuntimeObject*)(SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)L_18) == ((RuntimeObject*)(SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)L_19)))
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
{
|
|
// if (string.IsNullOrEmpty(AffectedTags) == false) // If spawns must have ceratain tags
|
|
String_t* L_20 = __this->___AffectedTags_0;
|
|
bool L_21;
|
|
L_21 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_20, NULL);
|
|
if (L_21)
|
|
{
|
|
goto IL_0087;
|
|
}
|
|
}
|
|
{
|
|
// if (SpawnRuleBase.SpawnHaveSpecifics(spawns[s], AffectedTags, CheckMode) == false) // Not found required tags then skip this spawn
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_22 = V_0;
|
|
int32_t L_23 = V_1;
|
|
NullCheck(L_22);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_24;
|
|
L_24 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_22, L_23, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
String_t* L_25 = __this->___AffectedTags_0;
|
|
int32_t L_26 = __this->___CheckMode_1;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
bool L_27;
|
|
L_27 = SpawnRuleBase_SpawnHaveSpecifics_mB094532CDBBA5C03AFF0E9728B703F60FDD43E66(L_24, L_25, L_26, NULL);
|
|
if (!L_27)
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
|
|
IL_0087:
|
|
{
|
|
// if (RemoveWhen != ESR_AngleRemovalMode.Any)
|
|
int32_t L_28 = __this->___RemoveWhen_5;
|
|
if (!L_28)
|
|
{
|
|
goto IL_00c5;
|
|
}
|
|
}
|
|
{
|
|
// if (DegreesTolerance < 181)
|
|
float L_29 = __this->___DegreesTolerance_7;
|
|
if ((!(((float)L_29) < ((float)(181.0f)))))
|
|
{
|
|
goto IL_00c5;
|
|
}
|
|
}
|
|
{
|
|
// float aa = SpawnRuleBase.CompareDirectionalAngle(spawn, spawns[s], RemoveWhen, UseSelfRotation == ESR_DirectionMode.WorldDirection);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_30 = ___1_spawn;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_31 = V_0;
|
|
int32_t L_32 = V_1;
|
|
NullCheck(L_31);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_33;
|
|
L_33 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_31, L_32, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
int32_t L_34 = __this->___RemoveWhen_5;
|
|
int32_t L_35 = __this->___UseSelfRotation_6;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
float L_36;
|
|
L_36 = SpawnRuleBase_CompareDirectionalAngle_m1923E1093A6F784CE9934827263D0FBB93183488(L_30, L_33, L_34, (bool)((((int32_t)L_35) == ((int32_t)1))? 1 : 0), NULL);
|
|
// if (Mathf.Abs(aa) > DegreesTolerance)
|
|
float L_37;
|
|
L_37 = fabsf(L_36);
|
|
float L_38 = __this->___DegreesTolerance_7;
|
|
if ((((float)L_37) > ((float)L_38)))
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
|
|
IL_00c5:
|
|
{
|
|
// spawns[s].Enabled = false;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_39 = V_0;
|
|
int32_t L_40 = V_1;
|
|
NullCheck(L_39);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41;
|
|
L_41 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_39, L_40, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_41);
|
|
L_41->___Enabled_0 = (bool)0;
|
|
// cell.RemoveSpawnFromCell(spawns[s]);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_42 = ___0_cell;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_43 = V_0;
|
|
int32_t L_44 = V_1;
|
|
NullCheck(L_43);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_45;
|
|
L_45 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_43, L_44, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_42);
|
|
FieldCell_RemoveSpawnFromCell_mF29A8CF84ACA3BBC7A90BAB1ABC3483A6D8177E2(L_42, L_45, NULL);
|
|
// removed += 1;
|
|
int32_t L_46 = __this->___removed_8;
|
|
__this->___removed_8 = ((int32_t)il2cpp_codegen_add(L_46, 1));
|
|
// if (RemoveCount != 0)
|
|
int32_t L_47 = __this->___RemoveCount_2;
|
|
if (!L_47)
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
{
|
|
// if (removed == RemoveCount) return;
|
|
int32_t L_48 = __this->___removed_8;
|
|
int32_t L_49 = __this->___RemoveCount_2;
|
|
if ((!(((uint32_t)L_48) == ((uint32_t)L_49))))
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
{
|
|
// if (removed == RemoveCount) return;
|
|
return;
|
|
}
|
|
|
|
IL_0104:
|
|
{
|
|
// for (int s = spawns.Count - 1; s >= 0; s--)
|
|
int32_t L_50 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_subtract(L_50, 1));
|
|
}
|
|
|
|
IL_0108:
|
|
{
|
|
// for (int s = spawns.Count - 1; s >= 0; s--)
|
|
int32_t L_51 = V_1;
|
|
if ((((int32_t)L_51) >= ((int32_t)0)))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.RemoveInstruction::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void RemoveInstruction__ctor_m3A0E509CE0F2FCB5A9AE6D0C771C487A9B083DEB (RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string AffectedTags = "";
|
|
__this->___AffectedTags_0 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___AffectedTags_0), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public int RemoveCount = 1;
|
|
__this->___RemoveCount_2 = 1;
|
|
// public Vector3Int OffsetCellPosition = Vector3Int.zero;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_0;
|
|
L_0 = Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline(NULL);
|
|
__this->___OffsetCellPosition_4 = L_0;
|
|
// public ESR_DirectionMode UseSelfRotation = ESR_DirectionMode.WorldDirection;
|
|
__this->___UseSelfRotation_6 = 1;
|
|
// [Range(0, 181)] public float DegreesTolerance = 45f;
|
|
__this->___DegreesTolerance_7 = (45.0f);
|
|
// [HideInInspector] public CheckCellsSelectorSetup checkSetup = new CheckCellsSelectorSetup(true, false);
|
|
CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1* L_1 = (CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1*)il2cpp_codegen_object_new(CheckCellsSelectorSetup_tBB3E434C40491CFE723EC094E930A66723C57BD1_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
CheckCellsSelectorSetup__ctor_mDCAFC35FE8BE58C684E3E27779B3EAC59686CC66(L_1, (bool)1, (bool)0, NULL);
|
|
__this->___checkSetup_9 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___checkSetup_9), (void*)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.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass9_0__ctor_m88883B8079D39717F606B40319896A3D5BE54E4C (U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Helpers.RemoveInstruction/<>c__DisplayClass9_0::<ProceedRemoving>b__0(FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass9_0_U3CProceedRemovingU3Eb__0_mA47DC59DAA56B2CC8BE9063F6A64FB8CD6B4594E (U3CU3Ec__DisplayClass9_0_tD986C1E2886BE4DE5950B4E7B5432CB5202CF71D* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_f, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___1_s, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// SpawnRuleBase.CellSelector_Execute(checkSetup, grid, targetCell, targetCell, spawn, (FieldCell f, SpawnData s) => ProceedRemovingOnCell(f, s, spawner));
|
|
RemoveInstruction_tD96C18C692F221714052FFD19A18D87EDE19C7F3* L_0 = __this->___U3CU3E4__this_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_1 = ___0_f;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_2 = ___1_s;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_3 = __this->___spawner_1;
|
|
NullCheck(L_0);
|
|
RemoveInstruction_ProceedRemovingOnCell_mB495285A9D4E7157BA5DF2C12C541FB8617EB5E3(L_0, L_1, L_2, L_3, 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.String FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_BoundedOffset_TitleName_m3079B33FB57B488043BB8431034CCBA8445A9929 (SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8FC66902556497A1E9112884A8098FFA0D3E4EFD);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Bounded Offset"; }
|
|
return _stringLiteral8FC66902556497A1E9112884A8098FFA0D3E4EFD;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_BoundedOffset_Tooltip_m62E22BCC3C0571ED0B10FCF01C2AB13BE909CB00 (SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCEB25924D4991B58F0AE8B442C8392BF74D37164);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Offsetting position on grid using prefab's mesh or collider scale"; }
|
|
return _stringLiteralCEB25924D4991B58F0AE8B442C8392BF74D37164;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_BoundedOffset_get_Type_mEB9DEC8766A7B6FB3722AD351AC21E6F1F326331 (SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_BoundedOffset_CellInfluence_m71E31AE8BA9372A07941ADBC5295189EBAF3BC17 (SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_2 = NULL;
|
|
{
|
|
// if (spawn.PreviewMesh == null) return;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_0 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_1 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_0);
|
|
NullCheck(L_1);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_2 = L_1->___PreviewMesh_14;
|
|
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_0011;
|
|
}
|
|
}
|
|
{
|
|
// if (spawn.PreviewMesh == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0011:
|
|
{
|
|
// if (spawn.Prefab == null) return;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_4 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_5 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_4);
|
|
NullCheck(L_5);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_6 = L_5->___Prefab_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_6, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// if (spawn.Prefab == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// Bounds b = spawn.GetMeshFilterOrColliderBounds();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_8 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_8);
|
|
NullCheck(L_9);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_10;
|
|
L_10 = SpawnData_GetMeshFilterOrColliderBounds_mC7F9B818107D371FB56F3732F15311D2400B9CE8(L_9, NULL);
|
|
V_0 = L_10;
|
|
// Vector3 sz = Vector3.Scale(b.size, spawn.LocalScaleMul);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Bounds_get_size_m0699A53A55A78B3201D7270D6F338DFA91B6FAD4((&V_0), NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_12 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_12);
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___LocalScaleMul_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_11, L_14, NULL);
|
|
V_1 = L_15;
|
|
// if (WorldOffset != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = __this->___WorldOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_18;
|
|
L_18 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_16, L_17, NULL);
|
|
if (!L_18)
|
|
{
|
|
goto IL_0071;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset += Vector3.Scale(WorldOffset, sz);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_19 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_20 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_19);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_21 = L_20;
|
|
NullCheck(L_21);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = L_21->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = __this->___WorldOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_23, L_24, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_25, NULL);
|
|
NullCheck(L_21);
|
|
L_21->___Offset_15 = L_26;
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// if (DirectionalOffset != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = __this->___DirectionalOffset_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_29;
|
|
L_29 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_27, L_28, NULL);
|
|
if (!L_29)
|
|
{
|
|
goto IL_00ec;
|
|
}
|
|
}
|
|
{
|
|
// SpawnData getSpawn = CellSpawnsHaveSpecifics(cell, DirectFrom, CheckMode, spawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_30 = ___2_cell;
|
|
String_t* L_31 = __this->___DirectFrom_26;
|
|
int32_t L_32 = __this->___CheckMode_27;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_33 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_34 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_33);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_35;
|
|
L_35 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_30, L_31, L_32, L_34, (bool)0, NULL);
|
|
V_2 = L_35;
|
|
// if (getSpawn != null)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_36 = V_2;
|
|
if (!L_36)
|
|
{
|
|
goto IL_00cd;
|
|
}
|
|
}
|
|
{
|
|
// spawn.DirectionalOffset += Quaternion.Euler(getSpawn.RotationOffset) * Vector3.Scale(DirectionalOffset, sz);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_37 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_38 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_37);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_39 = L_38;
|
|
NullCheck(L_39);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = L_39->___DirectionalOffset_19;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41 = V_2;
|
|
NullCheck(L_41);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_43;
|
|
L_43 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_42, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = __this->___DirectionalOffset_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_44, L_45, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_43, L_46, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_40, L_47, NULL);
|
|
NullCheck(L_39);
|
|
L_39->___DirectionalOffset_19 = L_48;
|
|
return;
|
|
}
|
|
|
|
IL_00cd:
|
|
{
|
|
// spawn.DirectionalOffset += Vector3.Scale(DirectionalOffset, sz);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_49 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_50 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_49);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_51 = L_50;
|
|
NullCheck(L_51);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = L_51->___DirectionalOffset_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = __this->___DirectionalOffset_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_53, L_54, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_52, L_55, NULL);
|
|
NullCheck(L_51);
|
|
L_51->___DirectionalOffset_19 = L_56;
|
|
}
|
|
|
|
IL_00ec:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.SR_BoundedOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_BoundedOffset__ctor_m4EC8087017462C2AE43E03293092915FC8D401DB (SR_BoundedOffset_tAFCF82D90B0C8C65D04F1D3294A28B2829AD7D8F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 WorldOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___WorldOffset_24 = L_0;
|
|
// public Vector3 DirectionalOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___DirectionalOffset_25 = L_1;
|
|
// public string DirectFrom = "";
|
|
__this->___DirectFrom_26 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___DirectFrom_26), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetPosRotScale_TitleName_m4BC53DDEAC1FD8900109AB0607ECE03A0FA1E93F (SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral227E99A87E80CD953BBACA0939586BE4E6241ABC);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Get Position-Rotation-Scale"; }
|
|
return _stringLiteral227E99A87E80CD953BBACA0939586BE4E6241ABC;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetPosRotScale_Tooltip_m3F508154FA5D2F5D3C13CF1D66250740EDF4DBE9 (SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF1BFC079A44D5AA4F06FB04770E69B34DBEBD14C);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Gathering position/rotation/scale out of choosed already spawned object in cell"; }
|
|
return _stringLiteralF1BFC079A44D5AA4F06FB04770E69B34DBEBD14C;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_GetPosRotScale_get_Type_m819D74BD8C65EE2FD3B059CC2E545F73691AB81E (SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetPosRotScale_CellInfluence_mCB3F015BACF3F064764DBA097247D33E80EE2525 (SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_0 = NULL;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_1 = NULL;
|
|
{
|
|
// if (string.IsNullOrEmpty(GatherBy) == false)
|
|
String_t* L_0 = __this->___GatherBy_25;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_033d;
|
|
}
|
|
}
|
|
{
|
|
// var targetCell = cell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
V_0 = L_2;
|
|
// if (GetFromOffsetCell != Vector3Int.zero) targetCell = grid.GetCell(cell.Pos + GetFromOffsetCell);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_3 = __this->___GetFromOffsetCell_30;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_4;
|
|
L_4 = Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline(NULL);
|
|
bool L_5;
|
|
L_5 = Vector3Int_op_Inequality_mBE6E58893DF1A6BA41E2B4FAB97F4EFBDA857F88_inline(L_3, L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_003e;
|
|
}
|
|
}
|
|
{
|
|
// if (GetFromOffsetCell != Vector3Int.zero) targetCell = grid.GetCell(cell.Pos + GetFromOffsetCell);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_6 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_7 = ___2_cell;
|
|
NullCheck(L_7);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_8 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_7)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_9 = __this->___GetFromOffsetCell_30;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_10;
|
|
L_10 = Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline(L_8, L_9, NULL);
|
|
NullCheck(L_6);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11;
|
|
L_11 = FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E(L_6, L_10, (bool)1, FGenGraph_2_GetCell_m8284B7022D406D4FBFE0AE32DBB02ECBA43B387E_RuntimeMethod_var);
|
|
V_0 = L_11;
|
|
}
|
|
|
|
IL_003e:
|
|
{
|
|
// SpawnData sp = CellSpawnsHaveSpecifics(targetCell, GatherBy, CheckMode, spawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = V_0;
|
|
String_t* L_13 = __this->___GatherBy_25;
|
|
int32_t L_14 = __this->___CheckMode_26;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_15 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_16 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_15);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_17;
|
|
L_17 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_12, L_13, L_14, L_16, (bool)0, NULL);
|
|
V_1 = L_17;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(sp))
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_19;
|
|
L_19 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_18, NULL);
|
|
if (!L_19)
|
|
{
|
|
goto IL_033d;
|
|
}
|
|
}
|
|
{
|
|
// if (Get == ESR_Transforming.Position)
|
|
int32_t L_20 = __this->___Get_24;
|
|
if (L_20)
|
|
{
|
|
goto IL_01ab;
|
|
}
|
|
}
|
|
{
|
|
// if (GetMode == ESP_GetMode.Separate)
|
|
int32_t L_21 = __this->___GetMode_28;
|
|
if (L_21)
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_22 = __this->___ApplyMode_29;
|
|
if (L_22)
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_23 = __this->___Space_27;
|
|
if (L_23)
|
|
{
|
|
goto IL_0092;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset = sp.Offset/* + sp.GetOutsideDirectionalOffsetValue()*/;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_24 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_25 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_24);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_26 = V_1;
|
|
NullCheck(L_26);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = L_26->___Offset_15;
|
|
NullCheck(L_25);
|
|
L_25->___Offset_15 = L_27;
|
|
return;
|
|
}
|
|
|
|
IL_0092:
|
|
{
|
|
// spawn.DirectionalOffset = sp.GetDirectionalOffsetWithMods();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_28 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_29 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_28);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_30 = V_1;
|
|
NullCheck(L_30);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = SpawnData_GetDirectionalOffsetWithMods_m1A69CD7C75A4D4655066E7BB03404A3E83CF178A(L_30, NULL);
|
|
NullCheck(L_29);
|
|
L_29->___DirectionalOffset_19 = L_31;
|
|
return;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_32 = __this->___Space_27;
|
|
if (L_32)
|
|
{
|
|
goto IL_00c3;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset += sp.Offset/* + sp.GetOutsideDirectionalOffsetValue()*/;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_33 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_34 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_33);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_35 = L_34;
|
|
NullCheck(L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___Offset_15;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_37 = V_1;
|
|
NullCheck(L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = L_37->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_36, L_38, NULL);
|
|
NullCheck(L_35);
|
|
L_35->___Offset_15 = L_39;
|
|
return;
|
|
}
|
|
|
|
IL_00c3:
|
|
{
|
|
// spawn.DirectionalOffset += sp.GetDirectionalOffsetWithMods();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_40 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_40);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_42 = L_41;
|
|
NullCheck(L_42);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42->___DirectionalOffset_19;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_44 = V_1;
|
|
NullCheck(L_44);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = SpawnData_GetDirectionalOffsetWithMods_m1A69CD7C75A4D4655066E7BB03404A3E83CF178A(L_44, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46;
|
|
L_46 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_43, L_45, NULL);
|
|
NullCheck(L_42);
|
|
L_42->___DirectionalOffset_19 = L_46;
|
|
return;
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// else if (GetMode == ESP_GetMode.Sum)
|
|
int32_t L_47 = __this->___GetMode_28;
|
|
if ((!(((uint32_t)L_47) == ((uint32_t)1))))
|
|
{
|
|
goto IL_033d;
|
|
}
|
|
}
|
|
{
|
|
// if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_48 = __this->___ApplyMode_29;
|
|
if (L_48)
|
|
{
|
|
goto IL_0143;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_49 = __this->___Space_27;
|
|
if (L_49)
|
|
{
|
|
goto IL_0114;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset = sp.GetFullOffset() + sp.GetOutsideDirectionalOffsetValue();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_50 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_51 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_50);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_52 = V_1;
|
|
NullCheck(L_52);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53;
|
|
L_53 = SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3(L_52, (bool)0, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_54 = V_1;
|
|
NullCheck(L_54);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55;
|
|
L_55 = SpawnData_GetOutsideDirectionalOffsetValue_m1CE3EA93E13E50DB36A3575E4EF5D383D97A7497(L_54, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56;
|
|
L_56 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_53, L_55, NULL);
|
|
NullCheck(L_51);
|
|
L_51->___Offset_15 = L_56;
|
|
return;
|
|
}
|
|
|
|
IL_0114:
|
|
{
|
|
// spawn.DirectionalOffset = sp.GetDirectionalOffsetWithMods() + Quaternion.Inverse(Quaternion.Euler(sp.RotationOffset)) * sp.Offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_57 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_58 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_57);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_59 = V_1;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = SpawnData_GetDirectionalOffsetWithMods_m1A69CD7C75A4D4655066E7BB03404A3E83CF178A(L_59, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_61 = V_1;
|
|
NullCheck(L_61);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62 = L_61->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_63;
|
|
L_63 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_62, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_64;
|
|
L_64 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_63, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_65 = V_1;
|
|
NullCheck(L_65);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = L_65->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67;
|
|
L_67 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_64, L_66, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
|
|
L_68 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_60, L_67, NULL);
|
|
NullCheck(L_58);
|
|
L_58->___DirectionalOffset_19 = L_68;
|
|
return;
|
|
}
|
|
|
|
IL_0143:
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_69 = __this->___Space_27;
|
|
if (L_69)
|
|
{
|
|
goto IL_0171;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset += sp.GetFullOffset() + sp.GetOutsideDirectionalOffsetValue();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_70 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_71 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_70);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_72 = L_71;
|
|
NullCheck(L_72);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_73 = L_72->___Offset_15;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_74 = V_1;
|
|
NullCheck(L_74);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
|
|
L_75 = SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3(L_74, (bool)0, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_76 = V_1;
|
|
NullCheck(L_76);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = SpawnData_GetOutsideDirectionalOffsetValue_m1CE3EA93E13E50DB36A3575E4EF5D383D97A7497(L_76, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
|
|
L_78 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_75, L_77, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
L_79 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_73, L_78, NULL);
|
|
NullCheck(L_72);
|
|
L_72->___Offset_15 = L_79;
|
|
return;
|
|
}
|
|
|
|
IL_0171:
|
|
{
|
|
// spawn.DirectionalOffset += sp.GetDirectionalOffsetWithMods() + Quaternion.Inverse(Quaternion.Euler(sp.RotationOffset)) * sp.Offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_80 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_81 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_80);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_82 = L_81;
|
|
NullCheck(L_82);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = L_82->___DirectionalOffset_19;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_84 = V_1;
|
|
NullCheck(L_84);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85;
|
|
L_85 = SpawnData_GetDirectionalOffsetWithMods_m1A69CD7C75A4D4655066E7BB03404A3E83CF178A(L_84, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_86 = V_1;
|
|
NullCheck(L_86);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87 = L_86->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_88;
|
|
L_88 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_87, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_89;
|
|
L_89 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_88, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_90 = V_1;
|
|
NullCheck(L_90);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = L_90->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92;
|
|
L_92 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_89, L_91, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
|
|
L_93 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_85, L_92, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
|
|
L_94 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_83, L_93, NULL);
|
|
NullCheck(L_82);
|
|
L_82->___DirectionalOffset_19 = L_94;
|
|
return;
|
|
}
|
|
|
|
IL_01ab:
|
|
{
|
|
// else if (Get == ESR_Transforming.Rotation)
|
|
int32_t L_95 = __this->___Get_24;
|
|
if ((!(((uint32_t)L_95) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0326;
|
|
}
|
|
}
|
|
{
|
|
// if (GetMode == ESP_GetMode.Separate)
|
|
int32_t L_96 = __this->___GetMode_28;
|
|
if (L_96)
|
|
{
|
|
goto IL_0258;
|
|
}
|
|
}
|
|
{
|
|
// if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_97 = __this->___ApplyMode_29;
|
|
if (L_97)
|
|
{
|
|
goto IL_0206;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_98 = __this->___Space_27;
|
|
if (L_98)
|
|
{
|
|
goto IL_01ec;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset = sp.RotationOffset + sp.OutsideRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_99 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_100 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_99);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_101 = V_1;
|
|
NullCheck(L_101);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_102 = L_101->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_103 = V_1;
|
|
NullCheck(L_103);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_104 = L_103->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105;
|
|
L_105 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_102, L_104, NULL);
|
|
NullCheck(L_100);
|
|
L_100->___RotationOffset_16 = L_105;
|
|
return;
|
|
}
|
|
|
|
IL_01ec:
|
|
{
|
|
// spawn.LocalRotationOffset = sp.LocalRotationOffset + sp.OutsideRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_106 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_107 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_106);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_108 = V_1;
|
|
NullCheck(L_108);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_109 = L_108->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_110 = V_1;
|
|
NullCheck(L_110);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111 = L_110->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_112;
|
|
L_112 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_109, L_111, NULL);
|
|
NullCheck(L_107);
|
|
L_107->___LocalRotationOffset_17 = L_112;
|
|
return;
|
|
}
|
|
|
|
IL_0206:
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_113 = __this->___Space_27;
|
|
if (L_113)
|
|
{
|
|
goto IL_0233;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset += sp.RotationOffset + sp.OutsideRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_114 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_115 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_114);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_116 = L_115;
|
|
NullCheck(L_116);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = L_116->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_118 = V_1;
|
|
NullCheck(L_118);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119 = L_118->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_120 = V_1;
|
|
NullCheck(L_120);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121 = L_120->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_122;
|
|
L_122 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_119, L_121, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_123;
|
|
L_123 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_117, L_122, NULL);
|
|
NullCheck(L_116);
|
|
L_116->___RotationOffset_16 = L_123;
|
|
return;
|
|
}
|
|
|
|
IL_0233:
|
|
{
|
|
// spawn.LocalRotationOffset += sp.LocalRotationOffset + sp.OutsideRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_124 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_125 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_124);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_126 = L_125;
|
|
NullCheck(L_126);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127 = L_126->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_128 = V_1;
|
|
NullCheck(L_128);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_129 = L_128->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_130 = V_1;
|
|
NullCheck(L_130);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_131 = L_130->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_132;
|
|
L_132 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_129, L_131, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_133;
|
|
L_133 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_127, L_132, NULL);
|
|
NullCheck(L_126);
|
|
L_126->___LocalRotationOffset_17 = L_133;
|
|
return;
|
|
}
|
|
|
|
IL_0258:
|
|
{
|
|
// else if (GetMode == ESP_GetMode.Sum)
|
|
int32_t L_134 = __this->___GetMode_28;
|
|
if ((!(((uint32_t)L_134) == ((uint32_t)1))))
|
|
{
|
|
goto IL_033d;
|
|
}
|
|
}
|
|
{
|
|
// if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_135 = __this->___ApplyMode_29;
|
|
if (L_135)
|
|
{
|
|
goto IL_02be;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_136 = __this->___Space_27;
|
|
if (L_136)
|
|
{
|
|
goto IL_0299;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset = sp.RotationOffset + sp.OutsideRotationOffset + sp.LocalRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_137 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_138 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_137);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_139 = V_1;
|
|
NullCheck(L_139);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_140 = L_139->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_141 = V_1;
|
|
NullCheck(L_141);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_142 = L_141->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_143;
|
|
L_143 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_140, L_142, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_144 = V_1;
|
|
NullCheck(L_144);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_145 = L_144->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146;
|
|
L_146 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_143, L_145, NULL);
|
|
NullCheck(L_138);
|
|
L_138->___RotationOffset_16 = L_146;
|
|
return;
|
|
}
|
|
|
|
IL_0299:
|
|
{
|
|
// spawn.LocalRotationOffset = sp.LocalRotationOffset + sp.OutsideRotationOffset + sp.RotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_147 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_148 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_147);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_149 = V_1;
|
|
NullCheck(L_149);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_150 = L_149->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_151 = V_1;
|
|
NullCheck(L_151);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152 = L_151->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_153;
|
|
L_153 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_150, L_152, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_154 = V_1;
|
|
NullCheck(L_154);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_155 = L_154->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_156;
|
|
L_156 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_153, L_155, NULL);
|
|
NullCheck(L_148);
|
|
L_148->___LocalRotationOffset_17 = L_156;
|
|
return;
|
|
}
|
|
|
|
IL_02be:
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_157 = __this->___Space_27;
|
|
if (L_157)
|
|
{
|
|
goto IL_02f6;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset += sp.RotationOffset + sp.OutsideRotationOffset + sp.LocalRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_158 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_159 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_158);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_160 = L_159;
|
|
NullCheck(L_160);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161 = L_160->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_162 = V_1;
|
|
NullCheck(L_162);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_163 = L_162->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_164 = V_1;
|
|
NullCheck(L_164);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_165 = L_164->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_166;
|
|
L_166 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_163, L_165, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_167 = V_1;
|
|
NullCheck(L_167);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_168 = L_167->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_169;
|
|
L_169 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_166, L_168, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_170;
|
|
L_170 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_161, L_169, NULL);
|
|
NullCheck(L_160);
|
|
L_160->___RotationOffset_16 = L_170;
|
|
return;
|
|
}
|
|
|
|
IL_02f6:
|
|
{
|
|
// spawn.LocalRotationOffset += sp.LocalRotationOffset + sp.OutsideRotationOffset + sp.RotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_171 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_172 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_171);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_173 = L_172;
|
|
NullCheck(L_173);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_174 = L_173->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_175 = V_1;
|
|
NullCheck(L_175);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_176 = L_175->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_177 = V_1;
|
|
NullCheck(L_177);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_178 = L_177->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_179;
|
|
L_179 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_176, L_178, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_180 = V_1;
|
|
NullCheck(L_180);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_181 = L_180->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_182;
|
|
L_182 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_179, L_181, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_183;
|
|
L_183 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_174, L_182, NULL);
|
|
NullCheck(L_173);
|
|
L_173->___LocalRotationOffset_17 = L_183;
|
|
return;
|
|
}
|
|
|
|
IL_0326:
|
|
{
|
|
// else if (Get == ESR_Transforming.Scale)
|
|
int32_t L_184 = __this->___Get_24;
|
|
if ((!(((uint32_t)L_184) == ((uint32_t)2))))
|
|
{
|
|
goto IL_033d;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalScaleMul = sp.LocalScaleMul;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_185 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_186 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_185);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_187 = V_1;
|
|
NullCheck(L_187);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_188 = L_187->___LocalScaleMul_18;
|
|
NullCheck(L_186);
|
|
L_186->___LocalScaleMul_18 = L_188;
|
|
}
|
|
|
|
IL_033d:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.SR_GetPosRotScale::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetPosRotScale__ctor_m936A45AD50A298E5550F947FC0AAAD6F54B82EDF (SR_GetPosRotScale_tE755D11D58D27620043FEAF4D43238C125C37F6F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// [HideInInspector] public string GatherBy = "";
|
|
__this->___GatherBy_25 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___GatherBy_25), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public ESP_OffsetSpace Space = ESP_OffsetSpace.LocalSpace;
|
|
__this->___Space_27 = 1;
|
|
// [HideInInspector] public ESP_GetMode GetMode = ESP_GetMode.Sum;
|
|
__this->___GetMode_28 = 1;
|
|
// public Vector3Int GetFromOffsetCell = Vector3Int.zero;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_0;
|
|
L_0 = Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline(NULL);
|
|
__this->___GetFromOffsetCell_30 = L_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_MoveRotateScale_TitleName_m4313299BE115E8F522C00F87AABF7B8D73977814 (SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral82B64A9A8D5C786D11DAB929CD171BD16A8D1513);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Move-Rotate-Scale"; }
|
|
return _stringLiteral82B64A9A8D5C786D11DAB929CD171BD16A8D1513;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_MoveRotateScale_Tooltip_m1DF66879E8F1A86C6FFCEC25973752AEEA75D145 (SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral29F07BB03B055FE9E4371548DEDA9E4C48D407D9);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Applying basic position / rotation or scale offset to spawned object"; }
|
|
return _stringLiteral29F07BB03B055FE9E4371548DEDA9E4C48D407D9;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_MoveRotateScale_get_Type_m44C994DCB80AB3107ABC69AE9F09AE7AD3AFED03 (SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnerVariableHelper> FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::GetVariables()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B* SR_MoveRotateScale_GetVariables_m9086D4D2022CD1AD0BEADC536904E40FBEA587CC (SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override System.Collections.Generic.List<SpawnerVariableHelper> GetVariables() { return OffsetPosVariable.GetListedVariable(); }
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* L_0 = __this->___OffsetPosVariable_31;
|
|
NullCheck(L_0);
|
|
List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B* L_1;
|
|
L_1 = SpawnerVariableHelper_GetListedVariable_m1D797A05746AD1FAED22B33FB185A6048908C757(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_MoveRotateScale_CellInfluence_mB49CF795393F3482A68A660F01B5FE4D24FA44EF (SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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*)&OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* 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 G_B19_0;
|
|
memset((&G_B19_0), 0, sizeof(G_B19_0));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* G_B19_1 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B18_0;
|
|
memset((&G_B18_0), 0, sizeof(G_B18_0));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* G_B18_1 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B20_0;
|
|
memset((&G_B20_0), 0, sizeof(G_B20_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B20_1;
|
|
memset((&G_B20_1), 0, sizeof(G_B20_1));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* G_B20_2 = NULL;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* G_B26_0 = NULL;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* G_B25_0 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 G_B27_0;
|
|
memset((&G_B27_0), 0, sizeof(G_B27_0));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* G_B27_1 = NULL;
|
|
{
|
|
// if (string.IsNullOrEmpty(GetCoords) == false)
|
|
String_t* L_0 = __this->___GetCoords_27;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// SpawnData sp = CellSpawnsHaveSpecifics(cell, GetCoords, CheckMode, spawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
String_t* L_3 = __this->___GetCoords_27;
|
|
int32_t L_4 = __this->___CheckMode_28;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_5 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_5);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7;
|
|
L_7 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_2, L_3, L_4, L_6, (bool)0, NULL);
|
|
V_1 = L_7;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(sp))
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_8 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_8, NULL);
|
|
if (!L_9)
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// if (EffectOn == ESR_Transforming.Position)
|
|
int32_t L_10 = __this->___EffectOn_24;
|
|
if (L_10)
|
|
{
|
|
goto IL_0091;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_11 = __this->___Space_26;
|
|
if (L_11)
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset = sp.GetFullOffset() + sp.GetOutsideDirectionalOffsetValue();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_12 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_12);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_14 = V_1;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = SpawnData_GetFullOffset_mE2AEA44FB2A1E9A43E868CE45798A50E70DCE3B3(L_14, (bool)0, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_16 = V_1;
|
|
NullCheck(L_16);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = SpawnData_GetOutsideDirectionalOffsetValue_m1CE3EA93E13E50DB36A3575E4EF5D383D97A7497(L_16, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_17, NULL);
|
|
NullCheck(L_13);
|
|
L_13->___Offset_15 = L_18;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// spawn.DirectionalOffset = sp.GetDirectionalOffsetWithMods() + Quaternion.Inverse(Quaternion.Euler(sp.RotationOffset)) * sp.Offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_19 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_20 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_19);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_21 = V_1;
|
|
NullCheck(L_21);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = SpawnData_GetDirectionalOffsetWithMods_m1A69CD7C75A4D4655066E7BB03404A3E83CF178A(L_21, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_23 = V_1;
|
|
NullCheck(L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = L_23->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
|
|
L_25 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_24, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26;
|
|
L_26 = Quaternion_Inverse_mD9C060AC626A7B406F4984AC98F8358DC89EF512(L_25, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_27 = V_1;
|
|
NullCheck(L_27);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_26, L_28, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
L_30 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_22, L_29, NULL);
|
|
NullCheck(L_20);
|
|
L_20->___DirectionalOffset_19 = L_30;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_0091:
|
|
{
|
|
// else if (EffectOn == ESR_Transforming.Rotation)
|
|
int32_t L_31 = __this->___EffectOn_24;
|
|
if ((!(((uint32_t)L_31) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00ee;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_32 = __this->___Space_26;
|
|
if (L_32)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset = sp.RotationOffset + sp.OutsideRotationOffset + sp.LocalRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_33 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_34 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_33);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_35 = V_1;
|
|
NullCheck(L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = L_35->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_37 = V_1;
|
|
NullCheck(L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = L_37->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_36, L_38, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_40 = V_1;
|
|
NullCheck(L_40);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41 = L_40->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_39, L_41, NULL);
|
|
NullCheck(L_34);
|
|
L_34->___RotationOffset_16 = L_42;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_00c8:
|
|
{
|
|
// spawn.LocalRotationOffset = sp.LocalRotationOffset + sp.OutsideRotationOffset + sp.RotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_43 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_44 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_43);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_45 = V_1;
|
|
NullCheck(L_45);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = L_45->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_47 = V_1;
|
|
NullCheck(L_47);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48 = L_47->___OutsideRotationOffset_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_49;
|
|
L_49 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_46, L_48, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_50 = V_1;
|
|
NullCheck(L_50);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = L_50->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_49, L_51, NULL);
|
|
NullCheck(L_44);
|
|
L_44->___LocalRotationOffset_17 = L_52;
|
|
goto IL_0105;
|
|
}
|
|
|
|
IL_00ee:
|
|
{
|
|
// else if (EffectOn == ESR_Transforming.Scale)
|
|
int32_t L_53 = __this->___EffectOn_24;
|
|
if ((!(((uint32_t)L_53) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0105;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalScaleMul = sp.LocalScaleMul;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_54 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_55 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_54);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_56 = V_1;
|
|
NullCheck(L_56);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = L_56->___LocalScaleMul_18;
|
|
NullCheck(L_55);
|
|
L_55->___LocalScaleMul_18 = L_57;
|
|
}
|
|
|
|
IL_0105:
|
|
{
|
|
// Vector3 randomOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_0 = L_58;
|
|
// if (RandomizeOffset != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = __this->___RandomizeOffset_34;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_61;
|
|
L_61 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_59, L_60, NULL);
|
|
if (!L_61)
|
|
{
|
|
goto IL_0178;
|
|
}
|
|
}
|
|
{
|
|
// randomOffset = new Vector3
|
|
// (
|
|
// FGenerators.GetRandom(-RandomizeOffset.x, RandomizeOffset.x),
|
|
// FGenerators.GetRandom(-RandomizeOffset.y, RandomizeOffset.y),
|
|
// FGenerators.GetRandom(-RandomizeOffset.z, RandomizeOffset.z)
|
|
// );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_62 = (&__this->___RandomizeOffset_34);
|
|
float L_63 = L_62->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_64 = (&__this->___RandomizeOffset_34);
|
|
float L_65 = L_64->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_66;
|
|
L_66 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_63)), L_65, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_67 = (&__this->___RandomizeOffset_34);
|
|
float L_68 = L_67->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_69 = (&__this->___RandomizeOffset_34);
|
|
float L_70 = L_69->___y_3;
|
|
float L_71;
|
|
L_71 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_68)), L_70, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_72 = (&__this->___RandomizeOffset_34);
|
|
float L_73 = L_72->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_74 = (&__this->___RandomizeOffset_34);
|
|
float L_75 = L_74->___z_4;
|
|
float L_76;
|
|
L_76 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_73)), L_75, NULL);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_0), L_66, L_71, L_76, NULL);
|
|
}
|
|
|
|
IL_0178:
|
|
{
|
|
// if (EffectOn == ESR_Transforming.Position)
|
|
int32_t L_77 = __this->___EffectOn_24;
|
|
if (L_77)
|
|
{
|
|
goto IL_0245;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 off = PositionOffset + OffsetPosVariable.GetVector3(Vector3.zero);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78 = __this->___PositionOffset_29;
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* L_79 = __this->___OffsetPosVariable_31;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
|
|
L_80 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_79);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
|
|
L_81 = SpawnerVariableHelper_GetVector3_m66A98638BAB14A2BE5395CA0C777A988053069BA(L_79, L_80, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
|
|
L_82 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_78, L_81, NULL);
|
|
// Vector3 tgtOffset = GetUnitOffset(off + randomOffset, OffsetMode, preset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84;
|
|
L_84 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_82, L_83, NULL);
|
|
int32_t L_85 = __this->___OffsetMode_30;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_86 = ___0_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_87;
|
|
L_87 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_84, L_85, L_86, NULL);
|
|
V_2 = L_87;
|
|
// if (ApplyMode == ESP_OffsetMode.AdditiveOffset)
|
|
int32_t L_88 = __this->___ApplyMode_25;
|
|
if ((!(((uint32_t)L_88) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0205;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace)
|
|
int32_t L_89 = __this->___Space_26;
|
|
if ((!(((uint32_t)L_89) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01f0;
|
|
}
|
|
}
|
|
{
|
|
// spawn.DirectionalOffset += InheritScaleOffset ? Vector3.Scale(tgtOffset, spawn.TempScaleMul) : tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_90 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_91 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_90);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_92 = L_91;
|
|
NullCheck(L_92);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93 = L_92->___DirectionalOffset_19;
|
|
bool L_94 = __this->___InheritScaleOffset_36;
|
|
G_B18_0 = L_93;
|
|
G_B18_1 = L_92;
|
|
if (L_94)
|
|
{
|
|
G_B19_0 = L_93;
|
|
G_B19_1 = L_92;
|
|
goto IL_01d7;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_95 = V_2;
|
|
G_B20_0 = L_95;
|
|
G_B20_1 = G_B18_0;
|
|
G_B20_2 = G_B18_1;
|
|
goto IL_01e5;
|
|
}
|
|
|
|
IL_01d7:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_96 = V_2;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_97 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_98 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_97);
|
|
NullCheck(L_98);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_99 = L_98->___TempScaleMul_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_100;
|
|
L_100 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_96, L_99, NULL);
|
|
G_B20_0 = L_100;
|
|
G_B20_1 = G_B19_0;
|
|
G_B20_2 = G_B19_1;
|
|
}
|
|
|
|
IL_01e5:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_101;
|
|
L_101 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(G_B20_1, G_B20_0, NULL);
|
|
NullCheck(G_B20_2);
|
|
G_B20_2->___DirectionalOffset_19 = L_101;
|
|
return;
|
|
}
|
|
|
|
IL_01f0:
|
|
{
|
|
// spawn.Offset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_102 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_103 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_102);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_104 = L_103;
|
|
NullCheck(L_104);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_105 = L_104->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_106 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_107;
|
|
L_107 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_105, L_106, NULL);
|
|
NullCheck(L_104);
|
|
L_104->___Offset_15 = L_107;
|
|
return;
|
|
}
|
|
|
|
IL_0205:
|
|
{
|
|
// else if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_108 = __this->___ApplyMode_25;
|
|
if (L_108)
|
|
{
|
|
goto IL_03a8;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace)
|
|
int32_t L_109 = __this->___Space_26;
|
|
if ((!(((uint32_t)L_109) == ((uint32_t)1))))
|
|
{
|
|
goto IL_023b;
|
|
}
|
|
}
|
|
{
|
|
// spawn.DirectionalOffset = InheritScaleOffset ? Vector3.Scale(tgtOffset, spawn.TempScaleMul) : tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_110 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_111 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_110);
|
|
bool L_112 = __this->___InheritScaleOffset_36;
|
|
G_B25_0 = L_111;
|
|
if (L_112)
|
|
{
|
|
G_B26_0 = L_111;
|
|
goto IL_0227;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_113 = V_2;
|
|
G_B27_0 = L_113;
|
|
G_B27_1 = G_B25_0;
|
|
goto IL_0235;
|
|
}
|
|
|
|
IL_0227:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_114 = V_2;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_115 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_116 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_115);
|
|
NullCheck(L_116);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_117 = L_116->___TempScaleMul_22;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
|
|
L_118 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_114, L_117, NULL);
|
|
G_B27_0 = L_118;
|
|
G_B27_1 = G_B26_0;
|
|
}
|
|
|
|
IL_0235:
|
|
{
|
|
NullCheck(G_B27_1);
|
|
G_B27_1->___DirectionalOffset_19 = G_B27_0;
|
|
return;
|
|
}
|
|
|
|
IL_023b:
|
|
{
|
|
// spawn.Offset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_119 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_120 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_119);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121 = V_2;
|
|
NullCheck(L_120);
|
|
L_120->___Offset_15 = L_121;
|
|
return;
|
|
}
|
|
|
|
IL_0245:
|
|
{
|
|
// else if (EffectOn == ESR_Transforming.Rotation)
|
|
int32_t L_122 = __this->___EffectOn_24;
|
|
if ((!(((uint32_t)L_122) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0381;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 tgtOffset = RotationOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_123 = __this->___RotationOffset_32;
|
|
V_3 = L_123;
|
|
// if (MaxDegreesSteps.x != 0f) randomOffset.x = OStamperSet.GetAngleFor(MaxDegreesSteps.x, 1f, randomOffset.x / MaxDegreesSteps.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_124 = (&__this->___MaxDegreesSteps_35);
|
|
float L_125 = L_124->___x_2;
|
|
if ((((float)L_125) == ((float)(0.0f))))
|
|
{
|
|
goto IL_0298;
|
|
}
|
|
}
|
|
{
|
|
// if (MaxDegreesSteps.x != 0f) randomOffset.x = OStamperSet.GetAngleFor(MaxDegreesSteps.x, 1f, randomOffset.x / MaxDegreesSteps.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_126 = (&__this->___MaxDegreesSteps_35);
|
|
float L_127 = L_126->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_128 = V_0;
|
|
float L_129 = L_128.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_130 = (&__this->___MaxDegreesSteps_35);
|
|
float L_131 = L_130->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
float L_132;
|
|
L_132 = OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB(L_127, (1.0f), ((float)(L_129/L_131)), NULL);
|
|
(&V_0)->___x_2 = L_132;
|
|
}
|
|
|
|
IL_0298:
|
|
{
|
|
// if (MaxDegreesSteps.y != 0f) randomOffset.y = OStamperSet.GetAngleFor(MaxDegreesSteps.y, 1f, randomOffset.y / MaxDegreesSteps.y);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_133 = (&__this->___MaxDegreesSteps_35);
|
|
float L_134 = L_133->___y_3;
|
|
if ((((float)L_134) == ((float)(0.0f))))
|
|
{
|
|
goto IL_02d8;
|
|
}
|
|
}
|
|
{
|
|
// if (MaxDegreesSteps.y != 0f) randomOffset.y = OStamperSet.GetAngleFor(MaxDegreesSteps.y, 1f, randomOffset.y / MaxDegreesSteps.y);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_135 = (&__this->___MaxDegreesSteps_35);
|
|
float L_136 = L_135->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_137 = V_0;
|
|
float L_138 = L_137.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_139 = (&__this->___MaxDegreesSteps_35);
|
|
float L_140 = L_139->___y_3;
|
|
il2cpp_codegen_runtime_class_init_inline(OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
float L_141;
|
|
L_141 = OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB(L_136, (1.0f), ((float)(L_138/L_140)), NULL);
|
|
(&V_0)->___y_3 = L_141;
|
|
}
|
|
|
|
IL_02d8:
|
|
{
|
|
// if (MaxDegreesSteps.z != 0f) randomOffset.z = OStamperSet.GetAngleFor(MaxDegreesSteps.z, 1f, randomOffset.z / MaxDegreesSteps.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_142 = (&__this->___MaxDegreesSteps_35);
|
|
float L_143 = L_142->___z_4;
|
|
if ((((float)L_143) == ((float)(0.0f))))
|
|
{
|
|
goto IL_0318;
|
|
}
|
|
}
|
|
{
|
|
// if (MaxDegreesSteps.z != 0f) randomOffset.z = OStamperSet.GetAngleFor(MaxDegreesSteps.z, 1f, randomOffset.z / MaxDegreesSteps.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_144 = (&__this->___MaxDegreesSteps_35);
|
|
float L_145 = L_144->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_146 = V_0;
|
|
float L_147 = L_146.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_148 = (&__this->___MaxDegreesSteps_35);
|
|
float L_149 = L_148->___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
float L_150;
|
|
L_150 = OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB(L_145, (1.0f), ((float)(L_147/L_149)), NULL);
|
|
(&V_0)->___z_4 = L_150;
|
|
}
|
|
|
|
IL_0318:
|
|
{
|
|
// tgtOffset += randomOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_151 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_153;
|
|
L_153 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_151, L_152, NULL);
|
|
V_3 = L_153;
|
|
// if (ApplyMode == ESP_OffsetMode.AdditiveOffset)
|
|
int32_t L_154 = __this->___ApplyMode_25;
|
|
if ((!(((uint32_t)L_154) == ((uint32_t)1))))
|
|
{
|
|
goto IL_035c;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace)
|
|
int32_t L_155 = __this->___Space_26;
|
|
if ((!(((uint32_t)L_155) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0347;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalRotationOffset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_156 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_157 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_156);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_158 = L_157;
|
|
NullCheck(L_158);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_159 = L_158->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_160 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161;
|
|
L_161 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_159, L_160, NULL);
|
|
NullCheck(L_158);
|
|
L_158->___LocalRotationOffset_17 = L_161;
|
|
return;
|
|
}
|
|
|
|
IL_0347:
|
|
{
|
|
// spawn.RotationOffset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_162 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_163 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_162);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_164 = L_163;
|
|
NullCheck(L_164);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_165 = L_164->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_166 = V_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_167;
|
|
L_167 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_165, L_166, NULL);
|
|
NullCheck(L_164);
|
|
L_164->___RotationOffset_16 = L_167;
|
|
return;
|
|
}
|
|
|
|
IL_035c:
|
|
{
|
|
// else if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_168 = __this->___ApplyMode_25;
|
|
if (L_168)
|
|
{
|
|
goto IL_03a8;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace)
|
|
int32_t L_169 = __this->___Space_26;
|
|
if ((!(((uint32_t)L_169) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0377;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalRotationOffset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_170 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_171 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_170);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_172 = V_3;
|
|
NullCheck(L_171);
|
|
L_171->___LocalRotationOffset_17 = L_172;
|
|
return;
|
|
}
|
|
|
|
IL_0377:
|
|
{
|
|
// spawn.RotationOffset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_173 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_174 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_173);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_175 = V_3;
|
|
NullCheck(L_174);
|
|
L_174->___RotationOffset_16 = L_175;
|
|
return;
|
|
}
|
|
|
|
IL_0381:
|
|
{
|
|
// else if (EffectOn == ESR_Transforming.Scale)
|
|
int32_t L_176 = __this->___EffectOn_24;
|
|
if ((!(((uint32_t)L_176) == ((uint32_t)2))))
|
|
{
|
|
goto IL_03a8;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalScaleMul = Vector3.Scale(ScaleMultiplier, (Vector3.one + randomOffset));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_177 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_178 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_177);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_179 = __this->___ScaleMultiplier_33;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_180;
|
|
L_180 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_181 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_182;
|
|
L_182 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_180, L_181, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_183;
|
|
L_183 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_179, L_182, NULL);
|
|
NullCheck(L_178);
|
|
L_178->___LocalScaleMul_18 = L_183;
|
|
}
|
|
|
|
IL_03a8:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.SR_MoveRotateScale::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_MoveRotateScale__ctor_m750DC011EE5EEF51F7AED004B15147C19B6DB270 (SR_MoveRotateScale_tB0D12D41A602C2463B3CB6383ABF2AC07C3CA83C* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// [HideInInspector] public string GetCoords = "";
|
|
__this->___GetCoords_27 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___GetCoords_27), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public Vector3 PositionOffset = new Vector3(0f, 0f, 0f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (0.0f), (0.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___PositionOffset_29 = L_0;
|
|
// [HideInInspector] public ESR_Measuring OffsetMode = ESR_Measuring.Cells;
|
|
__this->___OffsetMode_30 = 1;
|
|
// public SpawnerVariableHelper OffsetPosVariable = new SpawnerVariableHelper(FieldVariable.EVarType.Vector3);
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* L_1 = (SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580*)il2cpp_codegen_object_new(SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
SpawnerVariableHelper__ctor_mF828EE6B9923E72940E7E0596264490131AACC04(L_1, 5, NULL);
|
|
__this->___OffsetPosVariable_31 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___OffsetPosVariable_31), (void*)L_1);
|
|
// public Vector3 RotationOffset = new Vector3(0f, 90f, 0f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_2), (0.0f), (90.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___RotationOffset_32 = L_2;
|
|
// public Vector3 ScaleMultiplier = new Vector3(1f, 1f, 1f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), (1.0f), (1.0f), (1.0f), /*hidden argument*/NULL);
|
|
__this->___ScaleMultiplier_33 = L_3;
|
|
// public Vector3 RandomizeOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomizeOffset_34 = L_4;
|
|
// public Vector3 MaxDegreesSteps = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___MaxDegreesSteps_35 = L_5;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PerlinNoiseOffset_TitleName_m72C8550994A33C3F0AC813B5898B9BA55F19A58C (SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB9E063707D8337C1291D48BD049BF1C0DCAEB8F9);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Perlin Noise Offset"; }
|
|
return _stringLiteralB9E063707D8337C1291D48BD049BF1C0DCAEB8F9;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PerlinNoiseOffset_Tooltip_mBB2C6B6FD5373F8077F9C1AC7517A180ED5B74C4 (SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB4534572C00A4604B3547F16ADD9CC1F26EF2985);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Transforming position of the spawned object with perlin noise offset, can provide landscape effect"; }
|
|
return _stringLiteralB4534572C00A4604B3547F16ADD9CC1F26EF2985;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_PerlinNoiseOffset_get_Type_mC4F6625F22F29BE646B7E86350C65057FD4E4DE3 (SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PerlinNoiseOffset_CellInfluence_m1411C345DE37520E298A6C1A152BA377CB827586 (SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// Vector3 tgtOffset = PosOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___PosOffset_24;
|
|
V_0 = L_0;
|
|
// float xNoise = Mathf.PerlinNoise(cell.PosXZ.x * PerlinNoiseScale.x * 0.01f + OffsetNoise.x, cell.PosXZ.y * PerlinNoiseScale.y * 0.01f + +OffsetNoise.y);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_1 = ___2_cell;
|
|
NullCheck(L_1);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_2;
|
|
L_2 = FieldCell_get_PosXZ_m904286C07277ACB3FD4D2610B76E923BD3783781(L_1, NULL);
|
|
V_2 = L_2;
|
|
int32_t L_3;
|
|
L_3 = Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline((&V_2), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_4 = (&__this->___PerlinNoiseScale_28);
|
|
float L_5 = L_4->___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_6 = (&__this->___OffsetNoise_29);
|
|
float L_7 = L_6->___x_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___2_cell;
|
|
NullCheck(L_8);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_9;
|
|
L_9 = FieldCell_get_PosXZ_m904286C07277ACB3FD4D2610B76E923BD3783781(L_8, NULL);
|
|
V_2 = L_9;
|
|
int32_t L_10;
|
|
L_10 = Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline((&V_2), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_11 = (&__this->___PerlinNoiseScale_28);
|
|
float L_12 = L_11->___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_13 = (&__this->___OffsetNoise_29);
|
|
float L_14 = L_13->___y_1;
|
|
float L_15;
|
|
L_15 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_3), L_5)), (0.00999999978f))), L_7)), ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_10), L_12)), (0.00999999978f))), L_14)), NULL);
|
|
V_1 = L_15;
|
|
// tgtOffset.x *= xNoise;
|
|
float* L_16 = (&(&V_0)->___x_2);
|
|
float* L_17 = L_16;
|
|
float L_18 = *((float*)L_17);
|
|
float L_19 = V_1;
|
|
*((float*)L_17) = (float)((float)il2cpp_codegen_multiply(L_18, L_19));
|
|
// tgtOffset.y *= xNoise;
|
|
float* L_20 = (&(&V_0)->___y_3);
|
|
float* L_21 = L_20;
|
|
float L_22 = *((float*)L_21);
|
|
float L_23 = V_1;
|
|
*((float*)L_21) = (float)((float)il2cpp_codegen_multiply(L_22, L_23));
|
|
// tgtOffset.z *= xNoise;
|
|
float* L_24 = (&(&V_0)->___z_4);
|
|
float* L_25 = L_24;
|
|
float L_26 = *((float*)L_25);
|
|
float L_27 = V_1;
|
|
*((float*)L_25) = (float)((float)il2cpp_codegen_multiply(L_26, L_27));
|
|
// tgtOffset = GetUnitOffset(tgtOffset, OffsetMode, preset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = V_0;
|
|
int32_t L_29 = __this->___OffsetMode_25;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_30 = ___0_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_28, L_29, L_30, NULL);
|
|
V_0 = L_31;
|
|
// if (SquareSteps > 0f)
|
|
float L_32 = __this->___SquareSteps_30;
|
|
if ((!(((float)L_32) > ((float)(0.0f)))))
|
|
{
|
|
goto IL_0108;
|
|
}
|
|
}
|
|
{
|
|
// tgtOffset.x = Mathf.Round(tgtOffset.x * SquareSteps) * SquareSteps;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_0;
|
|
float L_34 = L_33.___x_2;
|
|
float L_35 = __this->___SquareSteps_30;
|
|
float L_36;
|
|
L_36 = bankers_roundf(((float)il2cpp_codegen_multiply(L_34, L_35)));
|
|
float L_37 = __this->___SquareSteps_30;
|
|
(&V_0)->___x_2 = ((float)il2cpp_codegen_multiply(L_36, L_37));
|
|
// tgtOffset.y = Mathf.Round(tgtOffset.y * SquareSteps) * SquareSteps;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_38 = V_0;
|
|
float L_39 = L_38.___y_3;
|
|
float L_40 = __this->___SquareSteps_30;
|
|
float L_41;
|
|
L_41 = bankers_roundf(((float)il2cpp_codegen_multiply(L_39, L_40)));
|
|
float L_42 = __this->___SquareSteps_30;
|
|
(&V_0)->___y_3 = ((float)il2cpp_codegen_multiply(L_41, L_42));
|
|
// tgtOffset.z = Mathf.Round(tgtOffset.z * SquareSteps) * SquareSteps;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = V_0;
|
|
float L_44 = L_43.___z_4;
|
|
float L_45 = __this->___SquareSteps_30;
|
|
float L_46;
|
|
L_46 = bankers_roundf(((float)il2cpp_codegen_multiply(L_44, L_45)));
|
|
float L_47 = __this->___SquareSteps_30;
|
|
(&V_0)->___z_4 = ((float)il2cpp_codegen_multiply(L_46, L_47));
|
|
goto IL_0113;
|
|
}
|
|
|
|
IL_0108:
|
|
{
|
|
// SquareSteps = 0f;
|
|
__this->___SquareSteps_30 = (0.0f);
|
|
}
|
|
|
|
IL_0113:
|
|
{
|
|
// if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_48 = __this->___ApplyMode_26;
|
|
if (L_48)
|
|
{
|
|
goto IL_0138;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace) spawn.DirectionalOffset = tgtOffset;
|
|
int32_t L_49 = __this->___Space_27;
|
|
if ((!(((uint32_t)L_49) == ((uint32_t)1))))
|
|
{
|
|
goto IL_012e;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace) spawn.DirectionalOffset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_50 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_51 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_50);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_0;
|
|
NullCheck(L_51);
|
|
L_51->___DirectionalOffset_19 = L_52;
|
|
return;
|
|
}
|
|
|
|
IL_012e:
|
|
{
|
|
// else spawn.Offset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_53 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_54 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_53);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_55 = V_0;
|
|
NullCheck(L_54);
|
|
L_54->___Offset_15 = L_55;
|
|
return;
|
|
}
|
|
|
|
IL_0138:
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace) spawn.DirectionalOffset += tgtOffset;
|
|
int32_t L_56 = __this->___Space_27;
|
|
if ((!(((uint32_t)L_56) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0156;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.LocalSpace) spawn.DirectionalOffset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_57 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_58 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_57);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_59 = L_58;
|
|
NullCheck(L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = L_59->___DirectionalOffset_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
|
|
L_62 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_60, L_61, NULL);
|
|
NullCheck(L_59);
|
|
L_59->___DirectionalOffset_19 = L_62;
|
|
return;
|
|
}
|
|
|
|
IL_0156:
|
|
{
|
|
// else spawn.Offset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_63 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_64 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_63);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_65 = L_64;
|
|
NullCheck(L_65);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = L_65->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
|
|
L_68 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_66, L_67, NULL);
|
|
NullCheck(L_65);
|
|
L_65->___Offset_15 = L_68;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PerlinNoiseOffset__ctor_m5836BC8D4DF84804306F750A89F2FAA4DAA195FD (SR_PerlinNoiseOffset_t87ACEC53C370856F5469D43F9B1D00C30E5CAAE8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 PosOffset = new Vector3(0f,2f,0f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (0.0f), (2.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___PosOffset_24 = L_0;
|
|
// [HideInInspector] public ESR_Measuring OffsetMode = ESR_Measuring.Cells;
|
|
__this->___OffsetMode_25 = 1;
|
|
// [HideInInspector] public ESP_OffsetSpace Space = ESP_OffsetSpace.LocalSpace;
|
|
__this->___Space_27 = 1;
|
|
// public Vector2 PerlinNoiseScale = new Vector2(16, 16);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_1), (16.0f), (16.0f), /*hidden argument*/NULL);
|
|
__this->___PerlinNoiseScale_28 = L_1;
|
|
// public Vector2 OffsetNoise = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___OffsetNoise_29 = L_2;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PerlinNoiseRotationOrScale_TitleName_mFA440968A485AE29244D4F6E5774B9151B1E2F01 (SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD466246A6E3E3BC24511E989F092D8976409866E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Perlin Noise Rotation-Scale"; }
|
|
return _stringLiteralD466246A6E3E3BC24511E989F092D8976409866E;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PerlinNoiseRotationOrScale_Tooltip_m6678D3352176F1C6DE2308D8BE47926298AA9798 (SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF7DCC809A0206A118B310D23BCE163B52899B077);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Transforming rotation or scale of the spawned object with perlin noise offset, can provide landscape effect"; }
|
|
return _stringLiteralF7DCC809A0206A118B310D23BCE163B52899B077;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_PerlinNoiseRotationOrScale_get_Type_m4697B39A35EC79E8E5ACDC20704EB6FFEFC170FF (SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PerlinNoiseRotationOrScale_CellInfluence_m5446F1A0D4F7434A7B227821DF2B6550A820A7AF (SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// Vector3 tgtOffset = Offset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___Offset_24;
|
|
V_0 = L_0;
|
|
// float xNoise = Mathf.PerlinNoise(cell.PosXZ.x * PerlinNoiseScale.x * 0.01f + OffsetNoise.x, cell.PosXZ.y * PerlinNoiseScale.y * 0.01f + +OffsetNoise.y);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_1 = ___2_cell;
|
|
NullCheck(L_1);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_2;
|
|
L_2 = FieldCell_get_PosXZ_m904286C07277ACB3FD4D2610B76E923BD3783781(L_1, NULL);
|
|
V_2 = L_2;
|
|
int32_t L_3;
|
|
L_3 = Vector2Int_get_x_mA2CACB1B6E6B5AD0CCC32B2CD2EDCE3ECEB50576_inline((&V_2), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_4 = (&__this->___PerlinNoiseScale_27);
|
|
float L_5 = L_4->___x_0;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_6 = (&__this->___OffsetNoise_28);
|
|
float L_7 = L_6->___x_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___2_cell;
|
|
NullCheck(L_8);
|
|
Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A L_9;
|
|
L_9 = FieldCell_get_PosXZ_m904286C07277ACB3FD4D2610B76E923BD3783781(L_8, NULL);
|
|
V_2 = L_9;
|
|
int32_t L_10;
|
|
L_10 = Vector2Int_get_y_m48454163ECF0B463FB5A16A0C4FC4B14DB0768B3_inline((&V_2), NULL);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_11 = (&__this->___PerlinNoiseScale_27);
|
|
float L_12 = L_11->___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_13 = (&__this->___OffsetNoise_28);
|
|
float L_14 = L_13->___y_1;
|
|
float L_15;
|
|
L_15 = Mathf_PerlinNoise_mAB0E53C29FE95469CF303364910AD0D8662A9A6A(((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_3), L_5)), (0.00999999978f))), L_7)), ((float)il2cpp_codegen_add(((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(((float)L_10), L_12)), (0.00999999978f))), L_14)), NULL);
|
|
V_1 = L_15;
|
|
// if (xNoise < OptionalClamp.x) xNoise = OptionalClamp.x;
|
|
float L_16 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_17 = (&__this->___OptionalClamp_29);
|
|
float L_18 = L_17->___x_0;
|
|
if ((!(((float)L_16) < ((float)L_18))))
|
|
{
|
|
goto IL_0081;
|
|
}
|
|
}
|
|
{
|
|
// if (xNoise < OptionalClamp.x) xNoise = OptionalClamp.x;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_19 = (&__this->___OptionalClamp_29);
|
|
float L_20 = L_19->___x_0;
|
|
V_1 = L_20;
|
|
}
|
|
|
|
IL_0081:
|
|
{
|
|
// if (xNoise > OptionalClamp.y) xNoise = OptionalClamp.y;
|
|
float L_21 = V_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_22 = (&__this->___OptionalClamp_29);
|
|
float L_23 = L_22->___y_1;
|
|
if ((!(((float)L_21) > ((float)L_23))))
|
|
{
|
|
goto IL_009b;
|
|
}
|
|
}
|
|
{
|
|
// if (xNoise > OptionalClamp.y) xNoise = OptionalClamp.y;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_24 = (&__this->___OptionalClamp_29);
|
|
float L_25 = L_24->___y_1;
|
|
V_1 = L_25;
|
|
}
|
|
|
|
IL_009b:
|
|
{
|
|
// tgtOffset.x *= xNoise;
|
|
float* L_26 = (&(&V_0)->___x_2);
|
|
float* L_27 = L_26;
|
|
float L_28 = *((float*)L_27);
|
|
float L_29 = V_1;
|
|
*((float*)L_27) = (float)((float)il2cpp_codegen_multiply(L_28, L_29));
|
|
// tgtOffset.y *= xNoise;
|
|
float* L_30 = (&(&V_0)->___y_3);
|
|
float* L_31 = L_30;
|
|
float L_32 = *((float*)L_31);
|
|
float L_33 = V_1;
|
|
*((float*)L_31) = (float)((float)il2cpp_codegen_multiply(L_32, L_33));
|
|
// tgtOffset.z *= xNoise;
|
|
float* L_34 = (&(&V_0)->___z_4);
|
|
float* L_35 = L_34;
|
|
float L_36 = *((float*)L_35);
|
|
float L_37 = V_1;
|
|
*((float*)L_35) = (float)((float)il2cpp_codegen_multiply(L_36, L_37));
|
|
// if (ApplyMode == ESP_OffsetMode.OverrideOffset)
|
|
int32_t L_38 = __this->___ApplyMode_26;
|
|
if (L_38)
|
|
{
|
|
goto IL_00ed;
|
|
}
|
|
}
|
|
{
|
|
// if (EffectOn == ESR_RotationOrScale.Rotation) spawn.RotationOffset = tgtOffset;
|
|
int32_t L_39 = __this->___EffectOn_25;
|
|
if (L_39)
|
|
{
|
|
goto IL_00d9;
|
|
}
|
|
}
|
|
{
|
|
// if (EffectOn == ESR_RotationOrScale.Rotation) spawn.RotationOffset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_40 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_40);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_0;
|
|
NullCheck(L_41);
|
|
L_41->___RotationOffset_16 = L_42;
|
|
return;
|
|
}
|
|
|
|
IL_00d9:
|
|
{
|
|
// else spawn.LocalScaleMul = Vector3.one + tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_43 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_44 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_45, L_46, NULL);
|
|
NullCheck(L_44);
|
|
L_44->___LocalScaleMul_18 = L_47;
|
|
return;
|
|
}
|
|
|
|
IL_00ed:
|
|
{
|
|
// if (EffectOn == ESR_RotationOrScale.Rotation) spawn.RotationOffset += tgtOffset;
|
|
int32_t L_48 = __this->___EffectOn_25;
|
|
if (L_48)
|
|
{
|
|
goto IL_010a;
|
|
}
|
|
}
|
|
{
|
|
// if (EffectOn == ESR_RotationOrScale.Rotation) spawn.RotationOffset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_49 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_50 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_49);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_51 = L_50;
|
|
NullCheck(L_51);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = L_51->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_52, L_53, NULL);
|
|
NullCheck(L_51);
|
|
L_51->___RotationOffset_16 = L_54;
|
|
return;
|
|
}
|
|
|
|
IL_010a:
|
|
{
|
|
// else spawn.LocalScaleMul += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_55 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_56 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_55);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_57 = L_56;
|
|
NullCheck(L_57);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = L_57->___LocalScaleMul_18;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_58, L_59, NULL);
|
|
NullCheck(L_57);
|
|
L_57->___LocalScaleMul_18 = L_60;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Noise.SR_PerlinNoiseRotationOrScale::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PerlinNoiseRotationOrScale__ctor_m29A73F1073154CC975C2765B662087B1D71D464F (SR_PerlinNoiseRotationOrScale_t3796B18CAE90922E55ED47715CCE35BBAF4CE218* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 Offset = new Vector3(0f,1f,0f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (0.0f), (1.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___Offset_24 = L_0;
|
|
// [HideInInspector] public ESR_RotationOrScale EffectOn = ESR_RotationOrScale.Scale;
|
|
__this->___EffectOn_25 = 1;
|
|
// public Vector2 PerlinNoiseScale = new Vector2(16, 16);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_1), (16.0f), (16.0f), /*hidden argument*/NULL);
|
|
__this->___PerlinNoiseScale_27 = L_1;
|
|
// public Vector2 OffsetNoise = Vector2.zero;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
L_2 = Vector2_get_zero_m32506C40EC2EE7D5D4410BF40D3EE683A3D5F32C_inline(NULL);
|
|
__this->___OffsetNoise_28 = L_2;
|
|
// [HideInInspector] public Vector2 OptionalClamp = new Vector2(0f, 1f);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_3), (0.0f), (1.0f), /*hidden argument*/NULL);
|
|
__this->___OptionalClamp_29 = L_3;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_ChangeRotationPivot_TitleName_mA6D708CB2F143BCB259008C8691DCAB3E326542C (SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral8934F9FEA82205C3C7B334CD4FA0F87C05415051);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Change Rotation Pivot"; }
|
|
return _stringLiteral8934F9FEA82205C3C7B334CD4FA0F87C05415051;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_ChangeRotationPivot_Tooltip_mAA32C0B6134BD47B6CFEA032EE996E34680EBA42 (SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD07E67E93FCF46C6FD0D3C112F00DBEFF53779C9);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Getting final rotation and offsetting model position to be positioned like it's rotated around different pivot/origin point"; }
|
|
return _stringLiteralD07E67E93FCF46C6FD0D3C112F00DBEFF53779C9;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_ChangeRotationPivot_get_Type_m6EA8834D779BA1CAA3FFDDE9E042F9C0FD14A7F5 (SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.OnConditionsMet; } }
|
|
return (int32_t)(3);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_ChangeRotationPivot_OnConditionsMetAction_mD472A8181387CABF79C23E3F538703EE886B90B7 (SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
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));
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// Vector3 pivotOffsetted = GetUnitOffset(PivotOffset, OffsetMode, preset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = __this->___PivotOffset_24;
|
|
int32_t L_1 = __this->___OffsetMode_25;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_2 = ___2_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_0, L_1, L_2, NULL);
|
|
V_0 = L_3;
|
|
// Vector3 finalEulerRot = spawn.GetFullRotationOffset();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_4 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_5 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_4);
|
|
NullCheck(L_5);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = SpawnData_GetFullRotationOffset_m42FD3CC48463DD38581F4CF994AAE239E592872B(L_5, NULL);
|
|
// Quaternion finalRot = Quaternion.Euler(finalEulerRot);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_7;
|
|
L_7 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_6, NULL);
|
|
V_1 = L_7;
|
|
// Matrix4x4 mx = Matrix4x4.TRS(pivotOffsetted, finalRot, Vector3.one);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_9 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
Matrix4x4_tDB70CF134A14BA38190C59AA700BCE10E2AED3E6 L_11;
|
|
L_11 = Matrix4x4_TRS_mCC04FD47347234B451ACC6CCD2CE6D02E1E0E1E3(L_8, L_9, L_10, NULL);
|
|
V_2 = L_11;
|
|
// spawn.Offset += mx.MultiplyVector(pivotOffsetted);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_12 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_12);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_14 = L_13;
|
|
NullCheck(L_14);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = L_14->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Matrix4x4_MultiplyVector_mFD12F86A473E90BBB0002149ABA3917B2A518937((&V_2), L_16, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18;
|
|
L_18 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_15, L_17, NULL);
|
|
NullCheck(L_14);
|
|
L_14->___Offset_15 = L_18;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_ChangeRotationPivot::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_ChangeRotationPivot__ctor_m078567A839CA5EAAC8014453CA921A4DC54B260D (SR_ChangeRotationPivot_tE53DC236D1D1ECBBD6AAF4C01AF48E1F18DF7268* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 PivotOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___PivotOffset_24 = L_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_DirectOffset_TitleName_m890BD9D72B8C16E715C761A6DFAB5F400DA40EB4 (SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1EF32B1C3A248968852E1CB514F5BEBE4970B46F);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Direct Offset"; }
|
|
return _stringLiteral1EF32B1C3A248968852E1CB514F5BEBE4970B46F;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_DirectOffset_Tooltip_m333D9BFC820226C66EE6568F710B11457CC49321 (SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA73801F858CF375C2C41EBC42F36336C72DAD01E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Offsetting spawn position according to current spawn ROTATION parameters"; }
|
|
return _stringLiteralA73801F858CF375C2C41EBC42F36336C72DAD01E;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_DirectOffset_get_Type_m903DDED36D80A11A22FF3B87D6F8D46518A2A8AB (SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_DirectOffset_CellInfluence_mC846623DEF308E91B63F283717EE25BE704700EA (SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_0 = NULL;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// SpawnData getSpawn = CellSpawnsHaveSpecifics(cell, GetOffsetFromTagged, CheckMode, spawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___2_cell;
|
|
String_t* L_1 = __this->___GetOffsetFromTagged_26;
|
|
int32_t L_2 = __this->___CheckMode_27;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_3 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_3);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_5;
|
|
L_5 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_0, L_1, L_2, L_4, (bool)0, NULL);
|
|
V_0 = L_5;
|
|
// Vector3 rOffset = new Vector3
|
|
// (
|
|
// FGenerators.GetRandom(-RandomOffset.x, RandomOffset.x),
|
|
// FGenerators.GetRandom(-RandomOffset.y, RandomOffset.y),
|
|
// FGenerators.GetRandom(-RandomOffset.z, RandomOffset.z)
|
|
// );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_6 = (&__this->___RandomOffset_30);
|
|
float L_7 = L_6->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_8 = (&__this->___RandomOffset_30);
|
|
float L_9 = L_8->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_10;
|
|
L_10 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_7)), L_9, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_11 = (&__this->___RandomOffset_30);
|
|
float L_12 = L_11->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_13 = (&__this->___RandomOffset_30);
|
|
float L_14 = L_13->___y_3;
|
|
float L_15;
|
|
L_15 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_12)), L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_16 = (&__this->___RandomOffset_30);
|
|
float L_17 = L_16->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_18 = (&__this->___RandomOffset_30);
|
|
float L_19 = L_18->___z_4;
|
|
float L_20;
|
|
L_20 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_17)), L_19, NULL);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_1), L_10, L_15, L_20, NULL);
|
|
// if (Randomize == false) rOffset = Vector3.zero;
|
|
bool L_21 = __this->___Randomize_25;
|
|
if (L_21)
|
|
{
|
|
goto IL_0080;
|
|
}
|
|
}
|
|
{
|
|
// if (Randomize == false) rOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_1 = L_22;
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// Vector3 fullOffset = Offset + rOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23 = __this->___Offset_28;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_23, L_24, NULL);
|
|
V_2 = L_25;
|
|
// fullOffset = GetUnitOffset(fullOffset, OffsetMode, preset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = V_2;
|
|
int32_t L_27 = __this->___OffsetMode_29;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_28 = ___0_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_26, L_27, L_28, NULL);
|
|
V_2 = L_29;
|
|
// if (Append)
|
|
bool L_30 = __this->___Append_24;
|
|
if (!L_30)
|
|
{
|
|
goto IL_00b8;
|
|
}
|
|
}
|
|
{
|
|
// spawn.DirectionalOffset += fullOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_31 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_32 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_31);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_33 = L_32;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___DirectionalOffset_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_34, L_35, NULL);
|
|
NullCheck(L_33);
|
|
L_33->___DirectionalOffset_19 = L_36;
|
|
return;
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(getSpawn))
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_37 = V_0;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_38;
|
|
L_38 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_37, NULL);
|
|
if (!L_38)
|
|
{
|
|
goto IL_00e5;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset = getSpawn.Offset + Quaternion.Euler(getSpawn.RotationOffset) * (fullOffset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_39 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_40 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_39);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41 = V_0;
|
|
NullCheck(L_41);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = L_41->___Offset_15;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_43 = V_0;
|
|
NullCheck(L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = L_43->___RotationOffset_16;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_45;
|
|
L_45 = Quaternion_Euler_m5BCCC19216CFAD2426F15BC51A30421880D27B73_inline(L_44, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_46 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
L_47 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_45, L_46, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_42, L_47, NULL);
|
|
NullCheck(L_40);
|
|
L_40->___Offset_15 = L_48;
|
|
return;
|
|
}
|
|
|
|
IL_00e5:
|
|
{
|
|
// spawn.DirectionalOffset = fullOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_49 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_50 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_49);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_2;
|
|
NullCheck(L_50);
|
|
L_50->___DirectionalOffset_19 = L_51;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_DirectOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_DirectOffset__ctor_m943DCD9BEEFEB8E8F220E4CB64194FF922F286E2 (SR_DirectOffset_t8293BF093A09E4193DE120A9BA215D8E9D688C31* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string GetOffsetFromTagged = "";
|
|
__this->___GetOffsetFromTagged_26 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___GetOffsetFromTagged_26), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public Vector3 Offset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___Offset_28 = L_0;
|
|
// [HideInInspector] public Vector3 RandomOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomOffset_30 = L_1;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetCommandRotation_TitleName_m13DCB18A9BA773A9421338C0EFCA4250F3BA9FC4 (SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3652A179BD2BEF5762AA4589AD9FFF26089083E0);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Get Command Rotation"; }
|
|
return _stringLiteral3652A179BD2BEF5762AA4589AD9FFF26089083E0;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetCommandRotation_Tooltip_m8C369FABDC615A7EA0C2B61D38D46FFD84051BDC (SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC3885CAA732652C12FF70288FAE25D20CDC7D3EC);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Getting rotation out of command placed in cell"; }
|
|
return _stringLiteralC3885CAA732652C12FF70288FAE25D20CDC7D3EC;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_GetCommandRotation_get_Type_m1BE9BCB163F57D2696614990B8618138FB5E0D8E (SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetCommandRotation_CellInfluence_mC5C4D94CB090235FA5D988F49FF331F0C723F279 (SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_mB4ADA4D9A5748F42C1FCC90E32DAEDDEC0F6B937_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m5FBFF78EF8C3B3080BB1DE6173404D2C4B423A25_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
bool V_2 = false;
|
|
int32_t V_3 = 0;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* V_4 = NULL;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_5;
|
|
memset((&V_5), 0, sizeof(V_5));
|
|
{
|
|
// if (cell.GuidesIn == null) return; // No Commands
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___2_cell;
|
|
NullCheck(L_0);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_1 = L_0->___GuidesIn_27;
|
|
if (L_1)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.GuidesIn == null) return; // No Commands
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (cell.GuidesIn.Count == 0) return;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
NullCheck(L_2);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_3 = L_2->___GuidesIn_27;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_inline(L_3, List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_RuntimeMethod_var);
|
|
if (L_4)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.GuidesIn.Count == 0) return;
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// SpawnInstruction targetCommand = cell.GuidesIn[0];
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_5 = ___2_cell;
|
|
NullCheck(L_5);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_6 = L_5->___GuidesIn_27;
|
|
NullCheck(L_6);
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 L_7;
|
|
L_7 = List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D(L_6, 0, List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var);
|
|
V_0 = L_7;
|
|
// if (string.IsNullOrEmpty(OnlyFromSpecificCellData) == false)
|
|
String_t* L_8 = __this->___OnlyFromSpecificCellData_24;
|
|
bool L_9;
|
|
L_9 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_8, NULL);
|
|
if (L_9)
|
|
{
|
|
goto IL_00f0;
|
|
}
|
|
}
|
|
{
|
|
// bool found = false;
|
|
V_2 = (bool)0;
|
|
// for (int i = 0; i < cell.GuidesIn.Count; i++)
|
|
V_3 = 0;
|
|
goto IL_00db;
|
|
}
|
|
|
|
IL_003d:
|
|
{
|
|
// InstructionDefinition command = cell.GuidesIn[i].definition;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_10 = ___2_cell;
|
|
NullCheck(L_10);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_11 = L_10->___GuidesIn_27;
|
|
int32_t L_12 = V_3;
|
|
NullCheck(L_11);
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 L_13;
|
|
L_13 = List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D(L_11, L_12, List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var);
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_14 = L_13.___definition_3;
|
|
V_4 = L_14;
|
|
// if (FGenerators.CheckIfIsNull(command))
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_15 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_16;
|
|
L_16 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_15, NULL);
|
|
if (!L_16)
|
|
{
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.GuidesIn[i].HelperID < preset.CellsCommands.Count) command = preset.CellsCommands[cell.GuidesIn[i].HelperID];
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17 = ___2_cell;
|
|
NullCheck(L_17);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_18 = L_17->___GuidesIn_27;
|
|
int32_t L_19 = V_3;
|
|
NullCheck(L_18);
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 L_20;
|
|
L_20 = List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D(L_18, L_19, List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var);
|
|
int32_t L_21 = L_20.___HelperID_7;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_22 = ___0_preset;
|
|
NullCheck(L_22);
|
|
List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* L_23;
|
|
L_23 = FieldSetup_get_CellsCommands_mC80338839F3D9686118A8CC06FB3FDDA528ED4A3_inline(L_22, NULL);
|
|
NullCheck(L_23);
|
|
int32_t L_24;
|
|
L_24 = List_1_get_Count_mB4ADA4D9A5748F42C1FCC90E32DAEDDEC0F6B937_inline(L_23, List_1_get_Count_mB4ADA4D9A5748F42C1FCC90E32DAEDDEC0F6B937_RuntimeMethod_var);
|
|
if ((((int32_t)L_21) >= ((int32_t)L_24)))
|
|
{
|
|
goto IL_0095;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.GuidesIn[i].HelperID < preset.CellsCommands.Count) command = preset.CellsCommands[cell.GuidesIn[i].HelperID];
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_25 = ___0_preset;
|
|
NullCheck(L_25);
|
|
List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* L_26;
|
|
L_26 = FieldSetup_get_CellsCommands_mC80338839F3D9686118A8CC06FB3FDDA528ED4A3_inline(L_25, NULL);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_27 = ___2_cell;
|
|
NullCheck(L_27);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_28 = L_27->___GuidesIn_27;
|
|
int32_t L_29 = V_3;
|
|
NullCheck(L_28);
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 L_30;
|
|
L_30 = List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D(L_28, L_29, List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var);
|
|
int32_t L_31 = L_30.___HelperID_7;
|
|
NullCheck(L_26);
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_32;
|
|
L_32 = List_1_get_Item_m5FBFF78EF8C3B3080BB1DE6173404D2C4B423A25(L_26, L_31, List_1_get_Item_m5FBFF78EF8C3B3080BB1DE6173404D2C4B423A25_RuntimeMethod_var);
|
|
V_4 = L_32;
|
|
}
|
|
|
|
IL_0095:
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(command)) continue;
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_33 = V_4;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_34;
|
|
L_34 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_33, NULL);
|
|
if (L_34)
|
|
{
|
|
goto IL_00d7;
|
|
}
|
|
}
|
|
{
|
|
// if ( command.InstructionType == InstructionDefinition.EInstruction.InjectDataString || command.InstructionType == InstructionDefinition.EInstruction.DoorHole)
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_35 = V_4;
|
|
NullCheck(L_35);
|
|
int32_t L_36 = L_35->___InstructionType_1;
|
|
if ((((int32_t)L_36) == ((int32_t)7)))
|
|
{
|
|
goto IL_00b2;
|
|
}
|
|
}
|
|
{
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_37 = V_4;
|
|
NullCheck(L_37);
|
|
int32_t L_38 = L_37->___InstructionType_1;
|
|
if ((!(((uint32_t)L_38) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00d7;
|
|
}
|
|
}
|
|
|
|
IL_00b2:
|
|
{
|
|
// if ( command.InstructionArgument == OnlyFromSpecificCellData)
|
|
InstructionDefinition_t9455A0241A36B5E034A8C152F819BA3B56D5F445* L_39 = V_4;
|
|
NullCheck(L_39);
|
|
String_t* L_40 = L_39->___InstructionArgument_4;
|
|
String_t* L_41 = __this->___OnlyFromSpecificCellData_24;
|
|
bool L_42;
|
|
L_42 = String_op_Equality_m030E1B219352228970A076136E455C4E568C02C1(L_40, L_41, NULL);
|
|
if (!L_42)
|
|
{
|
|
goto IL_00d7;
|
|
}
|
|
}
|
|
{
|
|
// targetCommand = cell.GuidesIn[i];
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_43 = ___2_cell;
|
|
NullCheck(L_43);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_44 = L_43->___GuidesIn_27;
|
|
int32_t L_45 = V_3;
|
|
NullCheck(L_44);
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 L_46;
|
|
L_46 = List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D(L_44, L_45, List_1_get_Item_m798DC6F07B2B1A4D324A0B85C5DEBA40A05A356D_RuntimeMethod_var);
|
|
V_0 = L_46;
|
|
// found = true;
|
|
V_2 = (bool)1;
|
|
// break;
|
|
goto IL_00ec;
|
|
}
|
|
|
|
IL_00d7:
|
|
{
|
|
// for (int i = 0; i < cell.GuidesIn.Count; i++)
|
|
int32_t L_47 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_47, 1));
|
|
}
|
|
|
|
IL_00db:
|
|
{
|
|
// for (int i = 0; i < cell.GuidesIn.Count; i++)
|
|
int32_t L_48 = V_3;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_49 = ___2_cell;
|
|
NullCheck(L_49);
|
|
List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* L_50 = L_49->___GuidesIn_27;
|
|
NullCheck(L_50);
|
|
int32_t L_51;
|
|
L_51 = List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_inline(L_50, List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_RuntimeMethod_var);
|
|
if ((((int32_t)L_48) < ((int32_t)L_51)))
|
|
{
|
|
goto IL_003d;
|
|
}
|
|
}
|
|
|
|
IL_00ec:
|
|
{
|
|
// if (!found)
|
|
bool L_52 = V_2;
|
|
if (L_52)
|
|
{
|
|
goto IL_00f0;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_00f0:
|
|
{
|
|
// Vector3 angles = AdditionalAngleOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = __this->___AdditionalAngleOffset_25;
|
|
V_1 = L_53;
|
|
// angles += Quaternion.LookRotation(targetCommand.desiredDirection).eulerAngles;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = V_1;
|
|
SpawnInstruction_t7155B5190DFEF069E88F41775EBD1FFCBEE4A004 L_55 = V_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_56 = L_55.___desiredDirection_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57;
|
|
L_57 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_56, NULL);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_58;
|
|
L_58 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_57, NULL);
|
|
V_5 = L_58;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_59;
|
|
L_59 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_5), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60;
|
|
L_60 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_54, L_59, NULL);
|
|
V_1 = L_60;
|
|
// spawn.RotationOffset = angles;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_61 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_62 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_61);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_63 = V_1;
|
|
NullCheck(L_62);
|
|
L_62->___RotationOffset_16 = L_63;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetCommandRotation::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetCommandRotation__ctor_m10416EB0264BF2BDAAFB3719F736E93A0B4027FA (SR_GetCommandRotation_t27548F07D7C310FA8ACBDCEB5DB2727DE8A0A320* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string OnlyFromSpecificCellData = "";
|
|
__this->___OnlyFromSpecificCellData_24 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___OnlyFromSpecificCellData_24), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public Vector3 AdditionalAngleOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___AdditionalAngleOffset_25 = L_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetRestrictedRotation_TitleName_mA8C5DA9011530FB24D4696782C01F24AC899D950 (SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralFD18544E01434482915DA8FA634E3E98B05A125C);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Get Restricted Rotation"; }
|
|
return _stringLiteralFD18544E01434482915DA8FA634E3E98B05A125C;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_GetRestrictedRotation_Tooltip_m0BC51011E3F7DDF2FF999A178818C146B6735A37 (SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD19FFA86F361D223693971E3B7CBE24C3DCC993C);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Getting rotation out of command placed in cell directly for call (only if using 'Post Run Modificator' or 'Pre Run Modificator')"; }
|
|
return _stringLiteralD19FFA86F361D223693971E3B7CBE24C3DCC993C;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_GetRestrictedRotation_get_Type_m11390A949553D381D932BA07187DCBAA87C5C769 (SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetRestrictedRotation_CheckRuleOn_mDF02B4DE1BD5D7FA69E92693EC1DB8767271C85C (SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// restrict = restrictDirection;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_0 = ___5_restrictDirection;
|
|
__this->___restrict_25 = L_0;
|
|
// base.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_1 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_2 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_3 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_4 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_5 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_6 = ___5_restrictDirection;
|
|
SpawnRuleBase_CheckRuleOn_m63A15FB8F14BCCFA10AA5F995A07D4F476977AC6(__this, L_1, L_2, L_3, L_4, L_5, L_6, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetRestrictedRotation_CellInfluence_m943D8F0CCEB5B76521A091CD81EB1A1E01FF1EED (SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
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));
|
|
{
|
|
// if ( restrict != null)
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* L_0 = (&__this->___restrict_25);
|
|
bool L_1;
|
|
L_1 = Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_inline(L_0, Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0054;
|
|
}
|
|
}
|
|
{
|
|
// if ( restrict.Value != Vector3.zero)
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* L_2 = (&__this->___restrict_25);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792(L_2, Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
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_0054;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 angles = AdditionalAngleOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = __this->___AdditionalAngleOffset_24;
|
|
V_0 = L_6;
|
|
// angles += Quaternion.LookRotation(restrict.Value).eulerAngles;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7 = V_0;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* L_8 = (&__this->___restrict_25);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792(L_8, Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10;
|
|
L_10 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_9, NULL);
|
|
V_1 = L_10;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_1), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_7, L_11, NULL);
|
|
V_0 = L_12;
|
|
// spawn.RotationOffset = angles;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_13 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_14 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15 = V_0;
|
|
NullCheck(L_14);
|
|
L_14->___RotationOffset_16 = L_15;
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_GetRestrictedRotation::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_GetRestrictedRotation__ctor_mAB79C999B5767C7A119FEFFE932BA3370A58CEA6 (SR_GetRestrictedRotation_t9E97A7A09B74FEE8619C7318AF73E345D213033F* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 AdditionalAngleOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___AdditionalAngleOffset_24 = L_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PushPosition_TitleName_m99796F570639E8CA948AD01E822981EF61C871AB (SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralCF141ECAD80CB3AC0C0A97BE9C74A708EB57BAB3);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Push Position"; }
|
|
return _stringLiteralCF141ECAD80CB3AC0C0A97BE9C74A708EB57BAB3;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PushPosition_Tooltip_mA589DC6B00735A5F3CB7EC0502F7A530ACD4AF2C (SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9BD57D2F168D51A4D7E6C847725B79853F8D2E88);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Offsetting spawn position like DirectOffset but in additive way"; }
|
|
return _stringLiteral9BD57D2F168D51A4D7E6C847725B79853F8D2E88;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_PushPosition_get_Type_m325894B5438F651576B237752494FA74E734F334 (SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PushPosition_CellInfluence_m6419E8CDDF52577E62FF61AEFE35785DDDF38557 (SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// Quaternion rot = spawn.GetRotationOffset();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_0 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_1 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_0);
|
|
NullCheck(L_1);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2;
|
|
L_2 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_1, NULL);
|
|
V_0 = L_2;
|
|
// Vector3 offset = Offset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3 = __this->___Offset_24;
|
|
V_1 = L_3;
|
|
// if (RandomOffset != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = __this->___RandomOffset_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5;
|
|
L_5 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_6;
|
|
L_6 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_4, L_5, NULL);
|
|
if (!L_6)
|
|
{
|
|
goto IL_0151;
|
|
}
|
|
}
|
|
{
|
|
// Vector3 rOffset = new Vector3
|
|
// (
|
|
// FGenerators.GetRandom(-RandomOffset.x, RandomOffset.x),
|
|
// FGenerators.GetRandom(-RandomOffset.y, RandomOffset.y),
|
|
// FGenerators.GetRandom(-RandomOffset.z, RandomOffset.z)
|
|
// );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_7 = (&__this->___RandomOffset_25);
|
|
float L_8 = L_7->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_9 = (&__this->___RandomOffset_25);
|
|
float L_10 = L_9->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_11;
|
|
L_11 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_8)), L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_12 = (&__this->___RandomOffset_25);
|
|
float L_13 = L_12->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_14 = (&__this->___RandomOffset_25);
|
|
float L_15 = L_14->___y_3;
|
|
float L_16;
|
|
L_16 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_13)), L_15, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_17 = (&__this->___RandomOffset_25);
|
|
float L_18 = L_17->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_19 = (&__this->___RandomOffset_25);
|
|
float L_20 = L_19->___z_4;
|
|
float L_21;
|
|
L_21 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_18)), L_20, NULL);
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&V_2), L_11, L_16, L_21, NULL);
|
|
// if (RoundOffsetBy != Vector3.zero)
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = __this->___RoundOffsetBy_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_24;
|
|
L_24 = Vector3_op_Inequality_m9F170CDFBF1E490E559DA5D06D6547501A402BBF_inline(L_22, L_23, NULL);
|
|
if (!L_24)
|
|
{
|
|
goto IL_0149;
|
|
}
|
|
}
|
|
{
|
|
// if (RoundOffsetBy.x != 0f) rOffset.x = Mathf.Round(rOffset.x / RoundOffsetBy.x) * RoundOffsetBy.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_25 = (&__this->___RoundOffsetBy_26);
|
|
float L_26 = L_25->___x_2;
|
|
if ((((float)L_26) == ((float)(0.0f))))
|
|
{
|
|
goto IL_00d1;
|
|
}
|
|
}
|
|
{
|
|
// if (RoundOffsetBy.x != 0f) rOffset.x = Mathf.Round(rOffset.x / RoundOffsetBy.x) * RoundOffsetBy.x;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = V_2;
|
|
float L_28 = L_27.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_29 = (&__this->___RoundOffsetBy_26);
|
|
float L_30 = L_29->___x_2;
|
|
float L_31;
|
|
L_31 = bankers_roundf(((float)(L_28/L_30)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_32 = (&__this->___RoundOffsetBy_26);
|
|
float L_33 = L_32->___x_2;
|
|
(&V_2)->___x_2 = ((float)il2cpp_codegen_multiply(L_31, L_33));
|
|
}
|
|
|
|
IL_00d1:
|
|
{
|
|
// if (RoundOffsetBy.y != 0f) rOffset.y = Mathf.Round(rOffset.y / RoundOffsetBy.y) * RoundOffsetBy.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_34 = (&__this->___RoundOffsetBy_26);
|
|
float L_35 = L_34->___y_3;
|
|
if ((((float)L_35) == ((float)(0.0f))))
|
|
{
|
|
goto IL_010d;
|
|
}
|
|
}
|
|
{
|
|
// if (RoundOffsetBy.y != 0f) rOffset.y = Mathf.Round(rOffset.y / RoundOffsetBy.y) * RoundOffsetBy.y;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_2;
|
|
float L_37 = L_36.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_38 = (&__this->___RoundOffsetBy_26);
|
|
float L_39 = L_38->___y_3;
|
|
float L_40;
|
|
L_40 = bankers_roundf(((float)(L_37/L_39)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_41 = (&__this->___RoundOffsetBy_26);
|
|
float L_42 = L_41->___y_3;
|
|
(&V_2)->___y_3 = ((float)il2cpp_codegen_multiply(L_40, L_42));
|
|
}
|
|
|
|
IL_010d:
|
|
{
|
|
// if (RoundOffsetBy.z != 0f) rOffset.z = Mathf.Round(rOffset.z / RoundOffsetBy.z) * RoundOffsetBy.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_43 = (&__this->___RoundOffsetBy_26);
|
|
float L_44 = L_43->___z_4;
|
|
if ((((float)L_44) == ((float)(0.0f))))
|
|
{
|
|
goto IL_0149;
|
|
}
|
|
}
|
|
{
|
|
// if (RoundOffsetBy.z != 0f) rOffset.z = Mathf.Round(rOffset.z / RoundOffsetBy.z) * RoundOffsetBy.z;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45 = V_2;
|
|
float L_46 = L_45.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_47 = (&__this->___RoundOffsetBy_26);
|
|
float L_48 = L_47->___z_4;
|
|
float L_49;
|
|
L_49 = bankers_roundf(((float)(L_46/L_48)));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_50 = (&__this->___RoundOffsetBy_26);
|
|
float L_51 = L_50->___z_4;
|
|
(&V_2)->___z_4 = ((float)il2cpp_codegen_multiply(L_49, L_51));
|
|
}
|
|
|
|
IL_0149:
|
|
{
|
|
// offset += rOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54;
|
|
L_54 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_52, L_53, NULL);
|
|
V_1 = L_54;
|
|
}
|
|
|
|
IL_0151:
|
|
{
|
|
// spawn.Offset += rot * offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_55 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_56 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_55);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_57 = L_56;
|
|
NullCheck(L_57);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58 = L_57->___Offset_15;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_59 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_60 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61;
|
|
L_61 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_59, L_60, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
|
|
L_62 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_58, L_61, NULL);
|
|
NullCheck(L_57);
|
|
L_57->___Offset_15 = L_62;
|
|
// spawn.TempPositionOffset += offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_63 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_64 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_63);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_65 = L_64;
|
|
NullCheck(L_65);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_66 = L_65->___TempPositionOffset_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
|
|
L_68 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_66, L_67, NULL);
|
|
NullCheck(L_65);
|
|
L_65->___TempPositionOffset_20 = L_68;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_PushPosition::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PushPosition__ctor_m5694D87D61239BEFE391E41AA01436A03B3ECBB8 (SR_PushPosition_tDD1894D5D1EDAE8866DDDBC1CB084C31CDB2FA83* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 Offset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___Offset_24 = L_0;
|
|
// public Vector3 RandomOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomOffset_25 = L_1;
|
|
// [HideInInspector] public Vector3 RoundOffsetBy = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RoundOffsetBy_26 = L_2;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_Rotate_TitleName_m8485F0D74AC153D000370502DEB0F4F4F6D53601 (SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3FD8F8AC6AC464169FFBE67A817A867D6B67538B);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Rotate"; }
|
|
return _stringLiteral3FD8F8AC6AC464169FFBE67A817A867D6B67538B;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_Rotate_Tooltip_mF08F611DEE1593CA42DD6244DE4D2E06EA9DE343 (SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralE7D1F6AC5A621E5D07AA20E529A2DF9EF3682D5A);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Rotating target spawned prefab (can influence other objects spawned in this cell)"; }
|
|
return _stringLiteralE7D1F6AC5A621E5D07AA20E529A2DF9EF3682D5A;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_Rotate_get_Type_m49EE52E067FB81D5DEE6BB49C9B94DDBCCC6F90F (SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_Rotate_CellInfluence_m1E4470A3C6DCB939A9349EC9F93F3F5AD59B441F (SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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*)&OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
float V_2 = 0.0f;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_3 = NULL;
|
|
{
|
|
// bool tagged = false;
|
|
V_0 = (bool)0;
|
|
// if (string.IsNullOrEmpty(GetRotationFromTagged) == false)
|
|
String_t* L_0 = __this->___GetRotationFromTagged_24;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_005d;
|
|
}
|
|
}
|
|
{
|
|
// SpawnData sp = CellSpawnsHaveSpecifics(cell, GetRotationFromTagged, CheckMode, spawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
String_t* L_3 = __this->___GetRotationFromTagged_24;
|
|
int32_t L_4 = __this->___CheckMode_25;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_5 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_5);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7;
|
|
L_7 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_2, L_3, L_4, L_6, (bool)0, NULL);
|
|
V_3 = L_7;
|
|
// if (sp != null) if ( sp.LocalRotationOffset == Vector3.zero) spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(false); else spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_8 = V_3;
|
|
if (!L_8)
|
|
{
|
|
goto IL_005b;
|
|
}
|
|
}
|
|
{
|
|
// if (sp != null) if ( sp.LocalRotationOffset == Vector3.zero) spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(false); else spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9 = V_3;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
bool L_12;
|
|
L_12 = Vector3_op_Equality_mCDCBB8D2EDC3D3BF20F31A25ACB34705D352B479_inline(L_10, L_11, NULL);
|
|
if (!L_12)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// if (sp != null) if ( sp.LocalRotationOffset == Vector3.zero) spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(false); else spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_13 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_14 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_13);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_15 = V_3;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = SpawnData_GetRotationOffsetWithMods_mD14CF6502B760719807B54EB9520331D341431C7(L_15, (bool)0, NULL);
|
|
NullCheck(L_14);
|
|
L_14->___LocalRotationOffset_17 = L_16;
|
|
goto IL_005b;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// if (sp != null) if ( sp.LocalRotationOffset == Vector3.zero) spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(false); else spawn.LocalRotationOffset = sp.GetRotationOffsetWithMods(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_17 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_17);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = V_3;
|
|
NullCheck(L_19);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20;
|
|
L_20 = SpawnData_GetRotationOffsetWithMods_mD14CF6502B760719807B54EB9520331D341431C7(L_19, (bool)1, NULL);
|
|
NullCheck(L_18);
|
|
L_18->___LocalRotationOffset_17 = L_20;
|
|
}
|
|
|
|
IL_005b:
|
|
{
|
|
// tagged = true;
|
|
V_0 = (bool)1;
|
|
}
|
|
|
|
IL_005d:
|
|
{
|
|
// Vector3 randomOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21;
|
|
L_21 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_1 = L_21;
|
|
// float choosed = FGenerators.GetRandom(-RandomRotation.x, RandomRotation.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = (&__this->___RandomRotation_27);
|
|
float L_23 = L_22->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_24 = (&__this->___RandomRotation_27);
|
|
float L_25 = L_24->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_26;
|
|
L_26 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_23)), L_25, NULL);
|
|
V_2 = L_26;
|
|
// if ( MaxDegreesSteps.x != 0f) choosed = OStamperSet.GetAngleFor(MaxDegreesSteps.x, 1f, choosed / MaxDegreesSteps.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_27 = (&__this->___MaxDegreesSteps_28);
|
|
float L_28 = L_27->___x_2;
|
|
if ((((float)L_28) == ((float)(0.0f))))
|
|
{
|
|
goto IL_00b5;
|
|
}
|
|
}
|
|
{
|
|
// if ( MaxDegreesSteps.x != 0f) choosed = OStamperSet.GetAngleFor(MaxDegreesSteps.x, 1f, choosed / MaxDegreesSteps.x);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_29 = (&__this->___MaxDegreesSteps_28);
|
|
float L_30 = L_29->___x_2;
|
|
float L_31 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_32 = (&__this->___MaxDegreesSteps_28);
|
|
float L_33 = L_32->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
float L_34;
|
|
L_34 = OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB(L_30, (1.0f), ((float)(L_31/L_33)), NULL);
|
|
V_2 = L_34;
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
// randomOffset.x = choosed;
|
|
float L_35 = V_2;
|
|
(&V_1)->___x_2 = L_35;
|
|
// choosed = FGenerators.GetRandom(-RandomRotation.y, RandomRotation.y);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_36 = (&__this->___RandomRotation_27);
|
|
float L_37 = L_36->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_38 = (&__this->___RandomRotation_27);
|
|
float L_39 = L_38->___y_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_40;
|
|
L_40 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_37)), L_39, NULL);
|
|
V_2 = L_40;
|
|
// if (MaxDegreesSteps.y != 0f) choosed = OStamperSet.GetAngleFor(MaxDegreesSteps.y, 1f, choosed / MaxDegreesSteps.y);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_41 = (&__this->___MaxDegreesSteps_28);
|
|
float L_42 = L_41->___y_3;
|
|
if ((((float)L_42) == ((float)(0.0f))))
|
|
{
|
|
goto IL_010f;
|
|
}
|
|
}
|
|
{
|
|
// if (MaxDegreesSteps.y != 0f) choosed = OStamperSet.GetAngleFor(MaxDegreesSteps.y, 1f, choosed / MaxDegreesSteps.y);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_43 = (&__this->___MaxDegreesSteps_28);
|
|
float L_44 = L_43->___y_3;
|
|
float L_45 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_46 = (&__this->___MaxDegreesSteps_28);
|
|
float L_47 = L_46->___y_3;
|
|
il2cpp_codegen_runtime_class_init_inline(OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
float L_48;
|
|
L_48 = OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB(L_44, (1.0f), ((float)(L_45/L_47)), NULL);
|
|
V_2 = L_48;
|
|
}
|
|
|
|
IL_010f:
|
|
{
|
|
// randomOffset.y = choosed;
|
|
float L_49 = V_2;
|
|
(&V_1)->___y_3 = L_49;
|
|
// choosed = FGenerators.GetRandom(-RandomRotation.z, RandomRotation.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_50 = (&__this->___RandomRotation_27);
|
|
float L_51 = L_50->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_52 = (&__this->___RandomRotation_27);
|
|
float L_53 = L_52->___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_54;
|
|
L_54 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_51)), L_53, NULL);
|
|
V_2 = L_54;
|
|
// if (MaxDegreesSteps.z != 0f) choosed = OStamperSet.GetAngleFor(MaxDegreesSteps.z, 1f, choosed / MaxDegreesSteps.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_55 = (&__this->___MaxDegreesSteps_28);
|
|
float L_56 = L_55->___z_4;
|
|
if ((((float)L_56) == ((float)(0.0f))))
|
|
{
|
|
goto IL_0169;
|
|
}
|
|
}
|
|
{
|
|
// if (MaxDegreesSteps.z != 0f) choosed = OStamperSet.GetAngleFor(MaxDegreesSteps.z, 1f, choosed / MaxDegreesSteps.z);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_57 = (&__this->___MaxDegreesSteps_28);
|
|
float L_58 = L_57->___z_4;
|
|
float L_59 = V_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_60 = (&__this->___MaxDegreesSteps_28);
|
|
float L_61 = L_60->___z_4;
|
|
il2cpp_codegen_runtime_class_init_inline(OStamperSet_tF2812982CD5DB7F227E44BB30B7153A21F96D6A3_il2cpp_TypeInfo_var);
|
|
float L_62;
|
|
L_62 = OStamperSet_GetAngleFor_m7F5DEF65C61DB0279463F53882578855C698A7FB(L_58, (1.0f), ((float)(L_59/L_61)), NULL);
|
|
V_2 = L_62;
|
|
}
|
|
|
|
IL_0169:
|
|
{
|
|
// randomOffset.z = choosed;
|
|
float L_63 = V_2;
|
|
(&V_1)->___z_4 = L_63;
|
|
// if (LocalRotation)
|
|
bool L_64 = __this->___LocalRotation_29;
|
|
if (!L_64)
|
|
{
|
|
goto IL_01b9;
|
|
}
|
|
}
|
|
{
|
|
// if (OverrideRotation && !tagged)
|
|
bool L_65 = __this->___OverrideRotation_30;
|
|
if (!L_65)
|
|
{
|
|
goto IL_0199;
|
|
}
|
|
}
|
|
{
|
|
bool L_66 = V_0;
|
|
if (L_66)
|
|
{
|
|
goto IL_0199;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalRotationOffset = RotationEulerOffset + randomOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_67 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_68 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_67);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_69 = __this->___RotationEulerOffset_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_70 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_71;
|
|
L_71 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_69, L_70, NULL);
|
|
NullCheck(L_68);
|
|
L_68->___LocalRotationOffset_17 = L_71;
|
|
return;
|
|
}
|
|
|
|
IL_0199:
|
|
{
|
|
// spawn.LocalRotationOffset += RotationEulerOffset + randomOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_72 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_73 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_72);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_74 = L_73;
|
|
NullCheck(L_74);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75 = L_74->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_76 = __this->___RotationEulerOffset_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_78;
|
|
L_78 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_76, L_77, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_79;
|
|
L_79 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_75, L_78, NULL);
|
|
NullCheck(L_74);
|
|
L_74->___LocalRotationOffset_17 = L_79;
|
|
return;
|
|
}
|
|
|
|
IL_01b9:
|
|
{
|
|
// if (OverrideRotation && !tagged)
|
|
bool L_80 = __this->___OverrideRotation_30;
|
|
if (!L_80)
|
|
{
|
|
goto IL_01d9;
|
|
}
|
|
}
|
|
{
|
|
bool L_81 = V_0;
|
|
if (L_81)
|
|
{
|
|
goto IL_01d9;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset = RotationEulerOffset + randomOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_82 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_83 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_82);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_84 = __this->___RotationEulerOffset_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_85 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
|
|
L_86 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_84, L_85, NULL);
|
|
NullCheck(L_83);
|
|
L_83->___RotationOffset_16 = L_86;
|
|
return;
|
|
}
|
|
|
|
IL_01d9:
|
|
{
|
|
// spawn.RotationOffset += RotationEulerOffset + randomOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_87 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_88 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_87);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_89 = L_88;
|
|
NullCheck(L_89);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_90 = L_89->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_91 = __this->___RotationEulerOffset_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_92 = V_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_93;
|
|
L_93 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_91, L_92, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
|
|
L_94 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_90, L_93, NULL);
|
|
NullCheck(L_89);
|
|
L_89->___RotationOffset_16 = L_94;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_Rotate::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_Rotate__ctor_m29DB9FD8F557ADA266B0891E144EAC270831D6BD (SR_Rotate_t7262C8A7F8FB1EAF90F0F2596BE5DF4DC7529E79* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string GetRotationFromTagged = "";
|
|
__this->___GetRotationFromTagged_24 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___GetRotationFromTagged_24), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public Vector3 RotationEulerOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RotationEulerOffset_26 = L_0;
|
|
// public Vector3 RandomRotation = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomRotation_27 = L_1;
|
|
// public Vector3 MaxDegreesSteps = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___MaxDegreesSteps_28 = L_2;
|
|
// public bool OverrideRotation = true;
|
|
__this->___OverrideRotation_30 = (bool)1;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_Scale_TitleName_m315A3BF331B26240D74EA1BA3DA63402578D1179 (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0970CF2FD3560786B3DFD69BC3EE83E1A9521103);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Scale"; }
|
|
return _stringLiteral0970CF2FD3560786B3DFD69BC3EE83E1A9521103;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_Scale_Tooltip_m38C059A24CB567EBB432C9026F9F5CACA5955E76 (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralAA7A5E2DC58A348FEEE77D0BC982ADB16952E8D0);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Setting scale of target spawned prefabs"; }
|
|
return _stringLiteralAA7A5E2DC58A348FEEE77D0BC982ADB16952E8D0;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_Scale_get_Type_m5D893620A8B1A4A631B031C6201919945FCF1251 (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Collections.Generic.List`1<FIMSpace.Generating.SpawnerVariableHelper> FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::GetVariables()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B* SR_Scale_GetVariables_m5F3368E90B48ACF82937DC158BFE62661A0BF26B (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// { return ScaleMulVariable.GetListedVariable(); }
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* L_0 = __this->___ScaleMulVariable_25;
|
|
NullCheck(L_0);
|
|
List_1_tD117D6AB841224192DAF4BD63FA579E5D5582D9B* L_1;
|
|
L_1 = SpawnerVariableHelper_GetListedVariable_m1D797A05746AD1FAED22B33FB185A6048908C757(L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_Scale_CheckRuleOn_m3ED137597BCE2638AB04219B53611D2C852D52BB (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// base.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_0 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_1 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_2 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_5 = ___5_restrictDirection;
|
|
SpawnRuleBase_CheckRuleOn_m63A15FB8F14BCCFA10AA5F995A07D4F476977AC6(__this, L_0, L_1, L_2, L_3, L_4, L_5, NULL);
|
|
// Vector3 scaling = Vector3.Scale(ScaleMultiplier, ScaleMulVariable.GetVector3(Vector3.one));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = __this->___ScaleMultiplier_24;
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* L_7 = __this->___ScaleMulVariable_25;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
NullCheck(L_7);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = SpawnerVariableHelper_GetVector3_m66A98638BAB14A2BE5395CA0C777A988053069BA(L_7, L_8, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_6, L_9, NULL);
|
|
V_0 = L_10;
|
|
// scaling += new Vector3(
|
|
// FGenerators.GetRandom(-RandomizeScale.x, RandomizeScale.x),
|
|
// FGenerators.GetRandom(-RandomizeScale.y, RandomizeScale.y),
|
|
// FGenerators.GetRandom(-RandomizeScale.z, RandomizeScale.z)
|
|
// );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_12 = (&__this->___RandomizeScale_26);
|
|
float L_13 = L_12->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_14 = (&__this->___RandomizeScale_26);
|
|
float L_15 = L_14->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_16;
|
|
L_16 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_13)), L_15, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_17 = (&__this->___RandomizeScale_26);
|
|
float L_18 = L_17->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_19 = (&__this->___RandomizeScale_26);
|
|
float L_20 = L_19->___y_3;
|
|
float L_21;
|
|
L_21 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_18)), L_20, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = (&__this->___RandomizeScale_26);
|
|
float L_23 = L_22->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_24 = (&__this->___RandomizeScale_26);
|
|
float L_25 = L_24->___z_4;
|
|
float L_26;
|
|
L_26 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_23)), L_25, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27;
|
|
memset((&L_27), 0, sizeof(L_27));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_27), L_16, L_21, L_26, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_11, L_27, NULL);
|
|
V_0 = L_28;
|
|
// spawn.TempScaleMul = scaling;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_29 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_30 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_29);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31 = V_0;
|
|
NullCheck(L_30);
|
|
L_30->___TempScaleMul_22 = L_31;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_Scale_CellInfluence_mF670405414D565E6821FDD457B6DDDA6EC0B2F17 (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// spawn.LocalScaleMul = spawn.TempScaleMul;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_0 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_1 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_0);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_2 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_3 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_2);
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3->___TempScaleMul_22;
|
|
NullCheck(L_1);
|
|
L_1->___LocalScaleMul_18 = L_4;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_Scale::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_Scale__ctor_m7C9AF96B7E86E13492E2D70E815C4171AC5DDCDF (SR_Scale_tB63B981A52354356E762E7203084E593FAF9AC1E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 ScaleMultiplier = Vector3.one;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_one_mC9B289F1E15C42C597180C9FE6FB492495B51D02_inline(NULL);
|
|
__this->___ScaleMultiplier_24 = L_0;
|
|
// public SpawnerVariableHelper ScaleMulVariable = new SpawnerVariableHelper(FieldVariable.EVarType.Vector3);
|
|
SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580* L_1 = (SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580*)il2cpp_codegen_object_new(SpawnerVariableHelper_t671C1ACEBBD6F6A783E29733D9104DEB727EC580_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
SpawnerVariableHelper__ctor_mF828EE6B9923E72940E7E0596264490131AACC04(L_1, 5, NULL);
|
|
__this->___ScaleMulVariable_25 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___ScaleMulVariable_25), (void*)L_1);
|
|
// public Vector3 RandomizeScale = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomizeScale_26 = L_2;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_ScaleRange_TitleName_mB0E5E55ACAC25A2E5F3674680D023C82F159E4EA (SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDB85AA1520ACF1229750636BABC4CCD0357780CD);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Random Scale Ranged"; }
|
|
return _stringLiteralDB85AA1520ACF1229750636BABC4CCD0357780CD;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_ScaleRange_Tooltip_m3C6B227204B8944E1740B969E1872C13651B22BE (SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralD3EB97C307A7F77860AA599707609AF64B475E90);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Setting random scale of target spawned prefabs"; }
|
|
return _stringLiteralD3EB97C307A7F77860AA599707609AF64B475E90;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_ScaleRange_get_Type_mCC0FA9CC2BF38D1E9F881E9B363916E055806A1A (SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_ScaleRange_CellInfluence_m27E50E5B15E0DBE4B4CC171377CEAA8143E2E618 (SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
float V_0 = 0.0f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_1;
|
|
memset((&V_1), 0, sizeof(V_1));
|
|
{
|
|
// if (KeepScaleRatio) // All axis same scale
|
|
bool L_0 = __this->___KeepScaleRatio_24;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0043;
|
|
}
|
|
}
|
|
{
|
|
// float scale = FGenerators.GetRandom(ScaleXFromTo.x * MultiplyScale, ScaleXFromTo.y * MultiplyScale);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_1 = (&__this->___ScaleXFromTo_26);
|
|
float L_2 = L_1->___x_0;
|
|
float L_3 = __this->___MultiplyScale_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_4 = (&__this->___ScaleXFromTo_26);
|
|
float L_5 = L_4->___y_1;
|
|
float L_6 = __this->___MultiplyScale_25;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_7;
|
|
L_7 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((float)il2cpp_codegen_multiply(L_2, L_3)), ((float)il2cpp_codegen_multiply(L_5, L_6)), NULL);
|
|
V_0 = L_7;
|
|
// spawn.LocalScaleMul = new Vector3(scale, scale, scale);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_8 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_8);
|
|
float L_10 = V_0;
|
|
float L_11 = V_0;
|
|
float L_12 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
memset((&L_13), 0, sizeof(L_13));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_13), L_10, L_11, L_12, /*hidden argument*/NULL);
|
|
NullCheck(L_9);
|
|
L_9->___LocalScaleMul_18 = L_13;
|
|
return;
|
|
}
|
|
|
|
IL_0043:
|
|
{
|
|
// Vector3 newScale = new Vector3();
|
|
il2cpp_codegen_initobj((&V_1), sizeof(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2));
|
|
// newScale.x = FGenerators.GetRandom(ScaleXFromTo.x * MultiplyScale, ScaleXFromTo.y * MultiplyScale);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_14 = (&__this->___ScaleXFromTo_26);
|
|
float L_15 = L_14->___x_0;
|
|
float L_16 = __this->___MultiplyScale_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_17 = (&__this->___ScaleXFromTo_26);
|
|
float L_18 = L_17->___y_1;
|
|
float L_19 = __this->___MultiplyScale_25;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_20;
|
|
L_20 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((float)il2cpp_codegen_multiply(L_15, L_16)), ((float)il2cpp_codegen_multiply(L_18, L_19)), NULL);
|
|
(&V_1)->___x_2 = L_20;
|
|
// newScale.y = FGenerators.GetRandom(ScaleYFromTo.x * MultiplyScale, ScaleYFromTo.y * MultiplyScale);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_21 = (&__this->___ScaleYFromTo_27);
|
|
float L_22 = L_21->___x_0;
|
|
float L_23 = __this->___MultiplyScale_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_24 = (&__this->___ScaleYFromTo_27);
|
|
float L_25 = L_24->___y_1;
|
|
float L_26 = __this->___MultiplyScale_25;
|
|
float L_27;
|
|
L_27 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((float)il2cpp_codegen_multiply(L_22, L_23)), ((float)il2cpp_codegen_multiply(L_25, L_26)), NULL);
|
|
(&V_1)->___y_3 = L_27;
|
|
// newScale.z = FGenerators.GetRandom(ScaleZFromTo.x * MultiplyScale, ScaleZFromTo.y * MultiplyScale);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_28 = (&__this->___ScaleZFromTo_28);
|
|
float L_29 = L_28->___x_0;
|
|
float L_30 = __this->___MultiplyScale_25;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7* L_31 = (&__this->___ScaleZFromTo_28);
|
|
float L_32 = L_31->___y_1;
|
|
float L_33 = __this->___MultiplyScale_25;
|
|
float L_34;
|
|
L_34 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((float)il2cpp_codegen_multiply(L_29, L_30)), ((float)il2cpp_codegen_multiply(L_32, L_33)), NULL);
|
|
(&V_1)->___z_4 = L_34;
|
|
// spawn.LocalScaleMul = newScale;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_35 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_36 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_35);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_37 = V_1;
|
|
NullCheck(L_36);
|
|
L_36->___LocalScaleMul_18 = L_37;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_ScaleRange::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_ScaleRange__ctor_m58C04A53D3F7CB24B63DA9370E0D56B4D9F991A4 (SR_ScaleRange_t3F487EC6A8C2A95E0F2988A8E4D79CF943191850* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public bool KeepScaleRatio = true;
|
|
__this->___KeepScaleRatio_24 = (bool)1;
|
|
// [HideInInspector] public float MultiplyScale = 1f;
|
|
__this->___MultiplyScale_25 = (1.0f);
|
|
// [HideInInspector] public Vector2 ScaleXFromTo = new Vector2(0.9f, 1f);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_0), (0.899999976f), (1.0f), /*hidden argument*/NULL);
|
|
__this->___ScaleXFromTo_26 = L_0;
|
|
// [HideInInspector] public Vector2 ScaleYFromTo = new Vector2(0.9f, 1f);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_1;
|
|
memset((&L_1), 0, sizeof(L_1));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_1), (0.899999976f), (1.0f), /*hidden argument*/NULL);
|
|
__this->___ScaleYFromTo_27 = L_1;
|
|
// [HideInInspector] public Vector2 ScaleZFromTo = new Vector2(0.9f, 1f);
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_2;
|
|
memset((&L_2), 0, sizeof(L_2));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_2), (0.899999976f), (1.0f), /*hidden argument*/NULL);
|
|
__this->___ScaleZFromTo_28 = L_2;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_WorldOffset_TitleName_mC9697ED45ABA8B696326281527A119309A09F33B (SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral3BDFA88EAE1D735960C2F82DA812B2173C98075E);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "World Offset"; }
|
|
return _stringLiteral3BDFA88EAE1D735960C2F82DA812B2173C98075E;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_WorldOffset_Tooltip_m1C4145D1D8BAE025ED37F8A8B5247DB32EA7AF07 (SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral430167C35138DF721041DBF384DC356FC9A1A5AE);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Just position offset without using rotation of spawn"; }
|
|
return _stringLiteral430167C35138DF721041DBF384DC356FC9A1A5AE;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_WorldOffset_get_Type_m395300FB7758CAAFD382F03C50810C5D86F0E2A4 (SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_WorldOffset_CellInfluence_mDCA0BA4AB4D0E692106669E39E1E683A3391F414 (SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_1 = NULL;
|
|
{
|
|
// if (string.IsNullOrEmpty(GetOffsetFromTagged) == false)
|
|
String_t* L_0 = __this->___GetOffsetFromTagged_26;
|
|
bool L_1;
|
|
L_1 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_0, NULL);
|
|
if (L_1)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// SpawnData sp = CellSpawnsHaveSpecifics(cell, GetOffsetFromTagged, CheckMode, spawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
String_t* L_3 = __this->___GetOffsetFromTagged_26;
|
|
int32_t L_4 = __this->___CheckMode_27;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_5 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_5);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7;
|
|
L_7 = SpawnRuleBase_CellSpawnsHaveSpecifics_mF1B61A3B1E4CD07C4426DF8F2144E09CE98ED1F4(L_2, L_3, L_4, L_6, (bool)0, NULL);
|
|
V_1 = L_7;
|
|
// if (sp != null) spawn.Offset = sp.Offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_8 = V_1;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0035;
|
|
}
|
|
}
|
|
{
|
|
// if (sp != null) spawn.Offset = sp.Offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_9 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_10 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_9);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_11 = V_1;
|
|
NullCheck(L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = L_11->___Offset_15;
|
|
NullCheck(L_10);
|
|
L_10->___Offset_15 = L_12;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
// Vector3 tgtOffset = WorldOffset;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___WorldOffset_28;
|
|
V_0 = L_13;
|
|
// tgtOffset += new Vector3
|
|
// (
|
|
// FGenerators.GetRandom(-RandomWorldOffset.x, RandomWorldOffset.x),
|
|
// FGenerators.GetRandom(-RandomWorldOffset.y, RandomWorldOffset.y),
|
|
// FGenerators.GetRandom(-RandomWorldOffset.z, RandomWorldOffset.z)
|
|
// );
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_15 = (&__this->___RandomWorldOffset_30);
|
|
float L_16 = L_15->___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_17 = (&__this->___RandomWorldOffset_30);
|
|
float L_18 = L_17->___x_2;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
float L_19;
|
|
L_19 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_16)), L_18, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_20 = (&__this->___RandomWorldOffset_30);
|
|
float L_21 = L_20->___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_22 = (&__this->___RandomWorldOffset_30);
|
|
float L_23 = L_22->___y_3;
|
|
float L_24;
|
|
L_24 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_21)), L_23, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_25 = (&__this->___RandomWorldOffset_30);
|
|
float L_26 = L_25->___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_27 = (&__this->___RandomWorldOffset_30);
|
|
float L_28 = L_27->___z_4;
|
|
float L_29;
|
|
L_29 = FGenerators_GetRandom_m93C217210AE94D29262F4B4313E735FC9F2F3441(((-L_26)), L_28, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_30;
|
|
memset((&L_30), 0, sizeof(L_30));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_30), L_19, L_24, L_29, /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_31;
|
|
L_31 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_30, NULL);
|
|
V_0 = L_31;
|
|
// tgtOffset = GetUnitOffset(tgtOffset, OffsetMode, preset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = V_0;
|
|
int32_t L_33 = __this->___OffsetMode_29;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_34 = ___0_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_32, L_33, L_34, NULL);
|
|
V_0 = L_35;
|
|
// if (OverrideOffset)
|
|
bool L_36 = __this->___OverrideOffset_24;
|
|
if (!L_36)
|
|
{
|
|
goto IL_00bc;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset = tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_37 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_38 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_0;
|
|
NullCheck(L_38);
|
|
L_38->___Offset_15 = L_39;
|
|
return;
|
|
}
|
|
|
|
IL_00bc:
|
|
{
|
|
// spawn.Offset += tgtOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_40 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_40);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_42 = L_41;
|
|
NullCheck(L_42);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_43 = L_42->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_44 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_43, L_44, NULL);
|
|
NullCheck(L_42);
|
|
L_42->___Offset_15 = L_45;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Legacy.SR_WorldOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_WorldOffset__ctor_m63B2929FC964E3723616B4519DECD973BEAE9641 (SR_WorldOffset_t240D8215212AEABEC87D24D760A938D06F8D24A8* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// [HideInInspector] public bool OverrideOffset = true;
|
|
__this->___OverrideOffset_24 = (bool)1;
|
|
// public string GetOffsetFromTagged = "";
|
|
__this->___GetOffsetFromTagged_26 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___GetOffsetFromTagged_26), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public Vector3 WorldOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___WorldOffset_28 = L_0;
|
|
// [HideInInspector] public Vector3 RandomWorldOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___RandomWorldOffset_30 = L_1;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_ConditionalPushPosition_TitleName_mF68FAB863EEFE0226C29E9B5A4B1FDA52DA5DEFF (SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral4C7700B55B872365CB46F6B8EF03F4C40E08C554);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Conditional Push Position"; }
|
|
return _stringLiteral4C7700B55B872365CB46F6B8EF03F4C40E08C554;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_ConditionalPushPosition_Tooltip_m926543AC8CAA70ED411FB9D1D26DE6766E0D0AFE (SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC994B61B944430901B761C6F18647453C7F4EF5A);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Offsetting spawn position like DirectOffset and with different values if spawn is rotated"; }
|
|
return _stringLiteralC994B61B944430901B761C6F18647453C7F4EF5A;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_ConditionalPushPosition_get_Type_m76292F5BD1DB5420F1480AF647FCF118E5F3A205 (SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_ConditionalPushPosition_CellInfluence_m2E4326C3C1B9ACB84EFF64475DD0E1F1FCFB56E9 (SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
float V_1 = 0.0f;
|
|
{
|
|
// float yRotOff = spawn.RotationOffset.y;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_0 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_1 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_0);
|
|
NullCheck(L_1);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_2 = (&L_1->___RotationOffset_16);
|
|
float L_3 = L_2->___y_3;
|
|
V_1 = L_3;
|
|
// if (yRotOff == 0f) yRotOff = spawn.TempRotationOffset.y;
|
|
float L_4 = V_1;
|
|
if ((!(((float)L_4) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// if (yRotOff == 0f) yRotOff = spawn.TempRotationOffset.y;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_5 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_6 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_5);
|
|
NullCheck(L_6);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* L_7 = (&L_6->___TempRotationOffset_21);
|
|
float L_8 = L_7->___y_3;
|
|
V_1 = L_8;
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// if (yRotOff >= -45 && yRotOff < 45)
|
|
float L_9 = V_1;
|
|
if ((!(((float)L_9) >= ((float)(-45.0f)))))
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
float L_10 = V_1;
|
|
if ((!(((float)L_10) < ((float)(45.0f)))))
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
// offset = spawn.GetRotationOffset() * OffsetOnZero;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_11 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_12 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_11);
|
|
NullCheck(L_12);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_12, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = __this->___OffsetOnZero_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_13, L_14, NULL);
|
|
V_0 = L_15;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// if (yRotOff >= 45 && yRotOff < 135)
|
|
float L_16 = V_1;
|
|
if ((!(((float)L_16) >= ((float)(45.0f)))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
float L_17 = V_1;
|
|
if ((!(((float)L_17) < ((float)(135.0f)))))
|
|
{
|
|
goto IL_0073;
|
|
}
|
|
}
|
|
{
|
|
// offset = spawn.GetRotationOffset() * OffsetOn90;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_18 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_18);
|
|
NullCheck(L_19);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_20;
|
|
L_20 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_19, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = __this->___OffsetOn90_27;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22;
|
|
L_22 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_20, L_21, NULL);
|
|
V_0 = L_22;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_0073:
|
|
{
|
|
// if (yRotOff >= 135 && yRotOff < 225)
|
|
float L_23 = V_1;
|
|
if ((!(((float)L_23) >= ((float)(135.0f)))))
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
float L_24 = V_1;
|
|
if ((!(((float)L_24) < ((float)(225.0f)))))
|
|
{
|
|
goto IL_0099;
|
|
}
|
|
}
|
|
{
|
|
// offset = spawn.GetRotationOffset() * OffsetOn180;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_25 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_26 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_25);
|
|
NullCheck(L_26);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_27;
|
|
L_27 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_26, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = __this->___OffsetOn180_28;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_27, L_28, NULL);
|
|
V_0 = L_29;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_0099:
|
|
{
|
|
// if (yRotOff >= 225 && yRotOff < 315)
|
|
float L_30 = V_1;
|
|
if ((!(((float)L_30) >= ((float)(225.0f)))))
|
|
{
|
|
goto IL_00bf;
|
|
}
|
|
}
|
|
{
|
|
float L_31 = V_1;
|
|
if ((!(((float)L_31) < ((float)(315.0f)))))
|
|
{
|
|
goto IL_00bf;
|
|
}
|
|
}
|
|
{
|
|
// offset = spawn.GetRotationOffset() * OffsetOn270;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_32 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_33 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_32);
|
|
NullCheck(L_33);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_34;
|
|
L_34 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_33, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35 = __this->___OffsetOn270_29;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36;
|
|
L_36 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_34, L_35, NULL);
|
|
V_0 = L_36;
|
|
goto IL_00d3;
|
|
}
|
|
|
|
IL_00bf:
|
|
{
|
|
// offset = spawn.GetRotationOffset() * OffsetOnZero;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_37 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_38 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_37);
|
|
NullCheck(L_38);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_39;
|
|
L_39 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_38, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_40 = __this->___OffsetOnZero_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_39, L_40, NULL);
|
|
V_0 = L_41;
|
|
}
|
|
|
|
IL_00d3:
|
|
{
|
|
// offset = GetUnitOffset(offset, OffsetMode, preset);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42 = V_0;
|
|
int32_t L_43 = __this->___OffsetMode_24;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_44 = ___0_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_42, L_43, L_44, NULL);
|
|
V_0 = L_45;
|
|
// if (ApplyMode == ESP_OffsetMode.AdditiveOffset)
|
|
int32_t L_46 = __this->___ApplyMode_25;
|
|
if ((!(((uint32_t)L_46) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0113;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset += offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_47 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_48 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_47);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_49 = L_48;
|
|
NullCheck(L_49);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_50 = L_49->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_51 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_52;
|
|
L_52 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_50, L_51, NULL);
|
|
NullCheck(L_49);
|
|
L_49->___Offset_15 = L_52;
|
|
// spawn.TempPositionOffset += offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_53 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_54 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_53);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_55 = L_54;
|
|
NullCheck(L_55);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_56 = L_55->___TempPositionOffset_20;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_57 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_58;
|
|
L_58 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_56, L_57, NULL);
|
|
NullCheck(L_55);
|
|
L_55->___TempPositionOffset_20 = L_58;
|
|
return;
|
|
}
|
|
|
|
IL_0113:
|
|
{
|
|
// spawn.Offset = offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_59 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_60 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_59);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_61 = V_0;
|
|
NullCheck(L_60);
|
|
L_60->___Offset_15 = L_61;
|
|
// spawn.TempPositionOffset = offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_62 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_63 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_62);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_64 = V_0;
|
|
NullCheck(L_63);
|
|
L_63->___TempPositionOffset_20 = L_64;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_ConditionalPushPosition::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_ConditionalPushPosition__ctor_m581C156886977B41B483EBEF25BBAB5792E6753A (SR_ConditionalPushPosition_tED9B981BCF24FDFAAABAB80C9D265BACDD5E64AB* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// [HideInInspector] public ESP_OffsetMode ApplyMode = ESP_OffsetMode.AdditiveOffset;
|
|
__this->___ApplyMode_25 = 1;
|
|
// public Vector3 OffsetOnZero = new Vector3(0f, 0f, 0.5f);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (0.0f), (0.0f), (0.5f), /*hidden argument*/NULL);
|
|
__this->___OffsetOnZero_26 = L_0;
|
|
// public Vector3 OffsetOn90 = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___OffsetOn90_27 = L_1;
|
|
// public Vector3 OffsetOn180 = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___OffsetOn180_28 = L_2;
|
|
// public Vector3 OffsetOn270 = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
L_3 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___OffsetOn270_29 = L_3;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PrefabOffset_TitleName_m3392A345E6F6A575723B7F992D4E463544C51184 (SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral0764B7B10B078BB217EF471477DF4C15D97C73FF);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Prefab Offset"; }
|
|
return _stringLiteral0764B7B10B078BB217EF471477DF4C15D97C73FF;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_PrefabOffset_Tooltip_m858B2B64C47F2A92F21C4F0E67FFC4B3921B09A9 (SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral7A0D339F88FEABA8111C3E8E72261FBC6090324B);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Offseting spawn with position/rotation setted inside prefab file"; }
|
|
return _stringLiteral7A0D339F88FEABA8111C3E8E72261FBC6090324B;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_PrefabOffset_get_Type_m083D4E49F6C23E0CCF71822D37EFAFEFD5E906D2 (SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PrefabOffset_CellInfluence_mDBDA3458D6671A249BF48E3ABEF27A0FC2387961 (SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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;
|
|
}
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* V_0 = NULL;
|
|
{
|
|
// GameObject prefab = spawn.Prefab;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_0 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_1 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_0);
|
|
NullCheck(L_1);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_2 = L_1->___Prefab_4;
|
|
V_0 = L_2;
|
|
// if (preset == null) return;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_3 = ___0_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_3, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0013;
|
|
}
|
|
}
|
|
{
|
|
// if (preset == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0013:
|
|
{
|
|
// if (!UseAsHelperCorrection)
|
|
bool L_5 = __this->___UseAsHelperCorrection_26;
|
|
if (L_5)
|
|
{
|
|
goto IL_0077;
|
|
}
|
|
}
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_6 = __this->___Space_25;
|
|
if (L_6)
|
|
{
|
|
goto IL_004d;
|
|
}
|
|
}
|
|
{
|
|
// spawn.Offset += prefab.transform.position * Multiply;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_7 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_8 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_7);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9 = L_8;
|
|
NullCheck(L_9);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10 = L_9->___Offset_15;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_11 = V_0;
|
|
NullCheck(L_11);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_12;
|
|
L_12 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_11, NULL);
|
|
NullCheck(L_12);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13;
|
|
L_13 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_12, NULL);
|
|
float L_14 = __this->___Multiply_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_13, L_14, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_10, L_15, NULL);
|
|
NullCheck(L_9);
|
|
L_9->___Offset_15 = L_16;
|
|
return;
|
|
}
|
|
|
|
IL_004d:
|
|
{
|
|
// spawn.DirectionalOffset += prefab.transform.position * Multiply;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_17 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_17);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = L_18;
|
|
NullCheck(L_19);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = L_19->___DirectionalOffset_19;
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_21 = V_0;
|
|
NullCheck(L_21);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_22;
|
|
L_22 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_21, NULL);
|
|
NullCheck(L_22);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_22, NULL);
|
|
float L_24 = __this->___Multiply_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_23, L_24, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_20, L_25, NULL);
|
|
NullCheck(L_19);
|
|
L_19->___DirectionalOffset_19 = L_26;
|
|
return;
|
|
}
|
|
|
|
IL_0077:
|
|
{
|
|
// if (Space == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_27 = __this->___Space_25;
|
|
if (L_27)
|
|
{
|
|
goto IL_009e;
|
|
}
|
|
}
|
|
{
|
|
// spawn.OutsidePositionOffset = prefab.transform.position * Multiply;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_28 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_29 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_28);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_30 = V_0;
|
|
NullCheck(L_30);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_31;
|
|
L_31 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_30, NULL);
|
|
NullCheck(L_31);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_31, NULL);
|
|
float L_33 = __this->___Multiply_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34;
|
|
L_34 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_32, L_33, NULL);
|
|
NullCheck(L_29);
|
|
L_29->___OutsidePositionOffset_23 = L_34;
|
|
return;
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
// spawn.OutsidePositionOffset = prefab.transform.position * Multiply;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_35 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_36 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_35);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_37 = V_0;
|
|
NullCheck(L_37);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_38;
|
|
L_38 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_37, NULL);
|
|
NullCheck(L_38);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39;
|
|
L_39 = Transform_get_position_m69CD5FA214FDAE7BB701552943674846C220FDE1(L_38, NULL);
|
|
float L_40 = __this->___Multiply_24;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_41;
|
|
L_41 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_39, L_40, NULL);
|
|
NullCheck(L_36);
|
|
L_36->___OutsidePositionOffset_23 = L_41;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_PrefabOffset::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_PrefabOffset__ctor_m13A4F63F725C991CE43159C4F63080197506724B (SR_PrefabOffset_t2ECDE0FABDDE50E1B896EEE07DB5D5CA972B9AF2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public float Multiply = 1f;
|
|
__this->___Multiply_24 = (1.0f);
|
|
// public ESP_OffsetSpace Space = ESP_OffsetSpace.LocalSpace;
|
|
__this->___Space_25 = 1;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_RotateOnRepeat_TitleName_mBA2FEC76BB6DF4C190A52E135D98F27799D282E3 (SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralC6866846D44F4F870311AAC9381AE2A6730E5FB2);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Rotate On Repeat"; }
|
|
return _stringLiteralC6866846D44F4F870311AAC9381AE2A6730E5FB2;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_RotateOnRepeat_Tooltip_m4BFAF9F08C134CA1CCAFF7879BDC2F80658FB14F (SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralBA5E52500508476AA68E4CDFB1A619F30D324CAA);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "If you're using 'Repeat' feature for spawner (can be switched when toggling switch on the right of 'Cell Check Mode' field inside inspector window) "; }
|
|
return _stringLiteralBA5E52500508476AA68E4CDFB1A619F30D324CAA;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_RotateOnRepeat_get_Type_mC8003BA444E1E881101BA609E3BAD656E086B1F6 (SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Event; } }
|
|
return (int32_t)(2);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_RotateOnRepeat_CheckRuleOn_m49135A16D8468BFF01D53D635414C025B824F293 (SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (Apply == ESP_OffsetMode.AdditiveOffset)
|
|
int32_t L_0 = __this->___Apply_25;
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// spawn.TempRotationOffset += AnglePerRepeat * OwnerSpawner._currentRepeat;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_1 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_2 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_1);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_3 = L_2;
|
|
NullCheck(L_3);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = L_3->___TempRotationOffset_21;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = __this->___AnglePerRepeat_26;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_6 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_6);
|
|
int32_t L_7 = L_6->____currentRepeat_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_5, ((float)L_7), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_4, L_8, NULL);
|
|
NullCheck(L_3);
|
|
L_3->___TempRotationOffset_21 = L_9;
|
|
goto IL_0052;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// spawn.TempRotationOffset = AnglePerRepeat * OwnerSpawner._currentRepeat;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_10 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_11 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_10);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12 = __this->___AnglePerRepeat_26;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_13 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_13);
|
|
int32_t L_14 = L_13->____currentRepeat_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_12, ((float)L_14), NULL);
|
|
NullCheck(L_11);
|
|
L_11->___TempRotationOffset_21 = L_15;
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// base.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_16 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_17 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_18 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_19 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_20 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_21 = ___5_restrictDirection;
|
|
SpawnRuleBase_CheckRuleOn_m63A15FB8F14BCCFA10AA5F995A07D4F476977AC6(__this, L_16, L_17, L_18, L_19, L_20, L_21, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_RotateOnRepeat_CellInfluence_m1460EC7227CD764F460BA7EF90B4991108EB21E4 (SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// if (OffsetSpace == ESP_OffsetSpace.WorldSpace)
|
|
int32_t L_0 = __this->___OffsetSpace_24;
|
|
if (L_0)
|
|
{
|
|
goto IL_005c;
|
|
}
|
|
}
|
|
{
|
|
// if (Apply == ESP_OffsetMode.AdditiveOffset)
|
|
int32_t L_1 = __this->___Apply_25;
|
|
if ((!(((uint32_t)L_1) == ((uint32_t)1))))
|
|
{
|
|
goto IL_003c;
|
|
}
|
|
}
|
|
{
|
|
// spawn.RotationOffset += AnglePerRepeat * OwnerSpawner._currentRepeat;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_2 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_3 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_2);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4 = L_3;
|
|
NullCheck(L_4);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = L_4->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = __this->___AnglePerRepeat_26;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_7 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_7);
|
|
int32_t L_8 = L_7->____currentRepeat_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_6, ((float)L_8), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_10;
|
|
L_10 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_5, L_9, NULL);
|
|
NullCheck(L_4);
|
|
L_4->___RotationOffset_16 = L_10;
|
|
return;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
// spawn.RotationOffset = AnglePerRepeat * OwnerSpawner._currentRepeat;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_11 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_12 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_11);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = __this->___AnglePerRepeat_26;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_14 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_14);
|
|
int32_t L_15 = L_14->____currentRepeat_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16;
|
|
L_16 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_13, ((float)L_15), NULL);
|
|
NullCheck(L_12);
|
|
L_12->___RotationOffset_16 = L_16;
|
|
return;
|
|
}
|
|
|
|
IL_005c:
|
|
{
|
|
// if (Apply == ESP_OffsetMode.AdditiveOffset)
|
|
int32_t L_17 = __this->___Apply_25;
|
|
if ((!(((uint32_t)L_17) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0090;
|
|
}
|
|
}
|
|
{
|
|
// spawn.LocalRotationOffset += AnglePerRepeat * OwnerSpawner._currentRepeat;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_18 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_18);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_20 = L_19;
|
|
NullCheck(L_20);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_21 = L_20->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = __this->___AnglePerRepeat_26;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_23 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_23);
|
|
int32_t L_24 = L_23->____currentRepeat_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_22, ((float)L_24), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26;
|
|
L_26 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_21, L_25, NULL);
|
|
NullCheck(L_20);
|
|
L_20->___LocalRotationOffset_17 = L_26;
|
|
return;
|
|
}
|
|
|
|
IL_0090:
|
|
{
|
|
// spawn.LocalRotationOffset = AnglePerRepeat * OwnerSpawner._currentRepeat;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_27 = ___3_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_28 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_27);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = __this->___AnglePerRepeat_26;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_30 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_30);
|
|
int32_t L_31 = L_30->____currentRepeat_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_29, ((float)L_31), NULL);
|
|
NullCheck(L_28);
|
|
L_28->___LocalRotationOffset_17 = L_32;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.Transforming.Utilities.SR_RotateOnRepeat::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_RotateOnRepeat__ctor_m560C091E8EF2B3188E3A269E9E1041048DBBDDF4 (SR_RotateOnRepeat_t5EABF113AD18BC5F401EE6C77E6D007ACA7ADF66* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 AnglePerRepeat = new Vector3(0, 90f, 0);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
memset((&L_0), 0, sizeof(L_0));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_0), (0.0f), (90.0f), (0.0f), /*hidden argument*/NULL);
|
|
__this->___AnglePerRepeat_26 = L_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_CallRulesOf_TitleName_mD51836CD04FEA17ABF497B237B4C73C3F8C0EDF5 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF83949864980A3ED606D8F5D070DC7330BB3E418);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Call Rules Logics Of"; }
|
|
return _stringLiteralF83949864980A3ED606D8F5D070DC7330BB3E418;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_CallRulesOf_Tooltip_m0C9BD9E2544152327BCA296DD3801B31A4E58BBC (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral099A5A17EAA663DA9921B2A0B8EBB94847B6AC70);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "You can use logics of some other Modificator/Spawner without defining them multiple times\n" + base.Tooltip(); }
|
|
String_t* L_0;
|
|
L_0 = SpawnRuleBase_Tooltip_m89792DF22A3A8BBDEC392358CA2F59D472EB2489(__this, NULL);
|
|
String_t* L_1;
|
|
L_1 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteral099A5A17EAA663DA9921B2A0B8EBB94847B6AC70, L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_CallRulesOf_get_Type_m2EFE850662F5296D2BAC9FCFD7B1EA04BD0FA615 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Coded; } }
|
|
return (int32_t)(4);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::ResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf_ResetRule_m13FDDCFCA6C2BE8070AB37041FFF28ED2AF06429 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___0_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m7A8B950ADF4821FDA15E9C9D46FBAB19840BEBF6_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Contains_mFAEA555388078FE5B4CA122F4F3F91D078231B25_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
{
|
|
// base.ResetRule(grid, preset);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_0 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_1 = ___1_preset;
|
|
SpawnRuleBase_ResetRule_mFAEC160715FC6C03DE27FA43D74D0ED5446596E5(__this, L_0, L_1, NULL);
|
|
// FieldSpawner spawner = GetSpawner();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_2;
|
|
L_2 = SR_CallRulesOf_GetSpawner_m39938460918B2B1A306D6B3DC88B072079860ACA(__this, NULL);
|
|
V_0 = L_2;
|
|
// runCall = null;
|
|
__this->___runCall_30 = (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___runCall_30), (void*)(List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)NULL);
|
|
// if (spawner == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_3 = V_0;
|
|
if (L_3)
|
|
{
|
|
goto IL_001a;
|
|
}
|
|
}
|
|
{
|
|
// if (spawner == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_001a:
|
|
{
|
|
// runCall = new List<SpawnRuleBase>();
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_4 = (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)il2cpp_codegen_object_new(List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19(L_4, List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
__this->___runCall_30 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___runCall_30), (void*)L_4);
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_0097;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// if (spawner.Rules[i] == null) continue;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_5 = V_0;
|
|
NullCheck(L_5);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_6 = L_5->___Rules_6;
|
|
int32_t L_7 = V_1;
|
|
NullCheck(L_6);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_8;
|
|
L_8 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_6, L_7, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_8, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_9)
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
// if (spawner.Rules[i].Enabled == false) continue;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_10 = V_0;
|
|
NullCheck(L_10);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_11 = L_10->___Rules_6;
|
|
int32_t L_12 = V_1;
|
|
NullCheck(L_11);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_13;
|
|
L_13 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_11, L_12, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_13);
|
|
bool L_14 = L_13->___Enabled_13;
|
|
if (!L_14)
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
// if (IgnoreToCall.Contains(spawner.Rules[i])) continue;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_15 = __this->___IgnoreToCall_28;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_16 = V_0;
|
|
NullCheck(L_16);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_17 = L_16->___Rules_6;
|
|
int32_t L_18 = V_1;
|
|
NullCheck(L_17);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_19;
|
|
L_19 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_17, L_18, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_15);
|
|
bool L_20;
|
|
L_20 = List_1_Contains_mFAEA555388078FE5B4CA122F4F3F91D078231B25(L_15, L_19, List_1_Contains_mFAEA555388078FE5B4CA122F4F3F91D078231B25_RuntimeMethod_var);
|
|
if (L_20)
|
|
{
|
|
goto IL_0093;
|
|
}
|
|
}
|
|
{
|
|
// runCall.Add(spawner.Rules[i]);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_21 = __this->___runCall_30;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_22 = V_0;
|
|
NullCheck(L_22);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_23 = L_22->___Rules_6;
|
|
int32_t L_24 = V_1;
|
|
NullCheck(L_23);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_25;
|
|
L_25 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_23, L_24, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_21);
|
|
List_1_Add_m7A8B950ADF4821FDA15E9C9D46FBAB19840BEBF6_inline(L_21, L_25, List_1_Add_m7A8B950ADF4821FDA15E9C9D46FBAB19840BEBF6_RuntimeMethod_var);
|
|
// spawner.Rules[i].ResetRule(grid, preset);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_26 = V_0;
|
|
NullCheck(L_26);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_27 = L_26->___Rules_6;
|
|
int32_t L_28 = V_1;
|
|
NullCheck(L_27);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_29;
|
|
L_29 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_27, L_28, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_30 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_31 = ___1_preset;
|
|
NullCheck(L_29);
|
|
VirtualActionInvoker2< FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* >::Invoke(13 /* System.Void FIMSpace.Generating.SpawnRuleBase::ResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup) */, L_29, L_30, L_31);
|
|
}
|
|
|
|
IL_0093:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_32 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_32, 1));
|
|
}
|
|
|
|
IL_0097:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_33 = V_1;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_34 = V_0;
|
|
NullCheck(L_34);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_35 = L_34->___Rules_6;
|
|
NullCheck(L_35);
|
|
int32_t L_36;
|
|
L_36 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_35, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_33) < ((int32_t)L_36)))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// if (runCall.Count == 0) runCall = null;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_37 = __this->___runCall_30;
|
|
NullCheck(L_37);
|
|
int32_t L_38;
|
|
L_38 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_37, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if (L_38)
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// if (runCall.Count == 0) runCall = null;
|
|
__this->___runCall_30 = (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___runCall_30), (void*)(List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)NULL);
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::Refresh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf_Refresh_mE7229E233D128CE1851F22235ADAF5C18654F3A0 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// base.Refresh();
|
|
SpawnRuleBase_Refresh_mC4FDE9B3C100EAB3903AE269AE13260EA29D4B83(__this, NULL);
|
|
// CellAllow = true;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = (bool)1;
|
|
// internalAllow = true;
|
|
__this->___internalAllow_29 = (bool)1;
|
|
// if (runCall == null) return;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_0 = __this->___runCall_30;
|
|
if (L_0)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// if (runCall == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++) runCall[i].Refresh();
|
|
V_0 = 0;
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++) runCall[i].Refresh();
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_1 = __this->___runCall_30;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_3;
|
|
L_3 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_1, L_2, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_3);
|
|
VirtualActionInvoker0::Invoke(12 /* System.Void FIMSpace.Generating.SpawnRuleBase::Refresh() */, L_3);
|
|
// for (int i = 0; i < runCall.Count; i++) runCall[i].Refresh();
|
|
int32_t L_4 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_4, 1));
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++) runCall[i].Refresh();
|
|
int32_t L_5 = V_0;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_6 = __this->___runCall_30;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_6, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_5) < ((int32_t)L_7)))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::PreGenerateResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldSpawner)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf_PreGenerateResetRule_mF960AD2B15E7006C4C9DCB9A98B9816192A7C7DA (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___0_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___2_callFrom, 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;
|
|
}
|
|
{
|
|
// base.PreGenerateResetRule(grid, preset, callFrom);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_0 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_1 = ___1_preset;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_2 = ___2_callFrom;
|
|
SpawnRuleBase_PreGenerateResetRule_mDCA574328EB6B7E864CB53270979B38B5963A8C1(__this, L_0, L_1, L_2, NULL);
|
|
// if (CallModGraph) CallModGraph.PreGenerateResetRule(grid, preset, callFrom);
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* L_3 = __this->___CallModGraph_25;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_3, NULL);
|
|
if (!L_4)
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// if (CallModGraph) CallModGraph.PreGenerateResetRule(grid, preset, callFrom);
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* L_5 = __this->___CallModGraph_25;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_6 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_7 = ___1_preset;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_8 = ___2_callFrom;
|
|
NullCheck(L_5);
|
|
VirtualActionInvoker3< FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* >::Invoke(14 /* System.Void FIMSpace.Generating.SpawnRuleBase::PreGenerateResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldSpawner) */, L_5, L_6, L_7, L_8);
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf_CheckRuleOn_m1BD439A492216CDB998C41D885306D664531F047 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// base.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_0 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_1 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_2 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_5 = ___5_restrictDirection;
|
|
SpawnRuleBase_CheckRuleOn_m63A15FB8F14BCCFA10AA5F995A07D4F476977AC6(__this, L_0, L_1, L_2, L_3, L_4, L_5, NULL);
|
|
// if (CallModGraph) CallModGraph.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* L_6 = __this->___CallModGraph_25;
|
|
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_0030;
|
|
}
|
|
}
|
|
{
|
|
// if (CallModGraph) CallModGraph.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
SR_ModGraph_t58096C01D71547ADA9E91FA969D9EF34D1D1749E* L_8 = __this->___CallModGraph_25;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_9 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_10 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_11 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_13 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_14 = ___5_restrictDirection;
|
|
NullCheck(L_8);
|
|
VirtualActionInvoker6< FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE >::Invoke(16 /* System.Void FIMSpace.Generating.SpawnRuleBase::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>) */, L_8, L_9, L_10, L_11, L_12, L_13, L_14);
|
|
}
|
|
|
|
IL_0030:
|
|
{
|
|
// if (runCall == null) return;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_15 = __this->___runCall_30;
|
|
if (L_15)
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// if (runCall == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// if (CellAllow == false) return;
|
|
bool L_16 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17;
|
|
if (L_16)
|
|
{
|
|
goto IL_0042;
|
|
}
|
|
}
|
|
{
|
|
// if (CellAllow == false) return;
|
|
return;
|
|
}
|
|
|
|
IL_0042:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0080;
|
|
}
|
|
|
|
IL_0046:
|
|
{
|
|
// runCall[i].CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_17 = __this->___runCall_30;
|
|
int32_t L_18 = V_0;
|
|
NullCheck(L_17);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_19;
|
|
L_19 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_17, L_18, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_20 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_21 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_22 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_23 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_24 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_25 = ___5_restrictDirection;
|
|
NullCheck(L_19);
|
|
VirtualActionInvoker6< FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE >::Invoke(16 /* System.Void FIMSpace.Generating.SpawnRuleBase::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>) */, L_19, L_20, L_21, L_22, L_23, L_24, L_25);
|
|
// if ( runCall[i].CellAllow == false)
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_26 = __this->___runCall_30;
|
|
int32_t L_27 = V_0;
|
|
NullCheck(L_26);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_28;
|
|
L_28 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_26, L_27, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_28);
|
|
bool L_29 = L_28->___CellAllow_17;
|
|
if (L_29)
|
|
{
|
|
goto IL_007c;
|
|
}
|
|
}
|
|
{
|
|
// internalAllow = false;
|
|
__this->___internalAllow_29 = (bool)0;
|
|
// break;
|
|
goto IL_008e;
|
|
}
|
|
|
|
IL_007c:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
int32_t L_30 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_30, 1));
|
|
}
|
|
|
|
IL_0080:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
int32_t L_31 = V_0;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_32 = __this->___runCall_30;
|
|
NullCheck(L_32);
|
|
int32_t L_33;
|
|
L_33 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_32, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_31) < ((int32_t)L_33)))
|
|
{
|
|
goto IL_0046;
|
|
}
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// if (CallResult != EResult.JustTriggerEvents) CellAllow = internalAllow;
|
|
int32_t L_34 = __this->___CallResult_27;
|
|
if (!L_34)
|
|
{
|
|
goto IL_00a2;
|
|
}
|
|
}
|
|
{
|
|
// if (CallResult != EResult.JustTriggerEvents) CellAllow = internalAllow;
|
|
bool L_35 = __this->___internalAllow_29;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = L_35;
|
|
}
|
|
|
|
IL_00a2:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf_CellInfluence_m76302A3A49A9D97BEA4749E55266A069813CD52F (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
int32_t V_1 = 0;
|
|
{
|
|
// base.CellInfluence(preset, mod, cell, ref spawn, grid);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_0 = ___0_preset;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_1 = ___1_mod;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_3 = ___3_spawn;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___4_grid;
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE));
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_5 = V_0;
|
|
SpawnRuleBase_CellInfluence_m7CC426706EFB5F01260C97503B0046278F4A5E16(__this, L_0, L_1, L_2, L_3, L_4, L_5, NULL);
|
|
// if (runCall == null) return;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_6 = __this->___runCall_30;
|
|
if (L_6)
|
|
{
|
|
goto IL_001f;
|
|
}
|
|
}
|
|
{
|
|
// if (runCall == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_001f:
|
|
{
|
|
// if (internalAllow == false) return;
|
|
bool L_7 = __this->___internalAllow_29;
|
|
if (L_7)
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
{
|
|
// if (internalAllow == false) return;
|
|
return;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_006d;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// runCall[i].CellInfluence(preset, mod, cell, ref spawn, grid);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_8 = __this->___runCall_30;
|
|
int32_t L_9 = V_1;
|
|
NullCheck(L_8);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_10;
|
|
L_10 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_8, L_9, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_11 = ___0_preset;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_12 = ___1_mod;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_13 = ___2_cell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_14 = ___3_spawn;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_15 = ___4_grid;
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE));
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_16 = V_0;
|
|
NullCheck(L_10);
|
|
VirtualActionInvoker6< FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE >::Invoke(17 /* System.Void FIMSpace.Generating.SpawnRuleBase::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>) */, L_10, L_11, L_12, L_13, L_14, L_15, L_16);
|
|
// if (runCall[i].CellAllow == false)
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_17 = __this->___runCall_30;
|
|
int32_t L_18 = V_1;
|
|
NullCheck(L_17);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_19;
|
|
L_19 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_17, L_18, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_19);
|
|
bool L_20 = L_19->___CellAllow_17;
|
|
if (L_20)
|
|
{
|
|
goto IL_0069;
|
|
}
|
|
}
|
|
{
|
|
// internalAllow = false;
|
|
__this->___internalAllow_29 = (bool)0;
|
|
// break;
|
|
goto IL_007b;
|
|
}
|
|
|
|
IL_0069:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
int32_t L_21 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_21, 1));
|
|
}
|
|
|
|
IL_006d:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
int32_t L_22 = V_1;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_23 = __this->___runCall_30;
|
|
NullCheck(L_23);
|
|
int32_t L_24;
|
|
L_24 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_23, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_22) < ((int32_t)L_24)))
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
|
|
IL_007b:
|
|
{
|
|
// if (CallResult != EResult.JustTriggerEvents) CellAllow = internalAllow;
|
|
int32_t L_25 = __this->___CallResult_27;
|
|
if (!L_25)
|
|
{
|
|
goto IL_008f;
|
|
}
|
|
}
|
|
{
|
|
// if (CallResult != EResult.JustTriggerEvents) CellAllow = internalAllow;
|
|
bool L_26 = __this->___internalAllow_29;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = L_26;
|
|
}
|
|
|
|
IL_008f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf_OnConditionsMetAction_mD4AFA0CC879FBFC4D47380419282437B159CD9B3 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_thisSpawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
{
|
|
// if (runCall == null) return;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_0 = __this->___runCall_30;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (runCall == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (internalAllow == false) return;
|
|
bool L_1 = __this->___internalAllow_29;
|
|
if (L_1)
|
|
{
|
|
goto IL_0012;
|
|
}
|
|
}
|
|
{
|
|
// if (internalAllow == false) return;
|
|
return;
|
|
}
|
|
|
|
IL_0012:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_0016:
|
|
{
|
|
// runCall[i].OnConditionsMetAction(mod, ref thisSpawn, preset, cell, grid);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_2 = __this->___runCall_30;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_4;
|
|
L_4 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_2, L_3, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_5 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_6 = ___1_thisSpawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_7 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_9 = ___4_grid;
|
|
NullCheck(L_4);
|
|
VirtualActionInvoker5< FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* >::Invoke(18 /* System.Void FIMSpace.Generating.SpawnRuleBase::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>) */, L_4, L_5, L_6, L_7, L_8, L_9);
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
int32_t L_10 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_10, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < runCall.Count; i++)
|
|
int32_t L_11 = V_0;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_12 = __this->___runCall_30;
|
|
NullCheck(L_12);
|
|
int32_t L_13;
|
|
L_13 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_12, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_11) < ((int32_t)L_13)))
|
|
{
|
|
goto IL_0016;
|
|
}
|
|
}
|
|
{
|
|
// base.OnConditionsMetAction(mod, ref thisSpawn, preset, cell, grid);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_14 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_15 = ___1_thisSpawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_16 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_17 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_18 = ___4_grid;
|
|
SpawnRuleBase_OnConditionsMetAction_m5AC03B564BB1303CCE7F9A0A4FC6B630D6ACF16C(__this, L_14, L_15, L_16, L_17, L_18, NULL);
|
|
// if (CallResult != EResult.JustTriggerEvents) CellAllow = internalAllow;
|
|
int32_t L_19 = __this->___CallResult_27;
|
|
if (!L_19)
|
|
{
|
|
goto IL_0061;
|
|
}
|
|
}
|
|
{
|
|
// if (CallResult != EResult.JustTriggerEvents) CellAllow = internalAllow;
|
|
bool L_20 = __this->___internalAllow_29;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = L_20;
|
|
}
|
|
|
|
IL_0061:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::GetSpawner()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* SR_CallRulesOf_GetSpawner_m39938460918B2B1A306D6B3DC88B072079860ACA (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (CallFrom == null) return null;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_0 = __this->___CallFrom_24;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0010;
|
|
}
|
|
}
|
|
{
|
|
// if (CallFrom == null) return null;
|
|
return (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)NULL;
|
|
}
|
|
|
|
IL_0010:
|
|
{
|
|
// if (SpawnerId >= CallFrom.Spawners.Count) return null;
|
|
int32_t L_2 = __this->___SpawnerId_26;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_3 = __this->___CallFrom_24;
|
|
NullCheck(L_3);
|
|
List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* L_4 = L_3->___Spawners_16;
|
|
NullCheck(L_4);
|
|
int32_t L_5;
|
|
L_5 = List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_inline(L_4, List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_RuntimeMethod_var);
|
|
if ((((int32_t)L_2) < ((int32_t)L_5)))
|
|
{
|
|
goto IL_002a;
|
|
}
|
|
}
|
|
{
|
|
// if (SpawnerId >= CallFrom.Spawners.Count) return null;
|
|
return (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)NULL;
|
|
}
|
|
|
|
IL_002a:
|
|
{
|
|
// FieldSpawner spawner = CallFrom.Spawners[SpawnerId];
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_6 = __this->___CallFrom_24;
|
|
NullCheck(L_6);
|
|
List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* L_7 = L_6->___Spawners_16;
|
|
int32_t L_8 = __this->___SpawnerId_26;
|
|
NullCheck(L_7);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_9;
|
|
L_9 = List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337(L_7, L_8, List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337_RuntimeMethod_var);
|
|
// return spawner;
|
|
return L_9;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallRulesOf::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallRulesOf__ctor_mEA6DC2595187FADDC56950EE1464D0BDFE79F0F9 (SR_CallRulesOf_t23C172B3902C37FC5723EB8DCA4719DC7E19E61E* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public EResult CallResult = EResult.AllowOrBreakSpawning;
|
|
__this->___CallResult_27 = 1;
|
|
// public List<SpawnRuleBase> IgnoreToCall = new List<SpawnRuleBase>();
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_0 = (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)il2cpp_codegen_object_new(List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19(L_0, List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
__this->___IgnoreToCall_28 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___IgnoreToCall_28), (void*)L_0);
|
|
// bool internalAllow = true;
|
|
__this->___internalAllow_29 = (bool)1;
|
|
// private List<SpawnRuleBase> runCall = new List<SpawnRuleBase>();
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_1 = (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)il2cpp_codegen_object_new(List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
NullCheck(L_1);
|
|
List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19(L_1, List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
__this->___runCall_30 = L_1;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___runCall_30), (void*)L_1);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_CallSubSpawner_TitleName_mD4F9EA15BA1E25C4A26F9E53A69AC6293CBCEECE (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral9CBDFE714B08A9A4EF309D9A58CC21DA82ABEBDA);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Call Sub Spawner"; }
|
|
return _stringLiteral9CBDFE714B08A9A4EF309D9A58CC21DA82ABEBDA;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_CallSubSpawner_Tooltip_m5DD5301BB02F1B935BCFE07B6F9FA6246AA13374 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA4EF1BCA83AF2663E8837377FBACD87680A57AE2);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Use this node to call sub spawner stored in this field modification"; }
|
|
return _stringLiteralA4EF1BCA83AF2663E8837377FBACD87680A57AE2;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_CallSubSpawner_get_Type_mA1534C5332F06273CEA1897C19A546E7AD19AF1F (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.OnConditionsMet; } }
|
|
return (int32_t)(3);
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::CanBeGlobal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_CallSubSpawner_CanBeGlobal_m4A9282FAA874508210C2F9F1BE6DC154555BBE15 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override bool CanBeGlobal() { return false; }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FieldSpawner FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::get_toCall()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* SR_CallSubSpawner_get_toCall_mB4A8A0ACEF203BEFEC5A3D9E0ACC5E1BE71016E9 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (CallSpawner < 0) return null;
|
|
int32_t L_0 = __this->___CallSpawner_25;
|
|
if ((((int32_t)L_0) >= ((int32_t)0)))
|
|
{
|
|
goto IL_000b;
|
|
}
|
|
}
|
|
{
|
|
// if (CallSpawner < 0) return null;
|
|
return (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)NULL;
|
|
}
|
|
|
|
IL_000b:
|
|
{
|
|
// if (OwnerSpawner == null) return null;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_1 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
if (L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (OwnerSpawner == null) return null;
|
|
return (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)NULL;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// if (parentMod == null) return null;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_2;
|
|
L_2 = SR_CallSubSpawner_get_parentMod_m15565D833AC0232C554A6BDADB7A7C647C59B1AA(__this, NULL);
|
|
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_0025;
|
|
}
|
|
}
|
|
{
|
|
// if (parentMod == null) return null;
|
|
return (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)NULL;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// if (CallSpawner >= parentMod.SubSpawners.Count) return null;
|
|
int32_t L_4 = __this->___CallSpawner_25;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_5;
|
|
L_5 = SR_CallSubSpawner_get_parentMod_m15565D833AC0232C554A6BDADB7A7C647C59B1AA(__this, NULL);
|
|
NullCheck(L_5);
|
|
List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* L_6 = L_5->___SubSpawners_17;
|
|
NullCheck(L_6);
|
|
int32_t L_7;
|
|
L_7 = List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_inline(L_6, List_1_get_Count_m07D77527B59EC7117B65848151D05A7BB23258C5_RuntimeMethod_var);
|
|
if ((((int32_t)L_4) < ((int32_t)L_7)))
|
|
{
|
|
goto IL_003f;
|
|
}
|
|
}
|
|
{
|
|
// if (CallSpawner >= parentMod.SubSpawners.Count) return null;
|
|
return (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)NULL;
|
|
}
|
|
|
|
IL_003f:
|
|
{
|
|
// return parentMod.SubSpawners[CallSpawner];
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_8;
|
|
L_8 = SR_CallSubSpawner_get_parentMod_m15565D833AC0232C554A6BDADB7A7C647C59B1AA(__this, NULL);
|
|
NullCheck(L_8);
|
|
List_1_tD9A66BAF4F35BFCF4C83CF3D1955699B82C1368D* L_9 = L_8->___SubSpawners_17;
|
|
int32_t L_10 = __this->___CallSpawner_25;
|
|
NullCheck(L_9);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_11;
|
|
L_11 = List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337(L_9, L_10, List_1_get_Item_m144CB47EE08C8E356C23C2D1C4F744E9241EA337_RuntimeMethod_var);
|
|
return L_11;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.FieldModification FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::get_parentMod()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* SR_CallSubSpawner_get_parentMod_m15565D833AC0232C554A6BDADB7A7C647C59B1AA (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __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 (SubSpawnersOf != null) return SubSpawnersOf;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_0 = __this->___SubSpawnersOf_29;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_0, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (SubSpawnersOf != null) return SubSpawnersOf;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_2 = __this->___SubSpawnersOf_29;
|
|
return L_2;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// if (OwnerSpawner.Parent != null) return OwnerSpawner.Parent;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_3 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_3);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_4 = L_3->___Parent_5;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_5;
|
|
L_5 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_4, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
// if (OwnerSpawner.Parent != null) return OwnerSpawner.Parent;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_6 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_6);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_7 = L_6->___Parent_5;
|
|
return L_7;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
// return null;
|
|
return (FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*)NULL;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::RefreshSpawner()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_RefreshSpawner_mF58F1B1C83041F10B0EF6D2AC57D28BF45DD84AC (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// targetSubSpawner = toCall;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_0;
|
|
L_0 = SR_CallSubSpawner_get_toCall_mB4A8A0ACEF203BEFEC5A3D9E0ACC5E1BE71016E9(__this, NULL);
|
|
__this->___targetSubSpawner_24 = L_0;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___targetSubSpawner_24), (void*)L_0);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::Refresh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_Refresh_m11499199F500C5BD47CB57D136DC233D012560DC (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* V_2 = NULL;
|
|
{
|
|
// base.Refresh();
|
|
SpawnRuleBase_Refresh_mC4FDE9B3C100EAB3903AE269AE13260EA29D4B83(__this, NULL);
|
|
// RefreshSpawner();
|
|
SR_CallSubSpawner_RefreshSpawner_mF58F1B1C83041F10B0EF6D2AC57D28BF45DD84AC(__this, NULL);
|
|
// if (targetSubSpawner == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_0 = __this->___targetSubSpawner_24;
|
|
if (L_0)
|
|
{
|
|
goto IL_0015;
|
|
}
|
|
}
|
|
{
|
|
// if (targetSubSpawner == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0015:
|
|
{
|
|
// var spawner = targetSubSpawner;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_1 = __this->___targetSubSpawner_24;
|
|
V_0 = L_1;
|
|
// if (spawner.Rules == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_2 = V_0;
|
|
NullCheck(L_2);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_3 = L_2->___Rules_6;
|
|
if (L_3)
|
|
{
|
|
goto IL_0025;
|
|
}
|
|
}
|
|
{
|
|
// if (spawner.Rules == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0025:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_1 = 0;
|
|
goto IL_0049;
|
|
}
|
|
|
|
IL_0029:
|
|
{
|
|
// var rl = spawner.Rules[i]; if (rl == null) continue;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_4 = V_0;
|
|
NullCheck(L_4);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_5 = L_4->___Rules_6;
|
|
int32_t L_6 = V_1;
|
|
NullCheck(L_5);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_7;
|
|
L_7 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_5, L_6, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_2 = L_7;
|
|
// var rl = spawner.Rules[i]; if (rl == null) continue;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_8 = V_2;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_9;
|
|
L_9 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_8, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_9)
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// rl.Refresh();
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_10 = V_2;
|
|
NullCheck(L_10);
|
|
VirtualActionInvoker0::Invoke(12 /* System.Void FIMSpace.Generating.SpawnRuleBase::Refresh() */, L_10);
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_11 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0049:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_12 = V_1;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_13 = V_0;
|
|
NullCheck(L_13);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_14 = L_13->___Rules_6;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_14, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_12) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_0029;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_OnConditionsMetAction_m6F193314A327979F2F9609766BA481D67055D5E3 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_thisSpawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_tDB72209F35D56F62A287633F9450978E90B90987_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass17_1_U3COnConditionsMetActionU3Eb__0_m6EBEB3715ACC540FE63D969869B4E6EE0407C2E4_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass17_2_U3COnConditionsMetActionU3Eb__1_m27839089EE5CCBE06A6076DCF18317DFD5C14078_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* V_0 = NULL;
|
|
U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* V_1 = NULL;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_2 = NULL;
|
|
int32_t V_3 = 0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_4 = NULL;
|
|
U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* V_5 = NULL;
|
|
{
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_0 = (U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D_il2cpp_TypeInfo_var);
|
|
NullCheck(L_0);
|
|
U3CU3Ec__DisplayClass17_0__ctor_mADE5A0226EDFD1E98EE83A84655893D52E23EE9E(L_0, NULL);
|
|
V_0 = L_0;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_1 = V_0;
|
|
NullCheck(L_1);
|
|
L_1->___U3CU3E4__this_0 = __this;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_1->___U3CU3E4__this_0), (void*)__this);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_2 = V_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___3_cell;
|
|
NullCheck(L_2);
|
|
L_2->___cell_1 = L_3;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_2->___cell_1), (void*)L_3);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_4 = V_0;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_5 = ___4_grid;
|
|
NullCheck(L_4);
|
|
L_4->___grid_2 = L_5;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_4->___grid_2), (void*)L_5);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_6 = V_0;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_7 = ___2_preset;
|
|
NullCheck(L_6);
|
|
L_6->___preset_3 = L_7;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_6->___preset_3), (void*)L_7);
|
|
// if (targetSubSpawner == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_8 = __this->___targetSubSpawner_24;
|
|
if (L_8)
|
|
{
|
|
goto IL_002d;
|
|
}
|
|
}
|
|
{
|
|
// if (targetSubSpawner == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
// if (!PostCall) ApplySpawnerCall(cell, thisSpawn, grid, preset);
|
|
bool L_9 = __this->___PostCall_27;
|
|
if (L_9)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// if (!PostCall) ApplySpawnerCall(cell, thisSpawn, grid, preset);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_10 = V_0;
|
|
NullCheck(L_10);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_11 = L_10->___cell_1;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_12 = ___1_thisSpawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_12);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_14 = V_0;
|
|
NullCheck(L_14);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_15 = L_14->___grid_2;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_16 = V_0;
|
|
NullCheck(L_16);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_17 = L_16->___preset_3;
|
|
SR_CallSubSpawner_ApplySpawnerCall_m1258A9AC6E8524C83968BD44BAD2E80C68FA1935(__this, L_11, L_13, L_15, L_17, (bool)0, NULL);
|
|
goto IL_00a0;
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* L_18 = (U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B_il2cpp_TypeInfo_var);
|
|
NullCheck(L_18);
|
|
U3CU3Ec__DisplayClass17_1__ctor_m220773DBD1DB2236328DCDEB4F33DF502395B174(L_18, NULL);
|
|
V_1 = L_18;
|
|
U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* L_19 = V_1;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_20 = V_0;
|
|
NullCheck(L_19);
|
|
L_19->___CSU24U3CU3E8__locals1_1 = L_20;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_19->___CSU24U3CU3E8__locals1_1), (void*)L_20);
|
|
// SpawnData spawn = thisSpawn;
|
|
U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* L_21 = V_1;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_22 = ___1_thisSpawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_23 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_22);
|
|
NullCheck(L_21);
|
|
L_21->___spawn_0 = L_23;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_21->___spawn_0), (void*)L_23);
|
|
// if (OwnerSpawner.OnPostCallEvents == null) OwnerSpawner.OnPostCallEvents = new System.Collections.Generic.List<System.Action>();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_24 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_24);
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* L_25 = L_24->___OnPostCallEvents_21;
|
|
if (L_25)
|
|
{
|
|
goto IL_0084;
|
|
}
|
|
}
|
|
{
|
|
// if (OwnerSpawner.OnPostCallEvents == null) OwnerSpawner.OnPostCallEvents = new System.Collections.Generic.List<System.Action>();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_26 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* L_27 = (List_1_tDB72209F35D56F62A287633F9450978E90B90987*)il2cpp_codegen_object_new(List_1_tDB72209F35D56F62A287633F9450978E90B90987_il2cpp_TypeInfo_var);
|
|
NullCheck(L_27);
|
|
List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212(L_27, List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212_RuntimeMethod_var);
|
|
NullCheck(L_26);
|
|
L_26->___OnPostCallEvents_21 = L_27;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_26->___OnPostCallEvents_21), (void*)L_27);
|
|
}
|
|
|
|
IL_0084:
|
|
{
|
|
// OwnerSpawner.OnPostCallEvents.Add(
|
|
// () =>
|
|
// {
|
|
// ApplySpawnerCall(cell, spawn, grid, preset);
|
|
// });
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_28 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_28);
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* L_29 = L_28->___OnPostCallEvents_21;
|
|
U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* L_30 = V_1;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_31 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)il2cpp_codegen_object_new(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
NullCheck(L_31);
|
|
Action__ctor_mBDC7B0B4A3F583B64C2896F01BDED360772F67DC(L_31, L_30, (intptr_t)((void*)U3CU3Ec__DisplayClass17_1_U3COnConditionsMetActionU3Eb__0_m6EBEB3715ACC540FE63D969869B4E6EE0407C2E4_RuntimeMethod_var), NULL);
|
|
NullCheck(L_29);
|
|
List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_inline(L_29, L_31, List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_00a0:
|
|
{
|
|
// if (UseTemps)
|
|
bool L_32 = __this->___UseTemps_28;
|
|
if (!L_32)
|
|
{
|
|
goto IL_015f;
|
|
}
|
|
}
|
|
{
|
|
// if (OwnerSpawner != null) // Search temp spawns
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_33 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
if (!L_33)
|
|
{
|
|
goto IL_015f;
|
|
}
|
|
}
|
|
{
|
|
// var tempSpawns = OwnerSpawner.GetExtraSpawns();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_34 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_34);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_35;
|
|
L_35 = FieldSpawner_GetExtraSpawns_mCAC5A9B8DD97C695E51C71AFB5C3B518E729140B(L_34, NULL);
|
|
V_2 = L_35;
|
|
// if (tempSpawns != null)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_36 = V_2;
|
|
if (!L_36)
|
|
{
|
|
goto IL_015f;
|
|
}
|
|
}
|
|
{
|
|
// for (int t = 0; t < tempSpawns.Count; t++)
|
|
V_3 = 0;
|
|
goto IL_0153;
|
|
}
|
|
|
|
IL_00cf:
|
|
{
|
|
// var tSpawn = tempSpawns[t];
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_37 = V_2;
|
|
int32_t L_38 = V_3;
|
|
NullCheck(L_37);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_39;
|
|
L_39 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_37, L_38, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_4 = L_39;
|
|
// if (!PostCall) ApplySpawnerCall(cell, tSpawn, grid, preset, true);
|
|
bool L_40 = __this->___PostCall_27;
|
|
if (L_40)
|
|
{
|
|
goto IL_00fd;
|
|
}
|
|
}
|
|
{
|
|
// if (!PostCall) ApplySpawnerCall(cell, tSpawn, grid, preset, true);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_41 = V_0;
|
|
NullCheck(L_41);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_42 = L_41->___cell_1;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_43 = V_4;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_44 = V_0;
|
|
NullCheck(L_44);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_45 = L_44->___grid_2;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_46 = V_0;
|
|
NullCheck(L_46);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_47 = L_46->___preset_3;
|
|
SR_CallSubSpawner_ApplySpawnerCall_m1258A9AC6E8524C83968BD44BAD2E80C68FA1935(__this, L_42, L_43, L_45, L_47, (bool)1, NULL);
|
|
goto IL_014f;
|
|
}
|
|
|
|
IL_00fd:
|
|
{
|
|
U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* L_48 = (U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F*)il2cpp_codegen_object_new(U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F_il2cpp_TypeInfo_var);
|
|
NullCheck(L_48);
|
|
U3CU3Ec__DisplayClass17_2__ctor_mC9AA201660D45C05BDFE4152A6AAD1E45A731CF2(L_48, NULL);
|
|
V_5 = L_48;
|
|
U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* L_49 = V_5;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_50 = V_0;
|
|
NullCheck(L_49);
|
|
L_49->___CSU24U3CU3E8__locals2_1 = L_50;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_49->___CSU24U3CU3E8__locals2_1), (void*)L_50);
|
|
// SpawnData spawn = tSpawn;
|
|
U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* L_51 = V_5;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_52 = V_4;
|
|
NullCheck(L_51);
|
|
L_51->___spawn_0 = L_52;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_51->___spawn_0), (void*)L_52);
|
|
// if (OwnerSpawner.OnPostCallEvents == null) OwnerSpawner.OnPostCallEvents = new System.Collections.Generic.List<System.Action>();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_53 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_53);
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* L_54 = L_53->___OnPostCallEvents_21;
|
|
if (L_54)
|
|
{
|
|
goto IL_0132;
|
|
}
|
|
}
|
|
{
|
|
// if (OwnerSpawner.OnPostCallEvents == null) OwnerSpawner.OnPostCallEvents = new System.Collections.Generic.List<System.Action>();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_55 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* L_56 = (List_1_tDB72209F35D56F62A287633F9450978E90B90987*)il2cpp_codegen_object_new(List_1_tDB72209F35D56F62A287633F9450978E90B90987_il2cpp_TypeInfo_var);
|
|
NullCheck(L_56);
|
|
List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212(L_56, List_1__ctor_mBFD6DF02E045EDF3C322E2112C922457016C8212_RuntimeMethod_var);
|
|
NullCheck(L_55);
|
|
L_55->___OnPostCallEvents_21 = L_56;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_55->___OnPostCallEvents_21), (void*)L_56);
|
|
}
|
|
|
|
IL_0132:
|
|
{
|
|
// OwnerSpawner.OnPostCallEvents.Add(() => { ApplySpawnerCall(cell, spawn, grid, preset, true); });
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_57 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_57);
|
|
List_1_tDB72209F35D56F62A287633F9450978E90B90987* L_58 = L_57->___OnPostCallEvents_21;
|
|
U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* L_59 = V_5;
|
|
Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07* L_60 = (Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07*)il2cpp_codegen_object_new(Action_tD00B0A84D7945E50C2DFFC28EFEE6ED44ED2AD07_il2cpp_TypeInfo_var);
|
|
NullCheck(L_60);
|
|
Action__ctor_mBDC7B0B4A3F583B64C2896F01BDED360772F67DC(L_60, L_59, (intptr_t)((void*)U3CU3Ec__DisplayClass17_2_U3COnConditionsMetActionU3Eb__1_m27839089EE5CCBE06A6076DCF18317DFD5C14078_RuntimeMethod_var), NULL);
|
|
NullCheck(L_58);
|
|
List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_inline(L_58, L_60, List_1_Add_m5B99D67CB378BFA8A1142343F9DB44D94322EAD3_RuntimeMethod_var);
|
|
}
|
|
|
|
IL_014f:
|
|
{
|
|
// for (int t = 0; t < tempSpawns.Count; t++)
|
|
int32_t L_61 = V_3;
|
|
V_3 = ((int32_t)il2cpp_codegen_add(L_61, 1));
|
|
}
|
|
|
|
IL_0153:
|
|
{
|
|
// for (int t = 0; t < tempSpawns.Count; t++)
|
|
int32_t L_62 = V_3;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_63 = V_2;
|
|
NullCheck(L_63);
|
|
int32_t L_64;
|
|
L_64 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_63, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_62) < ((int32_t)L_64)))
|
|
{
|
|
goto IL_00cf;
|
|
}
|
|
}
|
|
|
|
IL_015f:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::ApplySpawnerCall(FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,System.Boolean)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_ApplySpawnerCall_m1258A9AC6E8524C83968BD44BAD2E80C68FA1935 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___1_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___2_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___3_preset, bool ___4_isTemp, const RuntimeMethod* method)
|
|
{
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_0 = NULL;
|
|
{
|
|
// if (targetSubSpawner == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_0 = __this->___targetSubSpawner_24;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (targetSubSpawner == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// if (targetSubSpawner.Enabled == false) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_1 = __this->___targetSubSpawner_24;
|
|
NullCheck(L_1);
|
|
bool L_2 = L_1->___Enabled_0;
|
|
if (L_2)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
// if (targetSubSpawner.Enabled == false) return;
|
|
return;
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// var data = targetSubSpawner.RunSpawnerOnCell(parentMod, preset, cell, grid, Vector3.zero, null, true);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_3 = __this->___targetSubSpawner_24;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_4;
|
|
L_4 = SR_CallSubSpawner_get_parentMod_m15565D833AC0232C554A6BDADB7A7C647C59B1AA(__this, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_5 = ___3_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_6 = ___0_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_7 = ___2_grid;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8;
|
|
L_8 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_3);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_9;
|
|
L_9 = FieldSpawner_RunSpawnerOnCell_m26C51989E3829032B5F52FDA910FB01330E7D719(L_3, L_4, L_5, L_6, L_7, L_8, (FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*)NULL, (bool)1, (bool)0, (bool)0, NULL);
|
|
V_0 = L_9;
|
|
// if (data != null)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_10 = V_0;
|
|
if (!L_10)
|
|
{
|
|
goto IL_009d;
|
|
}
|
|
}
|
|
{
|
|
// if (InheritCoords)
|
|
bool L_11 = __this->___InheritCoords_26;
|
|
if (!L_11)
|
|
{
|
|
goto IL_009d;
|
|
}
|
|
}
|
|
{
|
|
// data.Offset += spawn.Offset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_12 = V_0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13 = L_12;
|
|
NullCheck(L_13);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = L_13->___Offset_15;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_15 = ___1_spawn;
|
|
NullCheck(L_15);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = L_15->___Offset_15;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_14, L_16, NULL);
|
|
NullCheck(L_13);
|
|
L_13->___Offset_15 = L_17;
|
|
// data.DirectionalOffset += spawn.DirectionalOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_18 = V_0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_19 = L_18;
|
|
NullCheck(L_19);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = L_19->___DirectionalOffset_19;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_21 = ___1_spawn;
|
|
NullCheck(L_21);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_22 = L_21->___DirectionalOffset_19;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
L_23 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_20, L_22, NULL);
|
|
NullCheck(L_19);
|
|
L_19->___DirectionalOffset_19 = L_23;
|
|
// data.RotationOffset += spawn.RotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_24 = V_0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_25 = L_24;
|
|
NullCheck(L_25);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_26 = L_25->___RotationOffset_16;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_27 = ___1_spawn;
|
|
NullCheck(L_27);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28 = L_27->___RotationOffset_16;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29;
|
|
L_29 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_26, L_28, NULL);
|
|
NullCheck(L_25);
|
|
L_25->___RotationOffset_16 = L_29;
|
|
// data.LocalRotationOffset += spawn.LocalRotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_30 = V_0;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_31 = L_30;
|
|
NullCheck(L_31);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32 = L_31->___LocalRotationOffset_17;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_33 = ___1_spawn;
|
|
NullCheck(L_33);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_34 = L_33->___LocalRotationOffset_17;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_35;
|
|
L_35 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_32, L_34, NULL);
|
|
NullCheck(L_31);
|
|
L_31->___LocalRotationOffset_17 = L_35;
|
|
}
|
|
|
|
IL_009d:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::PreGenerateResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldSpawner)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner_PreGenerateResetRule_m83BA327633EB24EC28EE21ECEFD8CC5657E20362 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___0_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* ___2_callFrom, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* V_1 = NULL;
|
|
{
|
|
// RefreshSpawner();
|
|
SR_CallSubSpawner_RefreshSpawner_mF58F1B1C83041F10B0EF6D2AC57D28BF45DD84AC(__this, NULL);
|
|
// if (targetSubSpawner == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_0 = __this->___targetSubSpawner_24;
|
|
if (L_0)
|
|
{
|
|
goto IL_000f;
|
|
}
|
|
}
|
|
{
|
|
// if (targetSubSpawner == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_000f:
|
|
{
|
|
// if (targetSubSpawner.Rules == null) return;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_1 = __this->___targetSubSpawner_24;
|
|
NullCheck(L_1);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_2 = L_1->___Rules_6;
|
|
if (L_2)
|
|
{
|
|
goto IL_001d;
|
|
}
|
|
}
|
|
{
|
|
// if (targetSubSpawner.Rules == null) return;
|
|
return;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
// for (int i = 0; i < targetSubSpawner.Rules.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_004e;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
// var rl = targetSubSpawner.Rules[i]; if (rl == null) continue;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_3 = __this->___targetSubSpawner_24;
|
|
NullCheck(L_3);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_4 = L_3->___Rules_6;
|
|
int32_t L_5 = V_0;
|
|
NullCheck(L_4);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_6;
|
|
L_6 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_4, L_5, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_1 = L_6;
|
|
// var rl = targetSubSpawner.Rules[i]; if (rl == null) continue;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_7 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_8;
|
|
L_8 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_7, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_8)
|
|
{
|
|
goto IL_004a;
|
|
}
|
|
}
|
|
{
|
|
// rl.PreGenerateResetRule(grid, preset, targetSubSpawner);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_9 = V_1;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_10 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_11 = ___1_preset;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_12 = __this->___targetSubSpawner_24;
|
|
NullCheck(L_9);
|
|
VirtualActionInvoker3< FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* >::Invoke(14 /* System.Void FIMSpace.Generating.SpawnRuleBase::PreGenerateResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldSpawner) */, L_9, L_10, L_11, L_12);
|
|
}
|
|
|
|
IL_004a:
|
|
{
|
|
// for (int i = 0; i < targetSubSpawner.Rules.Count; i++)
|
|
int32_t L_13 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_13, 1));
|
|
}
|
|
|
|
IL_004e:
|
|
{
|
|
// for (int i = 0; i < targetSubSpawner.Rules.Count; i++)
|
|
int32_t L_14 = V_0;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_15 = __this->___targetSubSpawner_24;
|
|
NullCheck(L_15);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_16 = L_15->___Rules_6;
|
|
NullCheck(L_16);
|
|
int32_t L_17;
|
|
L_17 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_16, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_14) < ((int32_t)L_17)))
|
|
{
|
|
goto IL_0021;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_CallSubSpawner__ctor_mB221031E2599DA21EDF95EF42DFA1326A0034420 (SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// [HideInInspector] public int CallSpawner = -1;
|
|
__this->___CallSpawner_25 = (-1);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_0::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_0__ctor_mADE5A0226EDFD1E98EE83A84655893D52E23EE9E (U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* __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.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_1__ctor_m220773DBD1DB2236328DCDEB4F33DF502395B174 (U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_1::<OnConditionsMetAction>b__0()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_1_U3COnConditionsMetActionU3Eb__0_m6EBEB3715ACC540FE63D969869B4E6EE0407C2E4 (U3CU3Ec__DisplayClass17_1_tAE4BC6144173C1FE0359C1010F5B707F3EB8029B* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// ApplySpawnerCall(cell, spawn, grid, preset);
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_0 = __this->___CSU24U3CU3E8__locals1_1;
|
|
NullCheck(L_0);
|
|
SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* L_1 = L_0->___U3CU3E4__this_0;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_2 = __this->___CSU24U3CU3E8__locals1_1;
|
|
NullCheck(L_2);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = L_2->___cell_1;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4 = __this->___spawn_0;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_5 = __this->___CSU24U3CU3E8__locals1_1;
|
|
NullCheck(L_5);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_6 = L_5->___grid_2;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_7 = __this->___CSU24U3CU3E8__locals1_1;
|
|
NullCheck(L_7);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_8 = L_7->___preset_3;
|
|
NullCheck(L_1);
|
|
SR_CallSubSpawner_ApplySpawnerCall_m1258A9AC6E8524C83968BD44BAD2E80C68FA1935(L_1, L_3, L_4, L_6, L_8, (bool)0, 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.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_2__ctor_mC9AA201660D45C05BDFE4152A6AAD1E45A731CF2 (U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
Object__ctor_mE837C6B9FA8C6D5D109F4B2EC885D79919AC0EA2(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_CallSubSpawner/<>c__DisplayClass17_2::<OnConditionsMetAction>b__1()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void U3CU3Ec__DisplayClass17_2_U3COnConditionsMetActionU3Eb__1_m27839089EE5CCBE06A6076DCF18317DFD5C14078 (U3CU3Ec__DisplayClass17_2_t4F8B8D0630C3BF4BDAB0B668BCCC8D195DD8D08F* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// OwnerSpawner.OnPostCallEvents.Add(() => { ApplySpawnerCall(cell, spawn, grid, preset, true); });
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_0 = __this->___CSU24U3CU3E8__locals2_1;
|
|
NullCheck(L_0);
|
|
SR_CallSubSpawner_t8F946D9D86F78F544856462E22012420C111ACBD* L_1 = L_0->___U3CU3E4__this_0;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_2 = __this->___CSU24U3CU3E8__locals2_1;
|
|
NullCheck(L_2);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = L_2->___cell_1;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4 = __this->___spawn_0;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_5 = __this->___CSU24U3CU3E8__locals2_1;
|
|
NullCheck(L_5);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_6 = L_5->___grid_2;
|
|
U3CU3Ec__DisplayClass17_0_t6077606A1F4F7DC37A07A634263739EDAEF3535D* L_7 = __this->___CSU24U3CU3E8__locals2_1;
|
|
NullCheck(L_7);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_8 = L_7->___preset_3;
|
|
NullCheck(L_1);
|
|
SR_CallSubSpawner_ApplySpawnerCall_m1258A9AC6E8524C83968BD44BAD2E80C68FA1935(L_1, L_3, L_4, L_6, L_8, (bool)1, NULL);
|
|
// OwnerSpawner.OnPostCallEvents.Add(() => { ApplySpawnerCall(cell, spawn, grid, preset, true); });
|
|
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.String FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_DoorwayPlacer_TitleName_m1106C2D4310ECB88262080EB0AF29C5431649BC6 (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral5FB80DC59E407A608AAC5D600FFBD38CBF7294EE);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Doorway Placer"; }
|
|
return _stringLiteral5FB80DC59E407A608AAC5D600FFBD38CBF7294EE;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_DoorwayPlacer_Tooltip_m505B52A6E01EAF28FF297892159D2273DAF2ACBB (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralA48347DEB8203DE580DBF4105AA6ED7BD0434307);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Quick solution for placing doorway using cell's guides, it's combination of 'Check Cell Neightbours' 'Direct Offset' and 'Remove in Position' rules"; }
|
|
return _stringLiteralA48347DEB8203DE580DBF4105AA6ED7BD0434307;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_DoorwayPlacer_get_Type_m0EB2AFCB2A26DF49AE25E79B1BDEEF285E3664FA (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Coded; } }
|
|
return (int32_t)(4);
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_DoorwayPlacer_CheckRuleOn_m0759CB5D30D1C43E67FB2883AE9D721A704102A2 (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, 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*)&GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* V_1 = NULL;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* V_2 = NULL;
|
|
float V_3 = 0.0f;
|
|
float V_4 = 0.0f;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 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));
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_10;
|
|
memset((&V_10), 0, sizeof(V_10));
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 V_11;
|
|
memset((&V_11), 0, sizeof(V_11));
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* V_12 = NULL;
|
|
int32_t V_13 = 0;
|
|
float V_14 = 0.0f;
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* V_15 = NULL;
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* V_16 = NULL;
|
|
{
|
|
// CellAllow = false; // Not allow until rules met
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = (bool)0;
|
|
// if (Enabled == false || Ignore) return;
|
|
bool L_0 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___Enabled_13;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0017;
|
|
}
|
|
}
|
|
{
|
|
bool L_1 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___Ignore_14;
|
|
if (!L_1)
|
|
{
|
|
goto IL_0018;
|
|
}
|
|
}
|
|
|
|
IL_0017:
|
|
{
|
|
// if (Enabled == false || Ignore) return;
|
|
return;
|
|
}
|
|
|
|
IL_0018:
|
|
{
|
|
// Vector3 targetDirection = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_0 = L_2;
|
|
// SpawnData anySpawn = null;
|
|
V_1 = (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
// if (cell.GetJustCellSpawnCount() > 0) anySpawn = cell.GetSpawnsJustInsideCell()[0];
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___3_cell;
|
|
NullCheck(L_3);
|
|
int32_t L_4;
|
|
L_4 = FieldCell_GetJustCellSpawnCount_mC92D9ED3C2A260909197E35CAE9627475A652BCB(L_3, NULL);
|
|
if ((((int32_t)L_4) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0039;
|
|
}
|
|
}
|
|
{
|
|
// if (cell.GetJustCellSpawnCount() > 0) anySpawn = cell.GetSpawnsJustInsideCell()[0];
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_5 = ___3_cell;
|
|
NullCheck(L_5);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_6;
|
|
L_6 = FieldCell_GetSpawnsJustInsideCell_m7555A0AD4F117D55F5FA8CCB11A64F18100E7AF4(L_5, (bool)0, NULL);
|
|
NullCheck(L_6);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7;
|
|
L_7 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_6, 0, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
V_1 = L_7;
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
// if (restrictDirection != null)
|
|
bool L_8;
|
|
L_8 = Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_inline((&___5_restrictDirection), Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_RuntimeMethod_var);
|
|
if (!L_8)
|
|
{
|
|
goto IL_004c;
|
|
}
|
|
}
|
|
{
|
|
// targetDirection = restrictDirection.Value;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792((&___5_restrictDirection), Nullable_1_get_Value_m6A74FA440FE386A9905C61B41B5C261CD9DC4792_RuntimeMethod_var);
|
|
V_0 = L_9;
|
|
goto IL_0065;
|
|
}
|
|
|
|
IL_004c:
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(anySpawn))
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_10 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_10, NULL);
|
|
if (!L_11)
|
|
{
|
|
goto IL_0065;
|
|
}
|
|
}
|
|
{
|
|
// targetDirection = anySpawn.GetRotationOffset() * Vector3.forward;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_12 = V_1;
|
|
NullCheck(L_12);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_13;
|
|
L_13 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_12, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14;
|
|
L_14 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_15;
|
|
L_15 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_13, L_14, NULL);
|
|
V_0 = L_15;
|
|
}
|
|
|
|
IL_0065:
|
|
{
|
|
// if (targetDirection.sqrMagnitude == 0)
|
|
float L_16;
|
|
L_16 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&V_0), NULL);
|
|
if ((!(((float)L_16) == ((float)(0.0f)))))
|
|
{
|
|
goto IL_0088;
|
|
}
|
|
}
|
|
{
|
|
// if (DebugDirection == EPlanGuideDirecion.None)
|
|
int32_t L_17 = __this->___DebugDirection_31;
|
|
if (L_17)
|
|
{
|
|
goto IL_007c;
|
|
}
|
|
}
|
|
{
|
|
// return; // No direction
|
|
return;
|
|
}
|
|
|
|
IL_007c:
|
|
{
|
|
// targetDirection = DebugDirection.GetDirection();
|
|
int32_t L_18 = __this->___DebugDirection_31;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_19;
|
|
L_19 = PGGEnums_GetDirection_m8820C949FC7F3691D3775D324A6650AA29B0CE0E(L_18, NULL);
|
|
V_0 = L_19;
|
|
}
|
|
|
|
IL_0088:
|
|
{
|
|
// targetSpawn = null;
|
|
__this->___targetSpawn_37 = (SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___targetSpawn_37), (void*)(SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)NULL);
|
|
// var spawns = cell.CollectSpawns(OwnerSpawner.ScaleAccess);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_20 = ___3_cell;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_21 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_21);
|
|
int32_t L_22 = L_21->___ScaleAccess_20;
|
|
NullCheck(L_20);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_23;
|
|
L_23 = FieldCell_CollectSpawns_m0C184FBD2F1BD704F38EC8DD0305B907FF80954D(L_20, L_22, (bool)0, NULL);
|
|
V_2 = L_23;
|
|
// float nearest = float.MaxValue;
|
|
V_3 = ((std::numeric_limits<float>::max)());
|
|
// float dbgnearest = float.MaxValue; // For debugging purposes
|
|
V_4 = ((std::numeric_limits<float>::max)());
|
|
// Quaternion dir = Quaternion.LookRotation(targetDirection); // Direction from cell
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_25;
|
|
L_25 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_24, NULL);
|
|
V_5 = L_25;
|
|
// Vector3 targetPosInCell = dir * Offset; // Directional offset with node 'Offset' parameter
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_26 = V_5;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_27 = __this->___Offset_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_28;
|
|
L_28 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_26, L_27, NULL);
|
|
V_6 = L_28;
|
|
// targetPosInCell = GetUnitOffset(targetPosInCell, OffsetMode, preset); // Using cell/units
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_29 = V_6;
|
|
int32_t L_30 = __this->___OffsetMode_27;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_31 = ___2_preset;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_32;
|
|
L_32 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_29, L_30, L_31, NULL);
|
|
V_6 = L_32;
|
|
// Vector3 thisPos = targetPosInCell;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_33 = V_6;
|
|
V_7 = L_33;
|
|
// spawn.TempPositionOffset = targetPosInCell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_34 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_35 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_34);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_36 = V_6;
|
|
NullCheck(L_35);
|
|
L_35->___TempPositionOffset_20 = L_36;
|
|
// spawn.Offset = targetPosInCell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_37 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_38 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_37);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_39 = V_6;
|
|
NullCheck(L_38);
|
|
L_38->___Offset_15 = L_39;
|
|
// spawn.DirectionalOffset = Vector3.zero;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_40 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_41 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_40);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_42;
|
|
L_42 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
NullCheck(L_41);
|
|
L_41->___DirectionalOffset_19 = L_42;
|
|
// spawn.RotationOffset = dir.eulerAngles + new Vector3(0f, YawRotationOffset, 0f);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_43 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_44 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_43);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_45;
|
|
L_45 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_5), NULL);
|
|
float L_46 = __this->___YawRotationOffset_28;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_47;
|
|
memset((&L_47), 0, sizeof(L_47));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_47), (0.0f), L_46, (0.0f), /*hidden argument*/NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_48;
|
|
L_48 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_45, L_47, NULL);
|
|
NullCheck(L_44);
|
|
L_44->___RotationOffset_16 = L_48;
|
|
// spawn.TempRotationOffset = spawn.RotationOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_49 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_50 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_49);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_51 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_52 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_51);
|
|
NullCheck(L_52);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_53 = L_52->___RotationOffset_16;
|
|
NullCheck(L_50);
|
|
L_50->___TempRotationOffset_21 = L_53;
|
|
// Vector3 thisMeasurePos = thisPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_54 = V_7;
|
|
V_8 = L_54;
|
|
// if (DistanceSource == ESR_Origin.BoundsCenter)
|
|
int32_t L_55 = __this->___DistanceSource_30;
|
|
if ((!(((uint32_t)L_55) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01c1;
|
|
}
|
|
}
|
|
{
|
|
// if (spawn.Prefab == null)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_56 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_57 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_56);
|
|
NullCheck(L_57);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_58 = L_57->___Prefab_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_59;
|
|
L_59 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_58, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_59)
|
|
{
|
|
goto IL_015e;
|
|
}
|
|
}
|
|
{
|
|
// thisMeasurePos = spawn.GetPosWithFullOffset(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_60 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_61 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_60);
|
|
NullCheck(L_61);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_62;
|
|
L_62 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_61, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
V_8 = L_62;
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_015e:
|
|
{
|
|
// if (spawn.PreviewMesh)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_63 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_64 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_63);
|
|
NullCheck(L_64);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_65 = L_64->___PreviewMesh_14;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_66;
|
|
L_66 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_65, NULL);
|
|
if (!L_66)
|
|
{
|
|
goto IL_01b1;
|
|
}
|
|
}
|
|
{
|
|
// thisMeasurePos = thisMeasurePos + spawn.GetRotationOffset() * Vector3.Scale(spawn.Prefab.transform.localScale, spawn.PreviewMesh.bounds.center);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_67 = V_8;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_68 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_69 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_68);
|
|
NullCheck(L_69);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_70;
|
|
L_70 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_69, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_71 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_72 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_71);
|
|
NullCheck(L_72);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_73 = L_72->___Prefab_4;
|
|
NullCheck(L_73);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_74;
|
|
L_74 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_73, NULL);
|
|
NullCheck(L_74);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_75;
|
|
L_75 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_74, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_76 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_77 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_76);
|
|
NullCheck(L_77);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_78 = L_77->___PreviewMesh_14;
|
|
NullCheck(L_78);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_79;
|
|
L_79 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_78, NULL);
|
|
V_11 = L_79;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_80;
|
|
L_80 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_11), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_81;
|
|
L_81 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_75, L_80, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_82;
|
|
L_82 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_70, L_81, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_83;
|
|
L_83 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_67, L_82, NULL);
|
|
V_8 = L_83;
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_01b1:
|
|
{
|
|
// thisMeasurePos = spawn.GetPosWithFullOffset(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_84 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_85 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_84);
|
|
NullCheck(L_85);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_86;
|
|
L_86 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_85, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
V_8 = L_86;
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_01c1:
|
|
{
|
|
// else if (DistanceSource == ESR_Origin.RendererCenter)
|
|
int32_t L_87 = __this->___DistanceSource_30;
|
|
if ((!(((uint32_t)L_87) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0260;
|
|
}
|
|
}
|
|
{
|
|
// if (spawn.Prefab == null)
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_88 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_89 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_88);
|
|
NullCheck(L_89);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_90 = L_89->___Prefab_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_91;
|
|
L_91 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_90, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_91)
|
|
{
|
|
goto IL_01e9;
|
|
}
|
|
}
|
|
{
|
|
// thisMeasurePos = spawn.GetPosWithFullOffset(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_92 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_93 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_92);
|
|
NullCheck(L_93);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_94;
|
|
L_94 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_93, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
V_8 = L_94;
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_01e9:
|
|
{
|
|
// Renderer thisRend = spawn.Prefab.GetComponentInChildren<Renderer>();
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_95 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_96 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_95);
|
|
NullCheck(L_96);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_97 = L_96->___Prefab_4;
|
|
NullCheck(L_97);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_98;
|
|
L_98 = GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB(L_97, GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var);
|
|
V_12 = L_98;
|
|
// if (thisRend)
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_99 = V_12;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_100;
|
|
L_100 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_99, NULL);
|
|
if (!L_100)
|
|
{
|
|
goto IL_0255;
|
|
}
|
|
}
|
|
{
|
|
// thisMeasurePos = spawn.GetPosWithFullOffset(true) + spawn.GetRotationOffset() * Vector3.Scale(spawn.Prefab.transform.localScale, spawn.Prefab.transform.InverseTransformPoint(thisRend.bounds.center));
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_101 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_102 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_101);
|
|
NullCheck(L_102);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_103;
|
|
L_103 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_102, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_104 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_105 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_104);
|
|
NullCheck(L_105);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_106;
|
|
L_106 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_105, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_107 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_108 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_107);
|
|
NullCheck(L_108);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_109 = L_108->___Prefab_4;
|
|
NullCheck(L_109);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_110;
|
|
L_110 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_109, NULL);
|
|
NullCheck(L_110);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_111;
|
|
L_111 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_110, NULL);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_112 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_113 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_112);
|
|
NullCheck(L_113);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_114 = L_113->___Prefab_4;
|
|
NullCheck(L_114);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_115;
|
|
L_115 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_114, NULL);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_116 = V_12;
|
|
NullCheck(L_116);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_117;
|
|
L_117 = Renderer_get_bounds_m390CF334730C3C34E45CE59F1D08C3B9F3109C7C(L_116, NULL);
|
|
V_11 = L_117;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_118;
|
|
L_118 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_11), NULL);
|
|
NullCheck(L_115);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_119;
|
|
L_119 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_115, L_118, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_120;
|
|
L_120 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_111, L_119, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_121;
|
|
L_121 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_106, L_120, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_122;
|
|
L_122 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_103, L_121, NULL);
|
|
V_8 = L_122;
|
|
goto IL_0260;
|
|
}
|
|
|
|
IL_0255:
|
|
{
|
|
// thisMeasurePos = spawn.GetPosWithFullOffset(true);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_123 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_124 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_123);
|
|
NullCheck(L_124);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_125;
|
|
L_125 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_124, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
V_8 = L_125;
|
|
}
|
|
|
|
IL_0260:
|
|
{
|
|
// debugMeasurePos = thisMeasurePos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_126 = V_8;
|
|
__this->___debugMeasurePos_35 = L_126;
|
|
// Vector3 oSpawnMeasurePos = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_127;
|
|
L_127 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
V_10 = L_127;
|
|
// for (int s = 0; s < spawns.Count; s++)
|
|
V_13 = 0;
|
|
goto IL_05a0;
|
|
}
|
|
|
|
IL_0277:
|
|
{
|
|
// if (spawns[s].OwnerMod == null) continue;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_128 = V_2;
|
|
int32_t L_129 = V_13;
|
|
NullCheck(L_128);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_130;
|
|
L_130 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_128, L_129, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_130);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_131 = L_130->___OwnerMod_9;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_132;
|
|
L_132 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_131, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_132)
|
|
{
|
|
goto IL_059a;
|
|
}
|
|
}
|
|
{
|
|
// if (spawns[s] == spawn) continue;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_133 = V_2;
|
|
int32_t L_134 = V_13;
|
|
NullCheck(L_133);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_135;
|
|
L_135 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_133, L_134, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_136 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_137 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_136);
|
|
if ((((RuntimeObject*)(SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)L_135) == ((RuntimeObject*)(SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7*)L_137)))
|
|
{
|
|
goto IL_059a;
|
|
}
|
|
}
|
|
{
|
|
// if (string.IsNullOrEmpty(replaceOnTag) == false) // assigned tag to search
|
|
String_t* L_138 = __this->___replaceOnTag_24;
|
|
bool L_139;
|
|
L_139 = String_IsNullOrEmpty_mEA9E3FB005AC28FE02E69FCF95A7B8456192B478(L_138, NULL);
|
|
if (L_139)
|
|
{
|
|
goto IL_02c9;
|
|
}
|
|
}
|
|
{
|
|
// if (SpawnHaveSpecifics(spawns[s], replaceOnTag, CheckMode) == false)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_140 = V_2;
|
|
int32_t L_141 = V_13;
|
|
NullCheck(L_140);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_142;
|
|
L_142 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_140, L_141, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
String_t* L_143 = __this->___replaceOnTag_24;
|
|
int32_t L_144 = __this->___CheckMode_25;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
bool L_145;
|
|
L_145 = SpawnRuleBase_SpawnHaveSpecifics_mB094532CDBBA5C03AFF0E9728B703F60FDD43E66(L_142, L_143, L_144, NULL);
|
|
if (!L_145)
|
|
{
|
|
goto IL_059a;
|
|
}
|
|
}
|
|
|
|
IL_02c9:
|
|
{
|
|
// spawnPos = spawns[s].GetPosWithFullOffset(true);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_146 = V_2;
|
|
int32_t L_147 = V_13;
|
|
NullCheck(L_146);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_148;
|
|
L_148 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_146, L_147, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_148);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_149;
|
|
L_149 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_148, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
V_9 = L_149;
|
|
// if (DistanceSource == ESR_Origin.SpawnPosition)
|
|
int32_t L_150 = __this->___DistanceSource_30;
|
|
if (L_150)
|
|
{
|
|
goto IL_02f6;
|
|
}
|
|
}
|
|
{
|
|
// oSpawnMeasurePos = spawnPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_151 = V_9;
|
|
V_10 = L_151;
|
|
// distance = Vector3.Distance(thisPos, oSpawnMeasurePos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_152 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_153 = V_10;
|
|
float L_154;
|
|
L_154 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_152, L_153, NULL);
|
|
V_14 = L_154;
|
|
goto IL_0540;
|
|
}
|
|
|
|
IL_02f6:
|
|
{
|
|
// else if (DistanceSource == ESR_Origin.BoundsCenter)
|
|
int32_t L_155 = __this->___DistanceSource_30;
|
|
if ((!(((uint32_t)L_155) == ((uint32_t)1))))
|
|
{
|
|
goto IL_03ac;
|
|
}
|
|
}
|
|
{
|
|
// if (spawns[s].PreviewMesh == null)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_156 = V_2;
|
|
int32_t L_157 = V_13;
|
|
NullCheck(L_156);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_158;
|
|
L_158 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_156, L_157, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_158);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_159 = L_158->___PreviewMesh_14;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_160;
|
|
L_160 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_159, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_160)
|
|
{
|
|
goto IL_032b;
|
|
}
|
|
}
|
|
{
|
|
// oSpawnMeasurePos = spawnPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_161 = V_9;
|
|
V_10 = L_161;
|
|
// distance = Vector3.Distance(thisPos, spawnPos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_162 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_163 = V_9;
|
|
float L_164;
|
|
L_164 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_162, L_163, NULL);
|
|
V_14 = L_164;
|
|
goto IL_0540;
|
|
}
|
|
|
|
IL_032b:
|
|
{
|
|
// oSpawnMeasurePos = spawns[s].GetPosWithFullOffset(true) + spawns[s].GetRotationOffset() * Vector3.Scale(spawns[s].Prefab.transform.localScale, spawns[s].GetRotationOffset() * spawns[s].PreviewMesh.bounds.center);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_165 = V_2;
|
|
int32_t L_166 = V_13;
|
|
NullCheck(L_165);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_167;
|
|
L_167 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_165, L_166, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_167);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_168;
|
|
L_168 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_167, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_169 = V_2;
|
|
int32_t L_170 = V_13;
|
|
NullCheck(L_169);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_171;
|
|
L_171 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_169, L_170, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_171);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_172;
|
|
L_172 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_171, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_173 = V_2;
|
|
int32_t L_174 = V_13;
|
|
NullCheck(L_173);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_175;
|
|
L_175 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_173, L_174, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_175);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_176 = L_175->___Prefab_4;
|
|
NullCheck(L_176);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_177;
|
|
L_177 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_176, NULL);
|
|
NullCheck(L_177);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_178;
|
|
L_178 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_177, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_179 = V_2;
|
|
int32_t L_180 = V_13;
|
|
NullCheck(L_179);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_181;
|
|
L_181 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_179, L_180, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_181);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_182;
|
|
L_182 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_181, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_183 = V_2;
|
|
int32_t L_184 = V_13;
|
|
NullCheck(L_183);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_185;
|
|
L_185 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_183, L_184, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_185);
|
|
Mesh_t6D9C539763A09BC2B12AEAEF36F6DFFC98AE63D4* L_186 = L_185->___PreviewMesh_14;
|
|
NullCheck(L_186);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_187;
|
|
L_187 = Mesh_get_bounds_m9E3A46226824676703990270A722A89A4860A100(L_186, NULL);
|
|
V_11 = L_187;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_188;
|
|
L_188 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_11), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_189;
|
|
L_189 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_182, L_188, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_190;
|
|
L_190 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_178, L_189, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_191;
|
|
L_191 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_172, L_190, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_192;
|
|
L_192 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_168, L_191, NULL);
|
|
V_10 = L_192;
|
|
// distance = Vector3.Distance(thisMeasurePos, oSpawnMeasurePos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_193 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_194 = V_10;
|
|
float L_195;
|
|
L_195 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_193, L_194, NULL);
|
|
V_14 = L_195;
|
|
goto IL_0540;
|
|
}
|
|
|
|
IL_03ac:
|
|
{
|
|
// Renderer thisRend = null;
|
|
V_15 = (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF*)NULL;
|
|
// if (spawns[s].Prefab != null)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_196 = V_2;
|
|
int32_t L_197 = V_13;
|
|
NullCheck(L_196);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_198;
|
|
L_198 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_196, L_197, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_198);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_199 = L_198->___Prefab_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_200;
|
|
L_200 = Object_op_Inequality_mD0BE578448EAA61948F25C32F8DD55AB1F778602(L_199, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_200)
|
|
{
|
|
goto IL_03da;
|
|
}
|
|
}
|
|
{
|
|
// thisRend = spawns[s].Prefab.GetComponentInChildren<Renderer>();
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_201 = V_2;
|
|
int32_t L_202 = V_13;
|
|
NullCheck(L_201);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_203;
|
|
L_203 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_201, L_202, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_203);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_204 = L_203->___Prefab_4;
|
|
NullCheck(L_204);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_205;
|
|
L_205 = GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB(L_204, GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var);
|
|
V_15 = L_205;
|
|
goto IL_03de;
|
|
}
|
|
|
|
IL_03da:
|
|
{
|
|
// thisPos = thisMeasurePos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_206 = V_8;
|
|
V_7 = L_206;
|
|
}
|
|
|
|
IL_03de:
|
|
{
|
|
// Renderer otherSpawnRend = null;
|
|
V_16 = (Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF*)NULL;
|
|
// if (spawns[s].Prefab)
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_207 = V_2;
|
|
int32_t L_208 = V_13;
|
|
NullCheck(L_207);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_209;
|
|
L_209 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_207, L_208, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_209);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_210 = L_209->___Prefab_4;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_211;
|
|
L_211 = Object_op_Implicit_m93896EF7D68FA113C42D3FE2BC6F661FC7EF514A(L_210, NULL);
|
|
if (!L_211)
|
|
{
|
|
goto IL_0409;
|
|
}
|
|
}
|
|
{
|
|
// otherSpawnRend = spawns[s].Prefab.GetComponentInChildren<Renderer>();
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_212 = V_2;
|
|
int32_t L_213 = V_13;
|
|
NullCheck(L_212);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_214;
|
|
L_214 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_212, L_213, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_214);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_215 = L_214->___Prefab_4;
|
|
NullCheck(L_215);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_216;
|
|
L_216 = GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB(L_215, GameObject_GetComponentInChildren_TisRenderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF_m00AEA903DE8DEC35B61502F098729637D21B6FDB_RuntimeMethod_var);
|
|
V_16 = L_216;
|
|
}
|
|
|
|
IL_0409:
|
|
{
|
|
// if (thisRend == null)
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_217 = V_15;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_218;
|
|
L_218 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_217, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_218)
|
|
{
|
|
goto IL_04af;
|
|
}
|
|
}
|
|
{
|
|
// if (otherSpawnRend == null) // All null
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_219 = V_16;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_220;
|
|
L_220 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_219, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_220)
|
|
{
|
|
goto IL_0434;
|
|
}
|
|
}
|
|
{
|
|
// oSpawnMeasurePos = spawnPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_221 = V_9;
|
|
V_10 = L_221;
|
|
// distance = Vector3.Distance(thisPos, spawnPos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_222 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_223 = V_9;
|
|
float L_224;
|
|
L_224 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_222, L_223, NULL);
|
|
V_14 = L_224;
|
|
goto IL_0540;
|
|
}
|
|
|
|
IL_0434:
|
|
{
|
|
// oSpawnMeasurePos = spawns[s].GetPosWithFullOffset(true) + spawns[s].GetRotationOffset() * Vector3.Scale(spawns[s].Prefab.transform.localScale, spawns[s].Prefab.transform.InverseTransformPoint(otherSpawnRend.bounds.center));
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_225 = V_2;
|
|
int32_t L_226 = V_13;
|
|
NullCheck(L_225);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_227;
|
|
L_227 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_225, L_226, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_227);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_228;
|
|
L_228 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_227, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_229 = V_2;
|
|
int32_t L_230 = V_13;
|
|
NullCheck(L_229);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_231;
|
|
L_231 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_229, L_230, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_231);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_232;
|
|
L_232 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_231, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_233 = V_2;
|
|
int32_t L_234 = V_13;
|
|
NullCheck(L_233);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_235;
|
|
L_235 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_233, L_234, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_235);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_236 = L_235->___Prefab_4;
|
|
NullCheck(L_236);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_237;
|
|
L_237 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_236, NULL);
|
|
NullCheck(L_237);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_238;
|
|
L_238 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_237, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_239 = V_2;
|
|
int32_t L_240 = V_13;
|
|
NullCheck(L_239);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_241;
|
|
L_241 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_239, L_240, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_241);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_242 = L_241->___Prefab_4;
|
|
NullCheck(L_242);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_243;
|
|
L_243 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_242, NULL);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_244 = V_16;
|
|
NullCheck(L_244);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_245;
|
|
L_245 = Renderer_get_bounds_m390CF334730C3C34E45CE59F1D08C3B9F3109C7C(L_244, NULL);
|
|
V_11 = L_245;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_246;
|
|
L_246 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_11), NULL);
|
|
NullCheck(L_243);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_247;
|
|
L_247 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_243, L_246, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_248;
|
|
L_248 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_238, L_247, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_249;
|
|
L_249 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_232, L_248, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_250;
|
|
L_250 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_228, L_249, NULL);
|
|
V_10 = L_250;
|
|
// distance = Vector3.Distance(thisMeasurePos, oSpawnMeasurePos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_251 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_252 = V_10;
|
|
float L_253;
|
|
L_253 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_251, L_252, NULL);
|
|
V_14 = L_253;
|
|
goto IL_0540;
|
|
}
|
|
|
|
IL_04af:
|
|
{
|
|
// if (otherSpawnRend == null) // Other renderer not exists
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_254 = V_16;
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_255;
|
|
L_255 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_254, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (!L_255)
|
|
{
|
|
goto IL_04ca;
|
|
}
|
|
}
|
|
{
|
|
// oSpawnMeasurePos = spawnPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_256 = V_9;
|
|
V_10 = L_256;
|
|
// distance = Vector3.Distance(thisPos, spawnPos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_257 = V_7;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_258 = V_9;
|
|
float L_259;
|
|
L_259 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_257, L_258, NULL);
|
|
V_14 = L_259;
|
|
goto IL_0540;
|
|
}
|
|
|
|
IL_04ca:
|
|
{
|
|
// oSpawnMeasurePos = spawns[s].GetPosWithFullOffset(true) + spawns[s].GetRotationOffset() * Vector3.Scale(spawns[s].Prefab.transform.localScale, spawns[s].Prefab.transform.InverseTransformPoint(otherSpawnRend.bounds.center));
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_260 = V_2;
|
|
int32_t L_261 = V_13;
|
|
NullCheck(L_260);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_262;
|
|
L_262 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_260, L_261, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_262);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_263;
|
|
L_263 = SpawnData_GetPosWithFullOffset_m4281774ABBF1A516BD4AA797F3BF7EFB19D59636(L_262, (bool)1, (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*)NULL, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_264 = V_2;
|
|
int32_t L_265 = V_13;
|
|
NullCheck(L_264);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_266;
|
|
L_266 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_264, L_265, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_266);
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_267;
|
|
L_267 = SpawnData_GetRotationOffset_mC83951EBBE7AD2B3DC9FC8B5A60A73F670F63163(L_266, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_268 = V_2;
|
|
int32_t L_269 = V_13;
|
|
NullCheck(L_268);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_270;
|
|
L_270 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_268, L_269, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_270);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_271 = L_270->___Prefab_4;
|
|
NullCheck(L_271);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_272;
|
|
L_272 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_271, NULL);
|
|
NullCheck(L_272);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_273;
|
|
L_273 = Transform_get_localScale_m804A002A53A645CDFCD15BB0F37209162720363F(L_272, NULL);
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_274 = V_2;
|
|
int32_t L_275 = V_13;
|
|
NullCheck(L_274);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_276;
|
|
L_276 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_274, L_275, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_276);
|
|
GameObject_t76FEDD663AB33C991A9C9A23129337651094216F* L_277 = L_276->___Prefab_4;
|
|
NullCheck(L_277);
|
|
Transform_tB27202C6F4E36D225EE28A13E4D662BF99785DB1* L_278;
|
|
L_278 = GameObject_get_transform_m0BC10ADFA1632166AE5544BDF9038A2650C2AE56(L_277, NULL);
|
|
Renderer_t320575F223BCB177A982E5DDB5DB19FAA89E7FBF* L_279 = V_16;
|
|
NullCheck(L_279);
|
|
Bounds_t367E830C64BBF235ED8C3B2F8CF6254FDCAD39C3 L_280;
|
|
L_280 = Renderer_get_bounds_m390CF334730C3C34E45CE59F1D08C3B9F3109C7C(L_279, NULL);
|
|
V_11 = L_280;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_281;
|
|
L_281 = Bounds_get_center_m5B05F81CB835EB6DD8628FDA24B638F477984DC3((&V_11), NULL);
|
|
NullCheck(L_278);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_282;
|
|
L_282 = Transform_InverseTransformPoint_m18CD395144D9C78F30E15A5B82B6670E792DBA5D(L_278, L_281, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_283;
|
|
L_283 = Vector3_Scale_m7C3CD199271902D5C00CBF35CD230DEB62B68CAE_inline(L_273, L_282, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_284;
|
|
L_284 = Quaternion_op_Multiply_mE1EBA73F9173432B50F8F17CE8190C5A7986FB8C(L_267, L_283, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_285;
|
|
L_285 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_263, L_284, NULL);
|
|
V_10 = L_285;
|
|
// distance = Vector3.Distance(thisMeasurePos, oSpawnMeasurePos);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_286 = V_8;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_287 = V_10;
|
|
float L_288;
|
|
L_288 = Vector3_Distance_m2314DB9B8BD01157E013DF87BEA557375C7F9FF9_inline(L_286, L_287, NULL);
|
|
V_14 = L_288;
|
|
}
|
|
|
|
IL_0540:
|
|
{
|
|
// if (_EditorDebug)
|
|
bool L_289 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->____EditorDebug_19;
|
|
if (!L_289)
|
|
{
|
|
goto IL_057a;
|
|
}
|
|
}
|
|
{
|
|
// if (distance <= dbgnearest)
|
|
float L_290 = V_14;
|
|
float L_291 = V_4;
|
|
if ((!(((float)L_290) <= ((float)L_291))))
|
|
{
|
|
goto IL_057a;
|
|
}
|
|
}
|
|
{
|
|
// debugMeasureNearestPos = spawnPos;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_292 = V_9;
|
|
__this->___debugMeasureNearestPos_36 = L_292;
|
|
// debugNearestDist = distance;
|
|
float L_293 = V_14;
|
|
__this->___debugNearestDist_33 = L_293;
|
|
// debugobjName = spawns[s].Spawner.Name;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_294 = V_2;
|
|
int32_t L_295 = V_13;
|
|
NullCheck(L_294);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_296;
|
|
L_296 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_294, L_295, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
NullCheck(L_296);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_297 = L_296->___Spawner_11;
|
|
NullCheck(L_297);
|
|
String_t* L_298 = L_297->___Name_1;
|
|
__this->___debugobjName_34 = L_298;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___debugobjName_34), (void*)L_298);
|
|
// dbgnearest = distance;
|
|
float L_299 = V_14;
|
|
V_4 = L_299;
|
|
}
|
|
|
|
IL_057a:
|
|
{
|
|
// if (distance > RemoveDistance) continue; // Dont remove spawn if it's too far
|
|
float L_300 = V_14;
|
|
float L_301 = __this->___RemoveDistance_29;
|
|
if ((((float)L_300) > ((float)L_301)))
|
|
{
|
|
goto IL_059a;
|
|
}
|
|
}
|
|
{
|
|
// if (distance <= nearest)
|
|
float L_302 = V_14;
|
|
float L_303 = V_3;
|
|
if ((!(((float)L_302) <= ((float)L_303))))
|
|
{
|
|
goto IL_059a;
|
|
}
|
|
}
|
|
{
|
|
// targetSpawn = spawns[s]; // remembering previous object spawn to be removed at OnConditionsMet
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_304 = V_2;
|
|
int32_t L_305 = V_13;
|
|
NullCheck(L_304);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_306;
|
|
L_306 = List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1(L_304, L_305, List_1_get_Item_m8C4430E34992AB26F68B23293637A401EF73AEF1_RuntimeMethod_var);
|
|
__this->___targetSpawn_37 = L_306;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___targetSpawn_37), (void*)L_306);
|
|
// nearest = distance;
|
|
float L_307 = V_14;
|
|
V_3 = L_307;
|
|
}
|
|
|
|
IL_059a:
|
|
{
|
|
// for (int s = 0; s < spawns.Count; s++)
|
|
int32_t L_308 = V_13;
|
|
V_13 = ((int32_t)il2cpp_codegen_add(L_308, 1));
|
|
}
|
|
|
|
IL_05a0:
|
|
{
|
|
// for (int s = 0; s < spawns.Count; s++)
|
|
int32_t L_309 = V_13;
|
|
List_1_t09630CC02FA21D368A6F17E496E9DAE8995D5B19* L_310 = V_2;
|
|
NullCheck(L_310);
|
|
int32_t L_311;
|
|
L_311 = List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_inline(L_310, List_1_get_Count_m4F23D0CC21297527B9A170AD96433FF11035EB56_RuntimeMethod_var);
|
|
if ((((int32_t)L_309) < ((int32_t)L_311)))
|
|
{
|
|
goto IL_0277;
|
|
}
|
|
}
|
|
{
|
|
// CellAllow = true;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_DoorwayPlacer_CellInfluence_mE8EA015B5FD802897F7AE5028EB2B529F77FCA63 (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___0_preset, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___1_mod, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___2_cell, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___3_spawn, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
// base.CellInfluence(preset, mod, cell, ref spawn, grid);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_0 = ___0_preset;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_1 = ___1_mod;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___2_cell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_3 = ___3_spawn;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___4_grid;
|
|
il2cpp_codegen_initobj((&V_0), sizeof(Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE));
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_5 = V_0;
|
|
SpawnRuleBase_CellInfluence_m7CC426706EFB5F01260C97503B0046278F4A5E16(__this, L_0, L_1, L_2, L_3, L_4, L_5, NULL);
|
|
// _EditorDebug = DrawDebugGizmos;
|
|
bool L_6 = __this->___DrawDebugGizmos_32;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->____EditorDebug_19 = L_6;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_DoorwayPlacer_OnConditionsMetAction_mAFD1C2F611AEA240CC478A5322528C76E2A5020A (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_thisSpawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(targetSpawn))
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_0 = __this->___targetSpawn_37;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_1;
|
|
L_1 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_0, NULL);
|
|
if (!L_1)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
// cell.RemoveSpawnFromCell(targetSpawn);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___3_cell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_3 = __this->___targetSpawn_37;
|
|
NullCheck(L_2);
|
|
FieldCell_RemoveSpawnFromCell_mF29A8CF84ACA3BBC7A90BAB1ABC3483A6D8177E2(L_2, L_3, NULL);
|
|
// targetSpawn.Enabled = false;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_4 = __this->___targetSpawn_37;
|
|
NullCheck(L_4);
|
|
L_4->___Enabled_0 = (bool)0;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_DoorwayPlacer::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_DoorwayPlacer__ctor_m14398092AE522000CD6F27FDD4C90ED6FFCB2C3B (SR_DoorwayPlacer_t05D91E176F2C1CB4B6B9CCD17CC51EC667F09351* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public string replaceOnTag = "";
|
|
__this->___replaceOnTag_24 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___replaceOnTag_24), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// public Vector3 Offset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___Offset_26 = L_0;
|
|
// public float RemoveDistance = 0.1f;
|
|
__this->___RemoveDistance_29 = (0.100000001f);
|
|
// string debugobjName = "";
|
|
__this->___debugobjName_34 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___debugobjName_34), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// private Vector3 debugMeasurePos = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_1;
|
|
L_1 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___debugMeasurePos_35 = L_1;
|
|
// private Vector3 debugMeasureNearestPos = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___debugMeasureNearestPos_36 = L_2;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_FloorPlacer_TitleName_m1EC2A8628F9B39C63AB35484B8655235B339823C (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB51C071F548119DA179B284D6AD16C844C2C7B47);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Floor Placer"; }
|
|
return _stringLiteralB51C071F548119DA179B284D6AD16C844C2C7B47;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_FloorPlacer_Tooltip_m64D6BE0667C99E3BFB12FA4B551DA554C04DD138 (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralB6643D66FD7A292C7B45E1C4A5CF75D735FC9962);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "Spawning floor tiles with pre-defined rules and aligning rotation"; }
|
|
return _stringLiteralB6643D66FD7A292C7B45E1C4A5CF75D735FC9962;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_FloorPlacer_get_Type_mF435007618615FF4D8F24E67A8DFC3B19BFA1313 (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Rule; } }
|
|
return (int32_t)(1);
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::IsOutside(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// if (Advanced)
|
|
bool L_0 = __this->___Advanced_31;
|
|
if (!L_0)
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// if (NegateOutsideCheck)
|
|
bool L_1 = __this->___NegateOutsideCheck_38;
|
|
if (!L_1)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
// return !CellConditionsAllows(cell, OutsideOnTag, CheckOutMode, OutsideCondition);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_2 = ___0_cell;
|
|
String_t* L_3 = __this->___OutsideOnTag_36;
|
|
int32_t L_4 = __this->___CheckOutMode_37;
|
|
int32_t L_5 = __this->___OutsideCondition_35;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = SpawnRuleBase_CellConditionsAllows_m6A09AD9F15F426F7CC35BE615D89F6B263045D93(L_2, L_3, L_4, L_5, NULL);
|
|
return (bool)((((int32_t)L_6) == ((int32_t)0))? 1 : 0);
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
// return CellConditionsAllows(cell, OutsideOnTag, CheckOutMode, OutsideCondition);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_7 = ___0_cell;
|
|
String_t* L_8 = __this->___OutsideOnTag_36;
|
|
int32_t L_9 = __this->___CheckOutMode_37;
|
|
int32_t L_10 = __this->___OutsideCondition_35;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
bool L_11;
|
|
L_11 = SpawnRuleBase_CellConditionsAllows_m6A09AD9F15F426F7CC35BE615D89F6B263045D93(L_7, L_8, L_9, L_10, NULL);
|
|
return L_11;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// return CellConditionsAllows(cell, OutsideOnTag, CheckOutMode, OutsideCondition);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = ___0_cell;
|
|
String_t* L_13 = __this->___OutsideOnTag_36;
|
|
int32_t L_14 = __this->___CheckOutMode_37;
|
|
int32_t L_15 = __this->___OutsideCondition_35;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
bool L_16;
|
|
L_16 = SpawnRuleBase_CellConditionsAllows_m6A09AD9F15F426F7CC35BE615D89F6B263045D93(L_12, L_13, L_14, L_15, NULL);
|
|
return L_16;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::IsInside(FIMSpace.Generating.FieldCell)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_FloorPlacer_IsInside_m2D4E6EC23CEC1DD66EA54C77EFF4234179ED8206 (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___0_cell, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// return CellConditionsAllows(cell, SpawnOnTag, CheckMode, SpawnOnCheck);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_0 = ___0_cell;
|
|
String_t* L_1 = __this->___SpawnOnTag_33;
|
|
int32_t L_2 = __this->___CheckMode_34;
|
|
int32_t L_3 = __this->___SpawnOnCheck_32;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
bool L_4;
|
|
L_4 = SpawnRuleBase_CellConditionsAllows_m6A09AD9F15F426F7CC35BE615D89F6B263045D93(L_0, L_1, L_2, L_3, NULL);
|
|
return L_4;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_FloorPlacer_CheckRuleOn_mE79F8C182E6FA48E556F594E33A0B130D6E71D7F (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenGraph_2_GetPLUSSquare_m781EB99C3B370221CF95F8DA7AFC55CEACF82174_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* V_0 = NULL;
|
|
int32_t V_1 = 0;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_2 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_3 = NULL;
|
|
int32_t V_4 = 0;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_5 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_6 = NULL;
|
|
int32_t V_7 = 0;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_8 = NULL;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_9 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_10 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_11 = NULL;
|
|
int32_t V_12 = 0;
|
|
bool V_13 = false;
|
|
bool V_14 = false;
|
|
int32_t V_15 = 0;
|
|
int32_t V_16 = 0;
|
|
int32_t V_17 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_18 = NULL;
|
|
int32_t V_19 = 0;
|
|
int32_t V_20 = 0;
|
|
int32_t V_21 = 0;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_22 = NULL;
|
|
int32_t V_23 = 0;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* V_24 = NULL;
|
|
int32_t V_25 = 0;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* V_26 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_27 = NULL;
|
|
bool V_28 = false;
|
|
int32_t V_29 = 0;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* V_30 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_31 = NULL;
|
|
int32_t V_32 = 0;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* V_33 = NULL;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* V_34 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_35 = NULL;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_36 = NULL;
|
|
int32_t V_37 = 0;
|
|
bool V_38 = false;
|
|
bool V_39 = false;
|
|
int32_t V_40 = 0;
|
|
int32_t V_41 = 0;
|
|
int32_t V_42 = 0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* V_43 = NULL;
|
|
int32_t V_44 = 0;
|
|
int32_t V_45 = 0;
|
|
int32_t V_46 = 0;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* V_47 = NULL;
|
|
int32_t V_48 = 0;
|
|
{
|
|
// if (!Advanced) // Backup - Probably will be removed in the next update
|
|
bool L_0 = __this->___Advanced_31;
|
|
if (L_0)
|
|
{
|
|
goto IL_03e8;
|
|
}
|
|
}
|
|
{
|
|
// if (Mode == EMode.JustPlaceOnGrid)
|
|
int32_t L_1 = __this->___Mode_24;
|
|
if (L_1)
|
|
{
|
|
goto IL_0022;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, Vector3.forward, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_2 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_3 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_2);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4;
|
|
L_4 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_5 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_3, L_4, L_5, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0022:
|
|
{
|
|
// else if (Mode == EMode.PlaceExceptEdges)
|
|
int32_t L_6 = __this->___Mode_24;
|
|
if ((!(((uint32_t)L_6) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0069;
|
|
}
|
|
}
|
|
{
|
|
// var cells = grid.Get3x3Square(cell, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_7 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_8 = ___3_cell;
|
|
NullCheck(L_7);
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_9;
|
|
L_9 = FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E(L_7, L_8, (bool)0, FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E_RuntimeMethod_var);
|
|
V_0 = L_9;
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
V_1 = 0;
|
|
goto IL_0054;
|
|
}
|
|
|
|
IL_003a:
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(cells[i])) { return; }
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_10 = V_0;
|
|
int32_t L_11 = V_1;
|
|
NullCheck(L_10);
|
|
int32_t L_12 = L_11;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_13 = (L_10)->GetAt(static_cast<il2cpp_array_size_t>(L_12));
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_14;
|
|
L_14 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_13, NULL);
|
|
if (!L_14)
|
|
{
|
|
goto IL_0045;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(cells[i])) { return; }
|
|
return;
|
|
}
|
|
|
|
IL_0045:
|
|
{
|
|
// if (cells[i].InTargetGridArea == false) { return; }
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_15 = V_0;
|
|
int32_t L_16 = V_1;
|
|
NullCheck(L_15);
|
|
int32_t L_17 = L_16;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_18 = (L_15)->GetAt(static_cast<il2cpp_array_size_t>(L_17));
|
|
NullCheck(L_18);
|
|
bool L_19 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_18)->___InTargetGridArea_1;
|
|
if (L_19)
|
|
{
|
|
goto IL_0050;
|
|
}
|
|
}
|
|
{
|
|
// if (cells[i].InTargetGridArea == false) { return; }
|
|
return;
|
|
}
|
|
|
|
IL_0050:
|
|
{
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
int32_t L_20 = V_1;
|
|
V_1 = ((int32_t)il2cpp_codegen_add(L_20, 1));
|
|
}
|
|
|
|
IL_0054:
|
|
{
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
int32_t L_21 = V_1;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_22 = V_0;
|
|
NullCheck(L_22);
|
|
if ((((int32_t)L_21) < ((int32_t)((int32_t)(((RuntimeArray*)L_22)->max_length)))))
|
|
{
|
|
goto IL_003a;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, Vector3.forward, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_23 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_24 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_23);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_25;
|
|
L_25 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_26 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_24, L_25, L_26, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0069:
|
|
{
|
|
// else if (Mode == EMode.AlignToGridMargins)
|
|
int32_t L_27 = __this->___Mode_24;
|
|
if ((!(((uint32_t)L_27) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// var cells = SpawnRules.GetTargetNeightboursPLUS(cell, grid, ESR_Space.OutOfGrid, "", ESR_Details.Tag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_28 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_29 = ___4_grid;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_30;
|
|
L_30 = SpawnRules_GetTargetNeightboursPLUS_m2E7F95EE322672D6B202A8ED3E89BFB4A8B5E5A5(L_28, L_29, 2, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, 0, (bool)0, NULL);
|
|
V_2 = L_30;
|
|
// FieldCell fwdCell = null;
|
|
V_3 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// for (int i = 0; i < cells.Count; i++)
|
|
V_4 = 0;
|
|
goto IL_00ae;
|
|
}
|
|
|
|
IL_008e:
|
|
{
|
|
// if (cells[i].InTargetGridArea == false) { fwdCell = cells[i]; break; }
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_31 = V_2;
|
|
int32_t L_32 = V_4;
|
|
NullCheck(L_31);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_33;
|
|
L_33 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_31, L_32, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
NullCheck(L_33);
|
|
bool L_34 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_33)->___InTargetGridArea_1;
|
|
if (L_34)
|
|
{
|
|
goto IL_00a8;
|
|
}
|
|
}
|
|
{
|
|
// if (cells[i].InTargetGridArea == false) { fwdCell = cells[i]; break; }
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_35 = V_2;
|
|
int32_t L_36 = V_4;
|
|
NullCheck(L_35);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_37;
|
|
L_37 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_35, L_36, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
V_3 = L_37;
|
|
// if (cells[i].InTargetGridArea == false) { fwdCell = cells[i]; break; }
|
|
goto IL_00b8;
|
|
}
|
|
|
|
IL_00a8:
|
|
{
|
|
// for (int i = 0; i < cells.Count; i++)
|
|
int32_t L_38 = V_4;
|
|
V_4 = ((int32_t)il2cpp_codegen_add(L_38, 1));
|
|
}
|
|
|
|
IL_00ae:
|
|
{
|
|
// for (int i = 0; i < cells.Count; i++)
|
|
int32_t L_39 = V_4;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_40 = V_2;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_40, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_39) < ((int32_t)L_41)))
|
|
{
|
|
goto IL_008e;
|
|
}
|
|
}
|
|
|
|
IL_00b8:
|
|
{
|
|
// if (AlignMode == EAlignMode.AlignAll)
|
|
int32_t L_42 = __this->___AlignMode_25;
|
|
if (L_42)
|
|
{
|
|
goto IL_0163;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(fwdCell))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_43 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_44;
|
|
L_44 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_43, NULL);
|
|
if (!L_44)
|
|
{
|
|
goto IL_0142;
|
|
}
|
|
}
|
|
{
|
|
// var diagCells = SpawnRules.GetTargetNeightboursDiagonal(cell, grid, ESR_Space.OutOfGrid, "", ESR_Details.Tag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_45 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_46 = ___4_grid;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_47;
|
|
L_47 = SpawnRules_GetTargetNeightboursDiagonal_mFCFB75E8F9F057E2289296698972AEC4569657DC(L_45, L_46, 2, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, 0, (bool)0, NULL);
|
|
V_5 = L_47;
|
|
// FieldCell diagCell = null;
|
|
V_6 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
V_7 = 0;
|
|
goto IL_0109;
|
|
}
|
|
|
|
IL_00e6:
|
|
{
|
|
// if (diagCells[i].InTargetGridArea == false) { diagCell = diagCells[i]; break; }
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_48 = V_5;
|
|
int32_t L_49 = V_7;
|
|
NullCheck(L_48);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_50;
|
|
L_50 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_48, L_49, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
NullCheck(L_50);
|
|
bool L_51 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_50)->___InTargetGridArea_1;
|
|
if (L_51)
|
|
{
|
|
goto IL_0103;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCells[i].InTargetGridArea == false) { diagCell = diagCells[i]; break; }
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_52 = V_5;
|
|
int32_t L_53 = V_7;
|
|
NullCheck(L_52);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_54;
|
|
L_54 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_52, L_53, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
V_6 = L_54;
|
|
// if (diagCells[i].InTargetGridArea == false) { diagCell = diagCells[i]; break; }
|
|
goto IL_0114;
|
|
}
|
|
|
|
IL_0103:
|
|
{
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
int32_t L_55 = V_7;
|
|
V_7 = ((int32_t)il2cpp_codegen_add(L_55, 1));
|
|
}
|
|
|
|
IL_0109:
|
|
{
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
int32_t L_56 = V_7;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_57 = V_5;
|
|
NullCheck(L_57);
|
|
int32_t L_58;
|
|
L_58 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_57, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_56) < ((int32_t)L_58)))
|
|
{
|
|
goto IL_00e6;
|
|
}
|
|
}
|
|
|
|
IL_0114:
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(diagCell)) // Diagonal cell exists
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_59 = V_6;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_60;
|
|
L_60 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_59, NULL);
|
|
if (!L_60)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, diagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_61 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_62 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_61);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_63 = V_6;
|
|
NullCheck(L_63);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_64 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_63)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_65 = ___3_cell;
|
|
NullCheck(L_65);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_66 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_65)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_67;
|
|
L_67 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_64, L_66, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_68;
|
|
L_68 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_67, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_69 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_62, L_68, L_69, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0142:
|
|
{
|
|
// AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_70 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_71 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_70);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_72 = V_3;
|
|
NullCheck(L_72);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_73 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_72)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_74 = ___3_cell;
|
|
NullCheck(L_74);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_75 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_74)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_76;
|
|
L_76 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_73, L_75, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_77;
|
|
L_77 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_76, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_78 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_71, L_77, L_78, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0163:
|
|
{
|
|
// var aroundCells = SpawnRules.Get3x3Square(cell, grid);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_79 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_80 = ___4_grid;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_81;
|
|
L_81 = SpawnRules_Get3x3Square_m99F4803182821C9DCF0246638C43B48B7AD9E490(L_79, L_80, NULL);
|
|
V_8 = L_81;
|
|
// var diagCells = SpawnRules.GetTargetNeightboursDiagonal(cell, grid, ESR_Space.OutOfGrid, "", ESR_Details.Tag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_82 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_83 = ___4_grid;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_84;
|
|
L_84 = SpawnRules_GetTargetNeightboursDiagonal_mFCFB75E8F9F057E2289296698972AEC4569657DC(L_82, L_83, 2, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, 0, (bool)0, NULL);
|
|
V_9 = L_84;
|
|
// FieldCell diagCell = null;
|
|
V_10 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// FieldCell mostSeparatedDiagCell = null;
|
|
V_11 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// int mostSepEmptys = -1;
|
|
V_12 = (-1);
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
V_15 = 0;
|
|
goto IL_020c;
|
|
}
|
|
|
|
IL_018f:
|
|
{
|
|
// if (diagCells[i].InTargetGridArea == false)
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_85 = V_9;
|
|
int32_t L_86 = V_15;
|
|
NullCheck(L_85);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_87;
|
|
L_87 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_85, L_86, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
NullCheck(L_87);
|
|
bool L_88 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_87)->___InTargetGridArea_1;
|
|
if (L_88)
|
|
{
|
|
goto IL_0206;
|
|
}
|
|
}
|
|
{
|
|
// diagCell = diagCells[i];
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_89 = V_9;
|
|
int32_t L_90 = V_15;
|
|
NullCheck(L_89);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_91;
|
|
L_91 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_89, L_90, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
V_10 = L_91;
|
|
// int emptys = 0;
|
|
V_16 = 0;
|
|
// for (int c = 0; c < aroundCells.Count; c++)
|
|
V_17 = 0;
|
|
goto IL_01e8;
|
|
}
|
|
|
|
IL_01b2:
|
|
{
|
|
// var aCell = aroundCells[c];
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_92 = V_8;
|
|
int32_t L_93 = V_17;
|
|
NullCheck(L_92);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_94;
|
|
L_94 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_92, L_93, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
V_18 = L_94;
|
|
// if (aCell.InTargetGridArea == false)
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_95 = V_18;
|
|
NullCheck(L_95);
|
|
bool L_96 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_95)->___InTargetGridArea_1;
|
|
if (L_96)
|
|
{
|
|
goto IL_01e2;
|
|
}
|
|
}
|
|
{
|
|
// int dist = ManhattanDistance(aCell.Pos, diagCell.Pos);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_97 = V_18;
|
|
NullCheck(L_97);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_98 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_97)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_99 = V_10;
|
|
NullCheck(L_99);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_100 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_99)->___Pos_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
int32_t L_101;
|
|
L_101 = SpawnRuleBase_ManhattanDistance_mA9F9BDB4064AB69276A3C7116B78EF659B7BC7FB(L_98, L_100, NULL);
|
|
// if (dist == 1)
|
|
if ((!(((uint32_t)L_101) == ((uint32_t)1))))
|
|
{
|
|
goto IL_01e2;
|
|
}
|
|
}
|
|
{
|
|
// emptys += 1;
|
|
int32_t L_102 = V_16;
|
|
V_16 = ((int32_t)il2cpp_codegen_add(L_102, 1));
|
|
}
|
|
|
|
IL_01e2:
|
|
{
|
|
// for (int c = 0; c < aroundCells.Count; c++)
|
|
int32_t L_103 = V_17;
|
|
V_17 = ((int32_t)il2cpp_codegen_add(L_103, 1));
|
|
}
|
|
|
|
IL_01e8:
|
|
{
|
|
// for (int c = 0; c < aroundCells.Count; c++)
|
|
int32_t L_104 = V_17;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_105 = V_8;
|
|
NullCheck(L_105);
|
|
int32_t L_106;
|
|
L_106 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_105, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_104) < ((int32_t)L_106)))
|
|
{
|
|
goto IL_01b2;
|
|
}
|
|
}
|
|
{
|
|
// if (emptys > 0)
|
|
int32_t L_107 = V_16;
|
|
if ((((int32_t)L_107) <= ((int32_t)0)))
|
|
{
|
|
goto IL_0206;
|
|
}
|
|
}
|
|
{
|
|
// if (emptys > mostSepEmptys)
|
|
int32_t L_108 = V_16;
|
|
int32_t L_109 = V_12;
|
|
if ((((int32_t)L_108) <= ((int32_t)L_109)))
|
|
{
|
|
goto IL_0206;
|
|
}
|
|
}
|
|
{
|
|
// mostSepEmptys = emptys;
|
|
int32_t L_110 = V_16;
|
|
V_12 = L_110;
|
|
// mostSeparatedDiagCell = diagCell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_111 = V_10;
|
|
V_11 = L_111;
|
|
}
|
|
|
|
IL_0206:
|
|
{
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
int32_t L_112 = V_15;
|
|
V_15 = ((int32_t)il2cpp_codegen_add(L_112, 1));
|
|
}
|
|
|
|
IL_020c:
|
|
{
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
int32_t L_113 = V_15;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_114 = V_9;
|
|
NullCheck(L_114);
|
|
int32_t L_115;
|
|
L_115 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_114, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_113) < ((int32_t)L_115)))
|
|
{
|
|
goto IL_018f;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(mostSeparatedDiagCell)) mostSeparatedDiagCell = diagCell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_116 = V_11;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_117;
|
|
L_117 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_116, NULL);
|
|
if (!L_117)
|
|
{
|
|
goto IL_0227;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(mostSeparatedDiagCell)) mostSeparatedDiagCell = diagCell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_118 = V_10;
|
|
V_11 = L_118;
|
|
}
|
|
|
|
IL_0227:
|
|
{
|
|
// bool haveDiagonalIn = false;
|
|
V_13 = (bool)0;
|
|
// bool haveDiagonalOut = false;
|
|
V_14 = (bool)0;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(diagCell)) // Diagonal cell exists
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_119 = V_10;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_120;
|
|
L_120 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_119, NULL);
|
|
if (!L_120)
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(fwdCell))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_121 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_122;
|
|
L_122 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_121, NULL);
|
|
if (!L_122)
|
|
{
|
|
goto IL_0249;
|
|
}
|
|
}
|
|
{
|
|
// haveDiagonalOut = true;
|
|
V_14 = (bool)1;
|
|
goto IL_02d7;
|
|
}
|
|
|
|
IL_0249:
|
|
{
|
|
// int diagCellsC = 0;
|
|
V_19 = 0;
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
V_20 = 0;
|
|
goto IL_026d;
|
|
}
|
|
|
|
IL_0251:
|
|
{
|
|
// if (diagCells[i].InTargetGridArea) continue;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_123 = V_9;
|
|
int32_t L_124 = V_20;
|
|
NullCheck(L_123);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_125;
|
|
L_125 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_123, L_124, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
NullCheck(L_125);
|
|
bool L_126 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_125)->___InTargetGridArea_1;
|
|
if (L_126)
|
|
{
|
|
goto IL_0267;
|
|
}
|
|
}
|
|
{
|
|
// diagCellsC++;
|
|
int32_t L_127 = V_19;
|
|
V_19 = ((int32_t)il2cpp_codegen_add(L_127, 1));
|
|
}
|
|
|
|
IL_0267:
|
|
{
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
int32_t L_128 = V_20;
|
|
V_20 = ((int32_t)il2cpp_codegen_add(L_128, 1));
|
|
}
|
|
|
|
IL_026d:
|
|
{
|
|
// for (int i = 0; i < diagCells.Count; i++)
|
|
int32_t L_129 = V_20;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_130 = V_9;
|
|
NullCheck(L_130);
|
|
int32_t L_131;
|
|
L_131 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_130, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_129) < ((int32_t)L_131)))
|
|
{
|
|
goto IL_0251;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCellsC >= 3) haveDiagonalIn = true;
|
|
int32_t L_132 = V_19;
|
|
if ((((int32_t)L_132) < ((int32_t)3)))
|
|
{
|
|
goto IL_0280;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCellsC >= 3) haveDiagonalIn = true;
|
|
V_13 = (bool)1;
|
|
}
|
|
|
|
IL_0280:
|
|
{
|
|
// if (V2)
|
|
bool L_133 = __this->___V2_30;
|
|
if (!L_133)
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCellsC == 2)
|
|
int32_t L_134 = V_19;
|
|
if ((!(((uint32_t)L_134) == ((uint32_t)2))))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// int sided = 0;
|
|
V_21 = 0;
|
|
// var sideCells = SpawnRules.GetTargetNeightboursPLUS(cell, grid, ESR_Space.OutOfGrid, "", ESR_Details.Tag);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_135 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_136 = ___4_grid;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_137;
|
|
L_137 = SpawnRules_GetTargetNeightboursPLUS_m2E7F95EE322672D6B202A8ED3E89BFB4A8B5E5A5(L_135, L_136, 2, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, 0, (bool)0, NULL);
|
|
V_22 = L_137;
|
|
// for (int i = 0; i < sideCells.Count; i++)
|
|
V_23 = 0;
|
|
goto IL_02c4;
|
|
}
|
|
|
|
IL_02a8:
|
|
{
|
|
// if (sideCells[i].InTargetGridArea) continue;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_138 = V_22;
|
|
int32_t L_139 = V_23;
|
|
NullCheck(L_138);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_140;
|
|
L_140 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_138, L_139, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
NullCheck(L_140);
|
|
bool L_141 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_140)->___InTargetGridArea_1;
|
|
if (L_141)
|
|
{
|
|
goto IL_02be;
|
|
}
|
|
}
|
|
{
|
|
// sided++;
|
|
int32_t L_142 = V_21;
|
|
V_21 = ((int32_t)il2cpp_codegen_add(L_142, 1));
|
|
}
|
|
|
|
IL_02be:
|
|
{
|
|
// for (int i = 0; i < sideCells.Count; i++)
|
|
int32_t L_143 = V_23;
|
|
V_23 = ((int32_t)il2cpp_codegen_add(L_143, 1));
|
|
}
|
|
|
|
IL_02c4:
|
|
{
|
|
// for (int i = 0; i < sideCells.Count; i++)
|
|
int32_t L_144 = V_23;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_145 = V_22;
|
|
NullCheck(L_145);
|
|
int32_t L_146;
|
|
L_146 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_145, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_144) < ((int32_t)L_146)))
|
|
{
|
|
goto IL_02a8;
|
|
}
|
|
}
|
|
{
|
|
// if (sided > 1) haveDiagonalIn = true;
|
|
int32_t L_147 = V_21;
|
|
if ((((int32_t)L_147) <= ((int32_t)1)))
|
|
{
|
|
goto IL_02d7;
|
|
}
|
|
}
|
|
{
|
|
// if (sided > 1) haveDiagonalIn = true;
|
|
V_13 = (bool)1;
|
|
}
|
|
|
|
IL_02d7:
|
|
{
|
|
// if (AlignMode == EAlignMode.JustDiagonals)
|
|
int32_t L_148 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_148) == ((uint32_t)2))))
|
|
{
|
|
goto IL_030c;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalIn || haveDiagonalOut) AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
bool L_149 = V_13;
|
|
bool L_150 = V_14;
|
|
if (!((int32_t)((int32_t)L_149|(int32_t)L_150)))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalIn || haveDiagonalOut) AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_151 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_152 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_151);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_153 = V_11;
|
|
NullCheck(L_153);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_154 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_153)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_155 = ___3_cell;
|
|
NullCheck(L_155);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_156 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_155)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_157;
|
|
L_157 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_154, L_156, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_158;
|
|
L_158 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_157, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_159 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_152, L_158, L_159, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_030c:
|
|
{
|
|
// else if (AlignMode == EAlignMode.JustInDiagonals)
|
|
int32_t L_160 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_160) == ((uint32_t)3))))
|
|
{
|
|
goto IL_0370;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalIn)
|
|
bool L_161 = V_13;
|
|
if (!L_161)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (V2)
|
|
bool L_162 = __this->___V2_30;
|
|
if (!L_162)
|
|
{
|
|
goto IL_034e;
|
|
}
|
|
}
|
|
{
|
|
// if (mostSepEmptys > 1)
|
|
int32_t L_163 = V_12;
|
|
if ((((int32_t)L_163) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_164 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_165 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_164);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_166 = V_11;
|
|
NullCheck(L_166);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_167 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_166)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_168 = ___3_cell;
|
|
NullCheck(L_168);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_169 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_168)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_170;
|
|
L_170 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_167, L_169, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_171;
|
|
L_171 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_170, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_172 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_165, L_171, L_172, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_034e:
|
|
{
|
|
// AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_173 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_174 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_173);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_175 = V_11;
|
|
NullCheck(L_175);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_176 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_175)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_177 = ___3_cell;
|
|
NullCheck(L_177);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_178 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_177)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_179;
|
|
L_179 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_176, L_178, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_180;
|
|
L_180 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_179, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_181 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_174, L_180, L_181, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0370:
|
|
{
|
|
// else if (AlignMode == EAlignMode.JustOutDiagonals)
|
|
int32_t L_182 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_182) == ((uint32_t)4))))
|
|
{
|
|
goto IL_03a2;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalOut)
|
|
bool L_183 = V_14;
|
|
if (!L_183)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_184 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_185 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_184);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_186 = V_11;
|
|
NullCheck(L_186);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_187 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_186)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_188 = ___3_cell;
|
|
NullCheck(L_188);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_189 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_188)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_190;
|
|
L_190 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_187, L_189, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_191;
|
|
L_191 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_190, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_192 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_185, L_191, L_192, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_03a2:
|
|
{
|
|
// else if (AlignMode == EAlignMode.JustSides)
|
|
int32_t L_193 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_193) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!haveDiagonalIn && !haveDiagonalOut) if (FGenerators.CheckIfExist_NOTNULL(fwdCell)) AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
bool L_194 = V_13;
|
|
if (L_194)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
bool L_195 = V_14;
|
|
if (L_195)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!haveDiagonalIn && !haveDiagonalOut) if (FGenerators.CheckIfExist_NOTNULL(fwdCell)) AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_196 = V_3;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_197;
|
|
L_197 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_196, NULL);
|
|
if (!L_197)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!haveDiagonalIn && !haveDiagonalOut) if (FGenerators.CheckIfExist_NOTNULL(fwdCell)) AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_198 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_199 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_198);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_200 = V_3;
|
|
NullCheck(L_200);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_201 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_200)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_202 = ___3_cell;
|
|
NullCheck(L_202);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_203 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_202)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_204;
|
|
L_204 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_201, L_203, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_205;
|
|
L_205 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_204, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_206 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_199, L_205, L_206, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_03e8:
|
|
{
|
|
// if (Mode == EMode.JustPlaceOnGrid)
|
|
int32_t L_207 = __this->___Mode_24;
|
|
if (L_207)
|
|
{
|
|
goto IL_040a;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsInside(cell)) return;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_208 = ___3_cell;
|
|
bool L_209;
|
|
L_209 = SR_FloorPlacer_IsInside_m2D4E6EC23CEC1DD66EA54C77EFF4234179ED8206(__this, L_208, NULL);
|
|
if (L_209)
|
|
{
|
|
goto IL_03fb;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsInside(cell)) return;
|
|
return;
|
|
}
|
|
|
|
IL_03fb:
|
|
{
|
|
// AssignSpawnCoords(spawn, Vector3.forward, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_210 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_211 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_210);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_212;
|
|
L_212 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_213 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_211, L_212, L_213, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_040a:
|
|
{
|
|
// else if (Mode == EMode.PlaceExceptEdges)
|
|
int32_t L_214 = __this->___Mode_24;
|
|
if ((!(((uint32_t)L_214) == ((uint32_t)1))))
|
|
{
|
|
goto IL_045a;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsInside(cell)) return;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_215 = ___3_cell;
|
|
bool L_216;
|
|
L_216 = SR_FloorPlacer_IsInside_m2D4E6EC23CEC1DD66EA54C77EFF4234179ED8206(__this, L_215, NULL);
|
|
if (L_216)
|
|
{
|
|
goto IL_041e;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsInside(cell)) return;
|
|
return;
|
|
}
|
|
|
|
IL_041e:
|
|
{
|
|
// var cells = grid.Get3x3Square(cell, false);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_217 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_218 = ___3_cell;
|
|
NullCheck(L_217);
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_219;
|
|
L_219 = FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E(L_217, L_218, (bool)0, FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E_RuntimeMethod_var);
|
|
V_24 = L_219;
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
V_25 = 0;
|
|
goto IL_0443;
|
|
}
|
|
|
|
IL_042f:
|
|
{
|
|
// if (IsOutside(cells[i]))
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_220 = V_24;
|
|
int32_t L_221 = V_25;
|
|
NullCheck(L_220);
|
|
int32_t L_222 = L_221;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_223 = (L_220)->GetAt(static_cast<il2cpp_array_size_t>(L_222));
|
|
bool L_224;
|
|
L_224 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_223, NULL);
|
|
if (!L_224)
|
|
{
|
|
goto IL_043d;
|
|
}
|
|
}
|
|
{
|
|
// return;
|
|
return;
|
|
}
|
|
|
|
IL_043d:
|
|
{
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
int32_t L_225 = V_25;
|
|
V_25 = ((int32_t)il2cpp_codegen_add(L_225, 1));
|
|
}
|
|
|
|
IL_0443:
|
|
{
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
int32_t L_226 = V_25;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_227 = V_24;
|
|
NullCheck(L_227);
|
|
if ((((int32_t)L_226) < ((int32_t)((int32_t)(((RuntimeArray*)L_227)->max_length)))))
|
|
{
|
|
goto IL_042f;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, Vector3.forward, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_228 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_229 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_228);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_230;
|
|
L_230 = Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4A_inline(NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_231 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_229, L_230, L_231, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_045a:
|
|
{
|
|
// else if (Mode == EMode.AlignToGridMargins)
|
|
int32_t L_232 = __this->___Mode_24;
|
|
if ((!(((uint32_t)L_232) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsInside(cell)) return;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_233 = ___3_cell;
|
|
bool L_234;
|
|
L_234 = SR_FloorPlacer_IsInside_m2D4E6EC23CEC1DD66EA54C77EFF4234179ED8206(__this, L_233, NULL);
|
|
if (L_234)
|
|
{
|
|
goto IL_0471;
|
|
}
|
|
}
|
|
{
|
|
// if (!IsInside(cell)) return;
|
|
return;
|
|
}
|
|
|
|
IL_0471:
|
|
{
|
|
// var cells = grid.GetPLUSSquare(cell, true);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_235 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_236 = ___3_cell;
|
|
NullCheck(L_235);
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_237;
|
|
L_237 = FGenGraph_2_GetPLUSSquare_m781EB99C3B370221CF95F8DA7AFC55CEACF82174(L_235, L_236, (bool)1, FGenGraph_2_GetPLUSSquare_m781EB99C3B370221CF95F8DA7AFC55CEACF82174_RuntimeMethod_var);
|
|
V_26 = L_237;
|
|
// FieldCell fwdCell = null;
|
|
V_27 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// bool allow = false;
|
|
V_28 = (bool)0;
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
V_29 = 0;
|
|
goto IL_04a7;
|
|
}
|
|
|
|
IL_0488:
|
|
{
|
|
// if (IsOutside(cells[i]))
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_238 = V_26;
|
|
int32_t L_239 = V_29;
|
|
NullCheck(L_238);
|
|
int32_t L_240 = L_239;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_241 = (L_238)->GetAt(static_cast<il2cpp_array_size_t>(L_240));
|
|
bool L_242;
|
|
L_242 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_241, NULL);
|
|
if (!L_242)
|
|
{
|
|
goto IL_04a1;
|
|
}
|
|
}
|
|
{
|
|
// { fwdCell = cells[i]; allow = true; break; }
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_243 = V_26;
|
|
int32_t L_244 = V_29;
|
|
NullCheck(L_243);
|
|
int32_t L_245 = L_244;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_246 = (L_243)->GetAt(static_cast<il2cpp_array_size_t>(L_245));
|
|
V_27 = L_246;
|
|
// { fwdCell = cells[i]; allow = true; break; }
|
|
V_28 = (bool)1;
|
|
// { fwdCell = cells[i]; allow = true; break; }
|
|
goto IL_04af;
|
|
}
|
|
|
|
IL_04a1:
|
|
{
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
int32_t L_247 = V_29;
|
|
V_29 = ((int32_t)il2cpp_codegen_add(L_247, 1));
|
|
}
|
|
|
|
IL_04a7:
|
|
{
|
|
// for (int i = 0; i < cells.Length; i++)
|
|
int32_t L_248 = V_29;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_249 = V_26;
|
|
NullCheck(L_249);
|
|
if ((((int32_t)L_248) < ((int32_t)((int32_t)(((RuntimeArray*)L_249)->max_length)))))
|
|
{
|
|
goto IL_0488;
|
|
}
|
|
}
|
|
|
|
IL_04af:
|
|
{
|
|
// if (AlignMode == EAlignMode.AlignAll)
|
|
int32_t L_250 = __this->___AlignMode_25;
|
|
if (L_250)
|
|
{
|
|
goto IL_0546;
|
|
}
|
|
}
|
|
{
|
|
// if (!allow)
|
|
bool L_251 = V_28;
|
|
if (L_251)
|
|
{
|
|
goto IL_0524;
|
|
}
|
|
}
|
|
{
|
|
// var diagCells = grid.GetDiagonalCross(cell, true);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_252 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_253 = ___3_cell;
|
|
NullCheck(L_252);
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_254;
|
|
L_254 = FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7(L_252, L_253, (bool)1, FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7_RuntimeMethod_var);
|
|
V_30 = L_254;
|
|
// FieldCell diagCell = null;
|
|
V_31 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
V_32 = 0;
|
|
goto IL_04ee;
|
|
}
|
|
|
|
IL_04d2:
|
|
{
|
|
// if (IsOutside(diagCells[i])) { diagCell = diagCells[i]; break; }
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_255 = V_30;
|
|
int32_t L_256 = V_32;
|
|
NullCheck(L_255);
|
|
int32_t L_257 = L_256;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_258 = (L_255)->GetAt(static_cast<il2cpp_array_size_t>(L_257));
|
|
bool L_259;
|
|
L_259 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_258, NULL);
|
|
if (!L_259)
|
|
{
|
|
goto IL_04e8;
|
|
}
|
|
}
|
|
{
|
|
// if (IsOutside(diagCells[i])) { diagCell = diagCells[i]; break; }
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_260 = V_30;
|
|
int32_t L_261 = V_32;
|
|
NullCheck(L_260);
|
|
int32_t L_262 = L_261;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_263 = (L_260)->GetAt(static_cast<il2cpp_array_size_t>(L_262));
|
|
V_31 = L_263;
|
|
// if (IsOutside(diagCells[i])) { diagCell = diagCells[i]; break; }
|
|
goto IL_04f6;
|
|
}
|
|
|
|
IL_04e8:
|
|
{
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
int32_t L_264 = V_32;
|
|
V_32 = ((int32_t)il2cpp_codegen_add(L_264, 1));
|
|
}
|
|
|
|
IL_04ee:
|
|
{
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
int32_t L_265 = V_32;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_266 = V_30;
|
|
NullCheck(L_266);
|
|
if ((((int32_t)L_265) < ((int32_t)((int32_t)(((RuntimeArray*)L_266)->max_length)))))
|
|
{
|
|
goto IL_04d2;
|
|
}
|
|
}
|
|
|
|
IL_04f6:
|
|
{
|
|
// if (diagCell.NotNull())
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_267 = V_31;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
bool L_268;
|
|
L_268 = SpawnRules_NotNull_m89AC94E3453A7ED190E7E3E3E646DD38A8EA7FE9(L_267, NULL);
|
|
if (!L_268)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, diagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_269 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_270 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_269);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_271 = V_31;
|
|
NullCheck(L_271);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_272 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_271)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_273 = ___3_cell;
|
|
NullCheck(L_273);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_274 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_273)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_275;
|
|
L_275 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_272, L_274, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_276;
|
|
L_276 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_275, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_277 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_270, L_276, L_277, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0524:
|
|
{
|
|
// AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_278 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_279 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_278);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_280 = V_27;
|
|
NullCheck(L_280);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_281 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_280)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_282 = ___3_cell;
|
|
NullCheck(L_282);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_283 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_282)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_284;
|
|
L_284 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_281, L_283, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_285;
|
|
L_285 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_284, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_286 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_279, L_285, L_286, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_0546:
|
|
{
|
|
// var aroundCells = grid.Get3x3Square(cell, true);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_287 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_288 = ___3_cell;
|
|
NullCheck(L_287);
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_289;
|
|
L_289 = FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E(L_287, L_288, (bool)1, FGenGraph_2_Get3x3Square_m72986BFE426480781D8D6277239413CC897A429E_RuntimeMethod_var);
|
|
V_33 = L_289;
|
|
// var diagCells = grid.GetDiagonalCross(cell, true);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_290 = ___4_grid;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_291 = ___3_cell;
|
|
NullCheck(L_290);
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_292;
|
|
L_292 = FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7(L_290, L_291, (bool)1, FGenGraph_2_GetDiagonalCross_mAAE30AB286178195885340C5BBC0F9F5B88E0BD7_RuntimeMethod_var);
|
|
V_34 = L_292;
|
|
// FieldCell diagCell = null;
|
|
V_35 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// FieldCell mostSeparatedDiagCell = null;
|
|
V_36 = (FieldCell_t0474210B4815B1D080500050D625323788B306F9*)NULL;
|
|
// int mostSepEmptys = -1;
|
|
V_37 = (-1);
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
V_40 = 0;
|
|
goto IL_05dc;
|
|
}
|
|
|
|
IL_056c:
|
|
{
|
|
// if (IsOutside(diagCells[i]))
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_293 = V_34;
|
|
int32_t L_294 = V_40;
|
|
NullCheck(L_293);
|
|
int32_t L_295 = L_294;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_296 = (L_293)->GetAt(static_cast<il2cpp_array_size_t>(L_295));
|
|
bool L_297;
|
|
L_297 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_296, NULL);
|
|
if (!L_297)
|
|
{
|
|
goto IL_05d6;
|
|
}
|
|
}
|
|
{
|
|
// diagCell = diagCells[i];
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_298 = V_34;
|
|
int32_t L_299 = V_40;
|
|
NullCheck(L_298);
|
|
int32_t L_300 = L_299;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_301 = (L_298)->GetAt(static_cast<il2cpp_array_size_t>(L_300));
|
|
V_35 = L_301;
|
|
// int emptys = 0;
|
|
V_41 = 0;
|
|
// for (int c = 0; c < aroundCells.Length; c++)
|
|
V_42 = 0;
|
|
goto IL_05bb;
|
|
}
|
|
|
|
IL_0588:
|
|
{
|
|
// var aCell = aroundCells[c];
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_302 = V_33;
|
|
int32_t L_303 = V_42;
|
|
NullCheck(L_302);
|
|
int32_t L_304 = L_303;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_305 = (L_302)->GetAt(static_cast<il2cpp_array_size_t>(L_304));
|
|
V_43 = L_305;
|
|
// if (IsOutside(aCell))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_306 = V_43;
|
|
bool L_307;
|
|
L_307 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_306, NULL);
|
|
if (!L_307)
|
|
{
|
|
goto IL_05b5;
|
|
}
|
|
}
|
|
{
|
|
// int dist = ManhattanDistance(aCell.Pos, diagCell.Pos);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_308 = V_43;
|
|
NullCheck(L_308);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_309 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_308)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_310 = V_35;
|
|
NullCheck(L_310);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_311 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_310)->___Pos_0;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
int32_t L_312;
|
|
L_312 = SpawnRuleBase_ManhattanDistance_mA9F9BDB4064AB69276A3C7116B78EF659B7BC7FB(L_309, L_311, NULL);
|
|
// if (dist == 1)
|
|
if ((!(((uint32_t)L_312) == ((uint32_t)1))))
|
|
{
|
|
goto IL_05b5;
|
|
}
|
|
}
|
|
{
|
|
// emptys += 1;
|
|
int32_t L_313 = V_41;
|
|
V_41 = ((int32_t)il2cpp_codegen_add(L_313, 1));
|
|
}
|
|
|
|
IL_05b5:
|
|
{
|
|
// for (int c = 0; c < aroundCells.Length; c++)
|
|
int32_t L_314 = V_42;
|
|
V_42 = ((int32_t)il2cpp_codegen_add(L_314, 1));
|
|
}
|
|
|
|
IL_05bb:
|
|
{
|
|
// for (int c = 0; c < aroundCells.Length; c++)
|
|
int32_t L_315 = V_42;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_316 = V_33;
|
|
NullCheck(L_316);
|
|
if ((((int32_t)L_315) < ((int32_t)((int32_t)(((RuntimeArray*)L_316)->max_length)))))
|
|
{
|
|
goto IL_0588;
|
|
}
|
|
}
|
|
{
|
|
// if (emptys > 0)
|
|
int32_t L_317 = V_41;
|
|
if ((((int32_t)L_317) <= ((int32_t)0)))
|
|
{
|
|
goto IL_05d6;
|
|
}
|
|
}
|
|
{
|
|
// if (emptys > mostSepEmptys)
|
|
int32_t L_318 = V_41;
|
|
int32_t L_319 = V_37;
|
|
if ((((int32_t)L_318) <= ((int32_t)L_319)))
|
|
{
|
|
goto IL_05d6;
|
|
}
|
|
}
|
|
{
|
|
// mostSepEmptys = emptys;
|
|
int32_t L_320 = V_41;
|
|
V_37 = L_320;
|
|
// mostSeparatedDiagCell = diagCell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_321 = V_35;
|
|
V_36 = L_321;
|
|
}
|
|
|
|
IL_05d6:
|
|
{
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
int32_t L_322 = V_40;
|
|
V_40 = ((int32_t)il2cpp_codegen_add(L_322, 1));
|
|
}
|
|
|
|
IL_05dc:
|
|
{
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
int32_t L_323 = V_40;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_324 = V_34;
|
|
NullCheck(L_324);
|
|
if ((((int32_t)L_323) < ((int32_t)((int32_t)(((RuntimeArray*)L_324)->max_length)))))
|
|
{
|
|
goto IL_056c;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(mostSeparatedDiagCell)) mostSeparatedDiagCell = diagCell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_325 = V_36;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_326;
|
|
L_326 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_325, NULL);
|
|
if (!L_326)
|
|
{
|
|
goto IL_05f1;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(mostSeparatedDiagCell)) mostSeparatedDiagCell = diagCell;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_327 = V_35;
|
|
V_36 = L_327;
|
|
}
|
|
|
|
IL_05f1:
|
|
{
|
|
// bool haveDiagonalIn = false;
|
|
V_38 = (bool)0;
|
|
// bool haveDiagonalOut = false;
|
|
V_39 = (bool)0;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(diagCell)) // Diagonal cell exists
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_328 = V_35;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_329;
|
|
L_329 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_328, NULL);
|
|
if (!L_329)
|
|
{
|
|
goto IL_0695;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfIsNull(fwdCell))
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_330 = V_27;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_331;
|
|
L_331 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_330, NULL);
|
|
if (!L_331)
|
|
{
|
|
goto IL_0614;
|
|
}
|
|
}
|
|
{
|
|
// haveDiagonalOut = true;
|
|
V_39 = (bool)1;
|
|
goto IL_0695;
|
|
}
|
|
|
|
IL_0614:
|
|
{
|
|
// int diagCellsC = 0;
|
|
V_44 = 0;
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
V_45 = 0;
|
|
goto IL_0635;
|
|
}
|
|
|
|
IL_061c:
|
|
{
|
|
// if (!IsOutside(diagCells[i])) continue;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_332 = V_34;
|
|
int32_t L_333 = V_45;
|
|
NullCheck(L_332);
|
|
int32_t L_334 = L_333;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_335 = (L_332)->GetAt(static_cast<il2cpp_array_size_t>(L_334));
|
|
bool L_336;
|
|
L_336 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_335, NULL);
|
|
if (!L_336)
|
|
{
|
|
goto IL_062f;
|
|
}
|
|
}
|
|
{
|
|
// diagCellsC++;
|
|
int32_t L_337 = V_44;
|
|
V_44 = ((int32_t)il2cpp_codegen_add(L_337, 1));
|
|
}
|
|
|
|
IL_062f:
|
|
{
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
int32_t L_338 = V_45;
|
|
V_45 = ((int32_t)il2cpp_codegen_add(L_338, 1));
|
|
}
|
|
|
|
IL_0635:
|
|
{
|
|
// for (int i = 0; i < diagCells.Length; i++)
|
|
int32_t L_339 = V_45;
|
|
FieldCellU5BU5D_tA81B43F6FB47DE89BD7E36C20019681C0E3C2F50* L_340 = V_34;
|
|
NullCheck(L_340);
|
|
if ((((int32_t)L_339) < ((int32_t)((int32_t)(((RuntimeArray*)L_340)->max_length)))))
|
|
{
|
|
goto IL_061c;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCellsC >= 3) haveDiagonalIn = true;
|
|
int32_t L_341 = V_44;
|
|
if ((((int32_t)L_341) < ((int32_t)3)))
|
|
{
|
|
goto IL_0645;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCellsC >= 3) haveDiagonalIn = true;
|
|
V_38 = (bool)1;
|
|
}
|
|
|
|
IL_0645:
|
|
{
|
|
// if (V2)
|
|
bool L_342 = __this->___V2_30;
|
|
if (!L_342)
|
|
{
|
|
goto IL_0695;
|
|
}
|
|
}
|
|
{
|
|
// if (diagCellsC == 2)
|
|
int32_t L_343 = V_44;
|
|
if ((!(((uint32_t)L_343) == ((uint32_t)2))))
|
|
{
|
|
goto IL_0695;
|
|
}
|
|
}
|
|
{
|
|
// int sided = 0;
|
|
V_46 = 0;
|
|
// var sideCells = SpawnRules.GetTargetNeightboursPLUS(cell, grid);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_344 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_345 = ___4_grid;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRules_t90E096B7E175042698F7C846C8B44BBEB39EDFF2_il2cpp_TypeInfo_var);
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_346;
|
|
L_346 = SpawnRules_GetTargetNeightboursPLUS_m5C0D2A972CD61CC15C3559148B9029717A350BFF(L_344, L_345, NULL);
|
|
V_47 = L_346;
|
|
// for (int i = 0; i < sideCells.Count; i++)
|
|
V_48 = 0;
|
|
goto IL_0682;
|
|
}
|
|
|
|
IL_0665:
|
|
{
|
|
// if (!IsOutside(sideCells[i])) continue;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_347 = V_47;
|
|
int32_t L_348 = V_48;
|
|
NullCheck(L_347);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_349;
|
|
L_349 = List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7(L_347, L_348, List_1_get_Item_m190B1B884EB8A497459D4D0C9A4BC235FF9A37E7_RuntimeMethod_var);
|
|
bool L_350;
|
|
L_350 = SR_FloorPlacer_IsOutside_m5AA83852342B054BD486B5245C934ACA2C4C52EE(__this, L_349, NULL);
|
|
if (!L_350)
|
|
{
|
|
goto IL_067c;
|
|
}
|
|
}
|
|
{
|
|
// sided++;
|
|
int32_t L_351 = V_46;
|
|
V_46 = ((int32_t)il2cpp_codegen_add(L_351, 1));
|
|
}
|
|
|
|
IL_067c:
|
|
{
|
|
// for (int i = 0; i < sideCells.Count; i++)
|
|
int32_t L_352 = V_48;
|
|
V_48 = ((int32_t)il2cpp_codegen_add(L_352, 1));
|
|
}
|
|
|
|
IL_0682:
|
|
{
|
|
// for (int i = 0; i < sideCells.Count; i++)
|
|
int32_t L_353 = V_48;
|
|
List_1_tC15C8F86650CFEDD4CAE21D14AE840EC61E728F7* L_354 = V_47;
|
|
NullCheck(L_354);
|
|
int32_t L_355;
|
|
L_355 = List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_inline(L_354, List_1_get_Count_m358C955809629E85199831AD63CCF21E695BD07D_RuntimeMethod_var);
|
|
if ((((int32_t)L_353) < ((int32_t)L_355)))
|
|
{
|
|
goto IL_0665;
|
|
}
|
|
}
|
|
{
|
|
// if (sided > 1) haveDiagonalIn = true;
|
|
int32_t L_356 = V_46;
|
|
if ((((int32_t)L_356) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0695;
|
|
}
|
|
}
|
|
{
|
|
// if (sided > 1) haveDiagonalIn = true;
|
|
V_38 = (bool)1;
|
|
}
|
|
|
|
IL_0695:
|
|
{
|
|
// if (AlignMode == EAlignMode.JustDiagonals)
|
|
int32_t L_357 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_357) == ((uint32_t)2))))
|
|
{
|
|
goto IL_06ca;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalIn || haveDiagonalOut) AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
bool L_358 = V_38;
|
|
bool L_359 = V_39;
|
|
if (!((int32_t)((int32_t)L_358|(int32_t)L_359)))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalIn || haveDiagonalOut) AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_360 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_361 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_360);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_362 = V_36;
|
|
NullCheck(L_362);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_363 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_362)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_364 = ___3_cell;
|
|
NullCheck(L_364);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_365 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_364)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_366;
|
|
L_366 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_363, L_365, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_367;
|
|
L_367 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_366, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_368 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_361, L_367, L_368, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_06ca:
|
|
{
|
|
// else if (AlignMode == EAlignMode.JustInDiagonals)
|
|
int32_t L_369 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_369) == ((uint32_t)3))))
|
|
{
|
|
goto IL_072e;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalIn)
|
|
bool L_370 = V_38;
|
|
if (!L_370)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (V2)
|
|
bool L_371 = __this->___V2_30;
|
|
if (!L_371)
|
|
{
|
|
goto IL_070c;
|
|
}
|
|
}
|
|
{
|
|
// if (mostSepEmptys > 1)
|
|
int32_t L_372 = V_37;
|
|
if ((((int32_t)L_372) <= ((int32_t)1)))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_373 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_374 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_373);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_375 = V_36;
|
|
NullCheck(L_375);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_376 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_375)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_377 = ___3_cell;
|
|
NullCheck(L_377);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_378 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_377)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_379;
|
|
L_379 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_376, L_378, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_380;
|
|
L_380 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_379, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_381 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_374, L_380, L_381, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_070c:
|
|
{
|
|
// AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_382 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_383 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_382);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_384 = V_36;
|
|
NullCheck(L_384);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_385 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_384)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_386 = ___3_cell;
|
|
NullCheck(L_386);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_387 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_386)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_388;
|
|
L_388 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_385, L_387, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_389;
|
|
L_389 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_388, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_390 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_383, L_389, L_390, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_072e:
|
|
{
|
|
// else if (AlignMode == EAlignMode.JustOutDiagonals)
|
|
int32_t L_391 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_391) == ((uint32_t)4))))
|
|
{
|
|
goto IL_075d;
|
|
}
|
|
}
|
|
{
|
|
// if (haveDiagonalOut)
|
|
bool L_392 = V_39;
|
|
if (!L_392)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// AssignSpawnCoords(spawn, mostSeparatedDiagCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_393 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_394 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_393);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_395 = V_36;
|
|
NullCheck(L_395);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_396 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_395)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_397 = ___3_cell;
|
|
NullCheck(L_397);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_398 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_397)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_399;
|
|
L_399 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_396, L_398, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_400;
|
|
L_400 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_399, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_401 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_394, L_400, L_401, NULL);
|
|
return;
|
|
}
|
|
|
|
IL_075d:
|
|
{
|
|
// else if (AlignMode == EAlignMode.JustSides)
|
|
int32_t L_402 = __this->___AlignMode_25;
|
|
if ((!(((uint32_t)L_402) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!haveDiagonalIn && !haveDiagonalOut) if (FGenerators.CheckIfExist_NOTNULL(fwdCell)) AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
bool L_403 = V_38;
|
|
if (L_403)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
bool L_404 = V_39;
|
|
if (L_404)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!haveDiagonalIn && !haveDiagonalOut) if (FGenerators.CheckIfExist_NOTNULL(fwdCell)) AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_405 = V_27;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_406;
|
|
L_406 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_405, NULL);
|
|
if (!L_406)
|
|
{
|
|
goto IL_0798;
|
|
}
|
|
}
|
|
{
|
|
// if (!haveDiagonalIn && !haveDiagonalOut) if (FGenerators.CheckIfExist_NOTNULL(fwdCell)) AssignSpawnCoords(spawn, fwdCell.Pos - cell.Pos, preset);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_407 = ___1_spawn;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_408 = *((SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**)L_407);
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_409 = V_27;
|
|
NullCheck(L_409);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_410 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_409)->___Pos_0;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_411 = ___3_cell;
|
|
NullCheck(L_411);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_412 = ((FGenCell_t86B2A37763BE58B2394B50DCC07D940A4AD370F5*)L_411)->___Pos_0;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_413;
|
|
L_413 = Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline(L_410, L_412, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_414;
|
|
L_414 = Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline(L_413, NULL);
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_415 = ___2_preset;
|
|
SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07(__this, L_408, L_414, L_415, NULL);
|
|
}
|
|
|
|
IL_0798:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::AssignSpawnCoords(FIMSpace.Generating.SpawnData,UnityEngine.Vector3,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_FloorPlacer_AssignSpawnCoords_m1D8EBD63C56B434300915877D712A347B4528B07 (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* ___0_spawn, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_normal, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_presetUsed, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
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));
|
|
{
|
|
// Vector3 targetRot = Quaternion.LookRotation(normal).eulerAngles;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = ___1_normal;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1;
|
|
L_1 = Quaternion_LookRotation_mDB2CCA75B8E1AB98104F2A6E1A1EA57D0D1298D7(L_0, NULL);
|
|
V_1 = L_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2;
|
|
L_2 = Quaternion_get_eulerAngles_m2DB5158B5C3A71FD60FC8A6EE43D3AAA1CFED122_inline((&V_1), NULL);
|
|
V_0 = L_2;
|
|
// if (RotateBy90Only)
|
|
bool L_3 = __this->___RotateBy90Only_29;
|
|
if (!L_3)
|
|
{
|
|
goto IL_003b;
|
|
}
|
|
}
|
|
{
|
|
// targetRot.y = Mathf.Round((targetRot.y - 0.1f) / 90f) * 90f;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
float L_5 = L_4.___y_3;
|
|
float L_6;
|
|
L_6 = bankers_roundf(((float)(((float)il2cpp_codegen_subtract(L_5, (0.100000001f)))/(90.0f))));
|
|
(&V_0)->___y_3 = ((float)il2cpp_codegen_multiply(L_6, (90.0f)));
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
// spawn.RotationOffset = targetRot + Vector3.up * YawOffset;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_7 = ___0_spawn;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_8 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9;
|
|
L_9 = Vector3_get_up_m128AF3FDC820BF59D5DE86D973E7DE3F20C3AEBA_inline(NULL);
|
|
float L_10 = __this->___YawOffset_26;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11;
|
|
L_11 = Vector3_op_Multiply_m87BA7C578F96C8E49BB07088DAAC4649F83B0353_inline(L_9, L_10, NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_12;
|
|
L_12 = Vector3_op_Addition_m78C0EC70CB66E8DCAC225743D82B268DAEE92067_inline(L_8, L_11, NULL);
|
|
NullCheck(L_7);
|
|
L_7->___RotationOffset_16 = L_12;
|
|
// spawn.DirectionalOffset = GetUnitOffset(DirectOffset, OffsetMode, presetUsed);
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7* L_13 = ___0_spawn;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_14 = __this->___DirectOffset_27;
|
|
int32_t L_15 = __this->___OffsetMode_28;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_16 = ___2_presetUsed;
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_17;
|
|
L_17 = SpawnRuleBase_GetUnitOffset_m54FA4793E9311D3605EBF79B9EE9A07700BB9B70(L_14, L_15, L_16, NULL);
|
|
NullCheck(L_13);
|
|
L_13->___DirectionalOffset_19 = L_17;
|
|
// CellAllow = true;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = (bool)1;
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_FloorPlacer::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_FloorPlacer__ctor_m2D13B1F159FCED4B021840DE4E9BF4D0A7A4CE1F (SR_FloorPlacer_tC5F6667F0FD8642814AACC486074F3AACEA718A2* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public Vector3 DirectOffset = Vector3.zero;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0;
|
|
L_0 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
__this->___DirectOffset_27 = L_0;
|
|
// public bool RotateBy90Only = true;
|
|
__this->___RotateBy90Only_29 = (bool)1;
|
|
// [HideInInspector] public ESR_Space SpawnOnCheck = ESR_Space.InGrid;
|
|
__this->___SpawnOnCheck_32 = 3;
|
|
// public string SpawnOnTag = "";
|
|
__this->___SpawnOnTag_33 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___SpawnOnTag_33), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
// [HideInInspector] public ESR_Space OutsideCondition = ESR_Space.OutOfGrid;
|
|
__this->___OutsideCondition_35 = 2;
|
|
// public string OutsideOnTag = "";
|
|
__this->___OutsideOnTag_36 = _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___OutsideOnTag_36), (void*)_stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709);
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__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.String FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::TitleName()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_LogicBlockIF_TitleName_m3B77B23EEF10BBB42DE4711846A005C78834A7BF (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteral1BB7F650ADB1CD975D05DF5ED884BF9CC8E68642);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string TitleName() { return "Logic If Block"; }
|
|
return _stringLiteral1BB7F650ADB1CD975D05DF5ED884BF9CC8E68642;
|
|
}
|
|
}
|
|
// System.String FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::Tooltip()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR String_t* SR_LogicBlockIF_Tooltip_m0B44864540B47AE51122550D341F0F5D513EE74A (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&_stringLiteralF5122D5A4841DA16AC882BEC4F50B5211F79D6E5);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
// public override string Tooltip() { return "You can put additional conditions in this block and trigger events if conditions are met\n" + base.Tooltip(); }
|
|
String_t* L_0;
|
|
L_0 = SpawnRuleBase_Tooltip_m89792DF22A3A8BBDEC392358CA2F59D472EB2489(__this, NULL);
|
|
String_t* L_1;
|
|
L_1 = String_Concat_m9E3155FB84015C823606188F53B47CB44C444991(_stringLiteralF5122D5A4841DA16AC882BEC4F50B5211F79D6E5, L_0, NULL);
|
|
return L_1;
|
|
}
|
|
}
|
|
// FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::get_Type()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR int32_t SR_LogicBlockIF_get_Type_mF3D67CE354EF5DD0ECEB6BA6E3DAA34EF59E5E4B (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public EProcedureType Type { get { return EProcedureType.Coded; } }
|
|
return (int32_t)(4);
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::CanBeGlobal()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_LogicBlockIF_CanBeGlobal_m1EEF677BC625817A7A9E7FF41B3D609DAFE7A941 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override bool CanBeGlobal() { return false; }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::CanBeNegated()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_LogicBlockIF_CanBeNegated_m67ED97E7D822024DE8D0C0A4822112EC071A601B (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public override bool CanBeNegated() { return false; }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Boolean FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::AllowDuplicate()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR bool SR_LogicBlockIF_AllowDuplicate_m30D7E82758D0F8B71F8A0BD95D28DCCA3B103601 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// internal override bool AllowDuplicate() { return false; }
|
|
return (bool)0;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::RefreshCustomSpawner()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_RefreshCustomSpawner_m7079E2A638E6B124FCB7B812CDF3235999217680 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
RuntimeObject* V_1 = NULL;
|
|
{
|
|
// if (OwnerSpawner != null)
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_0 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
if (!L_0)
|
|
{
|
|
goto IL_010e;
|
|
}
|
|
}
|
|
{
|
|
// if (spawner == null) spawner = new FieldSpawner(0, FieldModification.EModificationMode.CustomPrefabs, OwnerSpawner.Parent);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_1 = __this->___spawner_25;
|
|
if (L_1)
|
|
{
|
|
goto IL_002b;
|
|
}
|
|
}
|
|
{
|
|
// if (spawner == null) spawner = new FieldSpawner(0, FieldModification.EModificationMode.CustomPrefabs, OwnerSpawner.Parent);
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_2 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_2);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_3 = L_2->___Parent_5;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_4 = (FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC*)il2cpp_codegen_object_new(FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC_il2cpp_TypeInfo_var);
|
|
NullCheck(L_4);
|
|
FieldSpawner__ctor_mF5D5C5933E4A4189D39C0D36F65E757816C54ED7(L_4, 0, 0, L_3, NULL);
|
|
__this->___spawner_25 = L_4;
|
|
Il2CppCodeGenWriteBarrier((void**)(&__this->___spawner_25), (void*)L_4);
|
|
}
|
|
|
|
IL_002b:
|
|
{
|
|
// if (spawner.Rules == null) spawner.Rules = new List<SpawnRuleBase>();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_5 = __this->___spawner_25;
|
|
NullCheck(L_5);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_6 = L_5->___Rules_6;
|
|
if (L_6)
|
|
{
|
|
goto IL_0048;
|
|
}
|
|
}
|
|
{
|
|
// if (spawner.Rules == null) spawner.Rules = new List<SpawnRuleBase>();
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_7 = __this->___spawner_25;
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_8 = (List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490*)il2cpp_codegen_object_new(List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490_il2cpp_TypeInfo_var);
|
|
NullCheck(L_8);
|
|
List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19(L_8, List_1__ctor_m73BCF5E7AF09B1AEB3853F13A35E142EC3C7DC19_RuntimeMethod_var);
|
|
NullCheck(L_7);
|
|
L_7->___Rules_6 = L_8;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_7->___Rules_6), (void*)L_8);
|
|
}
|
|
|
|
IL_0048:
|
|
{
|
|
// spawner.Parent = OwnerSpawner.Parent;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_9 = __this->___spawner_25;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_10 = ((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___OwnerSpawner_16;
|
|
NullCheck(L_10);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_11 = L_10->___Parent_5;
|
|
NullCheck(L_9);
|
|
L_9->___Parent_5 = L_11;
|
|
Il2CppCodeGenWriteBarrier((void**)(&L_9->___Parent_5), (void*)L_11);
|
|
// spawner.Enabled = true;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_12 = __this->___spawner_25;
|
|
NullCheck(L_12);
|
|
L_12->___Enabled_0 = (bool)1;
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_00f8;
|
|
}
|
|
|
|
IL_0071:
|
|
{
|
|
// if (spawner.Rules[i] == null) continue;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_13 = __this->___spawner_25;
|
|
NullCheck(L_13);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_14 = L_13->___Rules_6;
|
|
int32_t L_15 = V_0;
|
|
NullCheck(L_14);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_16;
|
|
L_16 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_14, L_15, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
il2cpp_codegen_runtime_class_init_inline(Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C_il2cpp_TypeInfo_var);
|
|
bool L_17;
|
|
L_17 = Object_op_Equality_mB6120F782D83091EF56A198FCEBCF066DB4A9605(L_16, (Object_tC12DECB6760A7F2CBF65D9DCF18D044C2D97152C*)NULL, NULL);
|
|
if (L_17)
|
|
{
|
|
goto IL_00f4;
|
|
}
|
|
}
|
|
{
|
|
// spawner.Rules[i].DisableDrawingGlobalSwitch = true;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_18 = __this->___spawner_25;
|
|
NullCheck(L_18);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_19 = L_18->___Rules_6;
|
|
int32_t L_20 = V_0;
|
|
NullCheck(L_19);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_21;
|
|
L_21 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_19, L_20, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_21);
|
|
L_21->___DisableDrawingGlobalSwitch_11 = (bool)1;
|
|
// ISpawnProcedureType rType = spawner.Rules[i] as ISpawnProcedureType;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_22 = __this->___spawner_25;
|
|
NullCheck(L_22);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_23 = L_22->___Rules_6;
|
|
int32_t L_24 = V_0;
|
|
NullCheck(L_23);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_25;
|
|
L_25 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_23, L_24, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_1 = ((RuntimeObject*)IsInst((RuntimeObject*)L_25, ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var));
|
|
// if (rType == null) continue;
|
|
RuntimeObject* L_26 = V_1;
|
|
if (!L_26)
|
|
{
|
|
goto IL_00f4;
|
|
}
|
|
}
|
|
{
|
|
// if (rType.Type == EProcedureType.Rule)
|
|
RuntimeObject* L_27 = V_1;
|
|
NullCheck(L_27);
|
|
int32_t L_28;
|
|
L_28 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.ISpawnProcedureType::get_Type() */, ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var, L_27);
|
|
if ((!(((uint32_t)L_28) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00dd;
|
|
}
|
|
}
|
|
{
|
|
// spawner.Rules[i].DrawLogicSwitch = true;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_29 = __this->___spawner_25;
|
|
NullCheck(L_29);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_30 = L_29->___Rules_6;
|
|
int32_t L_31 = V_0;
|
|
NullCheck(L_30);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_32;
|
|
L_32 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_30, L_31, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_32);
|
|
L_32->___DrawLogicSwitch_7 = (bool)1;
|
|
goto IL_00f4;
|
|
}
|
|
|
|
IL_00dd:
|
|
{
|
|
// spawner.Rules[i].DrawLogicSwitch = false;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_33 = __this->___spawner_25;
|
|
NullCheck(L_33);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_34 = L_33->___Rules_6;
|
|
int32_t L_35 = V_0;
|
|
NullCheck(L_34);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_36;
|
|
L_36 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_34, L_35, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
NullCheck(L_36);
|
|
L_36->___DrawLogicSwitch_7 = (bool)0;
|
|
}
|
|
|
|
IL_00f4:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_37 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_37, 1));
|
|
}
|
|
|
|
IL_00f8:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_38 = V_0;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_39 = __this->___spawner_25;
|
|
NullCheck(L_39);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_40 = L_39->___Rules_6;
|
|
NullCheck(L_40);
|
|
int32_t L_41;
|
|
L_41 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_40, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_38) < ((int32_t)L_41)))
|
|
{
|
|
goto IL_0071;
|
|
}
|
|
}
|
|
|
|
IL_010e:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::Refresh()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_Refresh_mB3828D50C18C1CB28E30A6795D1FF07A583FA6FF (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// base.Refresh();
|
|
SpawnRuleBase_Refresh_mC4FDE9B3C100EAB3903AE269AE13260EA29D4B83(__this, NULL);
|
|
// RefreshCustomSpawner();
|
|
SR_LogicBlockIF_RefreshCustomSpawner_m7079E2A638E6B124FCB7B812CDF3235999217680(__this, NULL);
|
|
// RefreshSpawnerRules();
|
|
SR_LogicBlockIF_RefreshSpawnerRules_m6303ABDE8E15D75AB237460C41E8871838BDEFE3(__this, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::ResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_ResetRule_mC62BD756F376E8D6F8DC29544D578B08025D4C91 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___0_grid, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___1_preset, 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_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* V_1 = NULL;
|
|
{
|
|
// base.ResetRule(grid, preset);
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_0 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_1 = ___1_preset;
|
|
SpawnRuleBase_ResetRule_mFAEC160715FC6C03DE27FA43D74D0ED5446596E5(__this, L_0, L_1, NULL);
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0032;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
// var rule = spawner.Rules[i];
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_2 = __this->___spawner_25;
|
|
NullCheck(L_2);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_3 = L_2->___Rules_6;
|
|
int32_t L_4 = V_0;
|
|
NullCheck(L_3);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_5;
|
|
L_5 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_3, L_4, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_1 = L_5;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(rule)) rule.ResetRule(grid, preset);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_6 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_7;
|
|
L_7 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_6, NULL);
|
|
if (!L_7)
|
|
{
|
|
goto IL_002e;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(rule)) rule.ResetRule(grid, preset);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_8 = V_1;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_9 = ___0_grid;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_10 = ___1_preset;
|
|
NullCheck(L_8);
|
|
VirtualActionInvoker2< FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* >::Invoke(13 /* System.Void FIMSpace.Generating.SpawnRuleBase::ResetRule(FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,FIMSpace.Generating.FieldSetup) */, L_8, L_9, L_10);
|
|
}
|
|
|
|
IL_002e:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_11 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_11, 1));
|
|
}
|
|
|
|
IL_0032:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_12 = V_0;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_13 = __this->___spawner_25;
|
|
NullCheck(L_13);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_14 = L_13->___Rules_6;
|
|
NullCheck(L_14);
|
|
int32_t L_15;
|
|
L_15 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_14, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_12) < ((int32_t)L_15)))
|
|
{
|
|
goto IL_000c;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::RefreshSpawnerRules()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_RefreshSpawnerRules_m6303ABDE8E15D75AB237460C41E8871838BDEFE3 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, 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_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* V_1 = NULL;
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0028;
|
|
}
|
|
|
|
IL_0004:
|
|
{
|
|
// var rule = spawner.Rules[i];
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_0 = __this->___spawner_25;
|
|
NullCheck(L_0);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_1 = L_0->___Rules_6;
|
|
int32_t L_2 = V_0;
|
|
NullCheck(L_1);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_3;
|
|
L_3 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_1, L_2, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_1 = L_3;
|
|
// if (FGenerators.CheckIfExist_NOTNULL(rule)) rule.Refresh();
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_4 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_5;
|
|
L_5 = FGenerators_CheckIfExist_NOTNULL_m241707CEFC4EA3FA834EF80578DBD320741EB812(L_4, NULL);
|
|
if (!L_5)
|
|
{
|
|
goto IL_0024;
|
|
}
|
|
}
|
|
{
|
|
// if (FGenerators.CheckIfExist_NOTNULL(rule)) rule.Refresh();
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_6 = V_1;
|
|
NullCheck(L_6);
|
|
VirtualActionInvoker0::Invoke(12 /* System.Void FIMSpace.Generating.SpawnRuleBase::Refresh() */, L_6);
|
|
}
|
|
|
|
IL_0024:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_7 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_7, 1));
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_8 = V_0;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_9 = __this->___spawner_25;
|
|
NullCheck(L_9);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_10 = L_9->___Rules_6;
|
|
NullCheck(L_10);
|
|
int32_t L_11;
|
|
L_11 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_10, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_8) < ((int32_t)L_11)))
|
|
{
|
|
goto IL_0004;
|
|
}
|
|
}
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_CheckRuleOn_m4538ED7260E442D21FAE7DAD324D57744100E715 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_spawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE ___5_restrictDirection, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
int32_t V_2 = 0;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* V_3 = NULL;
|
|
RuntimeObject* V_4 = NULL;
|
|
int32_t V_5 = 0;
|
|
bool V_6 = false;
|
|
{
|
|
// CellAllow = true; // No spawn prevent by default - for JustTriggerEvent
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = (bool)1;
|
|
// internalCellAllow = false;
|
|
__this->___internalCellAllow_26 = (bool)0;
|
|
// bool atLeastOne = false;
|
|
V_0 = (bool)0;
|
|
// bool broken = false;
|
|
V_1 = (bool)0;
|
|
// base.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_0 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_1 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_2 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_3 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_4 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_5 = ___5_restrictDirection;
|
|
SpawnRuleBase_CheckRuleOn_m63A15FB8F14BCCFA10AA5F995A07D4F476977AC6(__this, L_0, L_1, L_2, L_3, L_4, L_5, NULL);
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_2 = 0;
|
|
goto IL_00cc;
|
|
}
|
|
|
|
IL_0028:
|
|
{
|
|
// var rule = spawner.Rules[i];
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_6 = __this->___spawner_25;
|
|
NullCheck(L_6);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_7 = L_6->___Rules_6;
|
|
int32_t L_8 = V_2;
|
|
NullCheck(L_7);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_9;
|
|
L_9 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_7, L_8, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_3 = L_9;
|
|
// if (rule.Enabled == false) continue;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_10 = V_3;
|
|
NullCheck(L_10);
|
|
bool L_11 = L_10->___Enabled_13;
|
|
if (!L_11)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// rule.CheckRuleOn(mod, ref spawn, preset, cell, grid, restrictDirection);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_12 = V_3;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_13 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_14 = ___1_spawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_15 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_16 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_17 = ___4_grid;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_18 = ___5_restrictDirection;
|
|
NullCheck(L_12);
|
|
VirtualActionInvoker6< FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE >::Invoke(16 /* System.Void FIMSpace.Generating.SpawnRuleBase::CheckRuleOn(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>) */, L_12, L_13, L_14, L_15, L_16, L_17, L_18);
|
|
// ISpawnProcedureType rType = spawner.Rules[i] as ISpawnProcedureType;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_19 = __this->___spawner_25;
|
|
NullCheck(L_19);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_20 = L_19->___Rules_6;
|
|
int32_t L_21 = V_2;
|
|
NullCheck(L_20);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_22;
|
|
L_22 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_20, L_21, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_4 = ((RuntimeObject*)IsInst((RuntimeObject*)L_22, ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var));
|
|
// ERuleLogic currentLogic = ERuleLogic.AND_Required;
|
|
V_5 = 0;
|
|
// bool checkRuleWith = true;
|
|
V_6 = (bool)1;
|
|
// if (rType != null) // Identify defined role of rule
|
|
RuntimeObject* L_23 = V_4;
|
|
if (!L_23)
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
{
|
|
// if (rType.Type == EProcedureType.Rule) currentLogic = rule.Logic;
|
|
RuntimeObject* L_24 = V_4;
|
|
NullCheck(L_24);
|
|
int32_t L_25;
|
|
L_25 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.ISpawnProcedureType::get_Type() */, ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var, L_24);
|
|
if ((!(((uint32_t)L_25) == ((uint32_t)1))))
|
|
{
|
|
goto IL_008a;
|
|
}
|
|
}
|
|
{
|
|
// if (rType.Type == EProcedureType.Rule) currentLogic = rule.Logic;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_26 = V_3;
|
|
NullCheck(L_26);
|
|
int32_t L_27 = L_26->___Logic_8;
|
|
V_5 = L_27;
|
|
goto IL_00a1;
|
|
}
|
|
|
|
IL_008a:
|
|
{
|
|
// else if (rType.Type == EProcedureType.Event || rType.Type == EProcedureType.OnConditionsMet) checkRuleWith = false;
|
|
RuntimeObject* L_28 = V_4;
|
|
NullCheck(L_28);
|
|
int32_t L_29;
|
|
L_29 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.ISpawnProcedureType::get_Type() */, ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var, L_28);
|
|
if ((((int32_t)L_29) == ((int32_t)2)))
|
|
{
|
|
goto IL_009e;
|
|
}
|
|
}
|
|
{
|
|
RuntimeObject* L_30 = V_4;
|
|
NullCheck(L_30);
|
|
int32_t L_31;
|
|
L_31 = InterfaceFuncInvoker0< int32_t >::Invoke(0 /* FIMSpace.Generating.SpawnRuleBase/EProcedureType FIMSpace.Generating.Rules.ISpawnProcedureType::get_Type() */, ISpawnProcedureType_t6AC7F73AE333A84C0E35ECFA366C04045E1D6B58_il2cpp_TypeInfo_var, L_30);
|
|
if ((!(((uint32_t)L_31) == ((uint32_t)3))))
|
|
{
|
|
goto IL_00a1;
|
|
}
|
|
}
|
|
|
|
IL_009e:
|
|
{
|
|
// else if (rType.Type == EProcedureType.Event || rType.Type == EProcedureType.OnConditionsMet) checkRuleWith = false;
|
|
V_6 = (bool)0;
|
|
}
|
|
|
|
IL_00a1:
|
|
{
|
|
// if (checkRuleWith == false) continue; // Some of rules like 'Event' type should not influence allow/disallow logics
|
|
bool L_32 = V_6;
|
|
if (!L_32)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// if (currentLogic == ERuleLogic.AND_Required)
|
|
int32_t L_33 = V_5;
|
|
if (L_33)
|
|
{
|
|
goto IL_00b9;
|
|
}
|
|
}
|
|
{
|
|
// if (rule.CellAllow == false) // Required but conditions not met then disallow any further events
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_34 = V_3;
|
|
NullCheck(L_34);
|
|
bool L_35 = L_34->___CellAllow_17;
|
|
if (L_35)
|
|
{
|
|
goto IL_00b5;
|
|
}
|
|
}
|
|
{
|
|
// broken = true;
|
|
V_1 = (bool)1;
|
|
// break;
|
|
goto IL_00e2;
|
|
}
|
|
|
|
IL_00b5:
|
|
{
|
|
// atLeastOne = true;
|
|
V_0 = (bool)1;
|
|
goto IL_00c8;
|
|
}
|
|
|
|
IL_00b9:
|
|
{
|
|
// else if (currentLogic == ERuleLogic.OR)
|
|
int32_t L_36 = V_5;
|
|
if ((!(((uint32_t)L_36) == ((uint32_t)1))))
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// if (rule.CellAllow == false)
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_37 = V_3;
|
|
NullCheck(L_37);
|
|
bool L_38 = L_37->___CellAllow_17;
|
|
if (!L_38)
|
|
{
|
|
goto IL_00c8;
|
|
}
|
|
}
|
|
{
|
|
// atLeastOne = true;
|
|
V_0 = (bool)1;
|
|
}
|
|
|
|
IL_00c8:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_39 = V_2;
|
|
V_2 = ((int32_t)il2cpp_codegen_add(L_39, 1));
|
|
}
|
|
|
|
IL_00cc:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_40 = V_2;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_41 = __this->___spawner_25;
|
|
NullCheck(L_41);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_42 = L_41->___Rules_6;
|
|
NullCheck(L_42);
|
|
int32_t L_43;
|
|
L_43 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_42, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_40) < ((int32_t)L_43)))
|
|
{
|
|
goto IL_0028;
|
|
}
|
|
}
|
|
|
|
IL_00e2:
|
|
{
|
|
// if (!broken) if (atLeastOne) internalCellAllow = true;
|
|
bool L_44 = V_1;
|
|
if (L_44)
|
|
{
|
|
goto IL_00ef;
|
|
}
|
|
}
|
|
{
|
|
// if (!broken) if (atLeastOne) internalCellAllow = true;
|
|
bool L_45 = V_0;
|
|
if (!L_45)
|
|
{
|
|
goto IL_00ef;
|
|
}
|
|
}
|
|
{
|
|
// if (!broken) if (atLeastOne) internalCellAllow = true;
|
|
__this->___internalCellAllow_26 = (bool)1;
|
|
}
|
|
|
|
IL_00ef:
|
|
{
|
|
// if (BlockResult == EResult.AllowOrBreakSpawning)
|
|
int32_t L_46 = __this->___BlockResult_27;
|
|
if ((!(((uint32_t)L_46) == ((uint32_t)1))))
|
|
{
|
|
goto IL_0104;
|
|
}
|
|
}
|
|
{
|
|
// CellAllow = internalCellAllow;
|
|
bool L_47 = __this->___internalCellAllow_26;
|
|
((SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6*)__this)->___CellAllow_17 = L_47;
|
|
}
|
|
|
|
IL_0104:
|
|
{
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>)
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF_OnConditionsMetAction_m732B5576419656A9475871F0BA3B6EDF494D1130 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* ___0_mod, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** ___1_thisSpawn, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* ___2_preset, FieldCell_t0474210B4815B1D080500050D625323788B306F9* ___3_cell, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* ___4_grid, 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_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
int32_t V_0 = 0;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* V_1 = NULL;
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE V_2;
|
|
memset((&V_2), 0, sizeof(V_2));
|
|
{
|
|
// if (internalCellAllow == false) { return; }
|
|
bool L_0 = __this->___internalCellAllow_26;
|
|
if (L_0)
|
|
{
|
|
goto IL_0009;
|
|
}
|
|
}
|
|
{
|
|
// if (internalCellAllow == false) { return; }
|
|
return;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
V_0 = 0;
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_000d:
|
|
{
|
|
// var rule = spawner.Rules[i];
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_1 = __this->___spawner_25;
|
|
NullCheck(L_1);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_2 = L_1->___Rules_6;
|
|
int32_t L_3 = V_0;
|
|
NullCheck(L_2);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_4;
|
|
L_4 = List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265(L_2, L_3, List_1_get_Item_m45E05A3D6B98B964514A632844172F057F4F7265_RuntimeMethod_var);
|
|
V_1 = L_4;
|
|
// if (FGenerators.CheckIfIsNull(rule)) continue;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_5 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(FGenerators_t92A1DA9AB9E09186B5AD3CB595DBDA3D69748A48_il2cpp_TypeInfo_var);
|
|
bool L_6;
|
|
L_6 = FGenerators_CheckIfIsNull_m0A8BC8098AB43F8D8595F59BAD148B7F0E078EC7(L_5, NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// if (rule.Enabled == false) continue;
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_7 = V_1;
|
|
NullCheck(L_7);
|
|
bool L_8 = L_7->___Enabled_13;
|
|
if (!L_8)
|
|
{
|
|
goto IL_0052;
|
|
}
|
|
}
|
|
{
|
|
// rule.CellInfluence(preset, mod, cell, ref thisSpawn, grid);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_9 = V_1;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_10 = ___2_preset;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_11 = ___0_mod;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_12 = ___3_cell;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_13 = ___1_thisSpawn;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_14 = ___4_grid;
|
|
il2cpp_codegen_initobj((&V_2), sizeof(Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE));
|
|
Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE L_15 = V_2;
|
|
NullCheck(L_9);
|
|
VirtualActionInvoker6< FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3*, Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE >::Invoke(17 /* System.Void FIMSpace.Generating.SpawnRuleBase::CellInfluence(FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldModification,FIMSpace.Generating.FieldCell,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>,System.Nullable`1<UnityEngine.Vector3>) */, L_9, L_10, L_11, L_12, L_13, L_14, L_15);
|
|
// rule.OnConditionsMetAction(mod, ref thisSpawn, preset, cell, grid);
|
|
SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6* L_16 = V_1;
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_17 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_18 = ___1_thisSpawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_19 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_20 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_21 = ___4_grid;
|
|
NullCheck(L_16);
|
|
VirtualActionInvoker5< FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF*, SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7**, FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926*, FieldCell_t0474210B4815B1D080500050D625323788B306F9*, FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* >::Invoke(18 /* System.Void FIMSpace.Generating.SpawnRuleBase::OnConditionsMetAction(FIMSpace.Generating.FieldModification,FIMSpace.Generating.SpawnData&,FIMSpace.Generating.FieldSetup,FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenGraph`2<FIMSpace.Generating.FieldCell,FIMSpace.Generating.FGenPoint>) */, L_16, L_17, L_18, L_19, L_20, L_21);
|
|
}
|
|
|
|
IL_0052:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_22 = V_0;
|
|
V_0 = ((int32_t)il2cpp_codegen_add(L_22, 1));
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
// for (int i = 0; i < spawner.Rules.Count; i++)
|
|
int32_t L_23 = V_0;
|
|
FieldSpawner_tC6CF9773A949023E34A415DE03EA03A0D51DCBAC* L_24 = __this->___spawner_25;
|
|
NullCheck(L_24);
|
|
List_1_t2C5BD350A183ED7FC52D53399354A241F7A8E490* L_25 = L_24->___Rules_6;
|
|
NullCheck(L_25);
|
|
int32_t L_26;
|
|
L_26 = List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_inline(L_25, List_1_get_Count_m1189F35A3D830D71D391F9F2068F3A411D864D2B_RuntimeMethod_var);
|
|
if ((((int32_t)L_23) < ((int32_t)L_26)))
|
|
{
|
|
goto IL_000d;
|
|
}
|
|
}
|
|
{
|
|
// base.OnConditionsMetAction(mod, ref thisSpawn, preset, cell, grid);
|
|
FieldModification_tAD57B3A23BE6D8C16D90FB193EAE519E83821AEF* L_27 = ___0_mod;
|
|
SpawnData_t974A7A205DB24E47D544B2E1AC4EB2DA53E505A7** L_28 = ___1_thisSpawn;
|
|
FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* L_29 = ___2_preset;
|
|
FieldCell_t0474210B4815B1D080500050D625323788B306F9* L_30 = ___3_cell;
|
|
FGenGraph_2_t7CC3BF28A6305A4145C5052DD5D0F5648B23DCA3* L_31 = ___4_grid;
|
|
SpawnRuleBase_OnConditionsMetAction_m5AC03B564BB1303CCE7F9A0A4FC6B630D6ACF16C(__this, L_27, L_28, L_29, L_30, L_31, NULL);
|
|
// }
|
|
return;
|
|
}
|
|
}
|
|
// System.Void FIMSpace.Generating.Rules.QuickSolutions.SR_LogicBlockIF::.ctor()
|
|
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void SR_LogicBlockIF__ctor_m61859D3FE8795A48399312ABBACD0D22BC58FCA8 (SR_LogicBlockIF_t49AFB5D2EF05FEECDE119768914ABFEEF0422D33* __this, const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
{
|
|
il2cpp_codegen_runtime_class_init_inline(SpawnRuleBase_t9CD95A2C721AF0D65EC305068FCA885AE59A94A6_il2cpp_TypeInfo_var);
|
|
SpawnRuleBase__ctor_mA90F984D2DAA25E31BFAADBB7BF65675A9ABDB90(__this, NULL);
|
|
return;
|
|
}
|
|
}
|
|
#ifdef __clang__
|
|
#pragma clang diagnostic pop
|
|
#endif
|
|
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 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 Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Multiply_m2D984B613020089BF5165BA4CA10988E2DC771FE_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)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(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 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 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 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 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 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 float Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline (float ___0_value, float ___1_min, float ___2_max, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
bool V_1 = false;
|
|
float V_2 = 0.0f;
|
|
{
|
|
float L_0 = ___0_value;
|
|
float L_1 = ___1_min;
|
|
V_0 = (bool)((((float)L_0) < ((float)L_1))? 1 : 0);
|
|
bool L_2 = V_0;
|
|
if (!L_2)
|
|
{
|
|
goto IL_000e;
|
|
}
|
|
}
|
|
{
|
|
float L_3 = ___1_min;
|
|
___0_value = L_3;
|
|
goto IL_0019;
|
|
}
|
|
|
|
IL_000e:
|
|
{
|
|
float L_4 = ___0_value;
|
|
float L_5 = ___2_max;
|
|
V_1 = (bool)((((float)L_4) > ((float)L_5))? 1 : 0);
|
|
bool L_6 = V_1;
|
|
if (!L_6)
|
|
{
|
|
goto IL_0019;
|
|
}
|
|
}
|
|
{
|
|
float L_7 = ___2_max;
|
|
___0_value = L_7;
|
|
}
|
|
|
|
IL_0019:
|
|
{
|
|
float L_8 = ___0_value;
|
|
V_2 = L_8;
|
|
goto IL_001d;
|
|
}
|
|
|
|
IL_001d:
|
|
{
|
|
float L_9 = V_2;
|
|
return L_9;
|
|
}
|
|
}
|
|
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_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 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_LerpUnclamped_mB0B50875D4509E21FF43F4D87610333D55E6A44F_inline (Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___0_a, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_b, float ___2_t, 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.___x_0;
|
|
float L_6 = ___2_t;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_7 = ___0_a;
|
|
float L_8 = L_7.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_9 = ___1_b;
|
|
float L_10 = L_9.___y_1;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_11 = ___0_a;
|
|
float L_12 = L_11.___y_1;
|
|
float L_13 = ___2_t;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_14;
|
|
memset((&L_14), 0, sizeof(L_14));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_14), ((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)))), /*hidden argument*/NULL);
|
|
V_0 = L_14;
|
|
goto IL_0035;
|
|
}
|
|
|
|
IL_0035:
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_15 = V_0;
|
|
return L_15;
|
|
}
|
|
}
|
|
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 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 Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 Vector2_op_Multiply_mC53581E703768BA2512A7C65283657C331994353_inline (float ___0_d, Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 ___1_a, const RuntimeMethod* method)
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_0 = ___1_a;
|
|
float L_1 = L_0.___x_0;
|
|
float L_2 = ___0_d;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_3 = ___1_a;
|
|
float L_4 = L_3.___y_1;
|
|
float L_5 = ___0_d;
|
|
Vector2_t1FD6F485C871E832B347AB2DC8CBA08B739D8DF7 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector2__ctor_m9525B79969AFFE3254B303A40997A56DEEB6F548_inline((&L_6), ((float)il2cpp_codegen_multiply(L_1, L_2)), ((float)il2cpp_codegen_multiply(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 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 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 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 int32_t Mathf_Max_m7FA442918DE37E3A00106D1F2E789D65829792B8_inline (int32_t ___0_a, int32_t ___1_b, const RuntimeMethod* method)
|
|
{
|
|
int32_t V_0 = 0;
|
|
int32_t G_B3_0 = 0;
|
|
{
|
|
int32_t L_0 = ___0_a;
|
|
int32_t L_1 = ___1_b;
|
|
if ((((int32_t)L_0) > ((int32_t)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2 = ___1_b;
|
|
G_B3_0 = L_2;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
int32_t L_3 = ___0_a;
|
|
G_B3_0 = L_3;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
int32_t L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
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 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_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 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 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 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_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_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 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 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_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 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_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 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 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 Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_get_left_m8C1116485A9E689760AEE1142F5977852278B7E1_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))->___leftVector_9;
|
|
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_back_mCA5A84170E8DE5CE38C0551B4CCAD647BF215E57_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))->___backVector_12;
|
|
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_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_Angle_mB16906B482814C140FE5BA9D041D2DC11E42A68D_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___0_from, Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 ___1_to, 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;
|
|
bool V_2 = false;
|
|
float V_3 = 0.0f;
|
|
{
|
|
float L_0;
|
|
L_0 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___0_from), NULL);
|
|
float L_1;
|
|
L_1 = Vector3_get_sqrMagnitude_m43C27DEC47C4811FB30AB474FF2131A963B66FC8_inline((&___1_to), NULL);
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_2;
|
|
L_2 = sqrt(((double)((float)il2cpp_codegen_multiply(L_0, L_1))));
|
|
V_0 = ((float)L_2);
|
|
float L_3 = V_0;
|
|
V_2 = (bool)((((float)L_3) < ((float)(1.0E-15f)))? 1 : 0);
|
|
bool L_4 = V_2;
|
|
if (!L_4)
|
|
{
|
|
goto IL_002c;
|
|
}
|
|
}
|
|
{
|
|
V_3 = (0.0f);
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_002c:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_5 = ___0_from;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___1_to;
|
|
float L_7;
|
|
L_7 = Vector3_Dot_mBB86BB940AA0A32FA7D3C02AC42E5BC7095A5D52_inline(L_5, L_6, NULL);
|
|
float L_8 = V_0;
|
|
float L_9;
|
|
L_9 = Mathf_Clamp_mEB9AEA827D27D20FCC787F7375156AF46BB12BBF_inline(((float)(L_7/L_8)), (-1.0f), (1.0f), NULL);
|
|
V_1 = L_9;
|
|
float L_10 = V_1;
|
|
il2cpp_codegen_runtime_class_init_inline(Math_tEB65DE7CA8B083C412C969C92981C030865486CE_il2cpp_TypeInfo_var);
|
|
double L_11;
|
|
L_11 = acos(((double)L_10));
|
|
V_3 = ((float)il2cpp_codegen_multiply(((float)L_11), (57.2957802f)));
|
|
goto IL_0056;
|
|
}
|
|
|
|
IL_0056:
|
|
{
|
|
float L_12 = V_3;
|
|
return L_12;
|
|
}
|
|
}
|
|
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 float Quaternion_Angle_mAADDBB3C30736B4C7B75CF3A241C1CF5E0386C26_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float V_1 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_a;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_1 = ___1_b;
|
|
float L_2;
|
|
L_2 = Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline(L_0, L_1, NULL);
|
|
float L_3;
|
|
L_3 = fabsf(L_2);
|
|
float L_4;
|
|
L_4 = Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline(L_3, (1.0f), NULL);
|
|
V_0 = L_4;
|
|
float L_5 = V_0;
|
|
bool L_6;
|
|
L_6 = Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline(L_5, NULL);
|
|
if (L_6)
|
|
{
|
|
goto IL_0034;
|
|
}
|
|
}
|
|
{
|
|
float L_7 = V_0;
|
|
float L_8;
|
|
L_8 = acosf(L_7);
|
|
G_B3_0 = ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_multiply(L_8, (2.0f))), (57.2957802f)));
|
|
goto IL_0039;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
G_B3_0 = (0.0f);
|
|
}
|
|
|
|
IL_0039:
|
|
{
|
|
V_1 = G_B3_0;
|
|
goto IL_003c;
|
|
}
|
|
|
|
IL_003c:
|
|
{
|
|
float L_9 = V_1;
|
|
return L_9;
|
|
}
|
|
}
|
|
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 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 Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 Vector3Int_get_zero_m0D0DA069A4982B8DB9F5EE1A26E4CAEEA454FEE2_inline (const RuntimeMethod* method)
|
|
{
|
|
static bool s_Il2CppMethodInitialized;
|
|
if (!s_Il2CppMethodInitialized)
|
|
{
|
|
il2cpp_codegen_initialize_runtime_metadata((uintptr_t*)&Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376_il2cpp_TypeInfo_var);
|
|
s_Il2CppMethodInitialized = true;
|
|
}
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_0 = ((Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376_StaticFields*)il2cpp_codegen_static_fields_for(Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376_il2cpp_TypeInfo_var))->___s_Zero_3;
|
|
V_0 = L_0;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
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 void Vector2Int__ctor_mC20D1312133EB8CB63EC11067088B043660F11CE_inline (Vector2Int_t69B2886EBAB732D9B880565E18E7568F3DE0CE6A* __this, int32_t ___0_x, int32_t ___1_y, 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;
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 Vector3Int_op_Addition_m263A29CC729DFC6216FEA87255C5BA5496D196D1_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_a, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
int32_t L_0;
|
|
L_0 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___0_a), NULL);
|
|
int32_t L_1;
|
|
L_1 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___1_b), NULL);
|
|
int32_t L_2;
|
|
L_2 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___0_a), NULL);
|
|
int32_t L_3;
|
|
L_3 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___1_b), NULL);
|
|
int32_t L_4;
|
|
L_4 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___0_a), NULL);
|
|
int32_t L_5;
|
|
L_5 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___1_b), NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_6), ((int32_t)il2cpp_codegen_add(L_0, L_1)), ((int32_t)il2cpp_codegen_add(L_2, L_3)), ((int32_t)il2cpp_codegen_add(L_4, L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
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 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_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_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 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 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 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 void Vector3_Normalize_mC749B887A4C74BA0A2E13E6377F17CCAEB0AADA8_inline (Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2* __this, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
bool V_1 = false;
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_0 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
|
|
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_002d;
|
|
}
|
|
}
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = (*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this);
|
|
float L_5 = V_0;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6;
|
|
L_6 = Vector3_op_Division_mCC6BB24E372AB96B8380D1678446EF6A8BAE13BB_inline(L_4, L_5, NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this = L_6;
|
|
goto IL_0038;
|
|
}
|
|
|
|
IL_002d:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_7;
|
|
L_7 = Vector3_get_zero_m0C1249C3F25B1C70EAD3CC8B31259975A457AE39_inline(NULL);
|
|
*(Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2*)__this = L_7;
|
|
}
|
|
|
|
IL_0038:
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3_Lerp_m3A906D0530A94FAABB94F0F905E84D99BE85C3F8_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));
|
|
{
|
|
float L_0 = ___2_t;
|
|
float L_1;
|
|
L_1 = Mathf_Clamp01_mA7E048DBDA832D399A581BE4D6DED9FA44CE0F14_inline(L_0, NULL);
|
|
___2_t = L_1;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_2 = ___0_a;
|
|
float L_3 = L_2.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = ___1_b;
|
|
float L_5 = L_4.___x_2;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_6 = ___0_a;
|
|
float L_7 = L_6.___x_2;
|
|
float L_8 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_9 = ___0_a;
|
|
float L_10 = L_9.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_11 = ___1_b;
|
|
float L_12 = L_11.___y_3;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_13 = ___0_a;
|
|
float L_14 = L_13.___y_3;
|
|
float L_15 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_16 = ___0_a;
|
|
float L_17 = L_16.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_18 = ___1_b;
|
|
float L_19 = L_18.___z_4;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_20 = ___0_a;
|
|
float L_21 = L_20.___z_4;
|
|
float L_22 = ___2_t;
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_23;
|
|
memset((&L_23), 0, sizeof(L_23));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_23), ((float)il2cpp_codegen_add(L_3, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_5, L_7)), L_8)))), ((float)il2cpp_codegen_add(L_10, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_12, L_14)), L_15)))), ((float)il2cpp_codegen_add(L_17, ((float)il2cpp_codegen_multiply(((float)il2cpp_codegen_subtract(L_19, L_21)), L_22)))), /*hidden argument*/NULL);
|
|
V_0 = L_23;
|
|
goto IL_0053;
|
|
}
|
|
|
|
IL_0053:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_24 = V_0;
|
|
return L_24;
|
|
}
|
|
}
|
|
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 bool Vector3Int_op_Inequality_mBE6E58893DF1A6BA41E2B4FAB97F4EFBDA857F88_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_lhs, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_0 = ___0_lhs;
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_1 = ___1_rhs;
|
|
bool L_2;
|
|
L_2 = Vector3Int_op_Equality_mB10073AF3B08421C46BF678C8FF64AAD62C83617_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 Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 Vector3Int_op_Implicit_m13297B1F6D07F1E46C0627EAAB8413E637FCA442_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_v, const RuntimeMethod* method)
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
int32_t L_0;
|
|
L_0 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___0_v), NULL);
|
|
int32_t L_1;
|
|
L_1 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___0_v), NULL);
|
|
int32_t L_2;
|
|
L_2 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___0_v), NULL);
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_3;
|
|
memset((&L_3), 0, sizeof(L_3));
|
|
Vector3__ctor_m376936E6B999EF1ECBE57D990A386303E2283DE0_inline((&L_3), ((float)L_0), ((float)L_1), ((float)L_2), /*hidden argument*/NULL);
|
|
V_0 = L_3;
|
|
goto IL_0021;
|
|
}
|
|
|
|
IL_0021:
|
|
{
|
|
Vector3_t24C512C7B96BBABAD472002D0BA2BDA40A5A80B2 L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
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 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 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 List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* FieldSetup_get_CellsCommands_mC80338839F3D9686118A8CC06FB3FDDA528ED4A3_inline (FieldSetup_tC930DB5C21FA8BC444379EB545850A02E9708926* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
// public List<InstructionDefinition> CellsCommands { get { return CellsInstructions; } }
|
|
List_1_t8FBA271E5F5173BEF3A23836630DAC61AF72033A* L_0 = __this->___CellsInstructions_11;
|
|
return L_0;
|
|
}
|
|
}
|
|
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 Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 Vector3Int_op_Subtraction_m837BE23C20AABFF0617622A8738B4D719F50D1DD_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_a, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 V_0;
|
|
memset((&V_0), 0, sizeof(V_0));
|
|
{
|
|
int32_t L_0;
|
|
L_0 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___0_a), NULL);
|
|
int32_t L_1;
|
|
L_1 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___1_b), NULL);
|
|
int32_t L_2;
|
|
L_2 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___0_a), NULL);
|
|
int32_t L_3;
|
|
L_3 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___1_b), NULL);
|
|
int32_t L_4;
|
|
L_4 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___0_a), NULL);
|
|
int32_t L_5;
|
|
L_5 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___1_b), NULL);
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_6;
|
|
memset((&L_6), 0, sizeof(L_6));
|
|
Vector3Int__ctor_mE06A86999D16FA579A7F2142B872AB7E3695C9E0_inline((&L_6), ((int32_t)il2cpp_codegen_subtract(L_0, L_1)), ((int32_t)il2cpp_codegen_subtract(L_2, L_3)), ((int32_t)il2cpp_codegen_subtract(L_4, L_5)), /*hidden argument*/NULL);
|
|
V_0 = L_6;
|
|
goto IL_0036;
|
|
}
|
|
|
|
IL_0036:
|
|
{
|
|
Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 L_7 = V_0;
|
|
return L_7;
|
|
}
|
|
}
|
|
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_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_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 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_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 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_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 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_Clear_mF6795DE5F49C1D0B91D6A0955F448B22970D67A9_gshared_inline (List_1_t05915E9237850A58106982B7FE4BC5DA4E872E73* __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;
|
|
}
|
|
}
|
|
{
|
|
Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C* L_3 = (Int32U5BU5D_t19C97395396A72ECAF310612F0760F165060314C*)__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 bool Func_2_Invoke_m2014423FB900F135C8FF994125604FF9E6AAE829_gshared_inline (Func_2_tE1F0D41563EE092E5E5540B061449FDE88F1DC00* __this, RuntimeObject* ___0_arg, const RuntimeMethod* method)
|
|
{
|
|
typedef bool (*FunctionPointerType) (RuntimeObject*, RuntimeObject*, const RuntimeMethod*);
|
|
return ((FunctionPointerType)__this->___invoke_impl_1)((Il2CppObject*)__this->___method_code_6, ___0_arg, reinterpret_cast<RuntimeMethod*>(__this->___method_3));
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Nullable_1_get_HasValue_m6B76086B0E863AB1D634FD03E30154F230070435_gshared_inline (Nullable_1_t9C51B084784B716FFF4ED4575C63CFD8A71A86FE* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
bool L_0 = (bool)__this->___hasValue_0;
|
|
return L_0;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR int32_t List_1_get_Count_m6280E857DEAC3814D94F3B88F04DF92AE08BE2D9_gshared_inline (List_1_t715D478BBBDA2D9329389DE46BBB4B6E2F6F2F10* __this, const RuntimeMethod* method)
|
|
{
|
|
{
|
|
int32_t L_0 = (int32_t)__this->____size_2;
|
|
return L_0;
|
|
}
|
|
}
|
|
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 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 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 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 float Quaternion_Dot_mF9D3BE33940A47979DADA7E81650AEB356D5D12B_inline (Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___0_a, Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
{
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_0 = ___0_a;
|
|
float L_1 = L_0.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_2 = ___1_b;
|
|
float L_3 = L_2.___x_0;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_4 = ___0_a;
|
|
float L_5 = L_4.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_6 = ___1_b;
|
|
float L_7 = L_6.___y_1;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_8 = ___0_a;
|
|
float L_9 = L_8.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_10 = ___1_b;
|
|
float L_11 = L_10.___z_2;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_12 = ___0_a;
|
|
float L_13 = L_12.___w_3;
|
|
Quaternion_tDA59F214EF07D7700B26E40E562F267AF7306974 L_14 = ___1_b;
|
|
float L_15 = L_14.___w_3;
|
|
V_0 = ((float)il2cpp_codegen_add(((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))));
|
|
goto IL_003b;
|
|
}
|
|
|
|
IL_003b:
|
|
{
|
|
float L_16 = V_0;
|
|
return L_16;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR float Mathf_Min_m747CA71A9483CDB394B13BD0AD048EE17E48FFE4_inline (float ___0_a, float ___1_b, const RuntimeMethod* method)
|
|
{
|
|
float V_0 = 0.0f;
|
|
float G_B3_0 = 0.0f;
|
|
{
|
|
float L_0 = ___0_a;
|
|
float L_1 = ___1_b;
|
|
if ((((float)L_0) < ((float)L_1)))
|
|
{
|
|
goto IL_0008;
|
|
}
|
|
}
|
|
{
|
|
float L_2 = ___1_b;
|
|
G_B3_0 = L_2;
|
|
goto IL_0009;
|
|
}
|
|
|
|
IL_0008:
|
|
{
|
|
float L_3 = ___0_a;
|
|
G_B3_0 = L_3;
|
|
}
|
|
|
|
IL_0009:
|
|
{
|
|
V_0 = G_B3_0;
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
float L_4 = V_0;
|
|
return L_4;
|
|
}
|
|
}
|
|
IL2CPP_MANAGED_FORCE_INLINE IL2CPP_METHOD_ATTR bool Quaternion_IsEqualUsingDot_m9C672201C918C2D1E739F559DBE4406F95997CBD_inline (float ___0_dot, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
{
|
|
float L_0 = ___0_dot;
|
|
V_0 = (bool)((((float)L_0) > ((float)(0.999998987f)))? 1 : 0);
|
|
goto IL_000c;
|
|
}
|
|
|
|
IL_000c:
|
|
{
|
|
bool L_1 = V_0;
|
|
return L_1;
|
|
}
|
|
}
|
|
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 bool Vector3Int_op_Equality_mB10073AF3B08421C46BF678C8FF64AAD62C83617_inline (Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___0_lhs, Vector3Int_t65CB06F557251D18A37BD71F3655BA836A357376 ___1_rhs, const RuntimeMethod* method)
|
|
{
|
|
bool V_0 = false;
|
|
int32_t G_B4_0 = 0;
|
|
{
|
|
int32_t L_0;
|
|
L_0 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___0_lhs), NULL);
|
|
int32_t L_1;
|
|
L_1 = Vector3Int_get_x_m21C268D2AA4C03CE35AA49DF6155347C9748054C_inline((&___1_rhs), NULL);
|
|
if ((!(((uint32_t)L_0) == ((uint32_t)L_1))))
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_2;
|
|
L_2 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___0_lhs), NULL);
|
|
int32_t L_3;
|
|
L_3 = Vector3Int_get_y_m42F43000F85D356557CAF03442273E7AA08F7F72_inline((&___1_rhs), NULL);
|
|
if ((!(((uint32_t)L_2) == ((uint32_t)L_3))))
|
|
{
|
|
goto IL_0033;
|
|
}
|
|
}
|
|
{
|
|
int32_t L_4;
|
|
L_4 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___0_lhs), NULL);
|
|
int32_t L_5;
|
|
L_5 = Vector3Int_get_z_m96E180F866145E373F42358F2371EFF446F08AED_inline((&___1_rhs), NULL);
|
|
G_B4_0 = ((((int32_t)L_4) == ((int32_t)L_5))? 1 : 0);
|
|
goto IL_0034;
|
|
}
|
|
|
|
IL_0033:
|
|
{
|
|
G_B4_0 = 0;
|
|
}
|
|
|
|
IL_0034:
|
|
{
|
|
V_0 = (bool)G_B4_0;
|
|
goto IL_0037;
|
|
}
|
|
|
|
IL_0037:
|
|
{
|
|
bool L_6 = V_0;
|
|
return L_6;
|
|
}
|
|
}
|
|
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;
|
|
}
|
|
}
|