using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.InteropServices; using UnityFusion.CLR.TypeSystem; using UnityFusion.CLR.Method; using UnityFusion.Runtime.Enviorment; using UnityFusion.Runtime.Intepreter; using UnityFusion.Runtime.Stack; using UnityFusion.Reflection; using UnityFusion.CLR.Utils; #if DEBUG && !DISABLE_UNITYFUSION_DEBUG using AutoList = System.Collections.Generic.List; #else using AutoList = UnityFusion.Other.UncheckedList; #endif namespace UnityFusion.Runtime.Generated { unsafe class UnityEngine_UI_GridLayoutGroup_Binding { public static void Register(UnityFusion.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; MethodBase method; Type[] args; Type type = typeof(UnityEngine.UI.GridLayoutGroup); args = new Type[]{}; method = type.GetMethod("get_startCorner", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_startCorner_0); args = new Type[]{typeof(UnityEngine.UI.GridLayoutGroup.Corner)}; method = type.GetMethod("set_startCorner", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_startCorner_1); args = new Type[]{}; method = type.GetMethod("get_startAxis", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_startAxis_2); args = new Type[]{typeof(UnityEngine.UI.GridLayoutGroup.Axis)}; method = type.GetMethod("set_startAxis", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_startAxis_3); args = new Type[]{}; method = type.GetMethod("get_cellSize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_cellSize_4); args = new Type[]{typeof(UnityEngine.Vector2)}; method = type.GetMethod("set_cellSize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_cellSize_5); args = new Type[]{}; method = type.GetMethod("get_spacing", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_spacing_6); args = new Type[]{typeof(UnityEngine.Vector2)}; method = type.GetMethod("set_spacing", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_spacing_7); args = new Type[]{}; method = type.GetMethod("get_constraint", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_constraint_8); args = new Type[]{typeof(UnityEngine.UI.GridLayoutGroup.Constraint)}; method = type.GetMethod("set_constraint", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_constraint_9); args = new Type[]{}; method = type.GetMethod("get_constraintCount", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_constraintCount_10); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_constraintCount", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_constraintCount_11); args = new Type[]{}; method = type.GetMethod("CalculateLayoutInputHorizontal", flag, null, args, null); app.RegisterCLRMethodRedirection(method, CalculateLayoutInputHorizontal_12); args = new Type[]{}; method = type.GetMethod("CalculateLayoutInputVertical", flag, null, args, null); app.RegisterCLRMethodRedirection(method, CalculateLayoutInputVertical_13); args = new Type[]{}; method = type.GetMethod("SetLayoutHorizontal", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetLayoutHorizontal_14); args = new Type[]{}; method = type.GetMethod("SetLayoutVertical", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetLayoutVertical_15); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.UI.GridLayoutGroup[s]); } static StackObject* get_startCorner_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.startCorner; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_startCorner_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup.Corner @value = (UnityEngine.UI.GridLayoutGroup.Corner)typeof(UnityEngine.UI.GridLayoutGroup.Corner).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.startCorner = value; return __ret; } static StackObject* get_startAxis_2(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.startAxis; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_startAxis_3(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup.Axis @value = (UnityEngine.UI.GridLayoutGroup.Axis)typeof(UnityEngine.UI.GridLayoutGroup.Axis).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.startAxis = value; return __ret; } static StackObject* get_cellSize_4(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.cellSize; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_cellSize_5(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector2 @value = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.cellSize = value; return __ret; } static StackObject* get_spacing_6(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.spacing; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_spacing_7(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector2 @value = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.spacing = value; return __ret; } static StackObject* get_constraint_8(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.constraint; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_constraint_9(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup.Constraint @value = (UnityEngine.UI.GridLayoutGroup.Constraint)typeof(UnityEngine.UI.GridLayoutGroup.Constraint).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.constraint = value; return __ret; } static StackObject* get_constraintCount_10(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.constraintCount; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_constraintCount_11(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @value = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.constraintCount = value; return __ret; } static StackObject* CalculateLayoutInputHorizontal_12(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.CalculateLayoutInputHorizontal(); return __ret; } static StackObject* CalculateLayoutInputVertical_13(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.CalculateLayoutInputVertical(); return __ret; } static StackObject* SetLayoutHorizontal_14(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.SetLayoutHorizontal(); return __ret; } static StackObject* SetLayoutVertical_15(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.UI.GridLayoutGroup instance_of_this_method = (UnityEngine.UI.GridLayoutGroup)typeof(UnityEngine.UI.GridLayoutGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.SetLayoutVertical(); return __ret; } } }