saves a static map to the given directory . concode_field_sep IMapLister saveDir concode_elem_sep String MAP_EXTENSION concode_elem_sep ArrayList<MapLoader> freshMaps concode_elem_sep IMapLister mapsDir concode_elem_sep IMapListFactory mapListFactory concode_elem_sep ArrayList<MapLoader> savedMaps concode_elem_sep boolean fileListLoaded concode_field_sep void setDefaultList concode_elem_sep MapLoader getMapByName concode_elem_sep ArrayList<MapLoader> getSavedMultiplayerMaps concode_elem_sep ArrayList<MapLoader> getSavedMaps concode_elem_sep void foundMap concode_elem_sep ArrayList<MapLoader> getFreshMaps concode_elem_sep void loadFileList concode_elem_sep MapList getMapList concode_elem_sep MapLoader getMapById concode_elem_sep MapList getDefaultList concode_elem_sep void deleteLoadableGame concode_elem_sep void saveMap
void function ( MapFileHeader arg0 , IMapData arg1 , OutputStream arg2 ) { try { if ( arg2 == null ) { arg2 = mapsDir . getOutputStream ( arg0 ) ; } arg0 . writeTo ( arg2 ) ; FreshMapSerializer . serialize ( arg1 , arg2 ) ; } finally { if ( arg2 != null ) { arg2 . close ( ) ; } } loadFileList ( ) ; }