lua/wrappers/game/lua_map_region.cpp
/**
	 * Compares if two body parts are the same object.
	 * @param am.map_region rhs The body part to compare with.
	 * @returns boolean True if they are the same object.
	 */
Compares if two body parts are the same object.
@param am.map_region rhs The body part to compare with.
@returns boolean True if they are the same object.
Compares if two body parts are the same object . @param am . map_region rhs The body part to compare with . @returns boolean True if they are the same object .
int MapRegion_eq(lua_State *lua)
	{
		MapRegion *lhs = castUData<MapRegion>(lua, 1);
		if (!lhs)
		{
			return LuaState::expectedContext(lua, "__eq", "am.map_region");
		}
		MapRegion *rhs = castUData<MapRegion>(lua, 2);
		lua_pushboolean(lua, lhs == rhs);
		return 1;
	}
int MapRegion_eq ( lua_State * lua ) { MapRegion * lhs = castUData < MapRegion > ( lua , 1 ) ; if ( ! lhs ) { return LuaState :: expectedContext ( lua , " " , " " ) ; } MapRegion * rhs = castUData < MapRegion > ( lua , 2 ) ; lua_pushboolean ( lua , lhs == rhs ) ; return 1 ; }
Compares if two body parts are the same object.
Compares if two body parts are the same object .