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_AudioSource_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.AudioSource); args = new Type[]{}; method = type.GetMethod("get_volume", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_volume_0); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_volume", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_volume_1); args = new Type[]{}; method = type.GetMethod("get_pitch", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_pitch_2); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_pitch", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_pitch_3); args = new Type[]{}; method = type.GetMethod("get_time", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_time_4); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("set_time", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_time_5); args = new Type[]{}; method = type.GetMethod("get_timeSamples", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_timeSamples_6); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_timeSamples", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_timeSamples_7); args = new Type[]{}; method = type.GetMethod("get_clip", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_clip_8); args = new Type[]{typeof(UnityEngine.AudioClip)}; method = type.GetMethod("set_clip", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_clip_9); args = new Type[]{}; method = type.GetMethod("get_outputAudioMixerGroup", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_outputAudioMixerGroup_10); args = new Type[]{typeof(UnityEngine.Audio.AudioMixerGroup)}; method = type.GetMethod("set_outputAudioMixerGroup", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_outputAudioMixerGroup_11); args = new Type[]{}; method = type.GetMethod("Play", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Play_12); args = new Type[]{typeof(System.UInt64)}; method = type.GetMethod("Play", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Play_13); args = new Type[]{typeof(System.Single)}; method = type.GetMethod("PlayDelayed", flag, null, args, null); app.RegisterCLRMethodRedirection(method, PlayDelayed_14); args = new Type[]{typeof(System.Double)}; method = type.GetMethod("PlayScheduled", flag, null, args, null); app.RegisterCLRMethodRedirection(method, PlayScheduled_15); args = new Type[]{typeof(UnityEngine.AudioClip)}; method = type.GetMethod("PlayOneShot", flag, null, args, null); app.RegisterCLRMethodRedirection(method, PlayOneShot_16); args = new Type[]{typeof(UnityEngine.AudioClip), typeof(System.Single)}; method = type.GetMethod("PlayOneShot", flag, null, args, null); app.RegisterCLRMethodRedirection(method, PlayOneShot_17); args = new Type[]{typeof(System.Double)}; method = type.GetMethod("SetScheduledStartTime", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetScheduledStartTime_18); args = new Type[]{typeof(System.Double)}; method = type.GetMethod("SetScheduledEndTime", flag, null, args, null); app.RegisterCLRMethodRedirection(method, SetScheduledEndTime_19); args = new Type[]{}; method = type.GetMethod("Stop", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Stop_20); args = new Type[]{}; method = type.GetMethod("Pause", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Pause_21); args = new Type[]{}; method = type.GetMethod("UnPause", flag, null, args, null); app.RegisterCLRMethodRedirection(method, UnPause_22); args = new Type[]{}; method = type.GetMethod("get_isPlaying", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_isPlaying_23); args = new Type[]{}; method = type.GetMethod("get_isVirtual", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_isVirtual_24); args = new Type[]{typeof(UnityEngine.AudioClip), typeof(UnityEngine.Vector3)}; method = type.GetMethod("PlayClipAtPoint", flag, null, args, null); app.RegisterCLRMethodRedirection(method, PlayClipAtPoint_25); args = new Type[]{typeof(UnityEngine.AudioClip), typeof(UnityEngine.Vector3), typeof(System.Single)}; method = type.GetMethod("PlayClipAtPoint", flag, null, args, null); app.RegisterCLRMethodRedirection(method, PlayClipAtPoint_26); args = new Type[]{}; method = type.GetMethod("get_loop", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_loop_27); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_loop", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_loop_28); args = new Type[]{}; method = type.GetMethod("get_ignoreListenerVolume", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_ignoreListenerVolume_29); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_ignoreListenerVolume", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_ignoreListenerVolume_30); args = new Type[]{}; method = type.GetMethod("get_playOnAwake", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_playOnAwake_31); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_playOnAwake", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_playOnAwake_32); args = new Type[]{}; method = type.GetMethod("get_ignoreListenerPause", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_ignoreListenerPause_33); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_ignoreListenerPause", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_ignoreListenerPause_34); args = new Type[]{}; method = type.GetMethod("get_velocityUpdateMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_velocityUpdateMode_35); args = new Type[]{typeof(UnityEngine.AudioVelocityUpdateMode)}; method = type.GetMethod("set_velocityUpdateMode", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_velocityUpdateMode_36); // args = new Type[]{}; // method = type.GetMethod("get_panStereo", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_panStereo_37); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_panStereo", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_panStereo_38); // args = new Type[]{}; // method = type.GetMethod("get_spatialBlend", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_spatialBlend_39); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_spatialBlend", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_spatialBlend_40); // args = new Type[]{}; // method = type.GetMethod("get_spatialize", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_spatialize_41); // args = new Type[]{typeof(System.Boolean)}; // method = type.GetMethod("set_spatialize", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_spatialize_42); // args = new Type[]{}; // method = type.GetMethod("get_spatializePostEffects", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_spatializePostEffects_43); // args = new Type[]{typeof(System.Boolean)}; // method = type.GetMethod("set_spatializePostEffects", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_spatializePostEffects_44); // args = new Type[]{typeof(UnityEngine.AudioSourceCurveType), typeof(UnityEngine.AnimationCurve)}; // method = type.GetMethod("SetCustomCurve", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, SetCustomCurve_45); // args = new Type[]{typeof(UnityEngine.AudioSourceCurveType)}; // method = type.GetMethod("GetCustomCurve", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, GetCustomCurve_46); // args = new Type[]{}; // method = type.GetMethod("get_reverbZoneMix", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_reverbZoneMix_47); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_reverbZoneMix", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_reverbZoneMix_48); // args = new Type[]{}; // method = type.GetMethod("get_bypassEffects", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_bypassEffects_49); // args = new Type[]{typeof(System.Boolean)}; // method = type.GetMethod("set_bypassEffects", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_bypassEffects_50); // args = new Type[]{}; // method = type.GetMethod("get_bypassListenerEffects", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_bypassListenerEffects_51); // args = new Type[]{typeof(System.Boolean)}; // method = type.GetMethod("set_bypassListenerEffects", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_bypassListenerEffects_52); // args = new Type[]{}; // method = type.GetMethod("get_bypassReverbZones", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_bypassReverbZones_53); // args = new Type[]{typeof(System.Boolean)}; // method = type.GetMethod("set_bypassReverbZones", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_bypassReverbZones_54); // args = new Type[]{}; // method = type.GetMethod("get_dopplerLevel", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_dopplerLevel_55); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_dopplerLevel", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_dopplerLevel_56); // args = new Type[]{}; // method = type.GetMethod("get_spread", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_spread_57); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_spread", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_spread_58); args = new Type[]{}; method = type.GetMethod("get_priority", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_priority_59); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("set_priority", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_priority_60); args = new Type[]{}; method = type.GetMethod("get_mute", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_mute_61); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("set_mute", flag, null, args, null); app.RegisterCLRMethodRedirection(method, set_mute_62); // args = new Type[]{}; // method = type.GetMethod("get_minDistance", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_minDistance_63); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_minDistance", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_minDistance_64); // args = new Type[]{}; // method = type.GetMethod("get_maxDistance", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_maxDistance_65); // args = new Type[]{typeof(System.Single)}; // method = type.GetMethod("set_maxDistance", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_maxDistance_66); // args = new Type[]{}; // method = type.GetMethod("get_rolloffMode", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, get_rolloffMode_67); // args = new Type[]{typeof(UnityEngine.AudioRolloffMode)}; // method = type.GetMethod("set_rolloffMode", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, set_rolloffMode_68); // args = new Type[]{typeof(System.Single[]), typeof(System.Int32)}; // method = type.GetMethod("GetOutputData", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, GetOutputData_69); // args = new Type[]{typeof(System.Single[]), typeof(System.Int32), typeof(UnityEngine.FFTWindow)}; // method = type.GetMethod("GetSpectrumData", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, GetSpectrumData_70); // args = new Type[]{typeof(System.Int32), typeof(System.Single)}; // method = type.GetMethod("SetSpatializerFloat", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, SetSpatializerFloat_71); // args = new Type[]{typeof(System.Int32), typeof(System.Single).MakeByRefType()}; // method = type.GetMethod("GetSpatializerFloat", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, GetSpatializerFloat_72); // args = new Type[]{typeof(System.Int32), typeof(System.Single).MakeByRefType()}; // method = type.GetMethod("GetAmbisonicDecoderFloat", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, GetAmbisonicDecoderFloat_73); // args = new Type[]{typeof(System.Int32), typeof(System.Single)}; // method = type.GetMethod("SetAmbisonicDecoderFloat", flag, null, args, null); // app.RegisterCLRMethodRedirection(method, SetAmbisonicDecoderFloat_74); app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.AudioSource()); app.RegisterCLRCreateArrayInstance(type, s => new UnityEngine.AudioSource[s]); args = new Type[]{}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); } static StackObject* get_volume_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.volume; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_volume_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); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.volume = value; return __ret; } static StackObject* get_pitch_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.pitch; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_pitch_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); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.pitch = value; return __ret; } static StackObject* get_time_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.time; __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_time_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.time = value; return __ret; } static StackObject* get_timeSamples_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.timeSamples; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_timeSamples_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.Int32 @value = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.timeSamples = value; return __ret; } static StackObject* get_clip_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.clip; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_clip_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.AudioClip @value = (UnityEngine.AudioClip)typeof(UnityEngine.AudioClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.clip = value; return __ret; } static StackObject* get_outputAudioMixerGroup_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.outputAudioMixerGroup; 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_outputAudioMixerGroup_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); UnityEngine.Audio.AudioMixerGroup @value = (UnityEngine.Audio.AudioMixerGroup)typeof(UnityEngine.Audio.AudioMixerGroup).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.outputAudioMixerGroup = value; return __ret; } static StackObject* Play_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Play(); return __ret; } static StackObject* Play_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.UInt64 @delay = *(ulong*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Play(@delay); return __ret; } static StackObject* PlayDelayed_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @delay = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.PlayDelayed(@delay); return __ret; } static StackObject* PlayScheduled_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.Double @time = *(double*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.PlayScheduled(@time); return __ret; } static StackObject* PlayOneShot_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioClip @clip = (UnityEngine.AudioClip)typeof(UnityEngine.AudioClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.PlayOneShot(@clip); return __ret; } static StackObject* PlayOneShot_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @volumeScale = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioClip @clip = (UnityEngine.AudioClip)typeof(UnityEngine.AudioClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.PlayOneShot(@clip, @volumeScale); return __ret; } static StackObject* SetScheduledStartTime_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Double @time = *(double*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.SetScheduledStartTime(@time); return __ret; } static StackObject* SetScheduledEndTime_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.Double @time = *(double*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.SetScheduledEndTime(@time); return __ret; } static StackObject* Stop_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Stop(); return __ret; } static StackObject* Pause_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.Pause(); return __ret; } static StackObject* UnPause_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.UnPause(); return __ret; } static StackObject* get_isPlaying_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.isPlaying; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* get_isVirtual_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.isVirtual; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* PlayClipAtPoint_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); UnityEngine.Vector3 @position = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioClip @clip = (UnityEngine.AudioClip)typeof(UnityEngine.AudioClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); UnityEngine.AudioSource.PlayClipAtPoint(@clip, @position); return __ret; } static StackObject* PlayClipAtPoint_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Single @volume = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.Vector3 @position = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 3); UnityEngine.AudioClip @clip = (UnityEngine.AudioClip)typeof(UnityEngine.AudioClip).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); UnityEngine.AudioSource.PlayClipAtPoint(@clip, @position, @volume); return __ret; } static StackObject* get_loop_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.loop; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_loop_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.loop = value; return __ret; } static StackObject* get_ignoreListenerVolume_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.ignoreListenerVolume; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_ignoreListenerVolume_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.ignoreListenerVolume = value; return __ret; } static StackObject* get_playOnAwake_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.playOnAwake; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_playOnAwake_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.playOnAwake = value; return __ret; } static StackObject* get_ignoreListenerPause_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.ignoreListenerPause; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_ignoreListenerPause_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.ignoreListenerPause = value; return __ret; } static StackObject* get_velocityUpdateMode_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.velocityUpdateMode; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* set_velocityUpdateMode_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.AudioVelocityUpdateMode @value = (UnityEngine.AudioVelocityUpdateMode)typeof(UnityEngine.AudioVelocityUpdateMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.velocityUpdateMode = value; return __ret; } // static StackObject* get_panStereo_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.panStereo; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_panStereo_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.panStereo = value; // // return __ret; // } // // static StackObject* get_spatialBlend_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.spatialBlend; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_spatialBlend_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.spatialBlend = value; // // return __ret; // } // // static StackObject* get_spatialize_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.spatialize; // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* set_spatialize_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.spatialize = value; // // return __ret; // } // // static StackObject* get_spatializePostEffects_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.spatializePostEffects; // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* set_spatializePostEffects_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.spatializePostEffects = value; // // return __ret; // } // // static StackObject* SetCustomCurve_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, 3); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AnimationCurve @curve = (UnityEngine.AnimationCurve)typeof(UnityEngine.AnimationCurve).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSourceCurveType @type = (UnityEngine.AudioSourceCurveType)typeof(UnityEngine.AudioSourceCurveType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.SetCustomCurve(@type, @curve); // // return __ret; // } // // static StackObject* GetCustomCurve_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, 2); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSourceCurveType @type = (UnityEngine.AudioSourceCurveType)typeof(UnityEngine.AudioSourceCurveType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.GetCustomCurve(@type); // // 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* get_reverbZoneMix_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.reverbZoneMix; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_reverbZoneMix_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.reverbZoneMix = value; // // return __ret; // } // // static StackObject* get_bypassEffects_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.bypassEffects; // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* set_bypassEffects_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.bypassEffects = value; // // return __ret; // } // // static StackObject* get_bypassListenerEffects_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, 1); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.bypassListenerEffects; // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* set_bypassListenerEffects_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, 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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.bypassListenerEffects = value; // // return __ret; // } // // static StackObject* get_bypassReverbZones_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.bypassReverbZones; // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* set_bypassReverbZones_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); // System.Boolean @value = ptr_of_this_method->Value == 1; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.bypassReverbZones = value; // // return __ret; // } // // static StackObject* get_dopplerLevel_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.dopplerLevel; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_dopplerLevel_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.dopplerLevel = value; // // return __ret; // } // // static StackObject* get_spread_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.spread; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_spread_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); // System.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.spread = value; // // return __ret; // } static StackObject* get_priority_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.priority; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* set_priority_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.Int32 @value = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.priority = value; return __ret; } static StackObject* get_mute_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); var result_of_this_method = instance_of_this_method.mute; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* set_mute_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.Boolean @value = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.mute = value; return __ret; } // static StackObject* get_minDistance_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.minDistance; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_minDistance_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); // System.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.minDistance = value; // // return __ret; // } // // static StackObject* get_maxDistance_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.maxDistance; // // __ret->ObjectType = ObjectTypes.Float; // *(float*)&__ret->Value = result_of_this_method; // return __ret + 1; // } // // static StackObject* set_maxDistance_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); // System.Single @value = *(float*)&ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.maxDistance = value; // // return __ret; // } // // static StackObject* get_rolloffMode_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.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.rolloffMode; // // return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); // } // // static StackObject* set_rolloffMode_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.AudioRolloffMode @value = (UnityEngine.AudioRolloffMode)typeof(UnityEngine.AudioRolloffMode).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.rolloffMode = value; // // return __ret; // } // // static StackObject* GetOutputData_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, 3); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // System.Int32 @channel = ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // System.Single[] @samples = (System.Single[])typeof(System.Single[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.GetOutputData(@samples, @channel); // // return __ret; // } // // static StackObject* GetSpectrumData_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, 4); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // UnityEngine.FFTWindow @window = (UnityEngine.FFTWindow)typeof(UnityEngine.FFTWindow).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // System.Int32 @channel = ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // System.Single[] @samples = (System.Single[])typeof(System.Single[]).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 4); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // instance_of_this_method.GetSpectrumData(@samples, @channel, @window); // // return __ret; // } // // static StackObject* SetSpatializerFloat_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, 3); // // 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); // System.Int32 @index = ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.SetSpatializerFloat(@index, @value); // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* GetSpatializerFloat_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); // System.Single @value = __intp.RetriveFloat(ptr_of_this_method, __mStack); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // System.Int32 @index = ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // // var result_of_this_method = instance_of_this_method.GetSpatializerFloat(@index, out @value); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // switch(ptr_of_this_method->ObjectType) // { // case ObjectTypes.StackObjectReference: // { // var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); // ___dst->ObjectType = ObjectTypes.Float; // *(float*)&___dst->Value = @value; // } // break; // case ObjectTypes.FieldReference: // { // var ___obj = __mStack[ptr_of_this_method->Value]; // if(___obj is ILTypeInstance) // { // ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @value; // } // else // { // var ___type = __domain.GetType(___obj.GetType()) as CLRType; // ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @value); // } // } // break; // case ObjectTypes.StaticFieldReference: // { // var ___type = __domain.GetType(ptr_of_this_method->Value); // if(___type is ILType) // { // ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @value; // } // else // { // ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @value); // } // } // break; // case ObjectTypes.ArrayReference: // { // var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.Single[]; // instance_of_arrayReference[ptr_of_this_method->ValueLow] = @value; // } // break; // } // // __intp.Free(ptr_of_this_method); // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // __intp.Free(ptr_of_this_method); // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // __intp.Free(ptr_of_this_method); // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* GetAmbisonicDecoderFloat_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, 3); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // System.Single @value = __intp.RetriveFloat(ptr_of_this_method, __mStack); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // System.Int32 @index = ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // // var result_of_this_method = instance_of_this_method.GetAmbisonicDecoderFloat(@index, out @value); // // ptr_of_this_method = ILIntepreter.Minus(__esp, 1); // switch(ptr_of_this_method->ObjectType) // { // case ObjectTypes.StackObjectReference: // { // var ___dst = ILIntepreter.ResolveReference(ptr_of_this_method); // ___dst->ObjectType = ObjectTypes.Float; // *(float*)&___dst->Value = @value; // } // break; // case ObjectTypes.FieldReference: // { // var ___obj = __mStack[ptr_of_this_method->Value]; // if(___obj is ILTypeInstance) // { // ((ILTypeInstance)___obj)[ptr_of_this_method->ValueLow] = @value; // } // else // { // var ___type = __domain.GetType(___obj.GetType()) as CLRType; // ___type.SetFieldValue(ptr_of_this_method->ValueLow, ref ___obj, @value); // } // } // break; // case ObjectTypes.StaticFieldReference: // { // var ___type = __domain.GetType(ptr_of_this_method->Value); // if(___type is ILType) // { // ((ILType)___type).StaticInstance[ptr_of_this_method->ValueLow] = @value; // } // else // { // ((CLRType)___type).SetStaticFieldValue(ptr_of_this_method->ValueLow, @value); // } // } // break; // case ObjectTypes.ArrayReference: // { // var instance_of_arrayReference = __mStack[ptr_of_this_method->Value] as System.Single[]; // instance_of_arrayReference[ptr_of_this_method->ValueLow] = @value; // } // break; // } // // __intp.Free(ptr_of_this_method); // ptr_of_this_method = ILIntepreter.Minus(__esp, 2); // __intp.Free(ptr_of_this_method); // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // __intp.Free(ptr_of_this_method); // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // return __ret + 1; // } // // static StackObject* SetAmbisonicDecoderFloat_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, 3); // // 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); // System.Int32 @index = ptr_of_this_method->Value; // // ptr_of_this_method = ILIntepreter.Minus(__esp, 3); // UnityEngine.AudioSource instance_of_this_method = (UnityEngine.AudioSource)typeof(UnityEngine.AudioSource).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); // __intp.Free(ptr_of_this_method); // // var result_of_this_method = instance_of_this_method.SetAmbisonicDecoderFloat(@index, @value); // // __ret->ObjectType = ObjectTypes.Integer; // __ret->Value = result_of_this_method ? 1 : 0; // 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.AudioSource(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } }