FairyGUI_GObject_Binding.cs 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Reflection;
  5. using System.Runtime.InteropServices;
  6. using ILRuntime.CLR.TypeSystem;
  7. using ILRuntime.CLR.Method;
  8. using ILRuntime.Runtime.Enviorment;
  9. using ILRuntime.Runtime.Intepreter;
  10. using ILRuntime.Runtime.Stack;
  11. using ILRuntime.Reflection;
  12. using ILRuntime.CLR.Utils;
  13. namespace ILRuntime.Runtime.Generated
  14. {
  15. unsafe class FairyGUI_GObject_Binding
  16. {
  17. public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
  18. {
  19. BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
  20. MethodBase method;
  21. FieldInfo field;
  22. Type[] args;
  23. Type type = typeof(FairyGUI.GObject);
  24. args = new Type[]{};
  25. method = type.GetMethod("RemoveFromParent", flag, null, args, null);
  26. app.RegisterCLRMethodRedirection(method, RemoveFromParent_0);
  27. args = new Type[]{};
  28. method = type.GetMethod("Dispose", flag, null, args, null);
  29. app.RegisterCLRMethodRedirection(method, Dispose_1);
  30. args = new Type[]{typeof(System.Single)};
  31. method = type.GetMethod("set_alpha", flag, null, args, null);
  32. app.RegisterCLRMethodRedirection(method, set_alpha_2);
  33. args = new Type[]{typeof(System.Single)};
  34. method = type.GetMethod("set_x", flag, null, args, null);
  35. app.RegisterCLRMethodRedirection(method, set_x_3);
  36. args = new Type[]{typeof(System.Single)};
  37. method = type.GetMethod("set_y", flag, null, args, null);
  38. app.RegisterCLRMethodRedirection(method, set_y_4);
  39. args = new Type[]{};
  40. method = type.GetMethod("get_onClick", flag, null, args, null);
  41. app.RegisterCLRMethodRedirection(method, get_onClick_5);
  42. args = new Type[]{typeof(System.Boolean)};
  43. method = type.GetMethod("set_visible", flag, null, args, null);
  44. app.RegisterCLRMethodRedirection(method, set_visible_6);
  45. args = new Type[]{typeof(System.Single), typeof(System.Single)};
  46. method = type.GetMethod("TweenFade", flag, null, args, null);
  47. app.RegisterCLRMethodRedirection(method, TweenFade_7);
  48. args = new Type[]{typeof(System.String)};
  49. method = type.GetMethod("set_text", flag, null, args, null);
  50. app.RegisterCLRMethodRedirection(method, set_text_8);
  51. args = new Type[]{};
  52. method = type.GetMethod("Center", flag, null, args, null);
  53. app.RegisterCLRMethodRedirection(method, Center_9);
  54. args = new Type[]{};
  55. method = type.GetMethod("get_x", flag, null, args, null);
  56. app.RegisterCLRMethodRedirection(method, get_x_10);
  57. args = new Type[]{};
  58. method = type.GetMethod("get_y", flag, null, args, null);
  59. app.RegisterCLRMethodRedirection(method, get_y_11);
  60. args = new Type[]{};
  61. method = type.GetMethod("get_width", flag, null, args, null);
  62. app.RegisterCLRMethodRedirection(method, get_width_12);
  63. args = new Type[]{};
  64. method = type.GetMethod("get_height", flag, null, args, null);
  65. app.RegisterCLRMethodRedirection(method, get_height_13);
  66. args = new Type[]{typeof(FairyGUI.GObject), typeof(FairyGUI.RelationType)};
  67. method = type.GetMethod("AddRelation", flag, null, args, null);
  68. app.RegisterCLRMethodRedirection(method, AddRelation_14);
  69. args = new Type[]{};
  70. method = type.GetMethod("get_alpha", flag, null, args, null);
  71. app.RegisterCLRMethodRedirection(method, get_alpha_15);
  72. args = new Type[]{};
  73. method = type.GetMethod("get_visible", flag, null, args, null);
  74. app.RegisterCLRMethodRedirection(method, get_visible_16);
  75. args = new Type[]{typeof(UnityEngine.Vector2)};
  76. method = type.GetMethod("LocalToGlobal", flag, null, args, null);
  77. app.RegisterCLRMethodRedirection(method, LocalToGlobal_17);
  78. args = new Type[]{};
  79. method = type.GetMethod("get_root", flag, null, args, null);
  80. app.RegisterCLRMethodRedirection(method, get_root_18);
  81. args = new Type[]{};
  82. method = type.GetMethod("get_parent", flag, null, args, null);
  83. app.RegisterCLRMethodRedirection(method, get_parent_19);
  84. args = new Type[]{typeof(System.Boolean)};
  85. method = type.GetMethod("set_grayed", flag, null, args, null);
  86. app.RegisterCLRMethodRedirection(method, set_grayed_20);
  87. args = new Type[]{};
  88. method = type.GetMethod("get_text", flag, null, args, null);
  89. app.RegisterCLRMethodRedirection(method, get_text_21);
  90. args = new Type[]{};
  91. method = type.GetMethod("get_onTouchBegin", flag, null, args, null);
  92. app.RegisterCLRMethodRedirection(method, get_onTouchBegin_22);
  93. args = new Type[]{};
  94. method = type.GetMethod("get_onTouchEnd", flag, null, args, null);
  95. app.RegisterCLRMethodRedirection(method, get_onTouchEnd_23);
  96. args = new Type[]{typeof(System.Single)};
  97. method = type.GetMethod("set_height", flag, null, args, null);
  98. app.RegisterCLRMethodRedirection(method, set_height_24);
  99. args = new Type[]{typeof(System.String)};
  100. method = type.GetMethod("set_icon", flag, null, args, null);
  101. app.RegisterCLRMethodRedirection(method, set_icon_25);
  102. args = new Type[]{typeof(System.Single), typeof(System.Single)};
  103. method = type.GetMethod("TweenMoveY", flag, null, args, null);
  104. app.RegisterCLRMethodRedirection(method, TweenMoveY_26);
  105. args = new Type[]{typeof(UnityEngine.Vector2), typeof(System.Single)};
  106. method = type.GetMethod("TweenScale", flag, null, args, null);
  107. app.RegisterCLRMethodRedirection(method, TweenScale_27);
  108. args = new Type[]{typeof(System.Boolean)};
  109. method = type.GetMethod("set_enabled", flag, null, args, null);
  110. app.RegisterCLRMethodRedirection(method, set_enabled_28);
  111. args = new Type[]{};
  112. method = type.GetMethod("get_asButton", flag, null, args, null);
  113. app.RegisterCLRMethodRedirection(method, get_asButton_29);
  114. args = new Type[]{typeof(System.Single)};
  115. method = type.GetMethod("set_width", flag, null, args, null);
  116. app.RegisterCLRMethodRedirection(method, set_width_30);
  117. args = new Type[]{};
  118. method = type.GetMethod("get_grayed", flag, null, args, null);
  119. app.RegisterCLRMethodRedirection(method, get_grayed_31);
  120. args = new Type[]{typeof(UnityEngine.Rect), typeof(FairyGUI.GObject)};
  121. method = type.GetMethod("TransformRect", flag, null, args, null);
  122. app.RegisterCLRMethodRedirection(method, TransformRect_32);
  123. args = new Type[]{typeof(UnityEngine.Vector2)};
  124. method = type.GetMethod("set_size", flag, null, args, null);
  125. app.RegisterCLRMethodRedirection(method, set_size_33);
  126. args = new Type[]{typeof(UnityEngine.Vector3)};
  127. method = type.GetMethod("set_position", flag, null, args, null);
  128. app.RegisterCLRMethodRedirection(method, set_position_34);
  129. args = new Type[]{};
  130. method = type.GetMethod("get_onClickLink", flag, null, args, null);
  131. app.RegisterCLRMethodRedirection(method, get_onClickLink_35);
  132. args = new Type[]{typeof(System.Boolean)};
  133. method = type.GetMethod("set_touchable", flag, null, args, null);
  134. app.RegisterCLRMethodRedirection(method, set_touchable_36);
  135. args = new Type[]{};
  136. method = type.GetMethod("get_onTouchMove", flag, null, args, null);
  137. app.RegisterCLRMethodRedirection(method, get_onTouchMove_37);
  138. args = new Type[]{typeof(System.Single)};
  139. method = type.GetMethod("set_rotation", flag, null, args, null);
  140. app.RegisterCLRMethodRedirection(method, set_rotation_38);
  141. args = new Type[]{typeof(UnityEngine.Vector2)};
  142. method = type.GetMethod("GlobalToLocal", flag, null, args, null);
  143. app.RegisterCLRMethodRedirection(method, GlobalToLocal_39);
  144. args = new Type[]{};
  145. method = type.GetMethod("get_rotation", flag, null, args, null);
  146. app.RegisterCLRMethodRedirection(method, get_rotation_40);
  147. args = new Type[]{};
  148. method = type.GetMethod("get_onStage", flag, null, args, null);
  149. app.RegisterCLRMethodRedirection(method, get_onStage_41);
  150. args = new Type[]{};
  151. method = type.GetMethod("MakeFullScreen", flag, null, args, null);
  152. app.RegisterCLRMethodRedirection(method, MakeFullScreen_42);
  153. args = new Type[]{};
  154. method = type.GetMethod("get_onAddedToStage", flag, null, args, null);
  155. app.RegisterCLRMethodRedirection(method, get_onAddedToStage_43);
  156. args = new Type[]{};
  157. method = type.GetMethod("get_onRemovedFromStage", flag, null, args, null);
  158. app.RegisterCLRMethodRedirection(method, get_onRemovedFromStage_44);
  159. args = new Type[]{typeof(System.Single), typeof(System.Single)};
  160. method = type.GetMethod("SetScale", flag, null, args, null);
  161. app.RegisterCLRMethodRedirection(method, SetScale_45);
  162. args = new Type[]{typeof(System.Single), typeof(System.Single)};
  163. method = type.GetMethod("SetPivot", flag, null, args, null);
  164. app.RegisterCLRMethodRedirection(method, SetPivot_46);
  165. args = new Type[]{typeof(System.Int32)};
  166. method = type.GetMethod("set_sortingOrder", flag, null, args, null);
  167. app.RegisterCLRMethodRedirection(method, set_sortingOrder_47);
  168. args = new Type[]{};
  169. method = type.GetMethod("get_size", flag, null, args, null);
  170. app.RegisterCLRMethodRedirection(method, get_size_48);
  171. args = new Type[]{typeof(System.Single), typeof(System.Single)};
  172. method = type.GetMethod("SetSize", flag, null, args, null);
  173. app.RegisterCLRMethodRedirection(method, SetSize_49);
  174. field = type.GetField("name", flag);
  175. app.RegisterCLRFieldGetter(field, get_name_0);
  176. app.RegisterCLRFieldSetter(field, set_name_0);
  177. app.RegisterCLRFieldBinding(field, CopyToStack_name_0, AssignFromStack_name_0);
  178. field = type.GetField("data", flag);
  179. app.RegisterCLRFieldGetter(field, get_data_1);
  180. app.RegisterCLRFieldSetter(field, set_data_1);
  181. app.RegisterCLRFieldBinding(field, CopyToStack_data_1, AssignFromStack_data_1);
  182. }
  183. static StackObject* RemoveFromParent_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  184. {
  185. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  186. StackObject* ptr_of_this_method;
  187. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  188. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  189. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  190. __intp.Free(ptr_of_this_method);
  191. instance_of_this_method.RemoveFromParent();
  192. return __ret;
  193. }
  194. static StackObject* Dispose_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  195. {
  196. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  197. StackObject* ptr_of_this_method;
  198. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  199. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  200. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  201. __intp.Free(ptr_of_this_method);
  202. instance_of_this_method.Dispose();
  203. return __ret;
  204. }
  205. static StackObject* set_alpha_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  206. {
  207. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  208. StackObject* ptr_of_this_method;
  209. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  210. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  211. System.Single @value = *(float*)&ptr_of_this_method->Value;
  212. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  213. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  214. __intp.Free(ptr_of_this_method);
  215. instance_of_this_method.alpha = value;
  216. return __ret;
  217. }
  218. static StackObject* set_x_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  219. {
  220. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  221. StackObject* ptr_of_this_method;
  222. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  223. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  224. System.Single @value = *(float*)&ptr_of_this_method->Value;
  225. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  226. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  227. __intp.Free(ptr_of_this_method);
  228. instance_of_this_method.x = value;
  229. return __ret;
  230. }
  231. static StackObject* set_y_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  232. {
  233. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  234. StackObject* ptr_of_this_method;
  235. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  236. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  237. System.Single @value = *(float*)&ptr_of_this_method->Value;
  238. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  239. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  240. __intp.Free(ptr_of_this_method);
  241. instance_of_this_method.y = value;
  242. return __ret;
  243. }
  244. static StackObject* get_onClick_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  245. {
  246. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  247. StackObject* ptr_of_this_method;
  248. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  249. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  250. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  251. __intp.Free(ptr_of_this_method);
  252. var result_of_this_method = instance_of_this_method.onClick;
  253. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  254. }
  255. static StackObject* set_visible_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  256. {
  257. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  258. StackObject* ptr_of_this_method;
  259. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  260. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  261. System.Boolean @value = ptr_of_this_method->Value == 1;
  262. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  263. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  264. __intp.Free(ptr_of_this_method);
  265. instance_of_this_method.visible = value;
  266. return __ret;
  267. }
  268. static StackObject* TweenFade_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  269. {
  270. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  271. StackObject* ptr_of_this_method;
  272. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  273. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  274. System.Single @duration = *(float*)&ptr_of_this_method->Value;
  275. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  276. System.Single @endValue = *(float*)&ptr_of_this_method->Value;
  277. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  278. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  279. __intp.Free(ptr_of_this_method);
  280. var result_of_this_method = instance_of_this_method.TweenFade(@endValue, @duration);
  281. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  282. }
  283. static StackObject* set_text_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  284. {
  285. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  286. StackObject* ptr_of_this_method;
  287. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  288. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  289. System.String @value = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  290. __intp.Free(ptr_of_this_method);
  291. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  292. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  293. __intp.Free(ptr_of_this_method);
  294. instance_of_this_method.text = value;
  295. return __ret;
  296. }
  297. static StackObject* Center_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  298. {
  299. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  300. StackObject* ptr_of_this_method;
  301. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  302. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  303. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  304. __intp.Free(ptr_of_this_method);
  305. instance_of_this_method.Center();
  306. return __ret;
  307. }
  308. static StackObject* get_x_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  309. {
  310. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  311. StackObject* ptr_of_this_method;
  312. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  313. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  314. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  315. __intp.Free(ptr_of_this_method);
  316. var result_of_this_method = instance_of_this_method.x;
  317. __ret->ObjectType = ObjectTypes.Float;
  318. *(float*)&__ret->Value = result_of_this_method;
  319. return __ret + 1;
  320. }
  321. static StackObject* get_y_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  322. {
  323. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  324. StackObject* ptr_of_this_method;
  325. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  326. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  327. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  328. __intp.Free(ptr_of_this_method);
  329. var result_of_this_method = instance_of_this_method.y;
  330. __ret->ObjectType = ObjectTypes.Float;
  331. *(float*)&__ret->Value = result_of_this_method;
  332. return __ret + 1;
  333. }
  334. static StackObject* get_width_12(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  335. {
  336. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  337. StackObject* ptr_of_this_method;
  338. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  339. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  340. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  341. __intp.Free(ptr_of_this_method);
  342. var result_of_this_method = instance_of_this_method.width;
  343. __ret->ObjectType = ObjectTypes.Float;
  344. *(float*)&__ret->Value = result_of_this_method;
  345. return __ret + 1;
  346. }
  347. static StackObject* get_height_13(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  348. {
  349. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  350. StackObject* ptr_of_this_method;
  351. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  352. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  353. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  354. __intp.Free(ptr_of_this_method);
  355. var result_of_this_method = instance_of_this_method.height;
  356. __ret->ObjectType = ObjectTypes.Float;
  357. *(float*)&__ret->Value = result_of_this_method;
  358. return __ret + 1;
  359. }
  360. static StackObject* AddRelation_14(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  361. {
  362. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  363. StackObject* ptr_of_this_method;
  364. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  365. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  366. FairyGUI.RelationType @relationType = (FairyGUI.RelationType)typeof(FairyGUI.RelationType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  367. __intp.Free(ptr_of_this_method);
  368. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  369. FairyGUI.GObject @target = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  370. __intp.Free(ptr_of_this_method);
  371. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  372. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  373. __intp.Free(ptr_of_this_method);
  374. instance_of_this_method.AddRelation(@target, @relationType);
  375. return __ret;
  376. }
  377. static StackObject* get_alpha_15(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  378. {
  379. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  380. StackObject* ptr_of_this_method;
  381. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  382. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  383. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  384. __intp.Free(ptr_of_this_method);
  385. var result_of_this_method = instance_of_this_method.alpha;
  386. __ret->ObjectType = ObjectTypes.Float;
  387. *(float*)&__ret->Value = result_of_this_method;
  388. return __ret + 1;
  389. }
  390. static StackObject* get_visible_16(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  391. {
  392. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  393. StackObject* ptr_of_this_method;
  394. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  395. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  396. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  397. __intp.Free(ptr_of_this_method);
  398. var result_of_this_method = instance_of_this_method.visible;
  399. __ret->ObjectType = ObjectTypes.Integer;
  400. __ret->Value = result_of_this_method ? 1 : 0;
  401. return __ret + 1;
  402. }
  403. static StackObject* LocalToGlobal_17(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  404. {
  405. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  406. StackObject* ptr_of_this_method;
  407. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  408. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  409. UnityEngine.Vector2 @pt = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  410. __intp.Free(ptr_of_this_method);
  411. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  412. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  413. __intp.Free(ptr_of_this_method);
  414. var result_of_this_method = instance_of_this_method.LocalToGlobal(@pt);
  415. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  416. }
  417. static StackObject* get_root_18(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  418. {
  419. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  420. StackObject* ptr_of_this_method;
  421. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  422. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  423. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  424. __intp.Free(ptr_of_this_method);
  425. var result_of_this_method = instance_of_this_method.root;
  426. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  427. }
  428. static StackObject* get_parent_19(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  429. {
  430. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  431. StackObject* ptr_of_this_method;
  432. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  433. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  434. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  435. __intp.Free(ptr_of_this_method);
  436. var result_of_this_method = instance_of_this_method.parent;
  437. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  438. }
  439. static StackObject* set_grayed_20(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  440. {
  441. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  442. StackObject* ptr_of_this_method;
  443. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  444. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  445. System.Boolean @value = ptr_of_this_method->Value == 1;
  446. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  447. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  448. __intp.Free(ptr_of_this_method);
  449. instance_of_this_method.grayed = value;
  450. return __ret;
  451. }
  452. static StackObject* get_text_21(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  453. {
  454. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  455. StackObject* ptr_of_this_method;
  456. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  457. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  458. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  459. __intp.Free(ptr_of_this_method);
  460. var result_of_this_method = instance_of_this_method.text;
  461. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  462. }
  463. static StackObject* get_onTouchBegin_22(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  464. {
  465. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  466. StackObject* ptr_of_this_method;
  467. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  468. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  469. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  470. __intp.Free(ptr_of_this_method);
  471. var result_of_this_method = instance_of_this_method.onTouchBegin;
  472. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  473. }
  474. static StackObject* get_onTouchEnd_23(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  475. {
  476. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  477. StackObject* ptr_of_this_method;
  478. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  479. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  480. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  481. __intp.Free(ptr_of_this_method);
  482. var result_of_this_method = instance_of_this_method.onTouchEnd;
  483. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  484. }
  485. static StackObject* set_height_24(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  486. {
  487. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  488. StackObject* ptr_of_this_method;
  489. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  490. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  491. System.Single @value = *(float*)&ptr_of_this_method->Value;
  492. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  493. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  494. __intp.Free(ptr_of_this_method);
  495. instance_of_this_method.height = value;
  496. return __ret;
  497. }
  498. static StackObject* set_icon_25(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  499. {
  500. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  501. StackObject* ptr_of_this_method;
  502. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  503. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  504. System.String @value = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  505. __intp.Free(ptr_of_this_method);
  506. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  507. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  508. __intp.Free(ptr_of_this_method);
  509. instance_of_this_method.icon = value;
  510. return __ret;
  511. }
  512. static StackObject* TweenMoveY_26(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  513. {
  514. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  515. StackObject* ptr_of_this_method;
  516. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  517. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  518. System.Single @duration = *(float*)&ptr_of_this_method->Value;
  519. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  520. System.Single @endValue = *(float*)&ptr_of_this_method->Value;
  521. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  522. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  523. __intp.Free(ptr_of_this_method);
  524. var result_of_this_method = instance_of_this_method.TweenMoveY(@endValue, @duration);
  525. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  526. }
  527. static StackObject* TweenScale_27(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  528. {
  529. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  530. StackObject* ptr_of_this_method;
  531. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  532. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  533. System.Single @duration = *(float*)&ptr_of_this_method->Value;
  534. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  535. UnityEngine.Vector2 @endValue = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  536. __intp.Free(ptr_of_this_method);
  537. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  538. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  539. __intp.Free(ptr_of_this_method);
  540. var result_of_this_method = instance_of_this_method.TweenScale(@endValue, @duration);
  541. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  542. }
  543. static StackObject* set_enabled_28(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  544. {
  545. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  546. StackObject* ptr_of_this_method;
  547. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  548. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  549. System.Boolean @value = ptr_of_this_method->Value == 1;
  550. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  551. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  552. __intp.Free(ptr_of_this_method);
  553. instance_of_this_method.enabled = value;
  554. return __ret;
  555. }
  556. static StackObject* get_asButton_29(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  557. {
  558. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  559. StackObject* ptr_of_this_method;
  560. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  561. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  562. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  563. __intp.Free(ptr_of_this_method);
  564. var result_of_this_method = instance_of_this_method.asButton;
  565. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  566. }
  567. static StackObject* set_width_30(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  568. {
  569. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  570. StackObject* ptr_of_this_method;
  571. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  572. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  573. System.Single @value = *(float*)&ptr_of_this_method->Value;
  574. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  575. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  576. __intp.Free(ptr_of_this_method);
  577. instance_of_this_method.width = value;
  578. return __ret;
  579. }
  580. static StackObject* get_grayed_31(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  581. {
  582. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  583. StackObject* ptr_of_this_method;
  584. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  585. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  586. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  587. __intp.Free(ptr_of_this_method);
  588. var result_of_this_method = instance_of_this_method.grayed;
  589. __ret->ObjectType = ObjectTypes.Integer;
  590. __ret->Value = result_of_this_method ? 1 : 0;
  591. return __ret + 1;
  592. }
  593. static StackObject* TransformRect_32(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  594. {
  595. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  596. StackObject* ptr_of_this_method;
  597. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  598. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  599. FairyGUI.GObject @targetSpace = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  600. __intp.Free(ptr_of_this_method);
  601. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  602. UnityEngine.Rect @rect = (UnityEngine.Rect)typeof(UnityEngine.Rect).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  603. __intp.Free(ptr_of_this_method);
  604. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  605. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  606. __intp.Free(ptr_of_this_method);
  607. var result_of_this_method = instance_of_this_method.TransformRect(@rect, @targetSpace);
  608. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  609. }
  610. static StackObject* set_size_33(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  611. {
  612. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  613. StackObject* ptr_of_this_method;
  614. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  615. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  616. UnityEngine.Vector2 @value = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  617. __intp.Free(ptr_of_this_method);
  618. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  619. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  620. __intp.Free(ptr_of_this_method);
  621. instance_of_this_method.size = value;
  622. return __ret;
  623. }
  624. static StackObject* set_position_34(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  625. {
  626. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  627. StackObject* ptr_of_this_method;
  628. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  629. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  630. UnityEngine.Vector3 @value = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  631. __intp.Free(ptr_of_this_method);
  632. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  633. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  634. __intp.Free(ptr_of_this_method);
  635. instance_of_this_method.position = value;
  636. return __ret;
  637. }
  638. static StackObject* get_onClickLink_35(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  639. {
  640. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  641. StackObject* ptr_of_this_method;
  642. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  643. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  644. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  645. __intp.Free(ptr_of_this_method);
  646. var result_of_this_method = instance_of_this_method.onClickLink;
  647. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  648. }
  649. static StackObject* set_touchable_36(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  650. {
  651. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  652. StackObject* ptr_of_this_method;
  653. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  654. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  655. System.Boolean @value = ptr_of_this_method->Value == 1;
  656. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  657. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  658. __intp.Free(ptr_of_this_method);
  659. instance_of_this_method.touchable = value;
  660. return __ret;
  661. }
  662. static StackObject* get_onTouchMove_37(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  663. {
  664. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  665. StackObject* ptr_of_this_method;
  666. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  667. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  668. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  669. __intp.Free(ptr_of_this_method);
  670. var result_of_this_method = instance_of_this_method.onTouchMove;
  671. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  672. }
  673. static StackObject* set_rotation_38(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  674. {
  675. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  676. StackObject* ptr_of_this_method;
  677. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  678. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  679. System.Single @value = *(float*)&ptr_of_this_method->Value;
  680. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  681. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  682. __intp.Free(ptr_of_this_method);
  683. instance_of_this_method.rotation = value;
  684. return __ret;
  685. }
  686. static StackObject* GlobalToLocal_39(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  687. {
  688. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  689. StackObject* ptr_of_this_method;
  690. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  691. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  692. UnityEngine.Vector2 @pt = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  693. __intp.Free(ptr_of_this_method);
  694. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  695. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  696. __intp.Free(ptr_of_this_method);
  697. var result_of_this_method = instance_of_this_method.GlobalToLocal(@pt);
  698. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  699. }
  700. static StackObject* get_rotation_40(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  701. {
  702. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  703. StackObject* ptr_of_this_method;
  704. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  705. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  706. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  707. __intp.Free(ptr_of_this_method);
  708. var result_of_this_method = instance_of_this_method.rotation;
  709. __ret->ObjectType = ObjectTypes.Float;
  710. *(float*)&__ret->Value = result_of_this_method;
  711. return __ret + 1;
  712. }
  713. static StackObject* get_onStage_41(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  714. {
  715. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  716. StackObject* ptr_of_this_method;
  717. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  718. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  719. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  720. __intp.Free(ptr_of_this_method);
  721. var result_of_this_method = instance_of_this_method.onStage;
  722. __ret->ObjectType = ObjectTypes.Integer;
  723. __ret->Value = result_of_this_method ? 1 : 0;
  724. return __ret + 1;
  725. }
  726. static StackObject* MakeFullScreen_42(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  727. {
  728. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  729. StackObject* ptr_of_this_method;
  730. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  731. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  732. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  733. __intp.Free(ptr_of_this_method);
  734. instance_of_this_method.MakeFullScreen();
  735. return __ret;
  736. }
  737. static StackObject* get_onAddedToStage_43(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  738. {
  739. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  740. StackObject* ptr_of_this_method;
  741. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  742. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  743. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  744. __intp.Free(ptr_of_this_method);
  745. var result_of_this_method = instance_of_this_method.onAddedToStage;
  746. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  747. }
  748. static StackObject* get_onRemovedFromStage_44(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  749. {
  750. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  751. StackObject* ptr_of_this_method;
  752. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  753. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  754. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  755. __intp.Free(ptr_of_this_method);
  756. var result_of_this_method = instance_of_this_method.onRemovedFromStage;
  757. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  758. }
  759. static StackObject* SetScale_45(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  760. {
  761. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  762. StackObject* ptr_of_this_method;
  763. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  764. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  765. System.Single @hv = *(float*)&ptr_of_this_method->Value;
  766. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  767. System.Single @wv = *(float*)&ptr_of_this_method->Value;
  768. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  769. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  770. __intp.Free(ptr_of_this_method);
  771. instance_of_this_method.SetScale(@wv, @hv);
  772. return __ret;
  773. }
  774. static StackObject* SetPivot_46(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  775. {
  776. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  777. StackObject* ptr_of_this_method;
  778. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  779. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  780. System.Single @yv = *(float*)&ptr_of_this_method->Value;
  781. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  782. System.Single @xv = *(float*)&ptr_of_this_method->Value;
  783. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  784. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  785. __intp.Free(ptr_of_this_method);
  786. instance_of_this_method.SetPivot(@xv, @yv);
  787. return __ret;
  788. }
  789. static StackObject* set_sortingOrder_47(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  790. {
  791. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  792. StackObject* ptr_of_this_method;
  793. StackObject* __ret = ILIntepreter.Minus(__esp, 2);
  794. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  795. System.Int32 @value = ptr_of_this_method->Value;
  796. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  797. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  798. __intp.Free(ptr_of_this_method);
  799. instance_of_this_method.sortingOrder = value;
  800. return __ret;
  801. }
  802. static StackObject* get_size_48(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  803. {
  804. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  805. StackObject* ptr_of_this_method;
  806. StackObject* __ret = ILIntepreter.Minus(__esp, 1);
  807. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  808. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  809. __intp.Free(ptr_of_this_method);
  810. var result_of_this_method = instance_of_this_method.size;
  811. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  812. }
  813. static StackObject* SetSize_49(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
  814. {
  815. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  816. StackObject* ptr_of_this_method;
  817. StackObject* __ret = ILIntepreter.Minus(__esp, 3);
  818. ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
  819. System.Single @hv = *(float*)&ptr_of_this_method->Value;
  820. ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
  821. System.Single @wv = *(float*)&ptr_of_this_method->Value;
  822. ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
  823. FairyGUI.GObject instance_of_this_method = (FairyGUI.GObject)typeof(FairyGUI.GObject).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  824. __intp.Free(ptr_of_this_method);
  825. instance_of_this_method.SetSize(@wv, @hv);
  826. return __ret;
  827. }
  828. static object get_name_0(ref object o)
  829. {
  830. return ((FairyGUI.GObject)o).name;
  831. }
  832. static StackObject* CopyToStack_name_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
  833. {
  834. var result_of_this_method = ((FairyGUI.GObject)o).name;
  835. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
  836. }
  837. static void set_name_0(ref object o, object v)
  838. {
  839. ((FairyGUI.GObject)o).name = (System.String)v;
  840. }
  841. static StackObject* AssignFromStack_name_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
  842. {
  843. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  844. System.String @name = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  845. ((FairyGUI.GObject)o).name = @name;
  846. return ptr_of_this_method;
  847. }
  848. static object get_data_1(ref object o)
  849. {
  850. return ((FairyGUI.GObject)o).data;
  851. }
  852. static StackObject* CopyToStack_data_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
  853. {
  854. var result_of_this_method = ((FairyGUI.GObject)o).data;
  855. object obj_result_of_this_method = result_of_this_method;
  856. if(obj_result_of_this_method is CrossBindingAdaptorType)
  857. {
  858. return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance, true);
  859. }
  860. return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method, true);
  861. }
  862. static void set_data_1(ref object o, object v)
  863. {
  864. ((FairyGUI.GObject)o).data = (System.Object)v;
  865. }
  866. static StackObject* AssignFromStack_data_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
  867. {
  868. ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
  869. System.Object @data = (System.Object)typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack));
  870. ((FairyGUI.GObject)o).data = @data;
  871. return ptr_of_this_method;
  872. }
  873. }
  874. }