static int _g_get_num(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildLv.DBGuildLvItem __cl_gen_to_be_invoked = (xc.DBGuildLv.DBGuildLvItem)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.num); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.DBGuildLv.DBGuildLvItem __cl_gen_ret = new xc.DBGuildLv.DBGuildLvItem(); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.DBGuildLv.DBGuildLvItem constructor!")); }
static int _m_GetOneItem(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBGuildLv __cl_gen_to_be_invoked = (xc.DBGuildLv)translator.FastGetCSObj(L, 1); try { { uint level = LuaAPI.xlua_touint(L, 2); xc.DBGuildLv.DBGuildLvItem __cl_gen_ret = __cl_gen_to_be_invoked.GetOneItem(level); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }