#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_KCCTimer_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.KCCTimer); args = new Type[]{}; method = type.GetMethod("get_State", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_State_0); args = new Type[]{}; method = type.GetMethod("get_Counter", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_Counter_1); args = new Type[]{}; method = type.GetMethod("get_TotalTime", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_TotalTime_2); args = new Type[]{}; method = type.GetMethod("get_RecentTime", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_RecentTime_3); args = new Type[]{}; method = type.GetMethod("get_PeakTime", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_PeakTime_4); args = new Type[]{}; method = type.GetMethod("get_LastTime", flag, null, args, null); app.RegisterCLRMethodRedirection(method, get_LastTime_5); args = new Type[]{}; method = type.GetMethod("Start", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Start_6); args = new Type[]{}; method = type.GetMethod("Pause", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Pause_7); args = new Type[]{}; method = type.GetMethod("Stop", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Stop_8); args = new Type[]{}; method = type.GetMethod("Restart", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Restart_9); args = new Type[]{}; method = type.GetMethod("Reset", flag, null, args, null); app.RegisterCLRMethodRedirection(method, Reset_10); args = new Type[]{}; method = type.GetMethod("GetTotalSeconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetTotalSeconds_11); args = new Type[]{}; method = type.GetMethod("GetTotalMilliseconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetTotalMilliseconds_12); args = new Type[]{}; method = type.GetMethod("GetRecentSeconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetRecentSeconds_13); args = new Type[]{}; method = type.GetMethod("GetRecentMilliseconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetRecentMilliseconds_14); args = new Type[]{}; method = type.GetMethod("GetPeakSeconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetPeakSeconds_15); args = new Type[]{}; method = type.GetMethod("GetPeakMilliseconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetPeakMilliseconds_16); args = new Type[]{}; method = type.GetMethod("GetLastSeconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetLastSeconds_17); args = new Type[]{}; method = type.GetMethod("GetLastMilliseconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, GetLastMilliseconds_18); args = new Type[]{typeof(System.String)}; method = type.GetMethod("LogSeconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, LogSeconds_19); args = new Type[]{typeof(System.String)}; method = type.GetMethod("LogMilliseconds", flag, null, args, null); app.RegisterCLRMethodRedirection(method, LogMilliseconds_20); field = type.GetField("ID", flag); app.RegisterCLRFieldGetter(field, get_ID_0); app.RegisterCLRFieldBinding(field, CopyToStack_ID_0, null); field = type.GetField("Name", flag); app.RegisterCLRFieldGetter(field, get_Name_1); app.RegisterCLRFieldBinding(field, CopyToStack_Name_1, null); app.RegisterCLRCreateDefaultInstance(type, () => new Fusion.Addons.KCC.KCCTimer()); app.RegisterCLRCreateArrayInstance(type, s => new Fusion.Addons.KCC.KCCTimer[s]); args = new Type[]{}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_0); args = new Type[]{typeof(System.String)}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_1); args = new Type[]{typeof(System.Boolean)}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_2); args = new Type[]{typeof(System.String), typeof(System.Boolean)}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_3); args = new Type[]{typeof(System.Int32), typeof(System.String)}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_4); args = new Type[]{typeof(System.Int32), typeof(System.String), typeof(System.Boolean)}; method = type.GetConstructor(flag, null, args, null); app.RegisterCLRMethodRedirection(method, Ctor_5); } static StackObject* get_State_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.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.State; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_Counter_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.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.Counter; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static StackObject* get_TotalTime_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); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.TotalTime; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_RecentTime_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.RecentTime; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_PeakTime_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.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.PeakTime; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* get_LastTime_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.LastTime; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Start_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); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Start(); return __ret; } static StackObject* Pause_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Pause(); return __ret; } static StackObject* Stop_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); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Stop(); return __ret; } static StackObject* Restart_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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Restart(); return __ret; } static StackObject* Reset_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); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.Reset(); return __ret; } static StackObject* GetTotalSeconds_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.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetTotalSeconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetTotalMilliseconds_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); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetTotalMilliseconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetRecentSeconds_13(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetRecentSeconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetRecentMilliseconds_14(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetRecentMilliseconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetPeakSeconds_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.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetPeakSeconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetPeakMilliseconds_16(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetPeakMilliseconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetLastSeconds_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); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetLastSeconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* GetLastMilliseconds_18(ILIntepreter __intp, StackObject* __esp, AutoList __mStack, CLRMethod __method, bool isNewObj) { UnityFusion.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject* ptr_of_this_method; StackObject* __ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).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.GetLastMilliseconds(); __ret->ObjectType = ObjectTypes.Float; *(float*)&__ret->Value = result_of_this_method; return __ret + 1; } static StackObject* LogSeconds_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.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); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.LogSeconds(@prefix); return __ret; } static StackObject* LogMilliseconds_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); 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); ptr_of_this_method = ILIntepreter.Minus(__esp, 2); Fusion.Addons.KCC.KCCTimer instance_of_this_method = (Fusion.Addons.KCC.KCCTimer)typeof(Fusion.Addons.KCC.KCCTimer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0); __intp.Free(ptr_of_this_method); instance_of_this_method.LogMilliseconds(@prefix); return __ret; } static object get_ID_0(ref object o) { return ((Fusion.Addons.KCC.KCCTimer)o).ID; } static StackObject* CopyToStack_ID_0(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = ((Fusion.Addons.KCC.KCCTimer)o).ID; __ret->ObjectType = ObjectTypes.Integer; __ret->Value = result_of_this_method; return __ret + 1; } static object get_Name_1(ref object o) { return ((Fusion.Addons.KCC.KCCTimer)o).Name; } static StackObject* CopyToStack_Name_1(ref object o, ILIntepreter __intp, StackObject* __ret, AutoList __mStack) { var result_of_this_method = ((Fusion.Addons.KCC.KCCTimer)o).Name; 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.KCCTimer(); 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, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @name = (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 = new Fusion.Addons.KCC.KCCTimer(@name); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Ctor_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); System.Boolean @start = ptr_of_this_method->Value == 1; var result_of_this_method = new Fusion.Addons.KCC.KCCTimer(@start); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Ctor_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.Boolean @start = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @name = (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 = new Fusion.Addons.KCC.KCCTimer(@name, @start); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Ctor_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, 2); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.String @name = (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 @id = ptr_of_this_method->Value; var result_of_this_method = new Fusion.Addons.KCC.KCCTimer(@id, @name); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static StackObject* Ctor_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, 3); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); System.Boolean @start = ptr_of_this_method->Value == 1; ptr_of_this_method = ILIntepreter.Minus(__esp, 2); System.String @name = (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.Int32 @id = ptr_of_this_method->Value; var result_of_this_method = new Fusion.Addons.KCC.KCCTimer(@id, @name, @start); return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } } } #endif