C# 클래스 fCraft.MapConversion.MapXMap

상속: IMapConverter
파일 보기 프로젝트 열기: fragmer/fCraft 1 사용 예제들

공개 메소드들

메소드 설명
Claims ( string path ) : bool

Allows validating the map format while using minimal resources.

ClaimsName ( string fileName ) : bool

Returns true if the filename (or directory name) matches this format's expectations.

Load ( string path ) : Map

Fully loads map from specified location.

LoadHeader ( string path ) : Map

Attempts to load map dimensions from specified location.

Save ( Map mapToSave, string path ) : bool

Saves given map at the given location.

비공개 메소드들

메소드 설명
LoadInternal ( Stream stream, bool readLayers ) : Map
ReadString ( BinaryReader reader ) : string
WriteString ( BinaryWriter writer, string str ) : void

메소드 상세

Claims() 공개 메소드

Allows validating the map format while using minimal resources.
public Claims ( string path ) : bool
path string
리턴 bool

ClaimsName() 공개 메소드

Returns true if the filename (or directory name) matches this format's expectations.
public ClaimsName ( string fileName ) : bool
fileName string
리턴 bool

Load() 공개 메소드

Fully loads map from specified location.
public Load ( string path ) : Map
path string
리턴 Map

LoadHeader() 공개 메소드

Attempts to load map dimensions from specified location.
public LoadHeader ( string path ) : Map
path string
리턴 Map

Save() 공개 메소드

Saves given map at the given location.
public Save ( Map mapToSave, string path ) : bool
mapToSave Map
path string
리턴 bool