lua/wrappers/game/lua_race.cpp
/**
	 * Returns the race name identifier for this race.
	 *
	 * @returns string The race name.
	 */
Returns the race name identifier for this race.
@returns string The race name.
Returns the race name identifier for this race . @returns string The race name .
int Race_race_name(lua_State *lua)
	{
		Race *race = castUData<Race>(lua, 1);
		if (race)
		{
			lua_pushstring(lua, race->getRaceName());
			return 1;
		}
		return LuaState::expectedContext(lua, "race_name", "am.race");
	}
int Race_race_name ( lua_State * lua ) { Race * race = castUData < Race > ( lua , 1 ) ; if ( race ) { lua_pushstring ( lua , race -> getRaceName ( ) ) ; return 1 ; } return LuaState :: expectedContext ( lua , " " , " " ) ; }
Returns the race name identifier for this race.
Returns the race name identifier for this race .