lua/wrappers/game/lua_item.cpp
/**
	 * Sets the data table on this item, can be set to nil.
	 *
	 * @param am.data_table attr_table The data table to set on the item.
	 * @returns am.item This
	 */
Sets the data table on this item, can be set to nil.
@param am.data_table attr_table The data table to set on the item.
Sets the data table on this item can be set to nil . @param am . data_table attr_table The data table to set on the item .
int Item_attrs(lua_State *lua)
	{
		Item *item = castUData<Item>(lua, 1);
		if (item)
		{
			return GameObject_attrs(lua, item);
		}
		return LuaState::expectedContext(lua, "attrs", "am.item");
	}
int Item_attrs ( lua_State * lua ) { Item * item = castUData < Item > ( lua , 1 ) ; if ( item ) { return GameObject_attrs ( lua , item ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Sets the data table on this item, can be set to nil.
Sets the data table on this item can be set to nil .