[This is preliminary documentation and is subject to change.]

Utilities used to handle different map formats, including loading, parsing, and saving.

Namespace: fCraft.MapConversion
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
public static class MapUtility

Members

      
 All Members  Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
GetExporter(MapFormat)
Looks up an appropriate exporter for the given MapFormat.
GetExporters()()()()
Returns an array of all available map exporters.
GetImporter(MapFormat)
Looks up an appropriate importer for the given MapFormat.
GetImporters()()()()
Returns an array of all available map importers.
Identify(String, Boolean)
Identifies the map format from the specified file name.
Load(String)
Loads the map from it's header using the specified file name.
LoadHeader(String)
Loads the map excluding block data from it's header using the specified file name.
RegisterConverter(IMapConverter)
Registers a new map importer or exporter. Only one importer/exporter may be registered for each supported format. If an importer/exporter for the given format has already been registered, it will be replaced.
Save(Map, String, MapFormat)
Save the map, under the specified file name using the specified format.
TryLoad(String, Map%)
Attempts to load the map including the block data from it's header using the specified file name.
TryLoadHeader(String, Map%)
Attempts to load the map excluding the block data from it's header using the specified file name.
TrySave(Map, String, MapFormat)
Attempts to save the map, under the specified file name using the specified format.

Inheritance Hierarchy

System..::..Object
  fCraft.MapConversion..::..MapUtility

See Also