static int _g_get_MoveXSpeed(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorMachine.DeathInfo __cl_gen_to_be_invoked = (xc.ActorMachine.DeathInfo)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushnumber(L, __cl_gen_to_be_invoked.MoveXSpeed); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_MoveXFric(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorMachine.DeathInfo __cl_gen_to_be_invoked = (xc.ActorMachine.DeathInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.MoveXFric = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_MoveDir(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorMachine.DeathInfo __cl_gen_to_be_invoked = (xc.ActorMachine.DeathInfo)translator.FastGetCSObj(L, 1); UnityEngine.Vector3 __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.MoveDir = __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.ActorMachine.DeathInfo __cl_gen_ret = new xc.ActorMachine.DeathInfo(); 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.ActorMachine.DeathInfo constructor!")); }