Wenting_Lebian_QueryUpdateErrorCodeWrap.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class Wenting_Lebian_QueryUpdateErrorCodeWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. //L.BeginEnum(typeof(Wenting.Lebian.QueryUpdateErrorCode));
  9. //L.RegVar("Error", get_Error, null);
  10. //L.RegVar("NoUpdate", get_NoUpdate, null);
  11. //L.RegVar("Update", get_Update, null);
  12. //L.RegVar("ForceUpdate", get_ForceUpdate, null);
  13. //L.RegFunction("IntToEnum", IntToEnum);
  14. //L.EndEnum();
  15. //TypeTraits<Wenting.Lebian.QueryUpdateErrorCode>.Check = CheckType;
  16. //StackTraits<Wenting.Lebian.QueryUpdateErrorCode>.Push = Push;
  17. }
  18. //static void Push(IntPtr L, Wenting.Lebian.QueryUpdateErrorCode arg)
  19. //{
  20. // ToLua.Push(L, arg);
  21. //}
  22. //static bool CheckType(IntPtr L, int pos)
  23. //{
  24. // return TypeChecker.CheckEnumType(typeof(Wenting.Lebian.QueryUpdateErrorCode), L, pos);
  25. //}
  26. //[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  27. //static int get_Error(IntPtr L)
  28. //{
  29. // ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.Error);
  30. // return 1;
  31. //}
  32. //[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  33. //static int get_NoUpdate(IntPtr L)
  34. //{
  35. // ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.NoUpdate);
  36. // return 1;
  37. //}
  38. //[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  39. //static int get_Update(IntPtr L)
  40. //{
  41. // ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.Update);
  42. // return 1;
  43. //}
  44. //[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  45. //static int get_ForceUpdate(IntPtr L)
  46. //{
  47. // ToLua.Push(L, Wenting.Lebian.QueryUpdateErrorCode.ForceUpdate);
  48. // return 1;
  49. //}
  50. //[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  51. //static int IntToEnum(IntPtr L)
  52. //{
  53. // int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
  54. // Wenting.Lebian.QueryUpdateErrorCode o = (Wenting.Lebian.QueryUpdateErrorCode)arg0;
  55. // ToLua.Push(L, o);
  56. // return 1;
  57. //}
  58. }