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_Light_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.Light); args = new Type[]{}; method = type.GetMethod("get_type", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_type_0); args = new Type[]{typeof(UnityEngine.LightType)}; method = type.GetMethod("set_type", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_type_1); args = new Type[]{}; method = type.GetMethod("get_shape", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shape_2); args = new Type[]{typeof(UnityEngine.LightShape)}; method = type.GetMethod("set_shape", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shape_3); args = new Type[]{}; method = type.GetMethod("get_spotAngle", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_spotAngle_4); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_spotAngle", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_spotAngle_5); args = new Type[]{}; method = type.GetMethod("get_innerSpotAngle", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_innerSpotAngle_6); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_innerSpotAngle", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_innerSpotAngle_7); args = new Type[]{}; method = type.GetMethod("get_color", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_color_8); args = new Type[]{typeof(UnityEngine.Color)}; method = type.GetMethod("set_color", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_color_9); args = new Type[]{}; method = type.GetMethod("get_colorTemperature", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_colorTemperature_10); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_colorTemperature", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_colorTemperature_11); args = new Type[]{}; method = type.GetMethod("get_useColorTemperature", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_useColorTemperature_12); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_useColorTemperature", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_useColorTemperature_13); args = new Type[]{}; method = type.GetMethod("get_intensity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_intensity_14); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_intensity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_intensity_15); args = new Type[]{}; method = type.GetMethod("get_bounceIntensity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_bounceIntensity_16); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_bounceIntensity", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_bounceIntensity_17); args = new Type[]{}; method = type.GetMethod("get_useBoundingSphereOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_useBoundingSphereOverride_18); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_useBoundingSphereOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_useBoundingSphereOverride_19); args = new Type[]{}; method = type.GetMethod("get_boundingSphereOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_boundingSphereOverride_20); args = new Type[]{typeof(UnityEngine.Vector4)}; method = type.GetMethod("set_boundingSphereOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_boundingSphereOverride_21); args = new Type[]{}; method = type.GetMethod("get_useViewFrustumForShadowCasterCull", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_useViewFrustumForShadowCasterCull_22); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_useViewFrustumForShadowCasterCull", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_useViewFrustumForShadowCasterCull_23); args = new Type[]{}; method = type.GetMethod("get_shadowCustomResolution", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shadowCustomResolution_24); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_shadowCustomResolution", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shadowCustomResolution_25); args = new Type[]{}; method = type.GetMethod("get_shadowBias", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shadowBias_26); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_shadowBias", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shadowBias_27); args = new Type[]{}; method = type.GetMethod("get_shadowNormalBias", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shadowNormalBias_28); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_shadowNormalBias", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shadowNormalBias_29); args = new Type[]{}; method = type.GetMethod("get_shadowNearPlane", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shadowNearPlane_30); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_shadowNearPlane", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shadowNearPlane_31); args = new Type[]{}; method = type.GetMethod("get_useShadowMatrixOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_useShadowMatrixOverride_32); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_useShadowMatrixOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_useShadowMatrixOverride_33); args = new Type[]{}; method = type.GetMethod("get_shadowMatrixOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_shadowMatrixOverride_34); args = new Type[]{typeof(UnityEngine.Matrix4x4)}; method = type.GetMethod("set_shadowMatrixOverride", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_shadowMatrixOverride_35); args = new Type[]{}; method = type.GetMethod("get_range", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_range_36); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_range", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_range_37); args = new Type[]{}; method = type.GetMethod("get_flare", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_flare_38); args = new Type[]{typeof(UnityEngine.Flare)}; method = type.GetMethod("set_flare", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_flare_39); args = new Type[]{}; method = type.GetMethod("get_bakingOutput", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_bakingOutput_40); args = new Type[]{typeof(UnityEngine.LightBakingOutput)}; method = type.GetMethod("set_bakingOutput", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_bakingOutput_41); args = new Type[]{}; method = type.GetMethod("get_cullingMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_cullingMask_42); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_cullingMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_cullingMask_43); args = new Type[]{}; method = type.GetMethod("get_renderingLayerMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_renderingLayerMask_44); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_renderingLayerMask", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_renderingLayerMask_45); args = new Type[]{}; method = type.GetMethod("get_lightShadowCasterMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_lightShadowCasterMode_46); args = new Type[]{typeof(UnityEngine.LightShadowCasterMode)}; method = type.GetMethod("set_lightShadowCasterMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_lightShadowCasterMode_47); args = new Type[]{}; // method = type.GetMethod("get_shadowRadius", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_shadowRadius_48); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_shadowRadius", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_shadowRadius_49); // args = new Type[]{}; // method = type.GetMethod("get_shadowAngle", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_shadowAngle_50); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_shadowAngle", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_shadowAngle_51); // args = new Type[]{}; // method = type.GetMethod("Reset", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, Reset_52); // args = new Type[]{}; // method = type.GetMethod("get_shadows", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_shadows_53); // args = new Type[]{typeof(UnityEngine.LightShadows)}; // method = type.GetMethod("set_shadows", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_shadows_54); // args = new Type[]{}; // method = type.GetMethod("get_shadowStrength", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_shadowStrength_55); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_shadowStrength", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_shadowStrength_56); // args = new Type[]{}; // method = type.GetMethod("get_shadowResolution", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_shadowResolution_57); // args = new Type[]{typeof(UnityEngine.Rendering.LightShadowResolution)}; // method = type.GetMethod("set_shadowResolution", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_shadowResolution_58); // args = new Type[]{}; // method = type.GetMethod("get_layerShadowCullDistances", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_layerShadowCullDistances_59); // args = new Type[]{typeof(System.Single[])}; // method = type.GetMethod("set_layerShadowCullDistances", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_layerShadowCullDistances_60); // args = new Type[]{}; // method = type.GetMethod("get_cookieSize", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_cookieSize_61); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_cookieSize", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_cookieSize_62); // args = new Type[]{}; // method = type.GetMethod("get_cookie", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_cookie_63); // args = new Type[]{typeof(UnityEngine.Texture)}; // method = type.GetMethod("set_cookie", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_cookie_64); // args = new Type[]{}; // method = type.GetMethod("get_renderMode", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_renderMode_65); // args = new Type[]{typeof(UnityEngine.LightRenderMode)}; // method = type.GetMethod("set_renderMode", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_renderMode_66); // args = new Type[]{}; // method = type.GetMethod("get_areaSize", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_areaSize_67); // args = new Type[]{typeof(UnityEngine.Vector2)}; // method = type.GetMethod("set_areaSize", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_areaSize_68); // args = new Type[]{}; // method = type.GetMethod("get_lightmapBakeType", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_lightmapBakeType_69); // args = new Type[]{typeof(UnityEngine.LightmapBakeType)}; // method = type.GetMethod("set_lightmapBakeType", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_lightmapBakeType_70); // args = new Type[]{}; // method = type.GetMethod("SetLightDirty", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, SetLightDirty_71); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent), typeof(UnityEngine.Rendering.CommandBuffer)}; method = type.GetMethod("AddCommandBuffer", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddCommandBuffer_72); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent), typeof(UnityEngine.Rendering.CommandBuffer), typeof(UnityEngine.Rendering.ShadowMapPass)}; method = type.GetMethod("AddCommandBuffer", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddCommandBuffer_73); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent), typeof(UnityEngine.Rendering.CommandBuffer), typeof(UnityEngine.Rendering.ComputeQueueType)}; method = type.GetMethod("AddCommandBufferAsync", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddCommandBufferAsync_74); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent), typeof(UnityEngine.Rendering.CommandBuffer), typeof(UnityEngine.Rendering.ShadowMapPass), typeof(UnityEngine.Rendering.ComputeQueueType)}; method = type.GetMethod("AddCommandBufferAsync", flag, null, args, null); app.RegisterCLRMethodRedirection(method, AddCommandBufferAsync_75); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent), typeof(UnityEngine.Rendering.CommandBuffer)}; method = type.GetMethod("RemoveCommandBuffer", flag, null, args, null); app.RegisterCLRMethodRedirection(method, RemoveCommandBuffer_76); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent)}; method = type.GetMethod("RemoveCommandBuffers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, RemoveCommandBuffers_77); args = new Type[]{}; method = type.GetMethod("RemoveAllCommandBuffers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, RemoveAllCommandBuffers_78); args = new Type[]{typeof(UnityEngine.Rendering.LightEvent)}; method = type.GetMethod("GetCommandBuffers", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetCommandBuffers_79); args = new Type[]{}; method = type.GetMethod("get_commandBufferCount", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_commandBufferCount_80); app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.Light()); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.Light[s]); args = new Type[]{}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); } static StackObject* get_type_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.type; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_type_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.LightType @value = (UnityEngine.LightType)typeof(UnityEngine.LightType).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.type = value; return __ret; } static StackObject* get_shape_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shape; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_shape_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.LightShape @value = (UnityEngine.LightShape)typeof(UnityEngine.LightShape).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shape = value; return __ret; } static StackObject* get_spotAngle_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.spotAngle; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_spotAngle_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); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.spotAngle = value; return __ret; } static StackObject* get_innerSpotAngle_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.innerSpotAngle; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_innerSpotAngle_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); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.innerSpotAngle = value; return __ret; } static StackObject* get_color_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.color; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_color_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.Color @value = (UnityEngine.Color)typeof(UnityEngine.Color).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.color = value; return __ret; } static StackObject* get_colorTemperature_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.colorTemperature; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_colorTemperature_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.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.colorTemperature = value; return __ret; } static StackObject* get_useColorTemperature_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.useColorTemperature; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_useColorTemperature_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.useColorTemperature = value; return __ret; } static StackObject* get_intensity_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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.intensity; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_intensity_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.intensity = value; return __ret; } static StackObject* get_bounceIntensity_16(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.bounceIntensity; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_bounceIntensity_17(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.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.bounceIntensity = value; return __ret; } static StackObject* get_useBoundingSphereOverride_18(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.useBoundingSphereOverride; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_useBoundingSphereOverride_19(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.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.useBoundingSphereOverride = value; return __ret; } static StackObject* get_boundingSphereOverride_20(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.boundingSphereOverride; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_boundingSphereOverride_21(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.Vector4 @value = (UnityEngine.Vector4)typeof(UnityEngine.Vector4).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.boundingSphereOverride = value; return __ret; } static StackObject* get_useViewFrustumForShadowCasterCull_22(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.useViewFrustumForShadowCasterCull; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_useViewFrustumForShadowCasterCull_23(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.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.useViewFrustumForShadowCasterCull = value; return __ret; } static StackObject* get_shadowCustomResolution_24(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shadowCustomResolution; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_shadowCustomResolution_25(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shadowCustomResolution = value; return __ret; } static StackObject* get_shadowBias_26(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shadowBias; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_shadowBias_27(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.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shadowBias = value; return __ret; } static StackObject* get_shadowNormalBias_28(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shadowNormalBias; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_shadowNormalBias_29(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.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shadowNormalBias = value; return __ret; } static StackObject* get_shadowNearPlane_30(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shadowNearPlane; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_shadowNearPlane_31(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.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shadowNearPlane = value; return __ret; } static StackObject* get_useShadowMatrixOverride_32(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.useShadowMatrixOverride; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_useShadowMatrixOverride_33(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.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.useShadowMatrixOverride = value; return __ret; } static StackObject* get_shadowMatrixOverride_34(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.shadowMatrixOverride; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_shadowMatrixOverride_35(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.Matrix4x4 @value = (UnityEngine.Matrix4x4)typeof(UnityEngine.Matrix4x4).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.shadowMatrixOverride = value; return __ret; } static StackObject* get_range_36(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.range; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_range_37(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.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.range = value; return __ret; } static StackObject* get_flare_38(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.flare; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_flare_39(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.Flare @value = (UnityEngine.Flare)typeof(UnityEngine.Flare).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, 2); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.flare = value; return __ret; } static StackObject* get_bakingOutput_40(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.bakingOutput; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_bakingOutput_41(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.LightBakingOutput @value = (UnityEngine.LightBakingOutput)typeof(UnityEngine.LightBakingOutput).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.bakingOutput = value; return __ret; } static StackObject* get_cullingMask_42(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.cullingMask; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_cullingMask_43(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.cullingMask = value; return __ret; } static StackObject* get_renderingLayerMask_44(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.renderingLayerMask; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_renderingLayerMask_45(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.renderingLayerMask = value; return __ret; } static StackObject* get_lightShadowCasterMode_46(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.lightShadowCasterMode; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_lightShadowCasterMode_47(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.LightShadowCasterMode @value = (UnityEngine.LightShadowCasterMode)typeof(UnityEngine.LightShadowCasterMode).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.lightShadowCasterMode = value; return __ret; } // static StackObject* get_shadowRadius_48(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.shadowRadius; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // static StackObject* set_shadowRadius_49(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.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.shadowRadius = value; // // return __ret; // } // static StackObject* get_shadowAngle_50(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.shadowAngle; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // static StackObject* set_shadowAngle_51(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.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.shadowAngle = value; // // return __ret; // } // static StackObject* Reset_52(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.Reset(); // // return __ret; // } // static StackObject* get_shadows_53(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.shadows; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_shadows_54(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.LightShadows @value = (UnityEngine.LightShadows)typeof(UnityEngine.LightShadows).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.shadows = value; // // return __ret; // } // static StackObject* get_shadowStrength_55(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.shadowStrength; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // static StackObject* set_shadowStrength_56(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.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.shadowStrength = value; // // return __ret; // } // static StackObject* get_shadowResolution_57(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.shadowResolution; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_shadowResolution_58(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.Rendering.LightShadowResolution @value = (UnityEngine.Rendering.LightShadowResolution)typeof(UnityEngine.Rendering.LightShadowResolution).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.shadowResolution = value; // // return __ret; // } // static StackObject* get_layerShadowCullDistances_59(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.layerShadowCullDistances; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_layerShadowCullDistances_60(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.Single[] @value = (System.Single[])typeof(System.Single[]).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, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.layerShadowCullDistances = value; // // return __ret; // } // static StackObject* get_cookieSize_61(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.cookieSize; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // static StackObject* set_cookieSize_62(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.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.cookieSize = value; // // return __ret; // } // static StackObject* get_cookie_63(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.cookie; // // object obj_result_of_this_method = result_of_this_method; // if(obj_result_of_this_method is CrossBindingAdaptorType) // { // return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance); // } // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_cookie_64(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.Texture @value = (UnityEngine.Texture)typeof(UnityEngine.Texture).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, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.cookie = value; // // return __ret; // } // static StackObject* get_renderMode_65(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.renderMode; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_renderMode_66(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.LightRenderMode @value = (UnityEngine.LightRenderMode)typeof(UnityEngine.LightRenderMode).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.renderMode = value; // // return __ret; // } // static StackObject* get_areaSize_67(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.areaSize; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_areaSize_68(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), (CLR.Utils.Extensions.TypeFlags)16); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.areaSize = value; // // return __ret; // } // static StackObject* get_lightmapBakeType_69(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.lightmapBakeType; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // static StackObject* set_lightmapBakeType_70(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.LightmapBakeType @value = (UnityEngine.LightmapBakeType)typeof(UnityEngine.LightmapBakeType).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.lightmapBakeType = value; // // return __ret; // } // static StackObject* SetLightDirty_71(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.SetLightDirty(); // // return __ret; // } static StackObject* AddCommandBuffer_72(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.Rendering.CommandBuffer @buffer = (UnityEngine.Rendering.CommandBuffer)typeof(UnityEngine.Rendering.CommandBuffer).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, 2); UnityEngine.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddCommandBuffer(@evt, @buffer); return __ret; } static StackObject* AddCommandBuffer_73(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.Rendering.ShadowMapPass @shadowPassMask = (UnityEngine.Rendering.ShadowMapPass)typeof(UnityEngine.Rendering.ShadowMapPass).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.Rendering.CommandBuffer @buffer = (UnityEngine.Rendering.CommandBuffer)typeof(UnityEngine.Rendering.CommandBuffer).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.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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, 4); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddCommandBuffer(@evt, @buffer, @shadowPassMask); return __ret; } static StackObject* AddCommandBufferAsync_74(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.Rendering.ComputeQueueType @queueType = (UnityEngine.Rendering.ComputeQueueType)typeof(UnityEngine.Rendering.ComputeQueueType).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.Rendering.CommandBuffer @buffer = (UnityEngine.Rendering.CommandBuffer)typeof(UnityEngine.Rendering.CommandBuffer).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.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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, 4); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddCommandBufferAsync(@evt, @buffer, @queueType); return __ret; } static StackObject* AddCommandBufferAsync_75(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.Rendering.ComputeQueueType @queueType = (UnityEngine.Rendering.ComputeQueueType)typeof(UnityEngine.Rendering.ComputeQueueType).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.Rendering.ShadowMapPass @shadowPassMask = (UnityEngine.Rendering.ShadowMapPass)typeof(UnityEngine.Rendering.ShadowMapPass).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.Rendering.CommandBuffer @buffer = (UnityEngine.Rendering.CommandBuffer)typeof(UnityEngine.Rendering.CommandBuffer).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.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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, 5); UnityEngine.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.AddCommandBufferAsync(@evt, @buffer, @shadowPassMask, @queueType); return __ret; } static StackObject* RemoveCommandBuffer_76(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.Rendering.CommandBuffer @buffer = (UnityEngine.Rendering.CommandBuffer)typeof(UnityEngine.Rendering.CommandBuffer).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, 2); UnityEngine.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.RemoveCommandBuffer(@evt, @buffer); return __ret; } static StackObject* RemoveCommandBuffers_77(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.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.RemoveCommandBuffers(@evt); return __ret; } static StackObject* RemoveAllCommandBuffers_78(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.RemoveAllCommandBuffers(); return __ret; } static StackObject* GetCommandBuffers_79(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.Rendering.LightEvent @evt = (UnityEngine.Rendering.LightEvent)typeof(UnityEngine.Rendering.LightEvent).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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.GetCommandBuffers(@evt); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_commandBufferCount_80(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.Light instance_of_this_method = (UnityEngine.Light)typeof(UnityEngine.Light).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.commandBufferCount; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* __ret = ILIntepreter.Minus(__esp, 0); var result_of_this_method = new UnityEngine.Light(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } }