FellowActorDataWrap.cs 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class FellowActorDataWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(FellowActorData), typeof(ActorData));
  9. L.RegFunction("SetStep", SetStep);
  10. L.RegFunction("Initialize", Initialize);
  11. L.RegFunction("RefreshSkills", RefreshSkills);
  12. L.RegFunction("Dispose", Dispose);
  13. L.RegFunction("New", _CreateFellowActorData);
  14. L.RegFunction("__tostring", ToLua.op_ToString);
  15. L.RegVar("BaseData", get_BaseData, null);
  16. L.RegVar("Step", get_Step, null);
  17. L.RegVar("IsFellow", get_IsFellow, null);
  18. L.RegVar("AvatarID", get_AvatarID, null);
  19. L.RegVar("Name", get_Name, null);
  20. L.RegVar("Description", get_Description, null);
  21. L.RegVar("Profession", get_Profession, null);
  22. L.RegVar("JobStage", get_JobStage, null);
  23. L.RegVar("JobBranch", get_JobBranch, null);
  24. L.RegVar("PositionValue", get_PositionValue, null);
  25. L.RegVar("NatureId", get_NatureId, null);
  26. L.RegVar("SkillFrameEventName", get_SkillFrameEventName, null);
  27. L.RegVar("ProfessionIcon", get_ProfessionIcon, null);
  28. L.RegVar("HeadIcon", get_HeadIcon, set_HeadIcon);
  29. L.RegVar("BattleBigIcon", get_BattleBigIcon, null);
  30. L.RegVar("AnimCtrlName", get_AnimCtrlName, null);
  31. L.RegVar("ShowAnimCtrlName", get_ShowAnimCtrlName, null);
  32. L.RegVar("BaseSTR", get_BaseSTR, set_BaseSTR);
  33. L.RegVar("BaseAGI", get_BaseAGI, set_BaseAGI);
  34. L.RegVar("BaseINT", get_BaseINT, set_BaseINT);
  35. L.RegVar("BaseVIT", get_BaseVIT, set_BaseVIT);
  36. L.RegVar("BaseDEX", get_BaseDEX, set_BaseDEX);
  37. L.RegVar("BaseLUK", get_BaseLUK, set_BaseLUK);
  38. L.RegVar("STR", get_STR, null);
  39. L.RegVar("AGI", get_AGI, null);
  40. L.RegVar("INT", get_INT, null);
  41. L.RegVar("VIT", get_VIT, null);
  42. L.RegVar("DEX", get_DEX, null);
  43. L.RegVar("LUK", get_LUK, null);
  44. L.RegVar("BaseLife", get_BaseLife, null);
  45. L.RegVar("BaseSp", get_BaseSp, null);
  46. L.RegVar("BaseAttack", get_BaseAttack, null);
  47. L.RegVar("BaseMagicAttack", get_BaseMagicAttack, null);
  48. L.RegVar("BaseDefense", get_BaseDefense, null);
  49. L.RegVar("BaseMagicDefense", get_BaseMagicDefense, null);
  50. L.RegVar("BaseDodge", get_BaseDodge, null);
  51. L.RegVar("BaseHit", get_BaseHit, null);
  52. L.RegVar("BaseCrit", get_BaseCrit, null);
  53. L.RegVar("BaseTen", get_BaseTen, null);
  54. L.RegVar("BaseAttackSpeed", get_BaseAttackSpeed, null);
  55. L.RegVar("Life", get_Life, null);
  56. L.RegVar("Sp", get_Sp, null);
  57. L.RegVar("Attack", get_Attack, null);
  58. L.RegVar("MagicAttack", get_MagicAttack, null);
  59. L.RegVar("Defense", get_Defense, null);
  60. L.RegVar("MagicDefense", get_MagicDefense, null);
  61. L.RegVar("Hit", get_Hit, null);
  62. L.RegVar("Crit", get_Crit, null);
  63. L.RegVar("Dodge", get_Dodge, null);
  64. L.RegVar("Ten", get_Ten, null);
  65. L.RegVar("LocalAttackSpeed", get_LocalAttackSpeed, null);
  66. L.RegVar("AttackSpeed", get_AttackSpeed, null);
  67. L.RegVar("LocalCastAcceleration", get_LocalCastAcceleration, null);
  68. L.RegVar("CastAcceleration", get_CastAcceleration, null);
  69. L.RegVar("GodPower", get_GodPower, null);
  70. L.EndClass();
  71. }
  72. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  73. static int _CreateFellowActorData(IntPtr L)
  74. {
  75. try
  76. {
  77. int count = LuaDLL.lua_gettop(L);
  78. if (count == 1)
  79. {
  80. int arg0 = (int)LuaDLL.luaL_checknumber(L, 1);
  81. FellowActorData obj = new FellowActorData(arg0);
  82. ToLua.PushObject(L, obj);
  83. return 1;
  84. }
  85. else
  86. {
  87. return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FellowActorData.New");
  88. }
  89. }
  90. catch (Exception e)
  91. {
  92. return LuaDLL.toluaL_exception(L, e);
  93. }
  94. }
  95. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  96. static int SetStep(IntPtr L)
  97. {
  98. try
  99. {
  100. ToLua.CheckArgsCount(L, 2);
  101. FellowActorData obj = (FellowActorData)ToLua.CheckObject<FellowActorData>(L, 1);
  102. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  103. obj.SetStep(arg0);
  104. return 0;
  105. }
  106. catch (Exception e)
  107. {
  108. return LuaDLL.toluaL_exception(L, e);
  109. }
  110. }
  111. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  112. static int Initialize(IntPtr L)
  113. {
  114. try
  115. {
  116. ToLua.CheckArgsCount(L, 4);
  117. FellowActorData obj = (FellowActorData)ToLua.CheckObject<FellowActorData>(L, 1);
  118. int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
  119. int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
  120. SkillParam[] arg2 = ToLua.CheckStructArray<SkillParam>(L, 4);
  121. obj.Initialize(arg0, arg1, arg2);
  122. return 0;
  123. }
  124. catch (Exception e)
  125. {
  126. return LuaDLL.toluaL_exception(L, e);
  127. }
  128. }
  129. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  130. static int RefreshSkills(IntPtr L)
  131. {
  132. try
  133. {
  134. ToLua.CheckArgsCount(L, 2);
  135. FellowActorData obj = (FellowActorData)ToLua.CheckObject<FellowActorData>(L, 1);
  136. SkillParam[] arg0 = ToLua.CheckStructArray<SkillParam>(L, 2);
  137. obj.RefreshSkills(arg0);
  138. return 0;
  139. }
  140. catch (Exception e)
  141. {
  142. return LuaDLL.toluaL_exception(L, e);
  143. }
  144. }
  145. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  146. static int Dispose(IntPtr L)
  147. {
  148. try
  149. {
  150. ToLua.CheckArgsCount(L, 1);
  151. FellowActorData obj = (FellowActorData)ToLua.CheckObject<FellowActorData>(L, 1);
  152. obj.Dispose();
  153. return 0;
  154. }
  155. catch (Exception e)
  156. {
  157. return LuaDLL.toluaL_exception(L, e);
  158. }
  159. }
  160. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  161. static int get_BaseData(IntPtr L)
  162. {
  163. object o = null;
  164. try
  165. {
  166. o = ToLua.ToObject(L, 1);
  167. FellowActorData obj = (FellowActorData)o;
  168. FellowBaseData ret = obj.BaseData;
  169. ToLua.PushObject(L, ret);
  170. return 1;
  171. }
  172. catch(Exception e)
  173. {
  174. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseData on a nil value");
  175. }
  176. }
  177. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  178. static int get_Step(IntPtr L)
  179. {
  180. object o = null;
  181. try
  182. {
  183. o = ToLua.ToObject(L, 1);
  184. FellowActorData obj = (FellowActorData)o;
  185. int ret = obj.Step;
  186. LuaDLL.lua_pushinteger(L, ret);
  187. return 1;
  188. }
  189. catch(Exception e)
  190. {
  191. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Step on a nil value");
  192. }
  193. }
  194. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  195. static int get_IsFellow(IntPtr L)
  196. {
  197. object o = null;
  198. try
  199. {
  200. o = ToLua.ToObject(L, 1);
  201. FellowActorData obj = (FellowActorData)o;
  202. bool ret = obj.IsFellow;
  203. LuaDLL.lua_pushboolean(L, ret);
  204. return 1;
  205. }
  206. catch(Exception e)
  207. {
  208. return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsFellow on a nil value");
  209. }
  210. }
  211. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  212. static int get_AvatarID(IntPtr L)
  213. {
  214. object o = null;
  215. try
  216. {
  217. o = ToLua.ToObject(L, 1);
  218. FellowActorData obj = (FellowActorData)o;
  219. int ret = obj.AvatarID;
  220. LuaDLL.lua_pushinteger(L, ret);
  221. return 1;
  222. }
  223. catch(Exception e)
  224. {
  225. return LuaDLL.toluaL_exception(L, e, o, "attempt to index AvatarID on a nil value");
  226. }
  227. }
  228. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  229. static int get_Name(IntPtr L)
  230. {
  231. object o = null;
  232. try
  233. {
  234. o = ToLua.ToObject(L, 1);
  235. FellowActorData obj = (FellowActorData)o;
  236. string ret = obj.Name;
  237. LuaDLL.lua_pushstring(L, ret);
  238. return 1;
  239. }
  240. catch(Exception e)
  241. {
  242. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Name on a nil value");
  243. }
  244. }
  245. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  246. static int get_Description(IntPtr L)
  247. {
  248. object o = null;
  249. try
  250. {
  251. o = ToLua.ToObject(L, 1);
  252. FellowActorData obj = (FellowActorData)o;
  253. string ret = obj.Description;
  254. LuaDLL.lua_pushstring(L, ret);
  255. return 1;
  256. }
  257. catch(Exception e)
  258. {
  259. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Description on a nil value");
  260. }
  261. }
  262. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  263. static int get_Profession(IntPtr L)
  264. {
  265. object o = null;
  266. try
  267. {
  268. o = ToLua.ToObject(L, 1);
  269. FellowActorData obj = (FellowActorData)o;
  270. ProfessionType ret = obj.Profession;
  271. ToLua.Push(L, ret);
  272. return 1;
  273. }
  274. catch(Exception e)
  275. {
  276. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Profession on a nil value");
  277. }
  278. }
  279. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  280. static int get_JobStage(IntPtr L)
  281. {
  282. object o = null;
  283. try
  284. {
  285. o = ToLua.ToObject(L, 1);
  286. FellowActorData obj = (FellowActorData)o;
  287. int ret = obj.JobStage;
  288. LuaDLL.lua_pushinteger(L, ret);
  289. return 1;
  290. }
  291. catch(Exception e)
  292. {
  293. return LuaDLL.toluaL_exception(L, e, o, "attempt to index JobStage on a nil value");
  294. }
  295. }
  296. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  297. static int get_JobBranch(IntPtr L)
  298. {
  299. object o = null;
  300. try
  301. {
  302. o = ToLua.ToObject(L, 1);
  303. FellowActorData obj = (FellowActorData)o;
  304. int ret = obj.JobBranch;
  305. LuaDLL.lua_pushinteger(L, ret);
  306. return 1;
  307. }
  308. catch(Exception e)
  309. {
  310. return LuaDLL.toluaL_exception(L, e, o, "attempt to index JobBranch on a nil value");
  311. }
  312. }
  313. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  314. static int get_PositionValue(IntPtr L)
  315. {
  316. object o = null;
  317. try
  318. {
  319. o = ToLua.ToObject(L, 1);
  320. FellowActorData obj = (FellowActorData)o;
  321. int ret = obj.PositionValue;
  322. LuaDLL.lua_pushinteger(L, ret);
  323. return 1;
  324. }
  325. catch(Exception e)
  326. {
  327. return LuaDLL.toluaL_exception(L, e, o, "attempt to index PositionValue on a nil value");
  328. }
  329. }
  330. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  331. static int get_NatureId(IntPtr L)
  332. {
  333. object o = null;
  334. try
  335. {
  336. o = ToLua.ToObject(L, 1);
  337. FellowActorData obj = (FellowActorData)o;
  338. int ret = obj.NatureId;
  339. LuaDLL.lua_pushinteger(L, ret);
  340. return 1;
  341. }
  342. catch(Exception e)
  343. {
  344. return LuaDLL.toluaL_exception(L, e, o, "attempt to index NatureId on a nil value");
  345. }
  346. }
  347. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  348. static int get_SkillFrameEventName(IntPtr L)
  349. {
  350. object o = null;
  351. try
  352. {
  353. o = ToLua.ToObject(L, 1);
  354. FellowActorData obj = (FellowActorData)o;
  355. string ret = obj.SkillFrameEventName;
  356. LuaDLL.lua_pushstring(L, ret);
  357. return 1;
  358. }
  359. catch(Exception e)
  360. {
  361. return LuaDLL.toluaL_exception(L, e, o, "attempt to index SkillFrameEventName on a nil value");
  362. }
  363. }
  364. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  365. static int get_ProfessionIcon(IntPtr L)
  366. {
  367. object o = null;
  368. try
  369. {
  370. o = ToLua.ToObject(L, 1);
  371. FellowActorData obj = (FellowActorData)o;
  372. string ret = obj.ProfessionIcon;
  373. LuaDLL.lua_pushstring(L, ret);
  374. return 1;
  375. }
  376. catch(Exception e)
  377. {
  378. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ProfessionIcon on a nil value");
  379. }
  380. }
  381. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  382. static int get_HeadIcon(IntPtr L)
  383. {
  384. object o = null;
  385. try
  386. {
  387. o = ToLua.ToObject(L, 1);
  388. FellowActorData obj = (FellowActorData)o;
  389. string ret = obj.HeadIcon;
  390. LuaDLL.lua_pushstring(L, ret);
  391. return 1;
  392. }
  393. catch(Exception e)
  394. {
  395. return LuaDLL.toluaL_exception(L, e, o, "attempt to index HeadIcon on a nil value");
  396. }
  397. }
  398. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  399. static int get_BattleBigIcon(IntPtr L)
  400. {
  401. object o = null;
  402. try
  403. {
  404. o = ToLua.ToObject(L, 1);
  405. FellowActorData obj = (FellowActorData)o;
  406. string ret = obj.BattleBigIcon;
  407. LuaDLL.lua_pushstring(L, ret);
  408. return 1;
  409. }
  410. catch(Exception e)
  411. {
  412. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BattleBigIcon on a nil value");
  413. }
  414. }
  415. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  416. static int get_AnimCtrlName(IntPtr L)
  417. {
  418. object o = null;
  419. try
  420. {
  421. o = ToLua.ToObject(L, 1);
  422. FellowActorData obj = (FellowActorData)o;
  423. string ret = obj.AnimCtrlName;
  424. LuaDLL.lua_pushstring(L, ret);
  425. return 1;
  426. }
  427. catch(Exception e)
  428. {
  429. return LuaDLL.toluaL_exception(L, e, o, "attempt to index AnimCtrlName on a nil value");
  430. }
  431. }
  432. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  433. static int get_ShowAnimCtrlName(IntPtr L)
  434. {
  435. object o = null;
  436. try
  437. {
  438. o = ToLua.ToObject(L, 1);
  439. FellowActorData obj = (FellowActorData)o;
  440. string ret = obj.ShowAnimCtrlName;
  441. LuaDLL.lua_pushstring(L, ret);
  442. return 1;
  443. }
  444. catch(Exception e)
  445. {
  446. return LuaDLL.toluaL_exception(L, e, o, "attempt to index ShowAnimCtrlName on a nil value");
  447. }
  448. }
  449. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  450. static int get_BaseSTR(IntPtr L)
  451. {
  452. object o = null;
  453. try
  454. {
  455. o = ToLua.ToObject(L, 1);
  456. FellowActorData obj = (FellowActorData)o;
  457. SInt ret = obj.BaseSTR;
  458. ToLua.PushValue(L, ret);
  459. return 1;
  460. }
  461. catch(Exception e)
  462. {
  463. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseSTR on a nil value");
  464. }
  465. }
  466. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  467. static int get_BaseAGI(IntPtr L)
  468. {
  469. object o = null;
  470. try
  471. {
  472. o = ToLua.ToObject(L, 1);
  473. FellowActorData obj = (FellowActorData)o;
  474. SInt ret = obj.BaseAGI;
  475. ToLua.PushValue(L, ret);
  476. return 1;
  477. }
  478. catch(Exception e)
  479. {
  480. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseAGI on a nil value");
  481. }
  482. }
  483. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  484. static int get_BaseINT(IntPtr L)
  485. {
  486. object o = null;
  487. try
  488. {
  489. o = ToLua.ToObject(L, 1);
  490. FellowActorData obj = (FellowActorData)o;
  491. SInt ret = obj.BaseINT;
  492. ToLua.PushValue(L, ret);
  493. return 1;
  494. }
  495. catch(Exception e)
  496. {
  497. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseINT on a nil value");
  498. }
  499. }
  500. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  501. static int get_BaseVIT(IntPtr L)
  502. {
  503. object o = null;
  504. try
  505. {
  506. o = ToLua.ToObject(L, 1);
  507. FellowActorData obj = (FellowActorData)o;
  508. SInt ret = obj.BaseVIT;
  509. ToLua.PushValue(L, ret);
  510. return 1;
  511. }
  512. catch(Exception e)
  513. {
  514. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseVIT on a nil value");
  515. }
  516. }
  517. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  518. static int get_BaseDEX(IntPtr L)
  519. {
  520. object o = null;
  521. try
  522. {
  523. o = ToLua.ToObject(L, 1);
  524. FellowActorData obj = (FellowActorData)o;
  525. SInt ret = obj.BaseDEX;
  526. ToLua.PushValue(L, ret);
  527. return 1;
  528. }
  529. catch(Exception e)
  530. {
  531. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseDEX on a nil value");
  532. }
  533. }
  534. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  535. static int get_BaseLUK(IntPtr L)
  536. {
  537. object o = null;
  538. try
  539. {
  540. o = ToLua.ToObject(L, 1);
  541. FellowActorData obj = (FellowActorData)o;
  542. SInt ret = obj.BaseLUK;
  543. ToLua.PushValue(L, ret);
  544. return 1;
  545. }
  546. catch(Exception e)
  547. {
  548. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseLUK on a nil value");
  549. }
  550. }
  551. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  552. static int get_STR(IntPtr L)
  553. {
  554. object o = null;
  555. try
  556. {
  557. o = ToLua.ToObject(L, 1);
  558. FellowActorData obj = (FellowActorData)o;
  559. SInt ret = obj.STR;
  560. ToLua.PushValue(L, ret);
  561. return 1;
  562. }
  563. catch(Exception e)
  564. {
  565. return LuaDLL.toluaL_exception(L, e, o, "attempt to index STR on a nil value");
  566. }
  567. }
  568. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  569. static int get_AGI(IntPtr L)
  570. {
  571. object o = null;
  572. try
  573. {
  574. o = ToLua.ToObject(L, 1);
  575. FellowActorData obj = (FellowActorData)o;
  576. SInt ret = obj.AGI;
  577. ToLua.PushValue(L, ret);
  578. return 1;
  579. }
  580. catch(Exception e)
  581. {
  582. return LuaDLL.toluaL_exception(L, e, o, "attempt to index AGI on a nil value");
  583. }
  584. }
  585. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  586. static int get_INT(IntPtr L)
  587. {
  588. object o = null;
  589. try
  590. {
  591. o = ToLua.ToObject(L, 1);
  592. FellowActorData obj = (FellowActorData)o;
  593. SInt ret = obj.INT;
  594. ToLua.PushValue(L, ret);
  595. return 1;
  596. }
  597. catch(Exception e)
  598. {
  599. return LuaDLL.toluaL_exception(L, e, o, "attempt to index INT on a nil value");
  600. }
  601. }
  602. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  603. static int get_VIT(IntPtr L)
  604. {
  605. object o = null;
  606. try
  607. {
  608. o = ToLua.ToObject(L, 1);
  609. FellowActorData obj = (FellowActorData)o;
  610. SInt ret = obj.VIT;
  611. ToLua.PushValue(L, ret);
  612. return 1;
  613. }
  614. catch(Exception e)
  615. {
  616. return LuaDLL.toluaL_exception(L, e, o, "attempt to index VIT on a nil value");
  617. }
  618. }
  619. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  620. static int get_DEX(IntPtr L)
  621. {
  622. object o = null;
  623. try
  624. {
  625. o = ToLua.ToObject(L, 1);
  626. FellowActorData obj = (FellowActorData)o;
  627. SInt ret = obj.DEX;
  628. ToLua.PushValue(L, ret);
  629. return 1;
  630. }
  631. catch(Exception e)
  632. {
  633. return LuaDLL.toluaL_exception(L, e, o, "attempt to index DEX on a nil value");
  634. }
  635. }
  636. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  637. static int get_LUK(IntPtr L)
  638. {
  639. object o = null;
  640. try
  641. {
  642. o = ToLua.ToObject(L, 1);
  643. FellowActorData obj = (FellowActorData)o;
  644. SInt ret = obj.LUK;
  645. ToLua.PushValue(L, ret);
  646. return 1;
  647. }
  648. catch(Exception e)
  649. {
  650. return LuaDLL.toluaL_exception(L, e, o, "attempt to index LUK on a nil value");
  651. }
  652. }
  653. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  654. static int get_BaseLife(IntPtr L)
  655. {
  656. object o = null;
  657. try
  658. {
  659. o = ToLua.ToObject(L, 1);
  660. FellowActorData obj = (FellowActorData)o;
  661. SFloat ret = obj.BaseLife;
  662. ToLua.PushValue(L, ret);
  663. return 1;
  664. }
  665. catch(Exception e)
  666. {
  667. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseLife on a nil value");
  668. }
  669. }
  670. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  671. static int get_BaseSp(IntPtr L)
  672. {
  673. object o = null;
  674. try
  675. {
  676. o = ToLua.ToObject(L, 1);
  677. FellowActorData obj = (FellowActorData)o;
  678. SFloat ret = obj.BaseSp;
  679. ToLua.PushValue(L, ret);
  680. return 1;
  681. }
  682. catch(Exception e)
  683. {
  684. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseSp on a nil value");
  685. }
  686. }
  687. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  688. static int get_BaseAttack(IntPtr L)
  689. {
  690. object o = null;
  691. try
  692. {
  693. o = ToLua.ToObject(L, 1);
  694. FellowActorData obj = (FellowActorData)o;
  695. SFloat ret = obj.BaseAttack;
  696. ToLua.PushValue(L, ret);
  697. return 1;
  698. }
  699. catch(Exception e)
  700. {
  701. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseAttack on a nil value");
  702. }
  703. }
  704. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  705. static int get_BaseMagicAttack(IntPtr L)
  706. {
  707. object o = null;
  708. try
  709. {
  710. o = ToLua.ToObject(L, 1);
  711. FellowActorData obj = (FellowActorData)o;
  712. SFloat ret = obj.BaseMagicAttack;
  713. ToLua.PushValue(L, ret);
  714. return 1;
  715. }
  716. catch(Exception e)
  717. {
  718. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseMagicAttack on a nil value");
  719. }
  720. }
  721. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  722. static int get_BaseDefense(IntPtr L)
  723. {
  724. object o = null;
  725. try
  726. {
  727. o = ToLua.ToObject(L, 1);
  728. FellowActorData obj = (FellowActorData)o;
  729. SFloat ret = obj.BaseDefense;
  730. ToLua.PushValue(L, ret);
  731. return 1;
  732. }
  733. catch(Exception e)
  734. {
  735. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseDefense on a nil value");
  736. }
  737. }
  738. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  739. static int get_BaseMagicDefense(IntPtr L)
  740. {
  741. object o = null;
  742. try
  743. {
  744. o = ToLua.ToObject(L, 1);
  745. FellowActorData obj = (FellowActorData)o;
  746. SFloat ret = obj.BaseMagicDefense;
  747. ToLua.PushValue(L, ret);
  748. return 1;
  749. }
  750. catch(Exception e)
  751. {
  752. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseMagicDefense on a nil value");
  753. }
  754. }
  755. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  756. static int get_BaseDodge(IntPtr L)
  757. {
  758. object o = null;
  759. try
  760. {
  761. o = ToLua.ToObject(L, 1);
  762. FellowActorData obj = (FellowActorData)o;
  763. SFloat ret = obj.BaseDodge;
  764. ToLua.PushValue(L, ret);
  765. return 1;
  766. }
  767. catch(Exception e)
  768. {
  769. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseDodge on a nil value");
  770. }
  771. }
  772. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  773. static int get_BaseHit(IntPtr L)
  774. {
  775. object o = null;
  776. try
  777. {
  778. o = ToLua.ToObject(L, 1);
  779. FellowActorData obj = (FellowActorData)o;
  780. SFloat ret = obj.BaseHit;
  781. ToLua.PushValue(L, ret);
  782. return 1;
  783. }
  784. catch(Exception e)
  785. {
  786. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseHit on a nil value");
  787. }
  788. }
  789. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  790. static int get_BaseCrit(IntPtr L)
  791. {
  792. object o = null;
  793. try
  794. {
  795. o = ToLua.ToObject(L, 1);
  796. FellowActorData obj = (FellowActorData)o;
  797. SFloat ret = obj.BaseCrit;
  798. ToLua.PushValue(L, ret);
  799. return 1;
  800. }
  801. catch(Exception e)
  802. {
  803. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseCrit on a nil value");
  804. }
  805. }
  806. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  807. static int get_BaseTen(IntPtr L)
  808. {
  809. object o = null;
  810. try
  811. {
  812. o = ToLua.ToObject(L, 1);
  813. FellowActorData obj = (FellowActorData)o;
  814. SFloat ret = obj.BaseTen;
  815. ToLua.PushValue(L, ret);
  816. return 1;
  817. }
  818. catch(Exception e)
  819. {
  820. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseTen on a nil value");
  821. }
  822. }
  823. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  824. static int get_BaseAttackSpeed(IntPtr L)
  825. {
  826. object o = null;
  827. try
  828. {
  829. o = ToLua.ToObject(L, 1);
  830. FellowActorData obj = (FellowActorData)o;
  831. SFloat ret = obj.BaseAttackSpeed;
  832. ToLua.PushValue(L, ret);
  833. return 1;
  834. }
  835. catch(Exception e)
  836. {
  837. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseAttackSpeed on a nil value");
  838. }
  839. }
  840. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  841. static int get_Life(IntPtr L)
  842. {
  843. object o = null;
  844. try
  845. {
  846. o = ToLua.ToObject(L, 1);
  847. FellowActorData obj = (FellowActorData)o;
  848. SFloat ret = obj.Life;
  849. ToLua.PushValue(L, ret);
  850. return 1;
  851. }
  852. catch(Exception e)
  853. {
  854. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Life on a nil value");
  855. }
  856. }
  857. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  858. static int get_Sp(IntPtr L)
  859. {
  860. object o = null;
  861. try
  862. {
  863. o = ToLua.ToObject(L, 1);
  864. FellowActorData obj = (FellowActorData)o;
  865. SFloat ret = obj.Sp;
  866. ToLua.PushValue(L, ret);
  867. return 1;
  868. }
  869. catch(Exception e)
  870. {
  871. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Sp on a nil value");
  872. }
  873. }
  874. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  875. static int get_Attack(IntPtr L)
  876. {
  877. object o = null;
  878. try
  879. {
  880. o = ToLua.ToObject(L, 1);
  881. FellowActorData obj = (FellowActorData)o;
  882. SFloat ret = obj.Attack;
  883. ToLua.PushValue(L, ret);
  884. return 1;
  885. }
  886. catch(Exception e)
  887. {
  888. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Attack on a nil value");
  889. }
  890. }
  891. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  892. static int get_MagicAttack(IntPtr L)
  893. {
  894. object o = null;
  895. try
  896. {
  897. o = ToLua.ToObject(L, 1);
  898. FellowActorData obj = (FellowActorData)o;
  899. SFloat ret = obj.MagicAttack;
  900. ToLua.PushValue(L, ret);
  901. return 1;
  902. }
  903. catch(Exception e)
  904. {
  905. return LuaDLL.toluaL_exception(L, e, o, "attempt to index MagicAttack on a nil value");
  906. }
  907. }
  908. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  909. static int get_Defense(IntPtr L)
  910. {
  911. object o = null;
  912. try
  913. {
  914. o = ToLua.ToObject(L, 1);
  915. FellowActorData obj = (FellowActorData)o;
  916. SFloat ret = obj.Defense;
  917. ToLua.PushValue(L, ret);
  918. return 1;
  919. }
  920. catch(Exception e)
  921. {
  922. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Defense on a nil value");
  923. }
  924. }
  925. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  926. static int get_MagicDefense(IntPtr L)
  927. {
  928. object o = null;
  929. try
  930. {
  931. o = ToLua.ToObject(L, 1);
  932. FellowActorData obj = (FellowActorData)o;
  933. SFloat ret = obj.MagicDefense;
  934. ToLua.PushValue(L, ret);
  935. return 1;
  936. }
  937. catch(Exception e)
  938. {
  939. return LuaDLL.toluaL_exception(L, e, o, "attempt to index MagicDefense on a nil value");
  940. }
  941. }
  942. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  943. static int get_Hit(IntPtr L)
  944. {
  945. object o = null;
  946. try
  947. {
  948. o = ToLua.ToObject(L, 1);
  949. FellowActorData obj = (FellowActorData)o;
  950. SFloat ret = obj.Hit;
  951. ToLua.PushValue(L, ret);
  952. return 1;
  953. }
  954. catch(Exception e)
  955. {
  956. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Hit on a nil value");
  957. }
  958. }
  959. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  960. static int get_Crit(IntPtr L)
  961. {
  962. object o = null;
  963. try
  964. {
  965. o = ToLua.ToObject(L, 1);
  966. FellowActorData obj = (FellowActorData)o;
  967. SFloat ret = obj.Crit;
  968. ToLua.PushValue(L, ret);
  969. return 1;
  970. }
  971. catch(Exception e)
  972. {
  973. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Crit on a nil value");
  974. }
  975. }
  976. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  977. static int get_Dodge(IntPtr L)
  978. {
  979. object o = null;
  980. try
  981. {
  982. o = ToLua.ToObject(L, 1);
  983. FellowActorData obj = (FellowActorData)o;
  984. SFloat ret = obj.Dodge;
  985. ToLua.PushValue(L, ret);
  986. return 1;
  987. }
  988. catch(Exception e)
  989. {
  990. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Dodge on a nil value");
  991. }
  992. }
  993. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  994. static int get_Ten(IntPtr L)
  995. {
  996. object o = null;
  997. try
  998. {
  999. o = ToLua.ToObject(L, 1);
  1000. FellowActorData obj = (FellowActorData)o;
  1001. SFloat ret = obj.Ten;
  1002. ToLua.PushValue(L, ret);
  1003. return 1;
  1004. }
  1005. catch(Exception e)
  1006. {
  1007. return LuaDLL.toluaL_exception(L, e, o, "attempt to index Ten on a nil value");
  1008. }
  1009. }
  1010. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1011. static int get_LocalAttackSpeed(IntPtr L)
  1012. {
  1013. object o = null;
  1014. try
  1015. {
  1016. o = ToLua.ToObject(L, 1);
  1017. FellowActorData obj = (FellowActorData)o;
  1018. SFloat ret = obj.LocalAttackSpeed;
  1019. ToLua.PushValue(L, ret);
  1020. return 1;
  1021. }
  1022. catch(Exception e)
  1023. {
  1024. return LuaDLL.toluaL_exception(L, e, o, "attempt to index LocalAttackSpeed on a nil value");
  1025. }
  1026. }
  1027. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1028. static int get_AttackSpeed(IntPtr L)
  1029. {
  1030. object o = null;
  1031. try
  1032. {
  1033. o = ToLua.ToObject(L, 1);
  1034. FellowActorData obj = (FellowActorData)o;
  1035. SFloat ret = obj.AttackSpeed;
  1036. ToLua.PushValue(L, ret);
  1037. return 1;
  1038. }
  1039. catch(Exception e)
  1040. {
  1041. return LuaDLL.toluaL_exception(L, e, o, "attempt to index AttackSpeed on a nil value");
  1042. }
  1043. }
  1044. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1045. static int get_LocalCastAcceleration(IntPtr L)
  1046. {
  1047. object o = null;
  1048. try
  1049. {
  1050. o = ToLua.ToObject(L, 1);
  1051. FellowActorData obj = (FellowActorData)o;
  1052. SFloat ret = obj.LocalCastAcceleration;
  1053. ToLua.PushValue(L, ret);
  1054. return 1;
  1055. }
  1056. catch(Exception e)
  1057. {
  1058. return LuaDLL.toluaL_exception(L, e, o, "attempt to index LocalCastAcceleration on a nil value");
  1059. }
  1060. }
  1061. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1062. static int get_CastAcceleration(IntPtr L)
  1063. {
  1064. object o = null;
  1065. try
  1066. {
  1067. o = ToLua.ToObject(L, 1);
  1068. FellowActorData obj = (FellowActorData)o;
  1069. SFloat ret = obj.CastAcceleration;
  1070. ToLua.PushValue(L, ret);
  1071. return 1;
  1072. }
  1073. catch(Exception e)
  1074. {
  1075. return LuaDLL.toluaL_exception(L, e, o, "attempt to index CastAcceleration on a nil value");
  1076. }
  1077. }
  1078. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1079. static int get_GodPower(IntPtr L)
  1080. {
  1081. object o = null;
  1082. try
  1083. {
  1084. o = ToLua.ToObject(L, 1);
  1085. FellowActorData obj = (FellowActorData)o;
  1086. SFloat ret = obj.GodPower;
  1087. ToLua.PushValue(L, ret);
  1088. return 1;
  1089. }
  1090. catch(Exception e)
  1091. {
  1092. return LuaDLL.toluaL_exception(L, e, o, "attempt to index GodPower on a nil value");
  1093. }
  1094. }
  1095. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1096. static int set_HeadIcon(IntPtr L)
  1097. {
  1098. object o = null;
  1099. try
  1100. {
  1101. o = ToLua.ToObject(L, 1);
  1102. FellowActorData obj = (FellowActorData)o;
  1103. string arg0 = ToLua.CheckString(L, 2);
  1104. obj.HeadIcon = arg0;
  1105. return 0;
  1106. }
  1107. catch(Exception e)
  1108. {
  1109. return LuaDLL.toluaL_exception(L, e, o, "attempt to index HeadIcon on a nil value");
  1110. }
  1111. }
  1112. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1113. static int set_BaseSTR(IntPtr L)
  1114. {
  1115. object o = null;
  1116. try
  1117. {
  1118. o = ToLua.ToObject(L, 1);
  1119. FellowActorData obj = (FellowActorData)o;
  1120. SInt arg0 = StackTraits<SInt>.Check(L, 2);
  1121. obj.BaseSTR = arg0;
  1122. return 0;
  1123. }
  1124. catch(Exception e)
  1125. {
  1126. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseSTR on a nil value");
  1127. }
  1128. }
  1129. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1130. static int set_BaseAGI(IntPtr L)
  1131. {
  1132. object o = null;
  1133. try
  1134. {
  1135. o = ToLua.ToObject(L, 1);
  1136. FellowActorData obj = (FellowActorData)o;
  1137. SInt arg0 = StackTraits<SInt>.Check(L, 2);
  1138. obj.BaseAGI = arg0;
  1139. return 0;
  1140. }
  1141. catch(Exception e)
  1142. {
  1143. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseAGI on a nil value");
  1144. }
  1145. }
  1146. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1147. static int set_BaseINT(IntPtr L)
  1148. {
  1149. object o = null;
  1150. try
  1151. {
  1152. o = ToLua.ToObject(L, 1);
  1153. FellowActorData obj = (FellowActorData)o;
  1154. SInt arg0 = StackTraits<SInt>.Check(L, 2);
  1155. obj.BaseINT = arg0;
  1156. return 0;
  1157. }
  1158. catch(Exception e)
  1159. {
  1160. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseINT on a nil value");
  1161. }
  1162. }
  1163. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1164. static int set_BaseVIT(IntPtr L)
  1165. {
  1166. object o = null;
  1167. try
  1168. {
  1169. o = ToLua.ToObject(L, 1);
  1170. FellowActorData obj = (FellowActorData)o;
  1171. SInt arg0 = StackTraits<SInt>.Check(L, 2);
  1172. obj.BaseVIT = arg0;
  1173. return 0;
  1174. }
  1175. catch(Exception e)
  1176. {
  1177. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseVIT on a nil value");
  1178. }
  1179. }
  1180. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1181. static int set_BaseDEX(IntPtr L)
  1182. {
  1183. object o = null;
  1184. try
  1185. {
  1186. o = ToLua.ToObject(L, 1);
  1187. FellowActorData obj = (FellowActorData)o;
  1188. SInt arg0 = StackTraits<SInt>.Check(L, 2);
  1189. obj.BaseDEX = arg0;
  1190. return 0;
  1191. }
  1192. catch(Exception e)
  1193. {
  1194. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseDEX on a nil value");
  1195. }
  1196. }
  1197. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  1198. static int set_BaseLUK(IntPtr L)
  1199. {
  1200. object o = null;
  1201. try
  1202. {
  1203. o = ToLua.ToObject(L, 1);
  1204. FellowActorData obj = (FellowActorData)o;
  1205. SInt arg0 = StackTraits<SInt>.Check(L, 2);
  1206. obj.BaseLUK = arg0;
  1207. return 0;
  1208. }
  1209. catch(Exception e)
  1210. {
  1211. return LuaDLL.toluaL_exception(L, e, o, "attempt to index BaseLUK on a nil value");
  1212. }
  1213. }
  1214. }