SDKMgrWrap.cs 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class SDKMgrWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(SDKMgr), typeof(UnityEngine.MonoBehaviour));
  9. L.RegFunction("SetHttpCheckUrl", SetHttpCheckUrl);
  10. L.RegFunction("Init", Init);
  11. L.RegFunction("Login", Login);
  12. L.RegFunction("Logout", Logout);
  13. L.RegFunction("Pay", Pay);
  14. L.RegFunction("EnterGame", EnterGame);
  15. L.RegFunction("CreateRole", CreateRole);
  16. L.RegFunction("ExitGame", ExitGame);
  17. L.RegFunction("UpdateRoleLv", UpdateRoleLv);
  18. L.RegFunction("SwitchAccount", SwitchAccount);
  19. L.RegFunction("Exit", Exit);
  20. L.RegFunction("Quit", Quit);
  21. L.RegFunction("IsReportAction", IsReportAction);
  22. L.RegFunction("ReportAction", ReportAction);
  23. L.RegFunction("GetSDKName", GetSDKName);
  24. L.RegFunction("SetLogined", SetLogined);
  25. L.RegFunction("SetInited", SetInited);
  26. L.RegFunction("GetLogined", GetLogined);
  27. L.RegFunction("GetInited", GetInited);
  28. L.RegFunction("CheckSpeech", CheckSpeech);
  29. L.RegFunction("CheckName", CheckName);
  30. L.RegFunction("Decode", Decode);
  31. L.RegFunction("CheckHasModul", CheckHasModul);
  32. L.RegFunction("OpenModul", OpenModul);
  33. L.RegFunction("OpenWebview", OpenWebview);
  34. L.RegFunction("OpenGM", OpenGM);
  35. L.RegFunction("CloseGM", CloseGM);
  36. L.RegFunction("OpenCompactView", OpenCompactView);
  37. L.RegFunction("HasCanEnterServerJudge", HasCanEnterServerJudge);
  38. L.RegFunction("CanEnterServerJudge", CanEnterServerJudge);
  39. L.RegFunction("GetInt64TimeStamp", GetInt64TimeStamp);
  40. L.RegFunction("GetChannelName", GetChannelName);
  41. L.RegFunction("GetDeviceSystemData", GetDeviceSystemData);
  42. L.RegFunction("GetGameRoleInfo", GetGameRoleInfo);
  43. L.RegFunction("ReportActivation", ReportActivation);
  44. L.RegFunction("ReportUpdate", ReportUpdate);
  45. L.RegFunction("ReportDownload", ReportDownload);
  46. L.RegFunction("ReportLoginUI", ReportLoginUI);
  47. L.RegFunction("ReportIdentification", ReportIdentification);
  48. L.RegFunction("ReportLoad", ReportLoad);
  49. L.RegFunction("ReportTutorial", ReportTutorial);
  50. L.RegFunction("ReportUserCertification", ReportUserCertification);
  51. L.RegFunction("ReportCreateRole", ReportCreateRole);
  52. L.RegFunction("ReportLoginRole", ReportLoginRole);
  53. L.RegFunction("ReportRoleEnterFail", ReportRoleEnterFail);
  54. L.RegFunction("ReportLogoutRole", ReportLogoutRole);
  55. L.RegFunction("ReportAntiAddictionKickOff", ReportAntiAddictionKickOff);
  56. L.RegFunction("ReportPrepaid", ReportPrepaid);
  57. L.RegFunction("ReportItemBuy", ReportItemBuy);
  58. L.RegFunction("ReportYuanbaoUse", ReportYuanbaoUse);
  59. L.RegFunction("ReportYuanbaoGain", ReportYuanbaoGain);
  60. L.RegFunction("ReportFPS", ReportFPS);
  61. L.RegFunction("ReportChat", ReportChat);
  62. L.RegFunction("__eq", op_Equality);
  63. L.RegFunction("__tostring", ToLua.op_ToString);
  64. L.RegVar("sdk", get_sdk, set_sdk);
  65. L.RegVar("Instance", get_Instance, null);
  66. L.RegVar("SDKReport", get_SDKReport, null);
  67. L.EndClass();
  68. }
  69. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  70. static int SetHttpCheckUrl(IntPtr L)
  71. {
  72. try
  73. {
  74. ToLua.CheckArgsCount(L, 2);
  75. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  76. string arg0 = ToLua.CheckString(L, 2);
  77. obj.SetHttpCheckUrl(arg0);
  78. return 0;
  79. }
  80. catch (Exception e)
  81. {
  82. return LuaDLL.toluaL_exception(L, e);
  83. }
  84. }
  85. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  86. static int Init(IntPtr L)
  87. {
  88. try
  89. {
  90. ToLua.CheckArgsCount(L, 1);
  91. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  92. obj.Init();
  93. return 0;
  94. }
  95. catch (Exception e)
  96. {
  97. return LuaDLL.toluaL_exception(L, e);
  98. }
  99. }
  100. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  101. static int Login(IntPtr L)
  102. {
  103. try
  104. {
  105. ToLua.CheckArgsCount(L, 1);
  106. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  107. obj.Login();
  108. return 0;
  109. }
  110. catch (Exception e)
  111. {
  112. return LuaDLL.toluaL_exception(L, e);
  113. }
  114. }
  115. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  116. static int Logout(IntPtr L)
  117. {
  118. try
  119. {
  120. ToLua.CheckArgsCount(L, 1);
  121. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  122. obj.Logout();
  123. return 0;
  124. }
  125. catch (Exception e)
  126. {
  127. return LuaDLL.toluaL_exception(L, e);
  128. }
  129. }
  130. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  131. static int Pay(IntPtr L)
  132. {
  133. try
  134. {
  135. ToLua.CheckArgsCount(L, 8);
  136. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  137. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  138. string arg1 = ToLua.CheckString(L, 3);
  139. string arg2 = ToLua.CheckString(L, 4);
  140. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  141. float arg4 = (float)LuaDLL.luaL_checknumber(L, 6);
  142. string arg5 = ToLua.CheckString(L, 7);
  143. string arg6 = ToLua.CheckString(L, 8);
  144. obj.Pay(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
  145. return 0;
  146. }
  147. catch (Exception e)
  148. {
  149. return LuaDLL.toluaL_exception(L, e);
  150. }
  151. }
  152. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  153. static int EnterGame(IntPtr L)
  154. {
  155. try
  156. {
  157. ToLua.CheckArgsCount(L, 1);
  158. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  159. obj.EnterGame();
  160. return 0;
  161. }
  162. catch (Exception e)
  163. {
  164. return LuaDLL.toluaL_exception(L, e);
  165. }
  166. }
  167. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  168. static int CreateRole(IntPtr L)
  169. {
  170. try
  171. {
  172. ToLua.CheckArgsCount(L, 1);
  173. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  174. obj.CreateRole();
  175. return 0;
  176. }
  177. catch (Exception e)
  178. {
  179. return LuaDLL.toluaL_exception(L, e);
  180. }
  181. }
  182. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  183. static int ExitGame(IntPtr L)
  184. {
  185. try
  186. {
  187. ToLua.CheckArgsCount(L, 1);
  188. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  189. obj.ExitGame();
  190. return 0;
  191. }
  192. catch (Exception e)
  193. {
  194. return LuaDLL.toluaL_exception(L, e);
  195. }
  196. }
  197. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  198. static int UpdateRoleLv(IntPtr L)
  199. {
  200. try
  201. {
  202. ToLua.CheckArgsCount(L, 1);
  203. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  204. obj.UpdateRoleLv();
  205. return 0;
  206. }
  207. catch (Exception e)
  208. {
  209. return LuaDLL.toluaL_exception(L, e);
  210. }
  211. }
  212. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  213. static int SwitchAccount(IntPtr L)
  214. {
  215. try
  216. {
  217. ToLua.CheckArgsCount(L, 1);
  218. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  219. obj.SwitchAccount();
  220. return 0;
  221. }
  222. catch (Exception e)
  223. {
  224. return LuaDLL.toluaL_exception(L, e);
  225. }
  226. }
  227. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  228. static int Exit(IntPtr L)
  229. {
  230. try
  231. {
  232. ToLua.CheckArgsCount(L, 1);
  233. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  234. bool o = obj.Exit();
  235. LuaDLL.lua_pushboolean(L, o);
  236. return 1;
  237. }
  238. catch (Exception e)
  239. {
  240. return LuaDLL.toluaL_exception(L, e);
  241. }
  242. }
  243. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  244. static int Quit(IntPtr L)
  245. {
  246. try
  247. {
  248. ToLua.CheckArgsCount(L, 1);
  249. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  250. bool o = obj.Quit();
  251. LuaDLL.lua_pushboolean(L, o);
  252. return 1;
  253. }
  254. catch (Exception e)
  255. {
  256. return LuaDLL.toluaL_exception(L, e);
  257. }
  258. }
  259. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  260. static int IsReportAction(IntPtr L)
  261. {
  262. try
  263. {
  264. ToLua.CheckArgsCount(L, 1);
  265. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  266. bool o = obj.IsReportAction();
  267. LuaDLL.lua_pushboolean(L, o);
  268. return 1;
  269. }
  270. catch (Exception e)
  271. {
  272. return LuaDLL.toluaL_exception(L, e);
  273. }
  274. }
  275. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  276. static int ReportAction(IntPtr L)
  277. {
  278. try
  279. {
  280. ToLua.CheckArgsCount(L, 2);
  281. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  282. System.Collections.Generic.Dictionary<object,object> arg0 = (System.Collections.Generic.Dictionary<object,object>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Dictionary<object,object>));
  283. obj.ReportAction(arg0);
  284. return 0;
  285. }
  286. catch (Exception e)
  287. {
  288. return LuaDLL.toluaL_exception(L, e);
  289. }
  290. }
  291. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  292. static int GetSDKName(IntPtr L)
  293. {
  294. try
  295. {
  296. ToLua.CheckArgsCount(L, 1);
  297. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  298. string o = obj.GetSDKName();
  299. LuaDLL.lua_pushstring(L, o);
  300. return 1;
  301. }
  302. catch (Exception e)
  303. {
  304. return LuaDLL.toluaL_exception(L, e);
  305. }
  306. }
  307. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  308. static int SetLogined(IntPtr L)
  309. {
  310. try
  311. {
  312. ToLua.CheckArgsCount(L, 2);
  313. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  314. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  315. obj.SetLogined(arg0);
  316. return 0;
  317. }
  318. catch (Exception e)
  319. {
  320. return LuaDLL.toluaL_exception(L, e);
  321. }
  322. }
  323. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  324. static int SetInited(IntPtr L)
  325. {
  326. try
  327. {
  328. ToLua.CheckArgsCount(L, 2);
  329. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  330. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  331. obj.SetInited(arg0);
  332. return 0;
  333. }
  334. catch (Exception e)
  335. {
  336. return LuaDLL.toluaL_exception(L, e);
  337. }
  338. }
  339. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  340. static int GetLogined(IntPtr L)
  341. {
  342. try
  343. {
  344. ToLua.CheckArgsCount(L, 1);
  345. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  346. bool o = obj.GetLogined();
  347. LuaDLL.lua_pushboolean(L, o);
  348. return 1;
  349. }
  350. catch (Exception e)
  351. {
  352. return LuaDLL.toluaL_exception(L, e);
  353. }
  354. }
  355. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  356. static int GetInited(IntPtr L)
  357. {
  358. try
  359. {
  360. ToLua.CheckArgsCount(L, 1);
  361. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  362. bool o = obj.GetInited();
  363. LuaDLL.lua_pushboolean(L, o);
  364. return 1;
  365. }
  366. catch (Exception e)
  367. {
  368. return LuaDLL.toluaL_exception(L, e);
  369. }
  370. }
  371. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  372. static int CheckSpeech(IntPtr L)
  373. {
  374. try
  375. {
  376. ToLua.CheckArgsCount(L, 4);
  377. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  378. string arg0 = ToLua.CheckString(L, 2);
  379. ChannelType arg1 = (ChannelType)ToLua.CheckObject(L, 3, typeof(ChannelType));
  380. string arg2 = ToLua.CheckString(L, 4);
  381. bool o = obj.CheckSpeech(arg0, arg1, arg2);
  382. LuaDLL.lua_pushboolean(L, o);
  383. return 1;
  384. }
  385. catch (Exception e)
  386. {
  387. return LuaDLL.toluaL_exception(L, e);
  388. }
  389. }
  390. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  391. static int CheckName(IntPtr L)
  392. {
  393. try
  394. {
  395. ToLua.CheckArgsCount(L, 2);
  396. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  397. string arg0 = ToLua.CheckString(L, 2);
  398. bool o = obj.CheckName(arg0);
  399. LuaDLL.lua_pushboolean(L, o);
  400. return 1;
  401. }
  402. catch (Exception e)
  403. {
  404. return LuaDLL.toluaL_exception(L, e);
  405. }
  406. }
  407. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  408. static int Decode(IntPtr L)
  409. {
  410. try
  411. {
  412. ToLua.CheckArgsCount(L, 2);
  413. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  414. string arg0 = ToLua.CheckString(L, 2);
  415. obj.Decode(arg0);
  416. return 0;
  417. }
  418. catch (Exception e)
  419. {
  420. return LuaDLL.toluaL_exception(L, e);
  421. }
  422. }
  423. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  424. static int CheckHasModul(IntPtr L)
  425. {
  426. try
  427. {
  428. ToLua.CheckArgsCount(L, 2);
  429. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  430. SDKModulType arg0 = (SDKModulType)ToLua.CheckObject(L, 2, typeof(SDKModulType));
  431. bool o = obj.CheckHasModul(arg0);
  432. LuaDLL.lua_pushboolean(L, o);
  433. return 1;
  434. }
  435. catch (Exception e)
  436. {
  437. return LuaDLL.toluaL_exception(L, e);
  438. }
  439. }
  440. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  441. static int OpenModul(IntPtr L)
  442. {
  443. try
  444. {
  445. ToLua.CheckArgsCount(L, 2);
  446. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  447. SDKModulType arg0 = (SDKModulType)ToLua.CheckObject(L, 2, typeof(SDKModulType));
  448. obj.OpenModul(arg0);
  449. return 0;
  450. }
  451. catch (Exception e)
  452. {
  453. return LuaDLL.toluaL_exception(L, e);
  454. }
  455. }
  456. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  457. static int OpenWebview(IntPtr L)
  458. {
  459. try
  460. {
  461. ToLua.CheckArgsCount(L, 2);
  462. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  463. string arg0 = ToLua.CheckString(L, 2);
  464. obj.OpenWebview(arg0);
  465. return 0;
  466. }
  467. catch (Exception e)
  468. {
  469. return LuaDLL.toluaL_exception(L, e);
  470. }
  471. }
  472. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  473. static int OpenGM(IntPtr L)
  474. {
  475. try
  476. {
  477. ToLua.CheckArgsCount(L, 1);
  478. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  479. obj.OpenGM();
  480. return 0;
  481. }
  482. catch (Exception e)
  483. {
  484. return LuaDLL.toluaL_exception(L, e);
  485. }
  486. }
  487. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  488. static int CloseGM(IntPtr L)
  489. {
  490. try
  491. {
  492. ToLua.CheckArgsCount(L, 1);
  493. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  494. obj.CloseGM();
  495. return 0;
  496. }
  497. catch (Exception e)
  498. {
  499. return LuaDLL.toluaL_exception(L, e);
  500. }
  501. }
  502. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  503. static int OpenCompactView(IntPtr L)
  504. {
  505. try
  506. {
  507. ToLua.CheckArgsCount(L, 2);
  508. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  509. bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
  510. obj.OpenCompactView(arg0);
  511. return 0;
  512. }
  513. catch (Exception e)
  514. {
  515. return LuaDLL.toluaL_exception(L, e);
  516. }
  517. }
  518. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  519. static int HasCanEnterServerJudge(IntPtr L)
  520. {
  521. try
  522. {
  523. ToLua.CheckArgsCount(L, 1);
  524. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  525. bool o = obj.HasCanEnterServerJudge();
  526. LuaDLL.lua_pushboolean(L, o);
  527. return 1;
  528. }
  529. catch (Exception e)
  530. {
  531. return LuaDLL.toluaL_exception(L, e);
  532. }
  533. }
  534. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  535. static int CanEnterServerJudge(IntPtr L)
  536. {
  537. try
  538. {
  539. ToLua.CheckArgsCount(L, 3);
  540. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  541. string arg0 = ToLua.CheckString(L, 2);
  542. string arg1 = ToLua.CheckString(L, 3);
  543. obj.CanEnterServerJudge(arg0, arg1);
  544. return 0;
  545. }
  546. catch (Exception e)
  547. {
  548. return LuaDLL.toluaL_exception(L, e);
  549. }
  550. }
  551. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  552. static int GetInt64TimeStamp(IntPtr L)
  553. {
  554. try
  555. {
  556. ToLua.CheckArgsCount(L, 1);
  557. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  558. long o = obj.GetInt64TimeStamp();
  559. LuaDLL.tolua_pushint64(L, o);
  560. return 1;
  561. }
  562. catch (Exception e)
  563. {
  564. return LuaDLL.toluaL_exception(L, e);
  565. }
  566. }
  567. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  568. static int GetChannelName(IntPtr L)
  569. {
  570. try
  571. {
  572. ToLua.CheckArgsCount(L, 1);
  573. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  574. string o = obj.GetChannelName();
  575. LuaDLL.lua_pushstring(L, o);
  576. return 1;
  577. }
  578. catch (Exception e)
  579. {
  580. return LuaDLL.toluaL_exception(L, e);
  581. }
  582. }
  583. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  584. static int GetDeviceSystemData(IntPtr L)
  585. {
  586. try
  587. {
  588. ToLua.CheckArgsCount(L, 1);
  589. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  590. DeviceSystemData o = obj.GetDeviceSystemData();
  591. ToLua.PushObject(L, o);
  592. return 1;
  593. }
  594. catch (Exception e)
  595. {
  596. return LuaDLL.toluaL_exception(L, e);
  597. }
  598. }
  599. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  600. static int GetGameRoleInfo(IntPtr L)
  601. {
  602. try
  603. {
  604. ToLua.CheckArgsCount(L, 1);
  605. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  606. GameRoleInfo o = obj.GetGameRoleInfo();
  607. ToLua.PushObject(L, o);
  608. return 1;
  609. }
  610. catch (Exception e)
  611. {
  612. return LuaDLL.toluaL_exception(L, e);
  613. }
  614. }
  615. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  616. static int ReportActivation(IntPtr L)
  617. {
  618. try
  619. {
  620. ToLua.CheckArgsCount(L, 2);
  621. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  622. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  623. obj.ReportActivation(arg0);
  624. return 0;
  625. }
  626. catch (Exception e)
  627. {
  628. return LuaDLL.toluaL_exception(L, e);
  629. }
  630. }
  631. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  632. static int ReportUpdate(IntPtr L)
  633. {
  634. try
  635. {
  636. ToLua.CheckArgsCount(L, 5);
  637. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  638. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  639. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  640. long arg2 = LuaDLL.tolua_checkint64(L, 4);
  641. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  642. obj.ReportUpdate(arg0, arg1, arg2, arg3);
  643. return 0;
  644. }
  645. catch (Exception e)
  646. {
  647. return LuaDLL.toluaL_exception(L, e);
  648. }
  649. }
  650. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  651. static int ReportDownload(IntPtr L)
  652. {
  653. try
  654. {
  655. ToLua.CheckArgsCount(L, 7);
  656. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  657. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  658. string arg1 = ToLua.CheckString(L, 3);
  659. string arg2 = ToLua.CheckString(L, 4);
  660. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  661. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  662. int arg5 = (int)LuaDLL.luaL_checknumber(L, 7);
  663. obj.ReportDownload(arg0, arg1, arg2, arg3, arg4, arg5);
  664. return 0;
  665. }
  666. catch (Exception e)
  667. {
  668. return LuaDLL.toluaL_exception(L, e);
  669. }
  670. }
  671. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  672. static int ReportLoginUI(IntPtr L)
  673. {
  674. try
  675. {
  676. ToLua.CheckArgsCount(L, 2);
  677. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  678. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  679. obj.ReportLoginUI(arg0);
  680. return 0;
  681. }
  682. catch (Exception e)
  683. {
  684. return LuaDLL.toluaL_exception(L, e);
  685. }
  686. }
  687. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  688. static int ReportIdentification(IntPtr L)
  689. {
  690. try
  691. {
  692. ToLua.CheckArgsCount(L, 2);
  693. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  694. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  695. obj.ReportIdentification(arg0);
  696. return 0;
  697. }
  698. catch (Exception e)
  699. {
  700. return LuaDLL.toluaL_exception(L, e);
  701. }
  702. }
  703. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  704. static int ReportLoad(IntPtr L)
  705. {
  706. try
  707. {
  708. ToLua.CheckArgsCount(L, 3);
  709. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  710. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  711. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  712. obj.ReportLoad(arg0, arg1);
  713. return 0;
  714. }
  715. catch (Exception e)
  716. {
  717. return LuaDLL.toluaL_exception(L, e);
  718. }
  719. }
  720. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  721. static int ReportTutorial(IntPtr L)
  722. {
  723. try
  724. {
  725. ToLua.CheckArgsCount(L, 9);
  726. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  727. string arg0 = ToLua.CheckString(L, 2);
  728. string arg1 = ToLua.CheckString(L, 3);
  729. int arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
  730. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  731. long arg4 = LuaDLL.tolua_checkint64(L, 6);
  732. int arg5 = (int)LuaDLL.luaL_checknumber(L, 7);
  733. int arg6 = (int)LuaDLL.luaL_checknumber(L, 8);
  734. int arg7 = (int)LuaDLL.luaL_checknumber(L, 9);
  735. obj.ReportTutorial(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
  736. return 0;
  737. }
  738. catch (Exception e)
  739. {
  740. return LuaDLL.toluaL_exception(L, e);
  741. }
  742. }
  743. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  744. static int ReportUserCertification(IntPtr L)
  745. {
  746. try
  747. {
  748. ToLua.CheckArgsCount(L, 1);
  749. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  750. obj.ReportUserCertification();
  751. return 0;
  752. }
  753. catch (Exception e)
  754. {
  755. return LuaDLL.toluaL_exception(L, e);
  756. }
  757. }
  758. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  759. static int ReportCreateRole(IntPtr L)
  760. {
  761. try
  762. {
  763. ToLua.CheckArgsCount(L, 1);
  764. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  765. obj.ReportCreateRole();
  766. return 0;
  767. }
  768. catch (Exception e)
  769. {
  770. return LuaDLL.toluaL_exception(L, e);
  771. }
  772. }
  773. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  774. static int ReportLoginRole(IntPtr L)
  775. {
  776. try
  777. {
  778. ToLua.CheckArgsCount(L, 4);
  779. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  780. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  781. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  782. Offline_ItemDetail arg2 = (Offline_ItemDetail)ToLua.CheckObject<Offline_ItemDetail>(L, 4);
  783. obj.ReportLoginRole(arg0, arg1, arg2);
  784. return 0;
  785. }
  786. catch (Exception e)
  787. {
  788. return LuaDLL.toluaL_exception(L, e);
  789. }
  790. }
  791. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  792. static int ReportRoleEnterFail(IntPtr L)
  793. {
  794. try
  795. {
  796. ToLua.CheckArgsCount(L, 1);
  797. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  798. obj.ReportRoleEnterFail();
  799. return 0;
  800. }
  801. catch (Exception e)
  802. {
  803. return LuaDLL.toluaL_exception(L, e);
  804. }
  805. }
  806. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  807. static int ReportLogoutRole(IntPtr L)
  808. {
  809. try
  810. {
  811. ToLua.CheckArgsCount(L, 8);
  812. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  813. long arg0 = LuaDLL.tolua_checkint64(L, 2);
  814. string arg1 = ToLua.CheckString(L, 3);
  815. string arg2 = ToLua.CheckString(L, 4);
  816. string arg3 = ToLua.CheckString(L, 5);
  817. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  818. int arg5 = (int)LuaDLL.luaL_checknumber(L, 7);
  819. Item_SumDetail arg6 = (Item_SumDetail)ToLua.CheckObject<Item_SumDetail>(L, 8);
  820. obj.ReportLogoutRole(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
  821. return 0;
  822. }
  823. catch (Exception e)
  824. {
  825. return LuaDLL.toluaL_exception(L, e);
  826. }
  827. }
  828. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  829. static int ReportAntiAddictionKickOff(IntPtr L)
  830. {
  831. try
  832. {
  833. ToLua.CheckArgsCount(L, 6);
  834. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  835. string arg0 = ToLua.CheckString(L, 2);
  836. string arg1 = ToLua.CheckString(L, 3);
  837. string arg2 = ToLua.CheckString(L, 4);
  838. string arg3 = ToLua.CheckString(L, 5);
  839. string arg4 = ToLua.CheckString(L, 6);
  840. obj.ReportAntiAddictionKickOff(arg0, arg1, arg2, arg3, arg4);
  841. return 0;
  842. }
  843. catch (Exception e)
  844. {
  845. return LuaDLL.toluaL_exception(L, e);
  846. }
  847. }
  848. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  849. static int ReportPrepaid(IntPtr L)
  850. {
  851. try
  852. {
  853. ToLua.CheckArgsCount(L, 14);
  854. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  855. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  856. string arg1 = ToLua.CheckString(L, 3);
  857. string arg2 = ToLua.CheckString(L, 4);
  858. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  859. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  860. int arg5 = (int)LuaDLL.luaL_checknumber(L, 7);
  861. int arg6 = (int)LuaDLL.luaL_checknumber(L, 8);
  862. float arg7 = (float)LuaDLL.luaL_checknumber(L, 9);
  863. string arg8 = ToLua.CheckString(L, 10);
  864. int arg9 = (int)LuaDLL.luaL_checknumber(L, 11);
  865. int arg10 = (int)LuaDLL.luaL_checknumber(L, 12);
  866. long arg11 = LuaDLL.tolua_checkint64(L, 13);
  867. string arg12 = ToLua.CheckString(L, 14);
  868. obj.ReportPrepaid(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12);
  869. return 0;
  870. }
  871. catch (Exception e)
  872. {
  873. return LuaDLL.toluaL_exception(L, e);
  874. }
  875. }
  876. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  877. static int ReportItemBuy(IntPtr L)
  878. {
  879. try
  880. {
  881. ToLua.CheckArgsCount(L, 18);
  882. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  883. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  884. string arg1 = ToLua.CheckString(L, 3);
  885. string arg2 = ToLua.CheckString(L, 4);
  886. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  887. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  888. int arg5 = (int)LuaDLL.luaL_checknumber(L, 7);
  889. string arg6 = ToLua.CheckString(L, 8);
  890. string arg7 = ToLua.CheckString(L, 9);
  891. long arg8 = LuaDLL.tolua_checkint64(L, 10);
  892. long arg9 = LuaDLL.tolua_checkint64(L, 11);
  893. int arg10 = (int)LuaDLL.luaL_checknumber(L, 12);
  894. int arg11 = (int)LuaDLL.luaL_checknumber(L, 13);
  895. int arg12 = (int)LuaDLL.luaL_checknumber(L, 14);
  896. int arg13 = (int)LuaDLL.luaL_checknumber(L, 15);
  897. int arg14 = (int)LuaDLL.luaL_checknumber(L, 16);
  898. int arg15 = (int)LuaDLL.luaL_checknumber(L, 17);
  899. int arg16 = (int)LuaDLL.luaL_checknumber(L, 18);
  900. obj.ReportItemBuy(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16);
  901. return 0;
  902. }
  903. catch (Exception e)
  904. {
  905. return LuaDLL.toluaL_exception(L, e);
  906. }
  907. }
  908. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  909. static int ReportYuanbaoUse(IntPtr L)
  910. {
  911. try
  912. {
  913. ToLua.CheckArgsCount(L, 13);
  914. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  915. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  916. string arg1 = ToLua.CheckString(L, 3);
  917. string arg2 = ToLua.CheckString(L, 4);
  918. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  919. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  920. string arg5 = ToLua.CheckString(L, 7);
  921. YuanbaoUseDetails arg6 = (YuanbaoUseDetails)ToLua.CheckObject<YuanbaoUseDetails>(L, 8);
  922. int arg7 = (int)LuaDLL.luaL_checknumber(L, 9);
  923. int arg8 = (int)LuaDLL.luaL_checknumber(L, 10);
  924. int arg9 = (int)LuaDLL.luaL_checknumber(L, 11);
  925. int arg10 = (int)LuaDLL.luaL_checknumber(L, 12);
  926. long arg11 = LuaDLL.tolua_checkint64(L, 13);
  927. obj.ReportYuanbaoUse(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11);
  928. return 0;
  929. }
  930. catch (Exception e)
  931. {
  932. return LuaDLL.toluaL_exception(L, e);
  933. }
  934. }
  935. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  936. static int ReportYuanbaoGain(IntPtr L)
  937. {
  938. try
  939. {
  940. ToLua.CheckArgsCount(L, 12);
  941. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  942. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  943. string arg1 = ToLua.CheckString(L, 3);
  944. string arg2 = ToLua.CheckString(L, 4);
  945. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  946. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  947. string arg5 = ToLua.CheckString(L, 7);
  948. int arg6 = (int)LuaDLL.luaL_checknumber(L, 8);
  949. int arg7 = (int)LuaDLL.luaL_checknumber(L, 9);
  950. int arg8 = (int)LuaDLL.luaL_checknumber(L, 10);
  951. int arg9 = (int)LuaDLL.luaL_checknumber(L, 11);
  952. long arg10 = LuaDLL.tolua_checkint64(L, 12);
  953. obj.ReportYuanbaoGain(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
  954. return 0;
  955. }
  956. catch (Exception e)
  957. {
  958. return LuaDLL.toluaL_exception(L, e);
  959. }
  960. }
  961. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  962. static int ReportFPS(IntPtr L)
  963. {
  964. try
  965. {
  966. ToLua.CheckArgsCount(L, 8);
  967. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  968. string arg0 = ToLua.CheckString(L, 2);
  969. string arg1 = ToLua.CheckString(L, 3);
  970. string arg2 = ToLua.CheckString(L, 4);
  971. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  972. int arg4 = (int)LuaDLL.luaL_checknumber(L, 6);
  973. int[] arg5 = ToLua.CheckNumberArray<int>(L, 7);
  974. int[] arg6 = ToLua.CheckNumberArray<int>(L, 8);
  975. obj.ReportFPS(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
  976. return 0;
  977. }
  978. catch (Exception e)
  979. {
  980. return LuaDLL.toluaL_exception(L, e);
  981. }
  982. }
  983. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  984. static int ReportChat(IntPtr L)
  985. {
  986. try
  987. {
  988. ToLua.CheckArgsCount(L, 14);
  989. SDKMgr obj = (SDKMgr)ToLua.CheckObject<SDKMgr>(L, 1);
  990. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  991. string arg1 = ToLua.CheckString(L, 3);
  992. string arg2 = ToLua.CheckString(L, 4);
  993. int arg3 = (int)LuaDLL.luaL_checknumber(L, 5);
  994. string arg4 = ToLua.CheckString(L, 6);
  995. ChannelType arg5 = (ChannelType)ToLua.CheckObject(L, 7, typeof(ChannelType));
  996. string arg6 = ToLua.CheckString(L, 8);
  997. string arg7 = ToLua.CheckString(L, 9);
  998. long arg8 = LuaDLL.tolua_checkint64(L, 10);
  999. string arg9 = ToLua.CheckString(L, 11);
  1000. string arg10 = ToLua.CheckString(L, 12);
  1001. int arg11 = (int)LuaDLL.luaL_checknumber(L, 13);
  1002. string arg12 = ToLua.CheckString(L, 14);
  1003. obj.ReportChat(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12);
  1004. return 0;
  1005. }
  1006. catch (Exception e)
  1007. {
  1008. return LuaDLL.toluaL_exception(L, e);
  1009. }
  1010. }
  1011. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1012. static int op_Equality(IntPtr L)
  1013. {
  1014. try
  1015. {
  1016. ToLua.CheckArgsCount(L, 2);
  1017. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  1018. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  1019. bool o = arg0 == arg1;
  1020. LuaDLL.lua_pushboolean(L, o);
  1021. return 1;
  1022. }
  1023. catch (Exception e)
  1024. {
  1025. return LuaDLL.toluaL_exception(L, e);
  1026. }
  1027. }
  1028. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1029. static int get_sdk(IntPtr L)
  1030. {
  1031. object o = null;
  1032. try
  1033. {
  1034. o = ToLua.ToObject(L, 1);
  1035. SDKMgr obj = (SDKMgr)o;
  1036. SDKBase ret = obj.sdk;
  1037. ToLua.PushObject(L, ret);
  1038. return 1;
  1039. }
  1040. catch(Exception e)
  1041. {
  1042. return LuaDLL.toluaL_exception(L, e, o, "attempt to index sdk on a nil value");
  1043. }
  1044. }
  1045. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1046. static int get_Instance(IntPtr L)
  1047. {
  1048. try
  1049. {
  1050. ToLua.Push(L, SDKMgr.Instance);
  1051. return 1;
  1052. }
  1053. catch (Exception e)
  1054. {
  1055. return LuaDLL.toluaL_exception(L, e);
  1056. }
  1057. }
  1058. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1059. static int get_SDKReport(IntPtr L)
  1060. {
  1061. object o = null;
  1062. try
  1063. {
  1064. o = ToLua.ToObject(L, 1);
  1065. SDKMgr obj = (SDKMgr)o;
  1066. SDKReportBase ret = obj.SDKReport;
  1067. ToLua.PushObject(L, ret);
  1068. return 1;
  1069. }
  1070. catch(Exception e)
  1071. {
  1072. return LuaDLL.toluaL_exception(L, e, o, "attempt to index SDKReport on a nil value");
  1073. }
  1074. }
  1075. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1076. static int set_sdk(IntPtr L)
  1077. {
  1078. object o = null;
  1079. try
  1080. {
  1081. o = ToLua.ToObject(L, 1);
  1082. SDKMgr obj = (SDKMgr)o;
  1083. SDKBase arg0 = (SDKBase)ToLua.CheckObject<SDKBase>(L, 2);
  1084. obj.sdk = arg0;
  1085. return 0;
  1086. }
  1087. catch(Exception e)
  1088. {
  1089. return LuaDLL.toluaL_exception(L, e, o, "attempt to index sdk on a nil value");
  1090. }
  1091. }
  1092. }