lua/wrappers/game/lua_item.cpp
/**
	 * Sets the items game id, this is used to refer to this
	 * item from the game engine. Should be unique.
	 * @param string game_id The items unique game id.
	 * @returns boolean True if the game id change was successful or if
	 * game id was the same as the given game_id. False indicates that
	 * either there is no current game engine or there is another
	 * game object with the same game id.
	 */
Sets the items game id, this is used to refer to this
item from the game engine. Should be unique.
@param string game_id The items unique game id.
@returns boolean True if the game id change was successful or if
game id was the same as the given game_id. False indicates that
either there is no current game engine or there is another
game object with the same game id.
Sets the items game id this is used to refer to this item from the game engine . Should be unique . @param string game_id The items unique game id . @returns boolean True if the game id change was successful or if game id was the same as the given game_id . False indicates that either there is no current game engine or there is another game object with the same game id .
int Item_game_id(lua_State *lua)
	{
		Item *obj = castUData<Item>(lua, 1);
		if (obj)
		{
			return GameObject_game_id(lua, obj);
		}
		return LuaState::expectedContext(lua, "id", "am.item");
	}
int Item_game_id ( lua_State * lua ) { Item * obj = castUData < Item > ( lua , 1 ) ; if ( obj ) { return GameObject_game_id ( lua , obj ) ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Sets the items game id, this is used to refer to this
 item from the game engine.
Sets the items game id this is used to refer to this item from the game engine .