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

The MapUtility type exposes the following methods.

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.

See Also