源战役客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

2028 行
57 KiB

  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using System.Collections.Generic;
  4. using LuaInterface;
  5. public static class DelegateFactory
  6. {
  7. public delegate Delegate DelegateValue(LuaFunction func, LuaTable self, bool flag);
  8. public static Dictionary<Type, DelegateValue> dict = new Dictionary<Type, DelegateValue>();
  9. static DelegateFactory()
  10. {
  11. Register();
  12. }
  13. [NoToLuaAttribute]
  14. public static void Register()
  15. {
  16. dict.Clear();
  17. dict.Add(typeof(System.Action), System_Action);
  18. dict.Add(typeof(UnityEngine.Events.UnityAction), UnityEngine_Events_UnityAction);
  19. dict.Add(typeof(UnityEngine.Camera.CameraCallback), UnityEngine_Camera_CameraCallback);
  20. dict.Add(typeof(UnityEngine.Canvas.WillRenderCanvases), UnityEngine_Canvas_WillRenderCanvases);
  21. dict.Add(typeof(UnityEngine.Application.AdvertisingIdentifierCallback), UnityEngine_Application_AdvertisingIdentifierCallback);
  22. dict.Add(typeof(UnityEngine.Application.LowMemoryCallback), UnityEngine_Application_LowMemoryCallback);
  23. dict.Add(typeof(UnityEngine.Application.LogCallback), UnityEngine_Application_LogCallback);
  24. dict.Add(typeof(System.Action<bool>), System_Action_bool);
  25. dict.Add(typeof(System.Func<bool>), System_Func_bool);
  26. dict.Add(typeof(UnityEngine.AudioClip.PCMReaderCallback), UnityEngine_AudioClip_PCMReaderCallback);
  27. dict.Add(typeof(UnityEngine.AudioClip.PCMSetPositionCallback), UnityEngine_AudioClip_PCMSetPositionCallback);
  28. dict.Add(typeof(System.Action<UnityEngine.AsyncOperation>), System_Action_UnityEngine_AsyncOperation);
  29. dict.Add(typeof(UnityEngine.RectTransform.ReapplyDrivenProperties), UnityEngine_RectTransform_ReapplyDrivenProperties);
  30. dict.Add(typeof(UnityEngine.UI.InputField.OnValidateInput), UnityEngine_UI_InputField_OnValidateInput);
  31. dict.Add(typeof(UnityEngine.Font.FontTextureRebuildCallback), UnityEngine_Font_FontTextureRebuildCallback);
  32. dict.Add(typeof(System.Action<UnityEngine.Font>), System_Action_UnityEngine_Font);
  33. dict.Add(typeof(LuaFramework.LuaEventListener.VoidDelegate), LuaFramework_LuaEventListener_VoidDelegate);
  34. dict.Add(typeof(LuaFramework.LuaClickListener.VoidDelegate), LuaFramework_LuaClickListener_VoidDelegate);
  35. dict.Add(typeof(LuaFramework.LuaDragListener.VoidDelegate), LuaFramework_LuaDragListener_VoidDelegate);
  36. dict.Add(typeof(LuaFramework.LuaDragExtendListener.VoidDelegate), LuaFramework_LuaDragExtendListener_VoidDelegate);
  37. dict.Add(typeof(System.Action<UnityEngine.Object[]>), System_Action_UnityEngine_Objects);
  38. dict.Add(typeof(System.Action<bool,string[]>), System_Action_bool_strings);
  39. dict.Add(typeof(System.Action<string>), System_Action_string);
  40. dict.Add(typeof(System.Action<UnityEngine.Object>), System_Action_UnityEngine_Object);
  41. dict.Add(typeof(System.Action<string,UnityEngine.LogType>), System_Action_string_UnityEngine_LogType);
  42. dict.Add(typeof(System.Action<LuaFramework.HTTPResponse>), System_Action_LuaFramework_HTTPResponse);
  43. dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.Vector2>), UnityEngine_Events_UnityAction_UnityEngine_Vector2);
  44. dict.Add(typeof(UnityEngine.Events.UnityAction<bool>), UnityEngine_Events_UnityAction_bool);
  45. dict.Add(typeof(UnityEngine.Events.UnityAction<string>), UnityEngine_Events_UnityAction_string);
  46. dict.Add(typeof(LuaFramework.LuaOverClickListener.VoidDelegate), LuaFramework_LuaOverClickListener_VoidDelegate);
  47. dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode>), UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode);
  48. dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene>), UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene);
  49. dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene>), UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene);
  50. dict.Add(typeof(UnityEngine.Events.UnityAction<float>), UnityEngine_Events_UnityAction_float);
  51. dict.Add(typeof(Spine.Unity.UpdateBonesDelegate), Spine_Unity_UpdateBonesDelegate);
  52. dict.Add(typeof(Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate), Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate);
  53. dict.Add(typeof(Spine.Unity.MeshGeneratorDelegate), Spine_Unity_MeshGeneratorDelegate);
  54. dict.Add(typeof(Spine.Unity.SkeletonRenderer.InstructionDelegate), Spine_Unity_SkeletonRenderer_InstructionDelegate);
  55. dict.Add(typeof(UnityEngine.Video.VideoPlayer.EventHandler), UnityEngine_Video_VideoPlayer_EventHandler);
  56. dict.Add(typeof(UnityEngine.Video.VideoPlayer.ErrorEventHandler), UnityEngine_Video_VideoPlayer_ErrorEventHandler);
  57. dict.Add(typeof(UnityEngine.Video.VideoPlayer.TimeEventHandler), UnityEngine_Video_VideoPlayer_TimeEventHandler);
  58. dict.Add(typeof(UnityEngine.Video.VideoPlayer.FrameReadyEventHandler), UnityEngine_Video_VideoPlayer_FrameReadyEventHandler);
  59. dict.Add(typeof(TMPro.TMP_InputField.OnValidateInput), TMPro_TMP_InputField_OnValidateInput);
  60. }
  61. [NoToLuaAttribute]
  62. public static Delegate CreateDelegate(Type t, LuaFunction func = null)
  63. {
  64. DelegateValue create = null;
  65. if (!dict.TryGetValue(t, out create))
  66. {
  67. LuaFramework.Util.ThrowLuaException(string.Format("Delegate {0} not register", LuaMisc.GetTypeName(t)));
  68. }
  69. return create(func, null, false);
  70. }
  71. [NoToLuaAttribute]
  72. public static Delegate CreateDelegate(Type t, LuaFunction func, LuaTable self)
  73. {
  74. DelegateValue create = null;
  75. if (!dict.TryGetValue(t, out create))
  76. {
  77. LuaFramework.Util.ThrowLuaException(string.Format("Delegate {0} not register", LuaMisc.GetTypeName(t)));
  78. }
  79. return create(func, self, true);
  80. }
  81. [NoToLuaAttribute]
  82. public static Delegate RemoveDelegate(Delegate obj, LuaFunction func)
  83. {
  84. LuaState state = func.GetLuaState();
  85. Delegate[] ds = obj.GetInvocationList();
  86. for (int i = 0; i < ds.Length; i++)
  87. {
  88. LuaDelegate ld = ds[i].Target as LuaDelegate;
  89. if (ld != null && ld.func == func)
  90. {
  91. obj = Delegate.Remove(obj, ds[i]);
  92. state.DelayDispose(ld.func);
  93. break;
  94. }
  95. }
  96. return obj;
  97. }
  98. [NoToLuaAttribute]
  99. public static Delegate RemoveDelegate(Delegate obj, Delegate dg)
  100. {
  101. LuaDelegate remove = dg.Target as LuaDelegate;
  102. if (remove == null)
  103. {
  104. obj = Delegate.Remove(obj, dg);
  105. return obj;
  106. }
  107. LuaState state = remove.func.GetLuaState();
  108. Delegate[] ds = obj.GetInvocationList();
  109. for (int i = 0; i < ds.Length; i++)
  110. {
  111. LuaDelegate ld = ds[i].Target as LuaDelegate;
  112. if (ld != null && ld == remove)
  113. {
  114. obj = Delegate.Remove(obj, ds[i]);
  115. state.DelayDispose(ld.func);
  116. state.DelayDispose(ld.self);
  117. break;
  118. }
  119. }
  120. return obj;
  121. }
  122. class System_Action_Event : LuaDelegate
  123. {
  124. public System_Action_Event(LuaFunction func) : base(func) { }
  125. public System_Action_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  126. public void Call()
  127. {
  128. func.Call();
  129. }
  130. public void CallWithSelf()
  131. {
  132. func.BeginPCall();
  133. func.Push(self);
  134. func.PCall();
  135. func.EndPCall();
  136. }
  137. }
  138. public static Delegate System_Action(LuaFunction func, LuaTable self, bool flag)
  139. {
  140. if (func == null)
  141. {
  142. System.Action fn = delegate() { };
  143. return fn;
  144. }
  145. if(!flag)
  146. {
  147. System.Action d = (new System_Action_Event(func)).Call;
  148. return d;
  149. }
  150. else
  151. {
  152. System.Action d = (new System_Action_Event(func, self)).CallWithSelf;
  153. return d;
  154. }
  155. }
  156. class UnityEngine_Events_UnityAction_Event : LuaDelegate
  157. {
  158. public UnityEngine_Events_UnityAction_Event(LuaFunction func) : base(func) { }
  159. public UnityEngine_Events_UnityAction_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  160. public void Call()
  161. {
  162. func.Call();
  163. }
  164. public void CallWithSelf()
  165. {
  166. func.BeginPCall();
  167. func.Push(self);
  168. func.PCall();
  169. func.EndPCall();
  170. }
  171. }
  172. public static Delegate UnityEngine_Events_UnityAction(LuaFunction func, LuaTable self, bool flag)
  173. {
  174. if (func == null)
  175. {
  176. UnityEngine.Events.UnityAction fn = delegate() { };
  177. return fn;
  178. }
  179. if(!flag)
  180. {
  181. UnityEngine.Events.UnityAction d = (new UnityEngine_Events_UnityAction_Event(func)).Call;
  182. return d;
  183. }
  184. else
  185. {
  186. UnityEngine.Events.UnityAction d = (new UnityEngine_Events_UnityAction_Event(func, self)).CallWithSelf;
  187. return d;
  188. }
  189. }
  190. class UnityEngine_Camera_CameraCallback_Event : LuaDelegate
  191. {
  192. public UnityEngine_Camera_CameraCallback_Event(LuaFunction func) : base(func) { }
  193. public UnityEngine_Camera_CameraCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  194. public void Call(UnityEngine.Camera param0)
  195. {
  196. func.BeginPCall();
  197. func.Push(param0);
  198. func.PCall();
  199. func.EndPCall();
  200. }
  201. public void CallWithSelf(UnityEngine.Camera param0)
  202. {
  203. func.BeginPCall();
  204. func.Push(self);
  205. func.Push(param0);
  206. func.PCall();
  207. func.EndPCall();
  208. }
  209. }
  210. public static Delegate UnityEngine_Camera_CameraCallback(LuaFunction func, LuaTable self, bool flag)
  211. {
  212. if (func == null)
  213. {
  214. UnityEngine.Camera.CameraCallback fn = delegate(UnityEngine.Camera param0) { };
  215. return fn;
  216. }
  217. if(!flag)
  218. {
  219. UnityEngine.Camera.CameraCallback d = (new UnityEngine_Camera_CameraCallback_Event(func)).Call;
  220. return d;
  221. }
  222. else
  223. {
  224. UnityEngine.Camera.CameraCallback d = (new UnityEngine_Camera_CameraCallback_Event(func, self)).CallWithSelf;
  225. return d;
  226. }
  227. }
  228. class UnityEngine_Canvas_WillRenderCanvases_Event : LuaDelegate
  229. {
  230. public UnityEngine_Canvas_WillRenderCanvases_Event(LuaFunction func) : base(func) { }
  231. public UnityEngine_Canvas_WillRenderCanvases_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  232. public void Call()
  233. {
  234. func.Call();
  235. }
  236. public void CallWithSelf()
  237. {
  238. func.BeginPCall();
  239. func.Push(self);
  240. func.PCall();
  241. func.EndPCall();
  242. }
  243. }
  244. public static Delegate UnityEngine_Canvas_WillRenderCanvases(LuaFunction func, LuaTable self, bool flag)
  245. {
  246. if (func == null)
  247. {
  248. UnityEngine.Canvas.WillRenderCanvases fn = delegate() { };
  249. return fn;
  250. }
  251. if(!flag)
  252. {
  253. UnityEngine.Canvas.WillRenderCanvases d = (new UnityEngine_Canvas_WillRenderCanvases_Event(func)).Call;
  254. return d;
  255. }
  256. else
  257. {
  258. UnityEngine.Canvas.WillRenderCanvases d = (new UnityEngine_Canvas_WillRenderCanvases_Event(func, self)).CallWithSelf;
  259. return d;
  260. }
  261. }
  262. class UnityEngine_Application_AdvertisingIdentifierCallback_Event : LuaDelegate
  263. {
  264. public UnityEngine_Application_AdvertisingIdentifierCallback_Event(LuaFunction func) : base(func) { }
  265. public UnityEngine_Application_AdvertisingIdentifierCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  266. public void Call(string param0, bool param1, string param2)
  267. {
  268. func.BeginPCall();
  269. func.Push(param0);
  270. func.Push(param1);
  271. func.Push(param2);
  272. func.PCall();
  273. func.EndPCall();
  274. }
  275. public void CallWithSelf(string param0, bool param1, string param2)
  276. {
  277. func.BeginPCall();
  278. func.Push(self);
  279. func.Push(param0);
  280. func.Push(param1);
  281. func.Push(param2);
  282. func.PCall();
  283. func.EndPCall();
  284. }
  285. }
  286. public static Delegate UnityEngine_Application_AdvertisingIdentifierCallback(LuaFunction func, LuaTable self, bool flag)
  287. {
  288. if (func == null)
  289. {
  290. UnityEngine.Application.AdvertisingIdentifierCallback fn = delegate(string param0, bool param1, string param2) { };
  291. return fn;
  292. }
  293. if(!flag)
  294. {
  295. UnityEngine.Application.AdvertisingIdentifierCallback d = (new UnityEngine_Application_AdvertisingIdentifierCallback_Event(func)).Call;
  296. return d;
  297. }
  298. else
  299. {
  300. UnityEngine.Application.AdvertisingIdentifierCallback d = (new UnityEngine_Application_AdvertisingIdentifierCallback_Event(func, self)).CallWithSelf;
  301. return d;
  302. }
  303. }
  304. class UnityEngine_Application_LowMemoryCallback_Event : LuaDelegate
  305. {
  306. public UnityEngine_Application_LowMemoryCallback_Event(LuaFunction func) : base(func) { }
  307. public UnityEngine_Application_LowMemoryCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  308. public void Call()
  309. {
  310. func.Call();
  311. }
  312. public void CallWithSelf()
  313. {
  314. func.BeginPCall();
  315. func.Push(self);
  316. func.PCall();
  317. func.EndPCall();
  318. }
  319. }
  320. public static Delegate UnityEngine_Application_LowMemoryCallback(LuaFunction func, LuaTable self, bool flag)
  321. {
  322. if (func == null)
  323. {
  324. UnityEngine.Application.LowMemoryCallback fn = delegate() { };
  325. return fn;
  326. }
  327. if(!flag)
  328. {
  329. UnityEngine.Application.LowMemoryCallback d = (new UnityEngine_Application_LowMemoryCallback_Event(func)).Call;
  330. return d;
  331. }
  332. else
  333. {
  334. UnityEngine.Application.LowMemoryCallback d = (new UnityEngine_Application_LowMemoryCallback_Event(func, self)).CallWithSelf;
  335. return d;
  336. }
  337. }
  338. class UnityEngine_Application_LogCallback_Event : LuaDelegate
  339. {
  340. public UnityEngine_Application_LogCallback_Event(LuaFunction func) : base(func) { }
  341. public UnityEngine_Application_LogCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  342. public void Call(string param0, string param1, UnityEngine.LogType param2)
  343. {
  344. func.BeginPCall();
  345. func.Push(param0);
  346. func.Push(param1);
  347. func.Push(param2);
  348. func.PCall();
  349. func.EndPCall();
  350. }
  351. public void CallWithSelf(string param0, string param1, UnityEngine.LogType param2)
  352. {
  353. func.BeginPCall();
  354. func.Push(self);
  355. func.Push(param0);
  356. func.Push(param1);
  357. func.Push(param2);
  358. func.PCall();
  359. func.EndPCall();
  360. }
  361. }
  362. public static Delegate UnityEngine_Application_LogCallback(LuaFunction func, LuaTable self, bool flag)
  363. {
  364. if (func == null)
  365. {
  366. UnityEngine.Application.LogCallback fn = delegate(string param0, string param1, UnityEngine.LogType param2) { };
  367. return fn;
  368. }
  369. if(!flag)
  370. {
  371. UnityEngine.Application.LogCallback d = (new UnityEngine_Application_LogCallback_Event(func)).Call;
  372. return d;
  373. }
  374. else
  375. {
  376. UnityEngine.Application.LogCallback d = (new UnityEngine_Application_LogCallback_Event(func, self)).CallWithSelf;
  377. return d;
  378. }
  379. }
  380. class System_Action_bool_Event : LuaDelegate
  381. {
  382. public System_Action_bool_Event(LuaFunction func) : base(func) { }
  383. public System_Action_bool_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  384. public void Call(bool param0)
  385. {
  386. func.BeginPCall();
  387. func.Push(param0);
  388. func.PCall();
  389. func.EndPCall();
  390. }
  391. public void CallWithSelf(bool param0)
  392. {
  393. func.BeginPCall();
  394. func.Push(self);
  395. func.Push(param0);
  396. func.PCall();
  397. func.EndPCall();
  398. }
  399. }
  400. public static Delegate System_Action_bool(LuaFunction func, LuaTable self, bool flag)
  401. {
  402. if (func == null)
  403. {
  404. System.Action<bool> fn = delegate(bool param0) { };
  405. return fn;
  406. }
  407. if(!flag)
  408. {
  409. System.Action<bool> d = (new System_Action_bool_Event(func)).Call;
  410. return d;
  411. }
  412. else
  413. {
  414. System.Action<bool> d = (new System_Action_bool_Event(func, self)).CallWithSelf;
  415. return d;
  416. }
  417. }
  418. class System_Func_bool_Event : LuaDelegate
  419. {
  420. public System_Func_bool_Event(LuaFunction func) : base(func) { }
  421. public System_Func_bool_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  422. public bool Call()
  423. {
  424. func.BeginPCall();
  425. func.PCall();
  426. bool ret = func.CheckBoolean();
  427. func.EndPCall();
  428. return ret;
  429. }
  430. public bool CallWithSelf()
  431. {
  432. func.BeginPCall();
  433. func.Push(self);
  434. func.PCall();
  435. bool ret = func.CheckBoolean();
  436. func.EndPCall();
  437. return ret;
  438. }
  439. }
  440. public static Delegate System_Func_bool(LuaFunction func, LuaTable self, bool flag)
  441. {
  442. if (func == null)
  443. {
  444. System.Func<bool> fn = delegate() { return false; };
  445. return fn;
  446. }
  447. if(!flag)
  448. {
  449. System.Func<bool> d = (new System_Func_bool_Event(func)).Call;
  450. return d;
  451. }
  452. else
  453. {
  454. System.Func<bool> d = (new System_Func_bool_Event(func, self)).CallWithSelf;
  455. return d;
  456. }
  457. }
  458. class UnityEngine_AudioClip_PCMReaderCallback_Event : LuaDelegate
  459. {
  460. public UnityEngine_AudioClip_PCMReaderCallback_Event(LuaFunction func) : base(func) { }
  461. public UnityEngine_AudioClip_PCMReaderCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  462. public void Call(float[] param0)
  463. {
  464. func.BeginPCall();
  465. func.Push(param0);
  466. func.PCall();
  467. func.EndPCall();
  468. }
  469. public void CallWithSelf(float[] param0)
  470. {
  471. func.BeginPCall();
  472. func.Push(self);
  473. func.Push(param0);
  474. func.PCall();
  475. func.EndPCall();
  476. }
  477. }
  478. public static Delegate UnityEngine_AudioClip_PCMReaderCallback(LuaFunction func, LuaTable self, bool flag)
  479. {
  480. if (func == null)
  481. {
  482. UnityEngine.AudioClip.PCMReaderCallback fn = delegate(float[] param0) { };
  483. return fn;
  484. }
  485. if(!flag)
  486. {
  487. UnityEngine.AudioClip.PCMReaderCallback d = (new UnityEngine_AudioClip_PCMReaderCallback_Event(func)).Call;
  488. return d;
  489. }
  490. else
  491. {
  492. UnityEngine.AudioClip.PCMReaderCallback d = (new UnityEngine_AudioClip_PCMReaderCallback_Event(func, self)).CallWithSelf;
  493. return d;
  494. }
  495. }
  496. class UnityEngine_AudioClip_PCMSetPositionCallback_Event : LuaDelegate
  497. {
  498. public UnityEngine_AudioClip_PCMSetPositionCallback_Event(LuaFunction func) : base(func) { }
  499. public UnityEngine_AudioClip_PCMSetPositionCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  500. public void Call(int param0)
  501. {
  502. func.BeginPCall();
  503. func.Push(param0);
  504. func.PCall();
  505. func.EndPCall();
  506. }
  507. public void CallWithSelf(int param0)
  508. {
  509. func.BeginPCall();
  510. func.Push(self);
  511. func.Push(param0);
  512. func.PCall();
  513. func.EndPCall();
  514. }
  515. }
  516. public static Delegate UnityEngine_AudioClip_PCMSetPositionCallback(LuaFunction func, LuaTable self, bool flag)
  517. {
  518. if (func == null)
  519. {
  520. UnityEngine.AudioClip.PCMSetPositionCallback fn = delegate(int param0) { };
  521. return fn;
  522. }
  523. if(!flag)
  524. {
  525. UnityEngine.AudioClip.PCMSetPositionCallback d = (new UnityEngine_AudioClip_PCMSetPositionCallback_Event(func)).Call;
  526. return d;
  527. }
  528. else
  529. {
  530. UnityEngine.AudioClip.PCMSetPositionCallback d = (new UnityEngine_AudioClip_PCMSetPositionCallback_Event(func, self)).CallWithSelf;
  531. return d;
  532. }
  533. }
  534. class System_Action_UnityEngine_AsyncOperation_Event : LuaDelegate
  535. {
  536. public System_Action_UnityEngine_AsyncOperation_Event(LuaFunction func) : base(func) { }
  537. public System_Action_UnityEngine_AsyncOperation_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  538. public void Call(UnityEngine.AsyncOperation param0)
  539. {
  540. func.BeginPCall();
  541. func.PushObject(param0);
  542. func.PCall();
  543. func.EndPCall();
  544. }
  545. public void CallWithSelf(UnityEngine.AsyncOperation param0)
  546. {
  547. func.BeginPCall();
  548. func.Push(self);
  549. func.PushObject(param0);
  550. func.PCall();
  551. func.EndPCall();
  552. }
  553. }
  554. public static Delegate System_Action_UnityEngine_AsyncOperation(LuaFunction func, LuaTable self, bool flag)
  555. {
  556. if (func == null)
  557. {
  558. System.Action<UnityEngine.AsyncOperation> fn = delegate(UnityEngine.AsyncOperation param0) { };
  559. return fn;
  560. }
  561. if(!flag)
  562. {
  563. System.Action<UnityEngine.AsyncOperation> d = (new System_Action_UnityEngine_AsyncOperation_Event(func)).Call;
  564. return d;
  565. }
  566. else
  567. {
  568. System.Action<UnityEngine.AsyncOperation> d = (new System_Action_UnityEngine_AsyncOperation_Event(func, self)).CallWithSelf;
  569. return d;
  570. }
  571. }
  572. class UnityEngine_RectTransform_ReapplyDrivenProperties_Event : LuaDelegate
  573. {
  574. public UnityEngine_RectTransform_ReapplyDrivenProperties_Event(LuaFunction func) : base(func) { }
  575. public UnityEngine_RectTransform_ReapplyDrivenProperties_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  576. public void Call(UnityEngine.RectTransform param0)
  577. {
  578. func.BeginPCall();
  579. func.Push(param0);
  580. func.PCall();
  581. func.EndPCall();
  582. }
  583. public void CallWithSelf(UnityEngine.RectTransform param0)
  584. {
  585. func.BeginPCall();
  586. func.Push(self);
  587. func.Push(param0);
  588. func.PCall();
  589. func.EndPCall();
  590. }
  591. }
  592. public static Delegate UnityEngine_RectTransform_ReapplyDrivenProperties(LuaFunction func, LuaTable self, bool flag)
  593. {
  594. if (func == null)
  595. {
  596. UnityEngine.RectTransform.ReapplyDrivenProperties fn = delegate(UnityEngine.RectTransform param0) { };
  597. return fn;
  598. }
  599. if(!flag)
  600. {
  601. UnityEngine.RectTransform.ReapplyDrivenProperties d = (new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func)).Call;
  602. return d;
  603. }
  604. else
  605. {
  606. UnityEngine.RectTransform.ReapplyDrivenProperties d = (new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func, self)).CallWithSelf;
  607. return d;
  608. }
  609. }
  610. class UnityEngine_UI_InputField_OnValidateInput_Event : LuaDelegate
  611. {
  612. public UnityEngine_UI_InputField_OnValidateInput_Event(LuaFunction func) : base(func) { }
  613. public UnityEngine_UI_InputField_OnValidateInput_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  614. public char Call(string param0, int param1, char param2)
  615. {
  616. func.BeginPCall();
  617. func.Push(param0);
  618. func.Push(param1);
  619. func.Push(param2);
  620. func.PCall();
  621. char ret = (char)func.CheckNumber();
  622. func.EndPCall();
  623. return ret;
  624. }
  625. public char CallWithSelf(string param0, int param1, char param2)
  626. {
  627. func.BeginPCall();
  628. func.Push(self);
  629. func.Push(param0);
  630. func.Push(param1);
  631. func.Push(param2);
  632. func.PCall();
  633. char ret = (char)func.CheckNumber();
  634. func.EndPCall();
  635. return ret;
  636. }
  637. }
  638. public static Delegate UnityEngine_UI_InputField_OnValidateInput(LuaFunction func, LuaTable self, bool flag)
  639. {
  640. if (func == null)
  641. {
  642. UnityEngine.UI.InputField.OnValidateInput fn = delegate(string param0, int param1, char param2) { return '\0'; };
  643. return fn;
  644. }
  645. if(!flag)
  646. {
  647. UnityEngine.UI.InputField.OnValidateInput d = (new UnityEngine_UI_InputField_OnValidateInput_Event(func)).Call;
  648. return d;
  649. }
  650. else
  651. {
  652. UnityEngine.UI.InputField.OnValidateInput d = (new UnityEngine_UI_InputField_OnValidateInput_Event(func, self)).CallWithSelf;
  653. return d;
  654. }
  655. }
  656. class UnityEngine_Font_FontTextureRebuildCallback_Event : LuaDelegate
  657. {
  658. public UnityEngine_Font_FontTextureRebuildCallback_Event(LuaFunction func) : base(func) { }
  659. public UnityEngine_Font_FontTextureRebuildCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  660. public void Call()
  661. {
  662. func.Call();
  663. }
  664. public void CallWithSelf()
  665. {
  666. func.BeginPCall();
  667. func.Push(self);
  668. func.PCall();
  669. func.EndPCall();
  670. }
  671. }
  672. public static Delegate UnityEngine_Font_FontTextureRebuildCallback(LuaFunction func, LuaTable self, bool flag)
  673. {
  674. if (func == null)
  675. {
  676. UnityEngine.Font.FontTextureRebuildCallback fn = delegate() { };
  677. return fn;
  678. }
  679. if(!flag)
  680. {
  681. UnityEngine.Font.FontTextureRebuildCallback d = (new UnityEngine_Font_FontTextureRebuildCallback_Event(func)).Call;
  682. return d;
  683. }
  684. else
  685. {
  686. UnityEngine.Font.FontTextureRebuildCallback d = (new UnityEngine_Font_FontTextureRebuildCallback_Event(func, self)).CallWithSelf;
  687. return d;
  688. }
  689. }
  690. class System_Action_UnityEngine_Font_Event : LuaDelegate
  691. {
  692. public System_Action_UnityEngine_Font_Event(LuaFunction func) : base(func) { }
  693. public System_Action_UnityEngine_Font_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  694. public void Call(UnityEngine.Font param0)
  695. {
  696. func.BeginPCall();
  697. func.Push(param0);
  698. func.PCall();
  699. func.EndPCall();
  700. }
  701. public void CallWithSelf(UnityEngine.Font param0)
  702. {
  703. func.BeginPCall();
  704. func.Push(self);
  705. func.Push(param0);
  706. func.PCall();
  707. func.EndPCall();
  708. }
  709. }
  710. public static Delegate System_Action_UnityEngine_Font(LuaFunction func, LuaTable self, bool flag)
  711. {
  712. if (func == null)
  713. {
  714. System.Action<UnityEngine.Font> fn = delegate(UnityEngine.Font param0) { };
  715. return fn;
  716. }
  717. if(!flag)
  718. {
  719. System.Action<UnityEngine.Font> d = (new System_Action_UnityEngine_Font_Event(func)).Call;
  720. return d;
  721. }
  722. else
  723. {
  724. System.Action<UnityEngine.Font> d = (new System_Action_UnityEngine_Font_Event(func, self)).CallWithSelf;
  725. return d;
  726. }
  727. }
  728. class LuaFramework_LuaEventListener_VoidDelegate_Event : LuaDelegate
  729. {
  730. public LuaFramework_LuaEventListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
  731. public LuaFramework_LuaEventListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  732. public void Call(UnityEngine.GameObject param0, float param1, float param2)
  733. {
  734. func.BeginPCall();
  735. func.Push(param0);
  736. func.Push(param1);
  737. func.Push(param2);
  738. func.PCall();
  739. func.EndPCall();
  740. }
  741. public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
  742. {
  743. func.BeginPCall();
  744. func.Push(self);
  745. func.Push(param0);
  746. func.Push(param1);
  747. func.Push(param2);
  748. func.PCall();
  749. func.EndPCall();
  750. }
  751. }
  752. public static Delegate LuaFramework_LuaEventListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
  753. {
  754. if (func == null)
  755. {
  756. LuaFramework.LuaEventListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
  757. return fn;
  758. }
  759. if(!flag)
  760. {
  761. LuaFramework.LuaEventListener.VoidDelegate d = (new LuaFramework_LuaEventListener_VoidDelegate_Event(func)).Call;
  762. return d;
  763. }
  764. else
  765. {
  766. LuaFramework.LuaEventListener.VoidDelegate d = (new LuaFramework_LuaEventListener_VoidDelegate_Event(func, self)).CallWithSelf;
  767. return d;
  768. }
  769. }
  770. class LuaFramework_LuaClickListener_VoidDelegate_Event : LuaDelegate
  771. {
  772. public LuaFramework_LuaClickListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
  773. public LuaFramework_LuaClickListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  774. public void Call(UnityEngine.GameObject param0, float param1, float param2)
  775. {
  776. func.BeginPCall();
  777. func.Push(param0);
  778. func.Push(param1);
  779. func.Push(param2);
  780. func.PCall();
  781. func.EndPCall();
  782. }
  783. public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
  784. {
  785. func.BeginPCall();
  786. func.Push(self);
  787. func.Push(param0);
  788. func.Push(param1);
  789. func.Push(param2);
  790. func.PCall();
  791. func.EndPCall();
  792. }
  793. }
  794. public static Delegate LuaFramework_LuaClickListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
  795. {
  796. if (func == null)
  797. {
  798. LuaFramework.LuaClickListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
  799. return fn;
  800. }
  801. if(!flag)
  802. {
  803. LuaFramework.LuaClickListener.VoidDelegate d = (new LuaFramework_LuaClickListener_VoidDelegate_Event(func)).Call;
  804. return d;
  805. }
  806. else
  807. {
  808. LuaFramework.LuaClickListener.VoidDelegate d = (new LuaFramework_LuaClickListener_VoidDelegate_Event(func, self)).CallWithSelf;
  809. return d;
  810. }
  811. }
  812. class LuaFramework_LuaDragListener_VoidDelegate_Event : LuaDelegate
  813. {
  814. public LuaFramework_LuaDragListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
  815. public LuaFramework_LuaDragListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  816. public void Call(UnityEngine.GameObject param0, float param1, float param2)
  817. {
  818. func.BeginPCall();
  819. func.Push(param0);
  820. func.Push(param1);
  821. func.Push(param2);
  822. func.PCall();
  823. func.EndPCall();
  824. }
  825. public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
  826. {
  827. func.BeginPCall();
  828. func.Push(self);
  829. func.Push(param0);
  830. func.Push(param1);
  831. func.Push(param2);
  832. func.PCall();
  833. func.EndPCall();
  834. }
  835. }
  836. public static Delegate LuaFramework_LuaDragListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
  837. {
  838. if (func == null)
  839. {
  840. LuaFramework.LuaDragListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
  841. return fn;
  842. }
  843. if(!flag)
  844. {
  845. LuaFramework.LuaDragListener.VoidDelegate d = (new LuaFramework_LuaDragListener_VoidDelegate_Event(func)).Call;
  846. return d;
  847. }
  848. else
  849. {
  850. LuaFramework.LuaDragListener.VoidDelegate d = (new LuaFramework_LuaDragListener_VoidDelegate_Event(func, self)).CallWithSelf;
  851. return d;
  852. }
  853. }
  854. class LuaFramework_LuaDragExtendListener_VoidDelegate_Event : LuaDelegate
  855. {
  856. public LuaFramework_LuaDragExtendListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
  857. public LuaFramework_LuaDragExtendListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  858. public void Call(UnityEngine.GameObject param0, float param1, float param2)
  859. {
  860. func.BeginPCall();
  861. func.Push(param0);
  862. func.Push(param1);
  863. func.Push(param2);
  864. func.PCall();
  865. func.EndPCall();
  866. }
  867. public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
  868. {
  869. func.BeginPCall();
  870. func.Push(self);
  871. func.Push(param0);
  872. func.Push(param1);
  873. func.Push(param2);
  874. func.PCall();
  875. func.EndPCall();
  876. }
  877. }
  878. public static Delegate LuaFramework_LuaDragExtendListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
  879. {
  880. if (func == null)
  881. {
  882. LuaFramework.LuaDragExtendListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
  883. return fn;
  884. }
  885. if(!flag)
  886. {
  887. LuaFramework.LuaDragExtendListener.VoidDelegate d = (new LuaFramework_LuaDragExtendListener_VoidDelegate_Event(func)).Call;
  888. return d;
  889. }
  890. else
  891. {
  892. LuaFramework.LuaDragExtendListener.VoidDelegate d = (new LuaFramework_LuaDragExtendListener_VoidDelegate_Event(func, self)).CallWithSelf;
  893. return d;
  894. }
  895. }
  896. class System_Action_UnityEngine_Objects_Event : LuaDelegate
  897. {
  898. public System_Action_UnityEngine_Objects_Event(LuaFunction func) : base(func) { }
  899. public System_Action_UnityEngine_Objects_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  900. public void Call(UnityEngine.Object[] param0)
  901. {
  902. func.BeginPCall();
  903. func.Push(param0);
  904. func.PCall();
  905. func.EndPCall();
  906. }
  907. public void CallWithSelf(UnityEngine.Object[] param0)
  908. {
  909. func.BeginPCall();
  910. func.Push(self);
  911. func.Push(param0);
  912. func.PCall();
  913. func.EndPCall();
  914. }
  915. }
  916. public static Delegate System_Action_UnityEngine_Objects(LuaFunction func, LuaTable self, bool flag)
  917. {
  918. if (func == null)
  919. {
  920. System.Action<UnityEngine.Object[]> fn = delegate(UnityEngine.Object[] param0) { };
  921. return fn;
  922. }
  923. if(!flag)
  924. {
  925. System.Action<UnityEngine.Object[]> d = (new System_Action_UnityEngine_Objects_Event(func)).Call;
  926. return d;
  927. }
  928. else
  929. {
  930. System.Action<UnityEngine.Object[]> d = (new System_Action_UnityEngine_Objects_Event(func, self)).CallWithSelf;
  931. return d;
  932. }
  933. }
  934. class System_Action_bool_strings_Event : LuaDelegate
  935. {
  936. public System_Action_bool_strings_Event(LuaFunction func) : base(func) { }
  937. public System_Action_bool_strings_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  938. public void Call(bool param0, string[] param1)
  939. {
  940. func.BeginPCall();
  941. func.Push(param0);
  942. func.Push(param1);
  943. func.PCall();
  944. func.EndPCall();
  945. }
  946. public void CallWithSelf(bool param0, string[] param1)
  947. {
  948. func.BeginPCall();
  949. func.Push(self);
  950. func.Push(param0);
  951. func.Push(param1);
  952. func.PCall();
  953. func.EndPCall();
  954. }
  955. }
  956. public static Delegate System_Action_bool_strings(LuaFunction func, LuaTable self, bool flag)
  957. {
  958. if (func == null)
  959. {
  960. System.Action<bool,string[]> fn = delegate(bool param0, string[] param1) { };
  961. return fn;
  962. }
  963. if(!flag)
  964. {
  965. System.Action<bool,string[]> d = (new System_Action_bool_strings_Event(func)).Call;
  966. return d;
  967. }
  968. else
  969. {
  970. System.Action<bool,string[]> d = (new System_Action_bool_strings_Event(func, self)).CallWithSelf;
  971. return d;
  972. }
  973. }
  974. class System_Action_string_Event : LuaDelegate
  975. {
  976. public System_Action_string_Event(LuaFunction func) : base(func) { }
  977. public System_Action_string_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  978. public void Call(string param0)
  979. {
  980. func.BeginPCall();
  981. func.Push(param0);
  982. func.PCall();
  983. func.EndPCall();
  984. }
  985. public void CallWithSelf(string param0)
  986. {
  987. func.BeginPCall();
  988. func.Push(self);
  989. func.Push(param0);
  990. func.PCall();
  991. func.EndPCall();
  992. }
  993. }
  994. public static Delegate System_Action_string(LuaFunction func, LuaTable self, bool flag)
  995. {
  996. if (func == null)
  997. {
  998. System.Action<string> fn = delegate(string param0) { };
  999. return fn;
  1000. }
  1001. if(!flag)
  1002. {
  1003. System.Action<string> d = (new System_Action_string_Event(func)).Call;
  1004. return d;
  1005. }
  1006. else
  1007. {
  1008. System.Action<string> d = (new System_Action_string_Event(func, self)).CallWithSelf;
  1009. return d;
  1010. }
  1011. }
  1012. class System_Action_UnityEngine_Object_Event : LuaDelegate
  1013. {
  1014. public System_Action_UnityEngine_Object_Event(LuaFunction func) : base(func) { }
  1015. public System_Action_UnityEngine_Object_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1016. public void Call(UnityEngine.Object param0)
  1017. {
  1018. func.BeginPCall();
  1019. func.Push(param0);
  1020. func.PCall();
  1021. func.EndPCall();
  1022. }
  1023. public void CallWithSelf(UnityEngine.Object param0)
  1024. {
  1025. func.BeginPCall();
  1026. func.Push(self);
  1027. func.Push(param0);
  1028. func.PCall();
  1029. func.EndPCall();
  1030. }
  1031. }
  1032. public static Delegate System_Action_UnityEngine_Object(LuaFunction func, LuaTable self, bool flag)
  1033. {
  1034. if (func == null)
  1035. {
  1036. System.Action<UnityEngine.Object> fn = delegate(UnityEngine.Object param0) { };
  1037. return fn;
  1038. }
  1039. if(!flag)
  1040. {
  1041. System.Action<UnityEngine.Object> d = (new System_Action_UnityEngine_Object_Event(func)).Call;
  1042. return d;
  1043. }
  1044. else
  1045. {
  1046. System.Action<UnityEngine.Object> d = (new System_Action_UnityEngine_Object_Event(func, self)).CallWithSelf;
  1047. return d;
  1048. }
  1049. }
  1050. class System_Action_string_UnityEngine_LogType_Event : LuaDelegate
  1051. {
  1052. public System_Action_string_UnityEngine_LogType_Event(LuaFunction func) : base(func) { }
  1053. public System_Action_string_UnityEngine_LogType_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1054. public void Call(string param0, UnityEngine.LogType param1)
  1055. {
  1056. func.BeginPCall();
  1057. func.Push(param0);
  1058. func.Push(param1);
  1059. func.PCall();
  1060. func.EndPCall();
  1061. }
  1062. public void CallWithSelf(string param0, UnityEngine.LogType param1)
  1063. {
  1064. func.BeginPCall();
  1065. func.Push(self);
  1066. func.Push(param0);
  1067. func.Push(param1);
  1068. func.PCall();
  1069. func.EndPCall();
  1070. }
  1071. }
  1072. public static Delegate System_Action_string_UnityEngine_LogType(LuaFunction func, LuaTable self, bool flag)
  1073. {
  1074. if (func == null)
  1075. {
  1076. System.Action<string,UnityEngine.LogType> fn = delegate(string param0, UnityEngine.LogType param1) { };
  1077. return fn;
  1078. }
  1079. if(!flag)
  1080. {
  1081. System.Action<string,UnityEngine.LogType> d = (new System_Action_string_UnityEngine_LogType_Event(func)).Call;
  1082. return d;
  1083. }
  1084. else
  1085. {
  1086. System.Action<string,UnityEngine.LogType> d = (new System_Action_string_UnityEngine_LogType_Event(func, self)).CallWithSelf;
  1087. return d;
  1088. }
  1089. }
  1090. class System_Action_LuaFramework_HTTPResponse_Event : LuaDelegate
  1091. {
  1092. public System_Action_LuaFramework_HTTPResponse_Event(LuaFunction func) : base(func) { }
  1093. public System_Action_LuaFramework_HTTPResponse_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1094. public void Call(LuaFramework.HTTPResponse param0)
  1095. {
  1096. func.BeginPCall();
  1097. func.PushObject(param0);
  1098. func.PCall();
  1099. func.EndPCall();
  1100. }
  1101. public void CallWithSelf(LuaFramework.HTTPResponse param0)
  1102. {
  1103. func.BeginPCall();
  1104. func.Push(self);
  1105. func.PushObject(param0);
  1106. func.PCall();
  1107. func.EndPCall();
  1108. }
  1109. }
  1110. public static Delegate System_Action_LuaFramework_HTTPResponse(LuaFunction func, LuaTable self, bool flag)
  1111. {
  1112. if (func == null)
  1113. {
  1114. System.Action<LuaFramework.HTTPResponse> fn = delegate(LuaFramework.HTTPResponse param0) { };
  1115. return fn;
  1116. }
  1117. if(!flag)
  1118. {
  1119. System.Action<LuaFramework.HTTPResponse> d = (new System_Action_LuaFramework_HTTPResponse_Event(func)).Call;
  1120. return d;
  1121. }
  1122. else
  1123. {
  1124. System.Action<LuaFramework.HTTPResponse> d = (new System_Action_LuaFramework_HTTPResponse_Event(func, self)).CallWithSelf;
  1125. return d;
  1126. }
  1127. }
  1128. class UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event : LuaDelegate
  1129. {
  1130. public UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(LuaFunction func) : base(func) { }
  1131. public UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1132. public void Call(UnityEngine.Vector2 param0)
  1133. {
  1134. func.BeginPCall();
  1135. func.Push(param0);
  1136. func.PCall();
  1137. func.EndPCall();
  1138. }
  1139. public void CallWithSelf(UnityEngine.Vector2 param0)
  1140. {
  1141. func.BeginPCall();
  1142. func.Push(self);
  1143. func.Push(param0);
  1144. func.PCall();
  1145. func.EndPCall();
  1146. }
  1147. }
  1148. public static Delegate UnityEngine_Events_UnityAction_UnityEngine_Vector2(LuaFunction func, LuaTable self, bool flag)
  1149. {
  1150. if (func == null)
  1151. {
  1152. UnityEngine.Events.UnityAction<UnityEngine.Vector2> fn = delegate(UnityEngine.Vector2 param0) { };
  1153. return fn;
  1154. }
  1155. if(!flag)
  1156. {
  1157. UnityEngine.Events.UnityAction<UnityEngine.Vector2> d = (new UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(func)).Call;
  1158. return d;
  1159. }
  1160. else
  1161. {
  1162. UnityEngine.Events.UnityAction<UnityEngine.Vector2> d = (new UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(func, self)).CallWithSelf;
  1163. return d;
  1164. }
  1165. }
  1166. class UnityEngine_Events_UnityAction_bool_Event : LuaDelegate
  1167. {
  1168. public UnityEngine_Events_UnityAction_bool_Event(LuaFunction func) : base(func) { }
  1169. public UnityEngine_Events_UnityAction_bool_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1170. public void Call(bool param0)
  1171. {
  1172. func.BeginPCall();
  1173. func.Push(param0);
  1174. func.PCall();
  1175. func.EndPCall();
  1176. }
  1177. public void CallWithSelf(bool param0)
  1178. {
  1179. func.BeginPCall();
  1180. func.Push(self);
  1181. func.Push(param0);
  1182. func.PCall();
  1183. func.EndPCall();
  1184. }
  1185. }
  1186. public static Delegate UnityEngine_Events_UnityAction_bool(LuaFunction func, LuaTable self, bool flag)
  1187. {
  1188. if (func == null)
  1189. {
  1190. UnityEngine.Events.UnityAction<bool> fn = delegate(bool param0) { };
  1191. return fn;
  1192. }
  1193. if(!flag)
  1194. {
  1195. UnityEngine.Events.UnityAction<bool> d = (new UnityEngine_Events_UnityAction_bool_Event(func)).Call;
  1196. return d;
  1197. }
  1198. else
  1199. {
  1200. UnityEngine.Events.UnityAction<bool> d = (new UnityEngine_Events_UnityAction_bool_Event(func, self)).CallWithSelf;
  1201. return d;
  1202. }
  1203. }
  1204. class UnityEngine_Events_UnityAction_string_Event : LuaDelegate
  1205. {
  1206. public UnityEngine_Events_UnityAction_string_Event(LuaFunction func) : base(func) { }
  1207. public UnityEngine_Events_UnityAction_string_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1208. public void Call(string param0)
  1209. {
  1210. func.BeginPCall();
  1211. func.Push(param0);
  1212. func.PCall();
  1213. func.EndPCall();
  1214. }
  1215. public void CallWithSelf(string param0)
  1216. {
  1217. func.BeginPCall();
  1218. func.Push(self);
  1219. func.Push(param0);
  1220. func.PCall();
  1221. func.EndPCall();
  1222. }
  1223. }
  1224. public static Delegate UnityEngine_Events_UnityAction_string(LuaFunction func, LuaTable self, bool flag)
  1225. {
  1226. if (func == null)
  1227. {
  1228. UnityEngine.Events.UnityAction<string> fn = delegate(string param0) { };
  1229. return fn;
  1230. }
  1231. if(!flag)
  1232. {
  1233. UnityEngine.Events.UnityAction<string> d = (new UnityEngine_Events_UnityAction_string_Event(func)).Call;
  1234. return d;
  1235. }
  1236. else
  1237. {
  1238. UnityEngine.Events.UnityAction<string> d = (new UnityEngine_Events_UnityAction_string_Event(func, self)).CallWithSelf;
  1239. return d;
  1240. }
  1241. }
  1242. class LuaFramework_LuaOverClickListener_VoidDelegate_Event : LuaDelegate
  1243. {
  1244. public LuaFramework_LuaOverClickListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
  1245. public LuaFramework_LuaOverClickListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1246. public void Call(UnityEngine.GameObject param0)
  1247. {
  1248. func.BeginPCall();
  1249. func.Push(param0);
  1250. func.PCall();
  1251. func.EndPCall();
  1252. }
  1253. public void CallWithSelf(UnityEngine.GameObject param0)
  1254. {
  1255. func.BeginPCall();
  1256. func.Push(self);
  1257. func.Push(param0);
  1258. func.PCall();
  1259. func.EndPCall();
  1260. }
  1261. }
  1262. public static Delegate LuaFramework_LuaOverClickListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
  1263. {
  1264. if (func == null)
  1265. {
  1266. LuaFramework.LuaOverClickListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0) { };
  1267. return fn;
  1268. }
  1269. if(!flag)
  1270. {
  1271. LuaFramework.LuaOverClickListener.VoidDelegate d = (new LuaFramework_LuaOverClickListener_VoidDelegate_Event(func)).Call;
  1272. return d;
  1273. }
  1274. else
  1275. {
  1276. LuaFramework.LuaOverClickListener.VoidDelegate d = (new LuaFramework_LuaOverClickListener_VoidDelegate_Event(func, self)).CallWithSelf;
  1277. return d;
  1278. }
  1279. }
  1280. class UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event : LuaDelegate
  1281. {
  1282. public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(LuaFunction func) : base(func) { }
  1283. public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1284. public void Call(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.LoadSceneMode param1)
  1285. {
  1286. func.BeginPCall();
  1287. func.PushValue(param0);
  1288. func.Push(param1);
  1289. func.PCall();
  1290. func.EndPCall();
  1291. }
  1292. public void CallWithSelf(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.LoadSceneMode param1)
  1293. {
  1294. func.BeginPCall();
  1295. func.Push(self);
  1296. func.PushValue(param0);
  1297. func.Push(param1);
  1298. func.PCall();
  1299. func.EndPCall();
  1300. }
  1301. }
  1302. public static Delegate UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode(LuaFunction func, LuaTable self, bool flag)
  1303. {
  1304. if (func == null)
  1305. {
  1306. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode> fn = delegate(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.LoadSceneMode param1) { };
  1307. return fn;
  1308. }
  1309. if(!flag)
  1310. {
  1311. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(func)).Call;
  1312. return d;
  1313. }
  1314. else
  1315. {
  1316. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(func, self)).CallWithSelf;
  1317. return d;
  1318. }
  1319. }
  1320. class UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event : LuaDelegate
  1321. {
  1322. public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(LuaFunction func) : base(func) { }
  1323. public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1324. public void Call(UnityEngine.SceneManagement.Scene param0)
  1325. {
  1326. func.BeginPCall();
  1327. func.PushValue(param0);
  1328. func.PCall();
  1329. func.EndPCall();
  1330. }
  1331. public void CallWithSelf(UnityEngine.SceneManagement.Scene param0)
  1332. {
  1333. func.BeginPCall();
  1334. func.Push(self);
  1335. func.PushValue(param0);
  1336. func.PCall();
  1337. func.EndPCall();
  1338. }
  1339. }
  1340. public static Delegate UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene(LuaFunction func, LuaTable self, bool flag)
  1341. {
  1342. if (func == null)
  1343. {
  1344. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene> fn = delegate(UnityEngine.SceneManagement.Scene param0) { };
  1345. return fn;
  1346. }
  1347. if(!flag)
  1348. {
  1349. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(func)).Call;
  1350. return d;
  1351. }
  1352. else
  1353. {
  1354. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(func, self)).CallWithSelf;
  1355. return d;
  1356. }
  1357. }
  1358. class UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event : LuaDelegate
  1359. {
  1360. public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(LuaFunction func) : base(func) { }
  1361. public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1362. public void Call(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.Scene param1)
  1363. {
  1364. func.BeginPCall();
  1365. func.PushValue(param0);
  1366. func.PushValue(param1);
  1367. func.PCall();
  1368. func.EndPCall();
  1369. }
  1370. public void CallWithSelf(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.Scene param1)
  1371. {
  1372. func.BeginPCall();
  1373. func.Push(self);
  1374. func.PushValue(param0);
  1375. func.PushValue(param1);
  1376. func.PCall();
  1377. func.EndPCall();
  1378. }
  1379. }
  1380. public static Delegate UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene(LuaFunction func, LuaTable self, bool flag)
  1381. {
  1382. if (func == null)
  1383. {
  1384. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene> fn = delegate(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.Scene param1) { };
  1385. return fn;
  1386. }
  1387. if(!flag)
  1388. {
  1389. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(func)).Call;
  1390. return d;
  1391. }
  1392. else
  1393. {
  1394. UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(func, self)).CallWithSelf;
  1395. return d;
  1396. }
  1397. }
  1398. class UnityEngine_Events_UnityAction_float_Event : LuaDelegate
  1399. {
  1400. public UnityEngine_Events_UnityAction_float_Event(LuaFunction func) : base(func) { }
  1401. public UnityEngine_Events_UnityAction_float_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1402. public void Call(float param0)
  1403. {
  1404. func.BeginPCall();
  1405. func.Push(param0);
  1406. func.PCall();
  1407. func.EndPCall();
  1408. }
  1409. public void CallWithSelf(float param0)
  1410. {
  1411. func.BeginPCall();
  1412. func.Push(self);
  1413. func.Push(param0);
  1414. func.PCall();
  1415. func.EndPCall();
  1416. }
  1417. }
  1418. public static Delegate UnityEngine_Events_UnityAction_float(LuaFunction func, LuaTable self, bool flag)
  1419. {
  1420. if (func == null)
  1421. {
  1422. UnityEngine.Events.UnityAction<float> fn = delegate(float param0) { };
  1423. return fn;
  1424. }
  1425. if(!flag)
  1426. {
  1427. UnityEngine.Events.UnityAction<float> d = (new UnityEngine_Events_UnityAction_float_Event(func)).Call;
  1428. return d;
  1429. }
  1430. else
  1431. {
  1432. UnityEngine.Events.UnityAction<float> d = (new UnityEngine_Events_UnityAction_float_Event(func, self)).CallWithSelf;
  1433. return d;
  1434. }
  1435. }
  1436. class Spine_Unity_UpdateBonesDelegate_Event : LuaDelegate
  1437. {
  1438. public Spine_Unity_UpdateBonesDelegate_Event(LuaFunction func) : base(func) { }
  1439. public Spine_Unity_UpdateBonesDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1440. public void Call(Spine.Unity.ISkeletonAnimation param0)
  1441. {
  1442. func.BeginPCall();
  1443. func.PushObject(param0);
  1444. func.PCall();
  1445. func.EndPCall();
  1446. }
  1447. public void CallWithSelf(Spine.Unity.ISkeletonAnimation param0)
  1448. {
  1449. func.BeginPCall();
  1450. func.Push(self);
  1451. func.PushObject(param0);
  1452. func.PCall();
  1453. func.EndPCall();
  1454. }
  1455. }
  1456. public static Delegate Spine_Unity_UpdateBonesDelegate(LuaFunction func, LuaTable self, bool flag)
  1457. {
  1458. if (func == null)
  1459. {
  1460. Spine.Unity.UpdateBonesDelegate fn = delegate(Spine.Unity.ISkeletonAnimation param0) { };
  1461. return fn;
  1462. }
  1463. if(!flag)
  1464. {
  1465. Spine.Unity.UpdateBonesDelegate d = (new Spine_Unity_UpdateBonesDelegate_Event(func)).Call;
  1466. return d;
  1467. }
  1468. else
  1469. {
  1470. Spine.Unity.UpdateBonesDelegate d = (new Spine_Unity_UpdateBonesDelegate_Event(func, self)).CallWithSelf;
  1471. return d;
  1472. }
  1473. }
  1474. class Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event : LuaDelegate
  1475. {
  1476. public Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(LuaFunction func) : base(func) { }
  1477. public Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1478. public void Call(Spine.Unity.SkeletonRenderer param0)
  1479. {
  1480. func.BeginPCall();
  1481. func.Push(param0);
  1482. func.PCall();
  1483. func.EndPCall();
  1484. }
  1485. public void CallWithSelf(Spine.Unity.SkeletonRenderer param0)
  1486. {
  1487. func.BeginPCall();
  1488. func.Push(self);
  1489. func.Push(param0);
  1490. func.PCall();
  1491. func.EndPCall();
  1492. }
  1493. }
  1494. public static Delegate Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate(LuaFunction func, LuaTable self, bool flag)
  1495. {
  1496. if (func == null)
  1497. {
  1498. Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate fn = delegate(Spine.Unity.SkeletonRenderer param0) { };
  1499. return fn;
  1500. }
  1501. if(!flag)
  1502. {
  1503. Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate d = (new Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(func)).Call;
  1504. return d;
  1505. }
  1506. else
  1507. {
  1508. Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate d = (new Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(func, self)).CallWithSelf;
  1509. return d;
  1510. }
  1511. }
  1512. class Spine_Unity_MeshGeneratorDelegate_Event : LuaDelegate
  1513. {
  1514. public Spine_Unity_MeshGeneratorDelegate_Event(LuaFunction func) : base(func) { }
  1515. public Spine_Unity_MeshGeneratorDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1516. public void Call(Spine.Unity.MeshGeneratorBuffers param0)
  1517. {
  1518. func.BeginPCall();
  1519. func.PushValue(param0);
  1520. func.PCall();
  1521. func.EndPCall();
  1522. }
  1523. public void CallWithSelf(Spine.Unity.MeshGeneratorBuffers param0)
  1524. {
  1525. func.BeginPCall();
  1526. func.Push(self);
  1527. func.PushValue(param0);
  1528. func.PCall();
  1529. func.EndPCall();
  1530. }
  1531. }
  1532. public static Delegate Spine_Unity_MeshGeneratorDelegate(LuaFunction func, LuaTable self, bool flag)
  1533. {
  1534. if (func == null)
  1535. {
  1536. Spine.Unity.MeshGeneratorDelegate fn = delegate(Spine.Unity.MeshGeneratorBuffers param0) { };
  1537. return fn;
  1538. }
  1539. if(!flag)
  1540. {
  1541. Spine.Unity.MeshGeneratorDelegate d = (new Spine_Unity_MeshGeneratorDelegate_Event(func)).Call;
  1542. return d;
  1543. }
  1544. else
  1545. {
  1546. Spine.Unity.MeshGeneratorDelegate d = (new Spine_Unity_MeshGeneratorDelegate_Event(func, self)).CallWithSelf;
  1547. return d;
  1548. }
  1549. }
  1550. class Spine_Unity_SkeletonRenderer_InstructionDelegate_Event : LuaDelegate
  1551. {
  1552. public Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(LuaFunction func) : base(func) { }
  1553. public Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1554. public void Call(Spine.Unity.SkeletonRendererInstruction param0)
  1555. {
  1556. func.BeginPCall();
  1557. func.PushObject(param0);
  1558. func.PCall();
  1559. func.EndPCall();
  1560. }
  1561. public void CallWithSelf(Spine.Unity.SkeletonRendererInstruction param0)
  1562. {
  1563. func.BeginPCall();
  1564. func.Push(self);
  1565. func.PushObject(param0);
  1566. func.PCall();
  1567. func.EndPCall();
  1568. }
  1569. }
  1570. public static Delegate Spine_Unity_SkeletonRenderer_InstructionDelegate(LuaFunction func, LuaTable self, bool flag)
  1571. {
  1572. if (func == null)
  1573. {
  1574. Spine.Unity.SkeletonRenderer.InstructionDelegate fn = delegate(Spine.Unity.SkeletonRendererInstruction param0) { };
  1575. return fn;
  1576. }
  1577. if(!flag)
  1578. {
  1579. Spine.Unity.SkeletonRenderer.InstructionDelegate d = (new Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(func)).Call;
  1580. return d;
  1581. }
  1582. else
  1583. {
  1584. Spine.Unity.SkeletonRenderer.InstructionDelegate d = (new Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(func, self)).CallWithSelf;
  1585. return d;
  1586. }
  1587. }
  1588. class UnityEngine_Video_VideoPlayer_EventHandler_Event : LuaDelegate
  1589. {
  1590. public UnityEngine_Video_VideoPlayer_EventHandler_Event(LuaFunction func) : base(func) { }
  1591. public UnityEngine_Video_VideoPlayer_EventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1592. public void Call(UnityEngine.Video.VideoPlayer param0)
  1593. {
  1594. func.BeginPCall();
  1595. func.Push(param0);
  1596. func.PCall();
  1597. func.EndPCall();
  1598. }
  1599. public void CallWithSelf(UnityEngine.Video.VideoPlayer param0)
  1600. {
  1601. func.BeginPCall();
  1602. func.Push(self);
  1603. func.Push(param0);
  1604. func.PCall();
  1605. func.EndPCall();
  1606. }
  1607. }
  1608. public static Delegate UnityEngine_Video_VideoPlayer_EventHandler(LuaFunction func, LuaTable self, bool flag)
  1609. {
  1610. if (func == null)
  1611. {
  1612. UnityEngine.Video.VideoPlayer.EventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0) { };
  1613. return fn;
  1614. }
  1615. if(!flag)
  1616. {
  1617. UnityEngine.Video.VideoPlayer.EventHandler d = (new UnityEngine_Video_VideoPlayer_EventHandler_Event(func)).Call;
  1618. return d;
  1619. }
  1620. else
  1621. {
  1622. UnityEngine.Video.VideoPlayer.EventHandler d = (new UnityEngine_Video_VideoPlayer_EventHandler_Event(func, self)).CallWithSelf;
  1623. return d;
  1624. }
  1625. }
  1626. class UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event : LuaDelegate
  1627. {
  1628. public UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(LuaFunction func) : base(func) { }
  1629. public UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1630. public void Call(UnityEngine.Video.VideoPlayer param0, string param1)
  1631. {
  1632. func.BeginPCall();
  1633. func.Push(param0);
  1634. func.Push(param1);
  1635. func.PCall();
  1636. func.EndPCall();
  1637. }
  1638. public void CallWithSelf(UnityEngine.Video.VideoPlayer param0, string param1)
  1639. {
  1640. func.BeginPCall();
  1641. func.Push(self);
  1642. func.Push(param0);
  1643. func.Push(param1);
  1644. func.PCall();
  1645. func.EndPCall();
  1646. }
  1647. }
  1648. public static Delegate UnityEngine_Video_VideoPlayer_ErrorEventHandler(LuaFunction func, LuaTable self, bool flag)
  1649. {
  1650. if (func == null)
  1651. {
  1652. UnityEngine.Video.VideoPlayer.ErrorEventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0, string param1) { };
  1653. return fn;
  1654. }
  1655. if(!flag)
  1656. {
  1657. UnityEngine.Video.VideoPlayer.ErrorEventHandler d = (new UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(func)).Call;
  1658. return d;
  1659. }
  1660. else
  1661. {
  1662. UnityEngine.Video.VideoPlayer.ErrorEventHandler d = (new UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(func, self)).CallWithSelf;
  1663. return d;
  1664. }
  1665. }
  1666. class UnityEngine_Video_VideoPlayer_TimeEventHandler_Event : LuaDelegate
  1667. {
  1668. public UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(LuaFunction func) : base(func) { }
  1669. public UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1670. public void Call(UnityEngine.Video.VideoPlayer param0, double param1)
  1671. {
  1672. func.BeginPCall();
  1673. func.Push(param0);
  1674. func.Push(param1);
  1675. func.PCall();
  1676. func.EndPCall();
  1677. }
  1678. public void CallWithSelf(UnityEngine.Video.VideoPlayer param0, double param1)
  1679. {
  1680. func.BeginPCall();
  1681. func.Push(self);
  1682. func.Push(param0);
  1683. func.Push(param1);
  1684. func.PCall();
  1685. func.EndPCall();
  1686. }
  1687. }
  1688. public static Delegate UnityEngine_Video_VideoPlayer_TimeEventHandler(LuaFunction func, LuaTable self, bool flag)
  1689. {
  1690. if (func == null)
  1691. {
  1692. UnityEngine.Video.VideoPlayer.TimeEventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0, double param1) { };
  1693. return fn;
  1694. }
  1695. if(!flag)
  1696. {
  1697. UnityEngine.Video.VideoPlayer.TimeEventHandler d = (new UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(func)).Call;
  1698. return d;
  1699. }
  1700. else
  1701. {
  1702. UnityEngine.Video.VideoPlayer.TimeEventHandler d = (new UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(func, self)).CallWithSelf;
  1703. return d;
  1704. }
  1705. }
  1706. class UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event : LuaDelegate
  1707. {
  1708. public UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(LuaFunction func) : base(func) { }
  1709. public UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1710. public void Call(UnityEngine.Video.VideoPlayer param0, long param1)
  1711. {
  1712. func.BeginPCall();
  1713. func.Push(param0);
  1714. func.Push(param1);
  1715. func.PCall();
  1716. func.EndPCall();
  1717. }
  1718. public void CallWithSelf(UnityEngine.Video.VideoPlayer param0, long param1)
  1719. {
  1720. func.BeginPCall();
  1721. func.Push(self);
  1722. func.Push(param0);
  1723. func.Push(param1);
  1724. func.PCall();
  1725. func.EndPCall();
  1726. }
  1727. }
  1728. public static Delegate UnityEngine_Video_VideoPlayer_FrameReadyEventHandler(LuaFunction func, LuaTable self, bool flag)
  1729. {
  1730. if (func == null)
  1731. {
  1732. UnityEngine.Video.VideoPlayer.FrameReadyEventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0, long param1) { };
  1733. return fn;
  1734. }
  1735. if(!flag)
  1736. {
  1737. UnityEngine.Video.VideoPlayer.FrameReadyEventHandler d = (new UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(func)).Call;
  1738. return d;
  1739. }
  1740. else
  1741. {
  1742. UnityEngine.Video.VideoPlayer.FrameReadyEventHandler d = (new UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(func, self)).CallWithSelf;
  1743. return d;
  1744. }
  1745. }
  1746. class TMPro_TMP_InputField_OnValidateInput_Event : LuaDelegate
  1747. {
  1748. public TMPro_TMP_InputField_OnValidateInput_Event(LuaFunction func) : base(func) { }
  1749. public TMPro_TMP_InputField_OnValidateInput_Event(LuaFunction func, LuaTable self) : base(func, self) { }
  1750. public char Call(string param0, int param1, char param2)
  1751. {
  1752. func.BeginPCall();
  1753. func.Push(param0);
  1754. func.Push(param1);
  1755. func.Push(param2);
  1756. func.PCall();
  1757. char ret = (char)func.CheckNumber();
  1758. func.EndPCall();
  1759. return ret;
  1760. }
  1761. public char CallWithSelf(string param0, int param1, char param2)
  1762. {
  1763. func.BeginPCall();
  1764. func.Push(self);
  1765. func.Push(param0);
  1766. func.Push(param1);
  1767. func.Push(param2);
  1768. func.PCall();
  1769. char ret = (char)func.CheckNumber();
  1770. func.EndPCall();
  1771. return ret;
  1772. }
  1773. }
  1774. public static Delegate TMPro_TMP_InputField_OnValidateInput(LuaFunction func, LuaTable self, bool flag)
  1775. {
  1776. if (func == null)
  1777. {
  1778. TMPro.TMP_InputField.OnValidateInput fn = delegate(string param0, int param1, char param2) { return '\0'; };
  1779. return fn;
  1780. }
  1781. if(!flag)
  1782. {
  1783. TMPro.TMP_InputField.OnValidateInput d = (new TMPro_TMP_InputField_OnValidateInput_Event(func)).Call;
  1784. return d;
  1785. }
  1786. else
  1787. {
  1788. TMPro.TMP_InputField.OnValidateInput d = (new TMPro_TMP_InputField_OnValidateInput_Event(func, self)).CallWithSelf;
  1789. return d;
  1790. }
  1791. }
  1792. }