DG_Tweening_EaseWrap.cs 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class DG_Tweening_EaseWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginEnum(typeof(DG.Tweening.Ease));
  9. L.RegVar("Unset", get_Unset, null);
  10. L.RegVar("Linear", get_Linear, null);
  11. L.RegVar("InSine", get_InSine, null);
  12. L.RegVar("OutSine", get_OutSine, null);
  13. L.RegVar("InOutSine", get_InOutSine, null);
  14. L.RegVar("InQuad", get_InQuad, null);
  15. L.RegVar("OutQuad", get_OutQuad, null);
  16. L.RegVar("InOutQuad", get_InOutQuad, null);
  17. L.RegVar("InCubic", get_InCubic, null);
  18. L.RegVar("OutCubic", get_OutCubic, null);
  19. L.RegVar("InOutCubic", get_InOutCubic, null);
  20. L.RegVar("InQuart", get_InQuart, null);
  21. L.RegVar("OutQuart", get_OutQuart, null);
  22. L.RegVar("InOutQuart", get_InOutQuart, null);
  23. L.RegVar("InQuint", get_InQuint, null);
  24. L.RegVar("OutQuint", get_OutQuint, null);
  25. L.RegVar("InOutQuint", get_InOutQuint, null);
  26. L.RegVar("InExpo", get_InExpo, null);
  27. L.RegVar("OutExpo", get_OutExpo, null);
  28. L.RegVar("InOutExpo", get_InOutExpo, null);
  29. L.RegVar("InCirc", get_InCirc, null);
  30. L.RegVar("OutCirc", get_OutCirc, null);
  31. L.RegVar("InOutCirc", get_InOutCirc, null);
  32. L.RegVar("InElastic", get_InElastic, null);
  33. L.RegVar("OutElastic", get_OutElastic, null);
  34. L.RegVar("InOutElastic", get_InOutElastic, null);
  35. L.RegVar("InBack", get_InBack, null);
  36. L.RegVar("OutBack", get_OutBack, null);
  37. L.RegVar("InOutBack", get_InOutBack, null);
  38. L.RegVar("InBounce", get_InBounce, null);
  39. L.RegVar("OutBounce", get_OutBounce, null);
  40. L.RegVar("InOutBounce", get_InOutBounce, null);
  41. L.RegVar("Flash", get_Flash, null);
  42. L.RegVar("InFlash", get_InFlash, null);
  43. L.RegVar("OutFlash", get_OutFlash, null);
  44. L.RegVar("InOutFlash", get_InOutFlash, null);
  45. L.RegVar("INTERNAL_Zero", get_INTERNAL_Zero, null);
  46. L.RegVar("INTERNAL_Custom", get_INTERNAL_Custom, null);
  47. L.RegFunction("IntToEnum", IntToEnum);
  48. L.EndEnum();
  49. TypeTraits<DG.Tweening.Ease>.Check = CheckType;
  50. StackTraits<DG.Tweening.Ease>.Push = Push;
  51. }
  52. static void Push(IntPtr L, DG.Tweening.Ease arg)
  53. {
  54. ToLua.Push(L, arg);
  55. }
  56. static bool CheckType(IntPtr L, int pos)
  57. {
  58. return TypeChecker.CheckEnumType(typeof(DG.Tweening.Ease), L, pos);
  59. }
  60. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  61. static int get_Unset(IntPtr L)
  62. {
  63. ToLua.Push(L, DG.Tweening.Ease.Unset);
  64. return 1;
  65. }
  66. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  67. static int get_Linear(IntPtr L)
  68. {
  69. ToLua.Push(L, DG.Tweening.Ease.Linear);
  70. return 1;
  71. }
  72. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  73. static int get_InSine(IntPtr L)
  74. {
  75. ToLua.Push(L, DG.Tweening.Ease.InSine);
  76. return 1;
  77. }
  78. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  79. static int get_OutSine(IntPtr L)
  80. {
  81. ToLua.Push(L, DG.Tweening.Ease.OutSine);
  82. return 1;
  83. }
  84. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  85. static int get_InOutSine(IntPtr L)
  86. {
  87. ToLua.Push(L, DG.Tweening.Ease.InOutSine);
  88. return 1;
  89. }
  90. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  91. static int get_InQuad(IntPtr L)
  92. {
  93. ToLua.Push(L, DG.Tweening.Ease.InQuad);
  94. return 1;
  95. }
  96. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  97. static int get_OutQuad(IntPtr L)
  98. {
  99. ToLua.Push(L, DG.Tweening.Ease.OutQuad);
  100. return 1;
  101. }
  102. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  103. static int get_InOutQuad(IntPtr L)
  104. {
  105. ToLua.Push(L, DG.Tweening.Ease.InOutQuad);
  106. return 1;
  107. }
  108. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  109. static int get_InCubic(IntPtr L)
  110. {
  111. ToLua.Push(L, DG.Tweening.Ease.InCubic);
  112. return 1;
  113. }
  114. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  115. static int get_OutCubic(IntPtr L)
  116. {
  117. ToLua.Push(L, DG.Tweening.Ease.OutCubic);
  118. return 1;
  119. }
  120. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  121. static int get_InOutCubic(IntPtr L)
  122. {
  123. ToLua.Push(L, DG.Tweening.Ease.InOutCubic);
  124. return 1;
  125. }
  126. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  127. static int get_InQuart(IntPtr L)
  128. {
  129. ToLua.Push(L, DG.Tweening.Ease.InQuart);
  130. return 1;
  131. }
  132. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  133. static int get_OutQuart(IntPtr L)
  134. {
  135. ToLua.Push(L, DG.Tweening.Ease.OutQuart);
  136. return 1;
  137. }
  138. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  139. static int get_InOutQuart(IntPtr L)
  140. {
  141. ToLua.Push(L, DG.Tweening.Ease.InOutQuart);
  142. return 1;
  143. }
  144. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  145. static int get_InQuint(IntPtr L)
  146. {
  147. ToLua.Push(L, DG.Tweening.Ease.InQuint);
  148. return 1;
  149. }
  150. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  151. static int get_OutQuint(IntPtr L)
  152. {
  153. ToLua.Push(L, DG.Tweening.Ease.OutQuint);
  154. return 1;
  155. }
  156. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  157. static int get_InOutQuint(IntPtr L)
  158. {
  159. ToLua.Push(L, DG.Tweening.Ease.InOutQuint);
  160. return 1;
  161. }
  162. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  163. static int get_InExpo(IntPtr L)
  164. {
  165. ToLua.Push(L, DG.Tweening.Ease.InExpo);
  166. return 1;
  167. }
  168. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  169. static int get_OutExpo(IntPtr L)
  170. {
  171. ToLua.Push(L, DG.Tweening.Ease.OutExpo);
  172. return 1;
  173. }
  174. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  175. static int get_InOutExpo(IntPtr L)
  176. {
  177. ToLua.Push(L, DG.Tweening.Ease.InOutExpo);
  178. return 1;
  179. }
  180. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  181. static int get_InCirc(IntPtr L)
  182. {
  183. ToLua.Push(L, DG.Tweening.Ease.InCirc);
  184. return 1;
  185. }
  186. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  187. static int get_OutCirc(IntPtr L)
  188. {
  189. ToLua.Push(L, DG.Tweening.Ease.OutCirc);
  190. return 1;
  191. }
  192. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  193. static int get_InOutCirc(IntPtr L)
  194. {
  195. ToLua.Push(L, DG.Tweening.Ease.InOutCirc);
  196. return 1;
  197. }
  198. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  199. static int get_InElastic(IntPtr L)
  200. {
  201. ToLua.Push(L, DG.Tweening.Ease.InElastic);
  202. return 1;
  203. }
  204. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  205. static int get_OutElastic(IntPtr L)
  206. {
  207. ToLua.Push(L, DG.Tweening.Ease.OutElastic);
  208. return 1;
  209. }
  210. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  211. static int get_InOutElastic(IntPtr L)
  212. {
  213. ToLua.Push(L, DG.Tweening.Ease.InOutElastic);
  214. return 1;
  215. }
  216. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  217. static int get_InBack(IntPtr L)
  218. {
  219. ToLua.Push(L, DG.Tweening.Ease.InBack);
  220. return 1;
  221. }
  222. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  223. static int get_OutBack(IntPtr L)
  224. {
  225. ToLua.Push(L, DG.Tweening.Ease.OutBack);
  226. return 1;
  227. }
  228. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  229. static int get_InOutBack(IntPtr L)
  230. {
  231. ToLua.Push(L, DG.Tweening.Ease.InOutBack);
  232. return 1;
  233. }
  234. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  235. static int get_InBounce(IntPtr L)
  236. {
  237. ToLua.Push(L, DG.Tweening.Ease.InBounce);
  238. return 1;
  239. }
  240. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  241. static int get_OutBounce(IntPtr L)
  242. {
  243. ToLua.Push(L, DG.Tweening.Ease.OutBounce);
  244. return 1;
  245. }
  246. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  247. static int get_InOutBounce(IntPtr L)
  248. {
  249. ToLua.Push(L, DG.Tweening.Ease.InOutBounce);
  250. return 1;
  251. }
  252. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  253. static int get_Flash(IntPtr L)
  254. {
  255. ToLua.Push(L, DG.Tweening.Ease.Flash);
  256. return 1;
  257. }
  258. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  259. static int get_InFlash(IntPtr L)
  260. {
  261. ToLua.Push(L, DG.Tweening.Ease.InFlash);
  262. return 1;
  263. }
  264. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  265. static int get_OutFlash(IntPtr L)
  266. {
  267. ToLua.Push(L, DG.Tweening.Ease.OutFlash);
  268. return 1;
  269. }
  270. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  271. static int get_InOutFlash(IntPtr L)
  272. {
  273. ToLua.Push(L, DG.Tweening.Ease.InOutFlash);
  274. return 1;
  275. }
  276. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  277. static int get_INTERNAL_Zero(IntPtr L)
  278. {
  279. ToLua.Push(L, DG.Tweening.Ease.INTERNAL_Zero);
  280. return 1;
  281. }
  282. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  283. static int get_INTERNAL_Custom(IntPtr L)
  284. {
  285. ToLua.Push(L, DG.Tweening.Ease.INTERNAL_Custom);
  286. return 1;
  287. }
  288. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  289. static int IntToEnum(IntPtr L)
  290. {
  291. int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
  292. DG.Tweening.Ease o = (DG.Tweening.Ease)arg0;
  293. ToLua.Push(L, o);
  294. return 1;
  295. }
  296. }