static int _g_get_vocation(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.VocationInfo __cl_gen_to_be_invoked = (xc.VocationInfo)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.vocation); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_audios(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.VocationInfo __cl_gen_to_be_invoked = (xc.VocationInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.audios = (System.Collections.Generic.List <string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <string>)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_boss_chip_slot_name(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.VocationInfo __cl_gen_to_be_invoked = (xc.VocationInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.boss_chip_slot_name = LuaAPI.lua_tostring(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_animator_cull_mode(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.VocationInfo __cl_gen_to_be_invoked = (xc.VocationInfo)translator.FastGetCSObj(L, 1); translator.PushUnityEngineAnimatorCullingMode(L, __cl_gen_to_be_invoked.animator_cull_mode); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_sex_type(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.VocationInfo __cl_gen_to_be_invoked = (xc.VocationInfo)translator.FastGetCSObj(L, 1); xc.SexType __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.sex_type = __cl_gen_value; } 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.VocationInfo __cl_gen_ret = new xc.VocationInfo(); 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.VocationInfo constructor!")); }
static int _m_GetVocationInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBVocationInfo __cl_gen_to_be_invoked = (xc.DBVocationInfo)translator.FastGetCSObj(L, 1); try { { uint vocation = LuaAPI.xlua_touint(L, 2); xc.VocationInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetVocationInfo(vocation); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }