fCraft  0.636
Custom Minecraft Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events
Public Member Functions | Properties | List of all members
fCraft.MapConversion.MapMCSharp Class Reference

MCSharp map conversion implementation, for converting MCSharp map format into fCraft's default map format. More...

Inheritance diagram for fCraft.MapConversion.MapMCSharp:
Inheritance graph
[legend]
Collaboration diagram for fCraft.MapConversion.MapMCSharp:
Collaboration graph
[legend]

Public Member Functions

bool ClaimsName (string fileName)
 
bool Claims (string fileName)
 
Map LoadHeader (string fileName)
 
Map Load (string fileName)
 
void Save (Map mapToSave, string fileName)
 
- Public Member Functions inherited from fCraft.MapConversion.IMapImporter
bool ClaimsName ([NotNull] string path)
 Returns true if the file name (or directory name) matches this format's expectations.
 
bool Claims ([NotNull] string path)
 Allows validating the map format while using minimal resources.
 
Map LoadHeader ([NotNull] string path)
 Attempts to load map dimensions from specified location. Throws MapFormatException on failure.
 
Map Load ([NotNull] string path)
 Fully loads map from specified location. Throws MapFormatException on failure.
 
- Public Member Functions inherited from fCraft.MapConversion.IMapExporter
void Save ([NotNull] Map mapToSave,[NotNull] string path)
 Saves given map at the given location.
 

Properties

string ServerName [get]
 
bool SupportsImport [get]
 
bool SupportsExport [get]
 
string FileExtension [get]
 
MapStorageType StorageType [get]
 
MapFormat Format [get]
 

Detailed Description

MCSharp map conversion implementation, for converting MCSharp map format into fCraft's default map format.

Member Function Documentation

bool fCraft.MapConversion.MapMCSharp.Claims ( string  fileName)
bool fCraft.MapConversion.MapMCSharp.ClaimsName ( string  fileName)
Map fCraft.MapConversion.MapMCSharp.Load ( string  fileName)
Map fCraft.MapConversion.MapMCSharp.LoadHeader ( string  fileName)
void fCraft.MapConversion.MapMCSharp.Save ( Map  mapToSave,
string  fileName 
)

Property Documentation

string fCraft.MapConversion.MapMCSharp.FileExtension
get
MapFormat fCraft.MapConversion.MapMCSharp.Format
get
string fCraft.MapConversion.MapMCSharp.ServerName
get
MapStorageType fCraft.MapConversion.MapMCSharp.StorageType
get
bool fCraft.MapConversion.MapMCSharp.SupportsExport
get
bool fCraft.MapConversion.MapMCSharp.SupportsImport
get

The documentation for this class was generated from the following file: