/// <summary> /// Sets TAS General Details Terrain Type /// </summary> /// <param name="GeneralDetails">TAS General Details</param> /// <param name="TerrainType">Terrain Type</param> /// <returns name="GeneralDetails">General Details</returns> /// <search> /// TAS, Building, GeneralDetails, General Details, TerrainType, Terrain Type, generaldetails, general details, terraintype, terrain type, setterraintype, set terrain type, SetTerrainType, Set Terrain Type /// </search> public static GeneralDetails SetTerrainType(GeneralDetails GeneralDetails, TerrainType TerrainType) { GeneralDetails.pGeneralDetails.TerrainType = (TBD.TerrainType)(int) TerrainType; return(GeneralDetails); }
/// <summary> /// Gets TAS General Details Terrain Type /// </summary> /// <param name="GeneralDetails">TAS General Details</param> /// <returns name="TerrainType">Terrain Type</returns> /// <search> /// TAS, Building, GeneralDetails, General Details, TerrainType, Terrain Type, generaldetails, general details, terraintype, terrain type /// </search> public static TerrainType TerrainType(GeneralDetails GeneralDetails) { return((TerrainType)(int)GeneralDetails.pGeneralDetails.TerrainType); }