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_GridBrushBase_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.GridBrushBase); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.Vector3Int)}; method = type.GetMethod("Paint", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Paint_0); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.Vector3Int)}; method = type.GetMethod("Erase", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Erase_1); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt)}; method = type.GetMethod("BoxFill", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BoxFill_2); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt)}; method = type.GetMethod("BoxErase", flag, null, args, null); app.RegisterCLRMethodRedirection(method, BoxErase_3); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt)}; method = type.GetMethod("Select", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Select_4); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.Vector3Int)}; method = type.GetMethod("FloodFill", flag, null, args, null); app.RegisterCLRMethodRedirection(method, FloodFill_5); args = new Type[]{typeof(UnityEngine.GridBrushBase.RotationDirection), typeof(UnityEngine.GridLayout.CellLayout)}; method = type.GetMethod("Rotate", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Rotate_6); args = new Type[]{typeof(UnityEngine.GridBrushBase.FlipAxis), typeof(UnityEngine.GridLayout.CellLayout)}; method = type.GetMethod("Flip", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Flip_7); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt), typeof(UnityEngine.Vector3Int)}; method = type.GetMethod("Pick", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Pick_8); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt), typeof(UnityEngine.BoundsInt)}; method = type.GetMethod("Move", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Move_9); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt)}; method = type.GetMethod("MoveStart", flag, null, args, null); app.RegisterCLRMethodRedirection(method, MoveStart_10); args = new Type[]{typeof(UnityEngine.GridLayout), typeof(UnityEngine.GameObject), typeof(UnityEngine.BoundsInt)}; method = type.GetMethod("MoveEnd", flag, null, args, null); app.RegisterCLRMethodRedirection(method, MoveEnd_11); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("ChangeZPosition", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ChangeZPosition_12); args = new Type[]{}; method = type.GetMethod("ResetZPosition", flag, null, args, null); app.RegisterCLRMethodRedirection(method, ResetZPosition_13); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.GridBrushBase[s]); } static StackObject* Paint_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3Int @position = (UnityEngine.Vector3Int)typeof(UnityEngine.Vector3Int).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Paint(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* Erase_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3Int @position = (UnityEngine.Vector3Int)typeof(UnityEngine.Vector3Int).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Erase(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* BoxFill_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.BoundsInt @position = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.BoxFill(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* BoxErase_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.BoundsInt @position = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.BoxErase(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* Select_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.BoundsInt @position = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Select(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* FloodFill_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3Int @position = (UnityEngine.Vector3Int)typeof(UnityEngine.Vector3Int).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.FloodFill(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* Rotate_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.GridLayout.CellLayout @layout = (UnityEngine.GridLayout.CellLayout)typeof(UnityEngine.GridLayout.CellLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GridBrushBase.RotationDirection @direction = (UnityEngine.GridBrushBase.RotationDirection)typeof(UnityEngine.GridBrushBase.RotationDirection).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Rotate(@direction, @layout); return __ret; } static StackObject* Flip_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.GridLayout.CellLayout @layout = (UnityEngine.GridLayout.CellLayout)typeof(UnityEngine.GridLayout.CellLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GridBrushBase.FlipAxis @flip = (UnityEngine.GridBrushBase.FlipAxis)typeof(UnityEngine.GridBrushBase.FlipAxis).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Flip(@flip, @layout); return __ret; } static StackObject* Pick_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, 5); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.Vector3Int @pivot = (UnityEngine.Vector3Int)typeof(UnityEngine.Vector3Int).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.BoundsInt @position = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Pick(@gridLayout, @brushTarget, @position, @pivot); return __ret; } static StackObject* Move_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, 5); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.BoundsInt @to = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.BoundsInt @from = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Move(@gridLayout, @brushTarget, @from, @to); return __ret; } static StackObject* MoveStart_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.BoundsInt @position = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.MoveStart(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* MoveEnd_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, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.BoundsInt @position = (UnityEngine.BoundsInt)typeof(UnityEngine.BoundsInt).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GameObject @brushTarget = (UnityEngine.GameObject)typeof(UnityEngine.GameObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.GridLayout @gridLayout = (UnityEngine.GridLayout)typeof(UnityEngine.GridLayout).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 4); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.MoveEnd(@gridLayout, @brushTarget, @position); return __ret; } static StackObject* ChangeZPosition_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @change = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.ChangeZPosition(@change); return __ret; } static StackObject* ResetZPosition_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.GridBrushBase instance_of_this_method = (UnityEngine.GridBrushBase)typeof(UnityEngine.GridBrushBase).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.ResetZPosition(); return __ret; } } }