using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.InteropServices; using ILRuntime.CLR.TypeSystem; using ILRuntime.CLR.Method; using ILRuntime.Runtime.Enviorment; using ILRuntime.Runtime.Intepreter; using ILRuntime.Runtime.Stack; using ILRuntime.Reflection; using ILRuntime.CLR.Utils; namespace ILRuntime.Runtime.Generated { unsafe class GFGGame_AssetReleaser_Binding { public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app) { BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly; FieldInfo field; Type[] args; Type type = typeof(GFGGame.AssetReleaser); field = type.GetField("resPath", flag); app.RegisterCLRFieldGetter(field, get_resPath_0); app.RegisterCLRFieldSetter(field, set_resPath_0); app.RegisterCLRFieldBinding(field, CopyToStack_resPath_0, AssignFromStack_resPath_0); } static object get_resPath_0(ref object o) { return ((GFGGame.AssetReleaser)o).resPath; } static StackObject* CopyToStack_resPath_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList __mStack) { var result_of_this_method = ((GFGGame.AssetReleaser)o).resPath; return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method); } static void set_resPath_0(ref object o, object v) { ((GFGGame.AssetReleaser)o).resPath = (System.String)v; } static StackObject* AssignFromStack_resPath_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList __mStack) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; System.String @resPath = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); ((GFGGame.AssetReleaser)o).resPath = @resPath; return ptr_of_this_method; } } }