static int _g_get_BossType(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildBoss.DBGuildBossStatisticItem __cl_gen_to_be_invoked = (xc.DBGuildBoss.DBGuildBossStatisticItem)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.BossType); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_BossItemSortArray(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildBoss.DBGuildBossStatisticItem __cl_gen_to_be_invoked = (xc.DBGuildBoss.DBGuildBossStatisticItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.BossItemSortArray = (System.Collections.Generic.List <xc.DBGuildBoss.DBGuildBossItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <xc.DBGuildBoss.DBGuildBossItem>)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_TypeName(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildBoss.DBGuildBossStatisticItem __cl_gen_to_be_invoked = (xc.DBGuildBoss.DBGuildBossStatisticItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.TypeName = LuaAPI.lua_tostring(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.DBGuildBoss.DBGuildBossStatisticItem __cl_gen_ret = new xc.DBGuildBoss.DBGuildBossStatisticItem(); 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.DBGuildBoss.DBGuildBossStatisticItem constructor!")); }
static int _m_GetOneStatisticItem(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBGuildBoss __cl_gen_to_be_invoked = (xc.DBGuildBoss)translator.FastGetCSObj(L, 1); try { { uint boss_type = LuaAPI.xlua_touint(L, 2); xc.DBGuildBoss.DBGuildBossStatisticItem __cl_gen_ret = __cl_gen_to_be_invoked.GetOneStatisticItem(boss_type); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_CanOpenMaxStar(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBGuildBoss.DBGuildBossStatisticItem __cl_gen_to_be_invoked = (xc.DBGuildBoss.DBGuildBossStatisticItem)translator.FastGetCSObj(L, 1); try { { uint world_level = LuaAPI.xlua_touint(L, 2); uint __cl_gen_ret = __cl_gen_to_be_invoked.CanOpenMaxStar(world_level); LuaAPI.xlua_pushuint(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }