static int _s_set_Gravity(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorAttributeData __cl_gen_to_be_invoked = (xc.ActorAttributeData)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Gravity = (ushort)LuaAPI.xlua_tointeger(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_SummonBehaviourTree(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorAttributeData __cl_gen_to_be_invoked = (xc.ActorAttributeData)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.SummonBehaviourTree = 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_UnitId(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorAttributeData __cl_gen_to_be_invoked = (xc.ActorAttributeData)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.UnitId = (xc.UnitID)translator.GetObject(L, 2, typeof(xc.UnitID)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_Attribute(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.ActorAttributeData __cl_gen_to_be_invoked = (xc.ActorAttributeData)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.Attribute); } 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.ActorAttributeData __cl_gen_ret = new xc.ActorAttributeData(); 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.ActorAttributeData constructor!")); }
static int _m_Clear(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ActorAttributeData __cl_gen_to_be_invoked = (xc.ActorAttributeData)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.Clear( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }