static int _s_set_m_monster_name(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_to_be_invoked = (xc.instance_behaviour.BossBehaviour.BossInfoItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.m_monster_name = LuaAPI.lua_tostring(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_m_uid(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_to_be_invoked = (xc.instance_behaviour.BossBehaviour.BossInfoItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.m_uid = (xc.InterObjectUnitID)translator.GetObject(L, 2, typeof(xc.InterObjectUnitID)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_m_pos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_to_be_invoked = (xc.instance_behaviour.BossBehaviour.BossInfoItem)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector3(L, __cl_gen_to_be_invoked.m_pos); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_m_need_update_exchange_model(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_to_be_invoked = (xc.instance_behaviour.BossBehaviour.BossInfoItem)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, __cl_gen_to_be_invoked.m_need_update_exchange_model); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_m_pos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_to_be_invoked = (xc.instance_behaviour.BossBehaviour.BossInfoItem)translator.FastGetCSObj(L, 1); UnityEngine.Vector3 __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.m_pos = __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.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_ret = new xc.instance_behaviour.BossBehaviour.BossInfoItem(); 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.instance_behaviour.BossBehaviour.BossInfoItem constructor!")); }
static int _m_UpdateExchangeModel(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.instance_behaviour.BossBehaviour.BossInfoItem __cl_gen_to_be_invoked = (xc.instance_behaviour.BossBehaviour.BossInfoItem)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.UpdateExchangeModel( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }