#if FUSION2 && XRMOD_INSTALL 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 Fusion_Addons_KCC_StatsWriter_Binding { public static void Register(UnityFusion.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; MethodBase method; FieldInfo field; Type[] args; Type type = typeof(Fusion.Addons.KCC.StatsWriter); args = new Type[]{}; method = type.GetMethod("get_IsInitialized", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_IsInitialized_0); args = new Type[]{}; method = type.GetMethod("get_HasValues", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_HasValues_1); args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.Int32)}; method = type.GetMethod("Initialize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Initialize_2); args = new Type[]{typeof(System.String), typeof(System.String), typeof(System.String), typeof(System.String[])}; method = type.GetMethod("Initialize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Initialize_3); args = new Type[]{}; method = type.GetMethod("Deinitialize", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Deinitialize_4); args = new Type[]{typeof(System.String)}; method = type.GetMethod("Add", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Add_5); args = new Type[]{typeof(System.Int32)}; method = type.GetMethod("Add", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Add_6); args = new Type[]{typeof(System.Single), typeof(System.String)}; method = type.GetMethod("Add", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Add_7); args = new Type[]{typeof(System.Int32), typeof(System.String)}; method = type.GetMethod("Override", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Override_8); args = new Type[]{typeof(System.Int32), typeof(System.Int32)}; method = type.GetMethod("Override", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Override_9); args = new Type[]{typeof(System.Int32), typeof(System.Single), typeof(System.String)}; method = type.GetMethod("Override", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Override_10); args = new Type[]{}; method = type.GetMethod("Clear", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Clear_11); args = new Type[]{typeof(System.Boolean)}; method = type.GetMethod("Write", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Write_12); args = new Type[]{typeof(System.String[])}; method = type.GetMethod("WriteValues", flag, null, args, null); app.RegisterCLRMethodRedirection(method, WriteValues_13); args = new Type[]{typeof(System.String)}; method = type.GetMethod("WriteComment", flag, null, args, null); app.RegisterCLRMethodRedirection(method, WriteComment_14); args = new Type[]{}; method = type.GetMethod("Flush", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Flush_15); args = new Type[]{typeof(System.String), typeof(System.String)}; method = type.GetMethod("GetUniqueFileName", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetUniqueFileName_16); args = new Type[]{typeof(UnityEngine.MonoBehaviour)}; method = type.GetMethod("GetDirectoryPath", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetDirectoryPath_17); args = new Type[]{typeof(System.String), typeof(System.String)}; method = type.GetMethod("GetValidFileName", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetValidFileName_18); field = type.GetField("DefaultEncoding", flag); app.RegisterCLRFieldGetter(field, get_DefaultEncoding_0); app.RegisterCLRFieldBinding(field, CopyToStack_DefaultEncoding_0, null); field = type.GetField("DefaultSeparator", flag); app.RegisterCLRFieldGetter(field, get_DefaultSeparator_1); app.RegisterCLRFieldBinding(field, CopyToStack_DefaultSeparator_1, null); field = type.GetField("DefaultComment", flag); app.RegisterCLRFieldGetter(field, get_DefaultComment_2); app.RegisterCLRFieldBinding(field, CopyToStack_DefaultComment_2, null); field = type.GetField("DefaultNewLine", flag); app.RegisterCLRFieldGetter(field, get_DefaultNewLine_3); app.RegisterCLRFieldBinding(field, CopyToStack_DefaultNewLine_3, null); field = type.GetField("DefaultPrefix", flag); app.RegisterCLRFieldGetter(field, get_DefaultPrefix_4); app.RegisterCLRFieldBinding(field, CopyToStack_DefaultPrefix_4, null); field = type.GetField("DefaultExtension", flag); app.RegisterCLRFieldGetter(field, get_DefaultExtension_5); app.RegisterCLRFieldBinding(field, CopyToStack_DefaultExtension_5, null); app.RegisterCLRCreateDefaultInstance(type, () => new Fusion.Addons.KCC.StatsWriter()); app.RegisterCLRCreateArrayInstance(type, s => new Fusion.Addons.KCC.StatsWriter[s]); args = new Type[]{}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); args = new Type[]{typeof(System.Text.Encoding), typeof(System.String), typeof(System.String), typeof(System.String)}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_1); } static StackObject* get_IsInitialized_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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).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.IsInitialized; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* get_HasValues_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).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.HasValues; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method ? 1 : 0; return __ret + 1; } static StackObject* Initialize_2(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @size = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @filePath = (System.String)typeof(System.String).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); System.String @fileName = (System.String)typeof(System.String).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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Initialize(@fileName, @filePath, @size); return __ret; } static StackObject* Initialize_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, 5); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String[] @headers = (System.String[])typeof(System.String[]).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); System.String @caption = (System.String)typeof(System.String).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); System.String @filePath = (System.String)typeof(System.String).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); System.String @fileName = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); ptr_of_this_method = ILIntepreter.Minus(__esp, 5); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Initialize(@fileName, @filePath, @caption, @headers); return __ret; } static StackObject* Deinitialize_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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Deinitialize(); return __ret; } static StackObject* Add_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.String @value = (System.String)typeof(System.String).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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Add(@value); return __ret; } static StackObject* Add_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, 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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Add(@value); return __ret; } static StackObject* Add_7(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @format = (System.String)typeof(System.String).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); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Add(@value, @format); return __ret; } static StackObject* Override_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @value = (System.String)typeof(System.String).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); System.Int32 @index = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Override(@index, @value); return __ret; } static StackObject* Override_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Int32 @value = 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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Override(@index, @value); return __ret; } static StackObject* Override_10(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @format = (System.String)typeof(System.String).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); System.Single @value = *(float*)&ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 3); System.Int32 @index = ptr_of_this_method->Value; ptr_of_this_method = ILIntepreter.Minus(__esp, 4); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Override(@index, @value, @format); return __ret; } static StackObject* Clear_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Clear(); return __ret; } static StackObject* Write_12(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @clear = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Write(@clear); return __ret; } static StackObject* WriteValues_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.String[] @values = (System.String[])typeof(System.String[]).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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.WriteValues(@values); return __ret; } static StackObject* WriteComment_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.String @comment = (System.String)typeof(System.String).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); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.WriteComment(@comment); return __ret; } static StackObject* Flush_15(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.StatsWriter instance_of_this_method = (Fusion.Addons.KCC.StatsWriter)typeof(Fusion.Addons.KCC.StatsWriter).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Flush(); return __ret; } static StackObject* GetUniqueFileName_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); System.String @extension = (System.String)typeof(System.String).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); System.String @prefix = (System.String)typeof(System.String).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 = Fusion.Addons.KCC.StatsWriter.GetUniqueFileName(@prefix, @extension); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* GetDirectoryPath_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); UnityEngine.MonoBehaviour @behaviour = (UnityEngine.MonoBehaviour)typeof(UnityEngine.MonoBehaviour).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 = Fusion.Addons.KCC.StatsWriter.GetDirectoryPath(@behaviour); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* GetValidFileName_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.String @replacement = (System.String)typeof(System.String).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); System.String @fileName = (System.String)typeof(System.String).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 = Fusion.Addons.KCC.StatsWriter.GetValidFileName(@fileName, @replacement); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_DefaultEncoding_0(ref object o) { return Fusion.Addons.KCC.StatsWriter.DefaultEncoding; } static StackObject* CopyToStack_DefaultEncoding_0(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = Fusion.Addons.KCC.StatsWriter.DefaultEncoding; 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 object get_DefaultSeparator_1(ref object o) { return Fusion.Addons.KCC.StatsWriter.DefaultSeparator; } static StackObject* CopyToStack_DefaultSeparator_1(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = Fusion.Addons.KCC.StatsWriter.DefaultSeparator; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_DefaultComment_2(ref object o) { return Fusion.Addons.KCC.StatsWriter.DefaultComment; } static StackObject* CopyToStack_DefaultComment_2(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = Fusion.Addons.KCC.StatsWriter.DefaultComment; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_DefaultNewLine_3(ref object o) { return Fusion.Addons.KCC.StatsWriter.DefaultNewLine; } static StackObject* CopyToStack_DefaultNewLine_3(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = Fusion.Addons.KCC.StatsWriter.DefaultNewLine; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_DefaultPrefix_4(ref object o) { return Fusion.Addons.KCC.StatsWriter.DefaultPrefix; } static StackObject* CopyToStack_DefaultPrefix_4(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = Fusion.Addons.KCC.StatsWriter.DefaultPrefix; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static object get_DefaultExtension_5(ref object o) { return Fusion.Addons.KCC.StatsWriter.DefaultExtension; } static StackObject* CopyToStack_DefaultExtension_5(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = Fusion.Addons.KCC.StatsWriter.DefaultExtension; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } 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 Fusion.Addons.KCC.StatsWriter(); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Ctor_1(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 4); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @newLine = (System.String)typeof(System.String).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); System.String @comment = (System.String)typeof(System.String).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); System.String @separator = (System.String)typeof(System.String).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); System.Text.Encoding @encoding = (System.Text.Encoding)typeof(System.Text.Encoding).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 = new Fusion.Addons.KCC.StatsWriter(@encoding, @separator, @comment, @newLine); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } } #endif