123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125 |
- 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 FairyGUI_GObject_Binding
- {
- public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
- {
- BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
- MethodBase method;
- FieldInfo field;
- Type[] args;
- Type type = typeof(FairyGUI.GObject);
- args = new Type[]{};
- method = type.GetMethod("RemoveFromParent", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, RemoveFromParent_0);
- args = new Type[]{};
- method = type.GetMethod("Dispose", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Dispose_1);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("set_alpha", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_alpha_2);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("set_x", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_x_3);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("set_y", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_y_4);
- args = new Type[]{};
- method = type.GetMethod("get_onClick", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onClick_5);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("set_visible", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_visible_6);
- args = new Type[]{typeof(System.Single), typeof(System.Single)};
- method = type.GetMethod("TweenFade", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, TweenFade_7);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("set_text", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_text_8);
- args = new Type[]{};
- method = type.GetMethod("Center", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, Center_9);
- args = new Type[]{};
- method = type.GetMethod("get_x", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_x_10);
- args = new Type[]{};
- method = type.GetMethod("get_y", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_y_11);
- args = new Type[]{};
- method = type.GetMethod("get_width", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_width_12);
- args = new Type[]{};
- method = type.GetMethod("get_height", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_height_13);
- args = new Type[]{typeof(FairyGUI.GObject), typeof(FairyGUI.RelationType)};
- method = type.GetMethod("AddRelation", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, AddRelation_14);
- args = new Type[]{};
- method = type.GetMethod("get_alpha", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_alpha_15);
- args = new Type[]{};
- method = type.GetMethod("get_visible", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_visible_16);
- args = new Type[]{typeof(UnityEngine.Vector2)};
- method = type.GetMethod("LocalToGlobal", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, LocalToGlobal_17);
- args = new Type[]{};
- method = type.GetMethod("get_root", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_root_18);
- args = new Type[]{};
- method = type.GetMethod("get_parent", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_parent_19);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("set_grayed", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_grayed_20);
- args = new Type[]{};
- method = type.GetMethod("get_text", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_text_21);
- args = new Type[]{};
- method = type.GetMethod("get_onTouchBegin", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onTouchBegin_22);
- args = new Type[]{};
- method = type.GetMethod("get_onTouchEnd", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onTouchEnd_23);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("set_height", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_height_24);
- args = new Type[]{typeof(System.String)};
- method = type.GetMethod("set_icon", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_icon_25);
- args = new Type[]{typeof(System.Single), typeof(System.Single)};
- method = type.GetMethod("TweenMoveY", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, TweenMoveY_26);
- args = new Type[]{typeof(UnityEngine.Vector2), typeof(System.Single)};
- method = type.GetMethod("TweenScale", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, TweenScale_27);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("set_enabled", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_enabled_28);
- args = new Type[]{};
- method = type.GetMethod("get_asButton", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_asButton_29);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("set_width", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_width_30);
- args = new Type[]{};
- method = type.GetMethod("get_grayed", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_grayed_31);
- args = new Type[]{typeof(UnityEngine.Rect), typeof(FairyGUI.GObject)};
- method = type.GetMethod("TransformRect", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, TransformRect_32);
- args = new Type[]{typeof(UnityEngine.Vector2)};
- method = type.GetMethod("set_size", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_size_33);
- args = new Type[]{typeof(UnityEngine.Vector3)};
- method = type.GetMethod("set_position", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_position_34);
- args = new Type[]{};
- method = type.GetMethod("get_onClickLink", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onClickLink_35);
- args = new Type[]{typeof(System.Boolean)};
- method = type.GetMethod("set_touchable", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_touchable_36);
- args = new Type[]{};
- method = type.GetMethod("get_onTouchMove", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onTouchMove_37);
- args = new Type[]{typeof(System.Single)};
- method = type.GetMethod("set_rotation", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_rotation_38);
- args = new Type[]{typeof(UnityEngine.Vector2)};
- method = type.GetMethod("GlobalToLocal", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, GlobalToLocal_39);
- args = new Type[]{};
- method = type.GetMethod("get_rotation", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_rotation_40);
- args = new Type[]{};
- method = type.GetMethod("get_onStage", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onStage_41);
- args = new Type[]{};
- method = type.GetMethod("MakeFullScreen", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, MakeFullScreen_42);
- args = new Type[]{};
- method = type.GetMethod("get_onAddedToStage", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onAddedToStage_43);
- args = new Type[]{};
- method = type.GetMethod("get_onRemovedFromStage", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_onRemovedFromStage_44);
- args = new Type[]{typeof(System.Single), typeof(System.Single)};
- method = type.GetMethod("SetScale", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetScale_45);
- args = new Type[]{typeof(System.Single), typeof(System.Single)};
- method = type.GetMethod("SetPivot", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetPivot_46);
- args = new Type[]{typeof(System.Int32)};
- method = type.GetMethod("set_sortingOrder", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, set_sortingOrder_47);
- args = new Type[]{};
- method = type.GetMethod("get_size", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, get_size_48);
- args = new Type[]{typeof(System.Single), typeof(System.Single)};
- method = type.GetMethod("SetSize", flag, null, args, null);
- app.RegisterCLRMethodRedirection(method, SetSize_49);
- field = type.GetField("name", flag);
- app.RegisterCLRFieldGetter(field, get_name_0);
- app.RegisterCLRFieldSetter(field, set_name_0);
- app.RegisterCLRFieldBinding(field, CopyToStack_name_0, AssignFromStack_name_0);
- field = type.GetField("data", flag);
- app.RegisterCLRFieldGetter(field, get_data_1);
- app.RegisterCLRFieldSetter(field, set_data_1);
- app.RegisterCLRFieldBinding(field, CopyToStack_data_1, AssignFromStack_data_1);
- }
- static StackObject* RemoveFromParent_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.RemoveFromParent();
- return __ret;
- }
- static StackObject* Dispose_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.Dispose();
- return __ret;
- }
- static StackObject* set_alpha_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.alpha = value;
- return __ret;
- }
- static StackObject* set_x_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.x = value;
- return __ret;
- }
- static StackObject* set_y_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.y = value;
- return __ret;
- }
- static StackObject* get_onClick_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onClick;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_visible_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.visible = value;
- return __ret;
- }
- static StackObject* TweenFade_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @duration = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Single @endValue = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.TweenFade(@endValue, @duration);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_text_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.text = value;
- return __ret;
- }
- static StackObject* Center_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.Center();
- return __ret;
- }
- static StackObject* get_x_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.x;
- __ret->ObjectType = ObjectTypes.Float;
- *(float*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_y_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.y;
- __ret->ObjectType = ObjectTypes.Float;
- *(float*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_width_12(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.width;
- __ret->ObjectType = ObjectTypes.Float;
- *(float*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_height_13(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.height;
- __ret->ObjectType = ObjectTypes.Float;
- *(float*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* AddRelation_14(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.RelationType @relationType = (FairyGUI.RelationType)typeof(FairyGUI.RelationType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- FairyGUI.GObject @target = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.AddRelation(@target, @relationType);
- return __ret;
- }
- static StackObject* get_alpha_15(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.alpha;
- __ret->ObjectType = ObjectTypes.Float;
- *(float*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_visible_16(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.visible;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* LocalToGlobal_17(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- UnityEngine.Vector2 @pt = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.LocalToGlobal(@pt);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_root_18(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.root;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_parent_19(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.parent;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_grayed_20(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.grayed = value;
- return __ret;
- }
- static StackObject* get_text_21(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.text;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_onTouchBegin_22(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onTouchBegin;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_onTouchEnd_23(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onTouchEnd;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_height_24(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.height = value;
- return __ret;
- }
- static StackObject* set_icon_25(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.icon = value;
- return __ret;
- }
- static StackObject* TweenMoveY_26(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @duration = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Single @endValue = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.TweenMoveY(@endValue, @duration);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* TweenScale_27(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @duration = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- UnityEngine.Vector2 @endValue = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.TweenScale(@endValue, @duration);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_enabled_28(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.enabled = value;
- return __ret;
- }
- static StackObject* get_asButton_29(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.asButton;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_width_30(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.width = value;
- return __ret;
- }
- static StackObject* get_grayed_31(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.grayed;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* TransformRect_32(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject @targetSpace = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- UnityEngine.Rect @rect = (UnityEngine.Rect)typeof(UnityEngine.Rect).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.TransformRect(@rect, @targetSpace);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_size_33(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- UnityEngine.Vector2 @value = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.size = value;
- return __ret;
- }
- static StackObject* set_position_34(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @value = (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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.position = value;
- return __ret;
- }
- static StackObject* get_onClickLink_35(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onClickLink;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_touchable_36(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.touchable = value;
- return __ret;
- }
- static StackObject* get_onTouchMove_37(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onTouchMove;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* set_rotation_38(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.rotation = value;
- return __ret;
- }
- static StackObject* GlobalToLocal_39(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- StackObject* ptr_of_this_method;
- StackObject* __ret = ILIntepreter.Minus(__esp, 2);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
- UnityEngine.Vector2 @pt = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.GlobalToLocal(@pt);
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_rotation_40(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.rotation;
- __ret->ObjectType = ObjectTypes.Float;
- *(float*)&__ret->Value = result_of_this_method;
- return __ret + 1;
- }
- static StackObject* get_onStage_41(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onStage;
- __ret->ObjectType = ObjectTypes.Integer;
- __ret->Value = result_of_this_method ? 1 : 0;
- return __ret + 1;
- }
- static StackObject* MakeFullScreen_42(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.MakeFullScreen();
- return __ret;
- }
- static StackObject* get_onAddedToStage_43(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onAddedToStage;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* get_onRemovedFromStage_44(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.onRemovedFromStage;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* SetScale_45(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @hv = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Single @wv = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetScale(@wv, @hv);
- return __ret;
- }
- static StackObject* SetPivot_46(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @yv = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Single @xv = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetPivot(@xv, @yv);
- return __ret;
- }
- static StackObject* set_sortingOrder_47(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.sortingOrder = value;
- return __ret;
- }
- static StackObject* get_size_48(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- var result_of_this_method = instance_of_this_method.size;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static StackObject* SetSize_49(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
- {
- ILRuntime.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 @hv = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
- System.Single @wv = *(float*)&ptr_of_this_method->Value;
- ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
- FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- __intp.Free(ptr_of_this_method);
- instance_of_this_method.SetSize(@wv, @hv);
- return __ret;
- }
- static object get_name_0(ref object o)
- {
- return ((FairyGUI.GObject)o).name;
- }
- static StackObject* CopyToStack_name_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
- {
- var result_of_this_method = ((FairyGUI.GObject)o).name;
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
- }
- static void set_name_0(ref object o, object v)
- {
- ((FairyGUI.GObject)o).name = (System.String)v;
- }
- static StackObject* AssignFromStack_name_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- System.String @name = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- ((FairyGUI.GObject)o).name = @name;
- return ptr_of_this_method;
- }
- static object get_data_1(ref object o)
- {
- return ((FairyGUI.GObject)o).data;
- }
- static StackObject* CopyToStack_data_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
- {
- var result_of_this_method = ((FairyGUI.GObject)o).data;
- 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, true);
- }
- return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method, true);
- }
- static void set_data_1(ref object o, object v)
- {
- ((FairyGUI.GObject)o).data = (System.Object)v;
- }
- static StackObject* AssignFromStack_data_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
- {
- ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
- System.Object @data = (System.Object)typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
- ((FairyGUI.GObject)o).data = @data;
- return ptr_of_this_method;
- }
- }
- }
|