AroundSphereMoveWrap.cs 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class AroundSphereMoveWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(AroundSphereMove), typeof(UnityEngine.MonoBehaviour), "AroundSphereMove");
  9. L.RegFunction("__eq", op_Equality);
  10. L.RegFunction("__tostring", ToLua.op_ToString);
  11. L.RegVar("shakeDir", get_shakeDir, set_shakeDir);
  12. L.RegVar("shakeSpeed", get_shakeSpeed, set_shakeSpeed);
  13. L.RegVar("moveRadius", get_moveRadius, set_moveRadius);
  14. L.RegVar("moveAngleSpeed", get_moveAngleSpeed, set_moveAngleSpeed);
  15. L.RegVar("selfRotateSpeed", get_selfRotateSpeed, set_selfRotateSpeed);
  16. L.RegVar("OffsetHeight", get_OffsetHeight, set_OffsetHeight);
  17. L.RegVar("Scale", get_Scale, set_Scale);
  18. L.RegVar("OffsetAngle", get_OffsetAngle, set_OffsetAngle);
  19. L.EndClass();
  20. }
  21. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  22. static int op_Equality(IntPtr L)
  23. {
  24. try
  25. {
  26. ToLua.CheckArgsCount(L, 2);
  27. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  28. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  29. bool o = arg0 == arg1;
  30. LuaDLL.lua_pushboolean(L, o);
  31. return 1;
  32. }
  33. catch (Exception e)
  34. {
  35. return LuaDLL.toluaL_exception(L, e);
  36. }
  37. }
  38. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  39. static int get_shakeDir(IntPtr L)
  40. {
  41. object o = null;
  42. try
  43. {
  44. o = ToLua.ToObject(L, 1);
  45. AroundSphereMove obj = (AroundSphereMove)o;
  46. UnityEngine.Vector3 ret = obj.shakeDir;
  47. ToLua.Push(L, ret);
  48. return 1;
  49. }
  50. catch(Exception e)
  51. {
  52. return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeDir on a nil value");
  53. }
  54. }
  55. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  56. static int get_shakeSpeed(IntPtr L)
  57. {
  58. object o = null;
  59. try
  60. {
  61. o = ToLua.ToObject(L, 1);
  62. AroundSphereMove obj = (AroundSphereMove)o;
  63. float ret = obj.shakeSpeed;
  64. LuaDLL.lua_pushnumber(L, ret);
  65. return 1;
  66. }
  67. catch(Exception e)
  68. {
  69. return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeSpeed on a nil value");
  70. }
  71. }
  72. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  73. static int get_moveRadius(IntPtr L)
  74. {
  75. object o = null;
  76. try
  77. {
  78. o = ToLua.ToObject(L, 1);
  79. AroundSphereMove obj = (AroundSphereMove)o;
  80. float ret = obj.moveRadius;
  81. LuaDLL.lua_pushnumber(L, ret);
  82. return 1;
  83. }
  84. catch(Exception e)
  85. {
  86. return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveRadius on a nil value");
  87. }
  88. }
  89. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  90. static int get_moveAngleSpeed(IntPtr L)
  91. {
  92. object o = null;
  93. try
  94. {
  95. o = ToLua.ToObject(L, 1);
  96. AroundSphereMove obj = (AroundSphereMove)o;
  97. float ret = obj.moveAngleSpeed;
  98. LuaDLL.lua_pushnumber(L, ret);
  99. return 1;
  100. }
  101. catch(Exception e)
  102. {
  103. return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveAngleSpeed on a nil value");
  104. }
  105. }
  106. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  107. static int get_selfRotateSpeed(IntPtr L)
  108. {
  109. object o = null;
  110. try
  111. {
  112. o = ToLua.ToObject(L, 1);
  113. AroundSphereMove obj = (AroundSphereMove)o;
  114. float ret = obj.selfRotateSpeed;
  115. LuaDLL.lua_pushnumber(L, ret);
  116. return 1;
  117. }
  118. catch(Exception e)
  119. {
  120. return LuaDLL.toluaL_exception(L, e, o, "attempt to index selfRotateSpeed on a nil value");
  121. }
  122. }
  123. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  124. static int get_OffsetHeight(IntPtr L)
  125. {
  126. object o = null;
  127. try
  128. {
  129. o = ToLua.ToObject(L, 1);
  130. AroundSphereMove obj = (AroundSphereMove)o;
  131. float ret = obj.OffsetHeight;
  132. LuaDLL.lua_pushnumber(L, ret);
  133. return 1;
  134. }
  135. catch(Exception e)
  136. {
  137. return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetHeight on a nil value");
  138. }
  139. }
  140. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  141. static int get_Scale(IntPtr L)
  142. {
  143. object o = null;
  144. try
  145. {
  146. o = ToLua.ToObject(L, 1);
  147. AroundSphereMove obj = (AroundSphereMove)o;
  148. float ret = obj.Scale;
  149. LuaDLL.lua_pushnumber(L, ret);
  150. return 1;
  151. }
  152. catch(Exception e)
  153. {
  154. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Scale on a nil value");
  155. }
  156. }
  157. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  158. static int get_OffsetAngle(IntPtr L)
  159. {
  160. object o = null;
  161. try
  162. {
  163. o = ToLua.ToObject(L, 1);
  164. AroundSphereMove obj = (AroundSphereMove)o;
  165. UnityEngine.Quaternion ret = obj.OffsetAngle;
  166. ToLua.Push(L, ret);
  167. return 1;
  168. }
  169. catch(Exception e)
  170. {
  171. return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetAngle on a nil value");
  172. }
  173. }
  174. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  175. static int set_shakeDir(IntPtr L)
  176. {
  177. object o = null;
  178. try
  179. {
  180. o = ToLua.ToObject(L, 1);
  181. AroundSphereMove obj = (AroundSphereMove)o;
  182. UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2);
  183. obj.shakeDir = arg0;
  184. return 0;
  185. }
  186. catch(Exception e)
  187. {
  188. return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeDir on a nil value");
  189. }
  190. }
  191. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  192. static int set_shakeSpeed(IntPtr L)
  193. {
  194. object o = null;
  195. try
  196. {
  197. o = ToLua.ToObject(L, 1);
  198. AroundSphereMove obj = (AroundSphereMove)o;
  199. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  200. obj.shakeSpeed = arg0;
  201. return 0;
  202. }
  203. catch(Exception e)
  204. {
  205. return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeSpeed on a nil value");
  206. }
  207. }
  208. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  209. static int set_moveRadius(IntPtr L)
  210. {
  211. object o = null;
  212. try
  213. {
  214. o = ToLua.ToObject(L, 1);
  215. AroundSphereMove obj = (AroundSphereMove)o;
  216. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  217. obj.moveRadius = arg0;
  218. return 0;
  219. }
  220. catch(Exception e)
  221. {
  222. return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveRadius on a nil value");
  223. }
  224. }
  225. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  226. static int set_moveAngleSpeed(IntPtr L)
  227. {
  228. object o = null;
  229. try
  230. {
  231. o = ToLua.ToObject(L, 1);
  232. AroundSphereMove obj = (AroundSphereMove)o;
  233. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  234. obj.moveAngleSpeed = arg0;
  235. return 0;
  236. }
  237. catch(Exception e)
  238. {
  239. return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveAngleSpeed on a nil value");
  240. }
  241. }
  242. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  243. static int set_selfRotateSpeed(IntPtr L)
  244. {
  245. object o = null;
  246. try
  247. {
  248. o = ToLua.ToObject(L, 1);
  249. AroundSphereMove obj = (AroundSphereMove)o;
  250. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  251. obj.selfRotateSpeed = arg0;
  252. return 0;
  253. }
  254. catch(Exception e)
  255. {
  256. return LuaDLL.toluaL_exception(L, e, o, "attempt to index selfRotateSpeed on a nil value");
  257. }
  258. }
  259. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  260. static int set_OffsetHeight(IntPtr L)
  261. {
  262. object o = null;
  263. try
  264. {
  265. o = ToLua.ToObject(L, 1);
  266. AroundSphereMove obj = (AroundSphereMove)o;
  267. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  268. obj.OffsetHeight = arg0;
  269. return 0;
  270. }
  271. catch(Exception e)
  272. {
  273. return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetHeight on a nil value");
  274. }
  275. }
  276. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  277. static int set_Scale(IntPtr L)
  278. {
  279. object o = null;
  280. try
  281. {
  282. o = ToLua.ToObject(L, 1);
  283. AroundSphereMove obj = (AroundSphereMove)o;
  284. float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
  285. obj.Scale = arg0;
  286. return 0;
  287. }
  288. catch(Exception e)
  289. {
  290. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Scale on a nil value");
  291. }
  292. }
  293. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  294. static int set_OffsetAngle(IntPtr L)
  295. {
  296. object o = null;
  297. try
  298. {
  299. o = ToLua.ToObject(L, 1);
  300. AroundSphereMove obj = (AroundSphereMove)o;
  301. UnityEngine.Quaternion arg0 = ToLua.ToQuaternion(L, 2);
  302. obj.OffsetAngle = arg0;
  303. return 0;
  304. }
  305. catch(Exception e)
  306. {
  307. return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetAngle on a nil value");
  308. }
  309. }
  310. }