lua/wrappers/game/lua_item.cpp
/**
	 * An alias for returning the full item name.
	 *
	 * @returns string The full item name.
	 */
An alias for returning the full item name.
@returns string The full item name.
An alias for returning the full item name . @returns string The full item name .
int Item_name(lua_State *lua)
	{
		Item *item = castUData<Item>(lua, 1);
		if (item)
		{
			lua_pushstring(lua, item->getName().c_str());
			return 1;
		}
		return LuaState::expectedContext(lua, "name", "am.item");
	}
int Item_name ( lua_State * lua ) { Item * item = castUData < Item > ( lua , 1 ) ; if ( item ) { lua_pushstring ( lua , item -> getName ( ) . c_str ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
An alias for returning the full item name.
An alias for returning the full item name .