/* * Attribute: name * * The name of the body * * Availability: * * alpha 10 * * Status: * * stable */ static int l_sbody_attr_name(lua_State *l) { SystemBody *sbody = LuaObject<SystemBody>::CheckFromLua(1); lua_pushstring(l, sbody->GetName().c_str()); return 1; }