lua/wrappers/game/lua_game.cpp
/**
	 * Returns the scenario name which this game is based off.
	 * 
	 * The scenario name is set by the engine during a new game.
	 *
	 * @returns string The games scenario name.
	 */
Returns the scenario name which this game is based off.

The scenario name is set by the engine during a new game.

@returns string The games scenario name.
Returns the scenario name which this game is based off . The scenario name is set by the engine during a new game . @returns string The games scenario name .
int Game_scenario_name(lua_State *lua)
	{
		Game *game = castUData<Game>(lua, 1);
		if (game)
		{
			lua_pushstring(lua, game->getScenarioName());
			return 1;
		}
		return LuaState::expectedContext(lua, "scenario_name", "am.game");
	}
int Game_scenario_name ( lua_State * lua ) { Game * game = castUData < Game > ( lua , 1 ) ; if ( game ) { lua_pushstring ( lua , game -> getScenarioName ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns the scenario name which this game is based off.
Returns the scenario name which this game is based off .