lua/wrappers/game/lua_race.cpp
/**
	 * Compares this race against another race object.
	 *
	 * @param am.race rhs The other race object to compare with.
	 * @returns boolean True if the the they are the same race object.
	 */
Compares this race against another race object.
@param am.race rhs The other race object to compare with.
@returns boolean True if the the they are the same race object.
Compares this race against another race object . @param am . race rhs The other race object to compare with . @returns boolean True if the the they are the same race object .
int Race_eq(lua_State *lua)
	{
		Race *lhs = castUData<Race>(lua, 1);
		if (!lhs)
		{
			return LuaState::expectedContext(lua, "__eq", "am.race");
		}
		Race *rhs = castUData<Race>(lua, 2);
		lua_pushboolean(lua, lhs == rhs);
		return 1;
	}
int Race_eq ( lua_State * lua ) { Race * lhs = castUData < Race > ( lua , 1 ) ; if ( ! lhs ) { return LuaState :: expectedContext ( lua , " " , " " ) ; } Race * rhs = castUData < Race > ( lua , 2 ) ; lua_pushboolean ( lua , lhs == rhs ) ; return 1 ; }
Compares this race against another race object.
Compares this race against another race object .