C# Class fCraft.MapConversion.MapFCMv3

fCraft map format converter, for format version #3 (2011)
Inheritance: IMapConverter
Exibir arquivo Open project: GlennMR/800craft

Public Methods

Method Description
AddExtension ( IConverterExtension ex ) : IMapConverterEx
Claims ( [ fileName ) : bool
ClaimsName ( [ fileName ) : bool
Load ( [ fileName ) : Map
LoadHeader ( [ fileName ) : Map
Save ( [ mapToSave, [ fileName ) : bool
WriteMetadataEntry ( string group, string key, string value, BinaryWriter writer ) : void

Private Methods

Method Description
LoadHeaderInternal ( [ reader ) : Map
ReadLengthPrefixedString ( [ reader ) : string
WriteLengthPrefixedString ( [ writer, [ str ) : void
WriteMetadata ( [ stream, [ map ) : int

Method Details

AddExtension() public method

public AddExtension ( IConverterExtension ex ) : IMapConverterEx
ex IConverterExtension
return IMapConverterEx

Claims() public method

public Claims ( [ fileName ) : bool
fileName [
return bool

ClaimsName() public method

public ClaimsName ( [ fileName ) : bool
fileName [
return bool

Load() public method

public Load ( [ fileName ) : Map
fileName [
return Map

LoadHeader() public method

public LoadHeader ( [ fileName ) : Map
fileName [
return Map

Save() public method

public Save ( [ mapToSave, [ fileName ) : bool
mapToSave [
fileName [
return bool

WriteMetadataEntry() public method

public WriteMetadataEntry ( string group, string key, string value, BinaryWriter writer ) : void
group string
key string
value string
writer System.IO.BinaryWriter
return void