C# 클래스 fCraft.MapConversion.MapFCMv4

Next file format that fCraft shall use.
상속: IMapConverter
파일 보기 프로젝트 열기: GlennMR/800craft

공개 메소드들

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

Allows validating the map format while using minimal resources.

ClaimsName ( [ fileName ) : bool

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

Load ( [ path ) : Map

Fully loads map from specified location.

LoadHeader ( string path ) : Map

Attempts to load map dimensions from specified location.

Save ( [ map, [ path ) : bool

Saves given map at the given location.

비공개 메소드들

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

메소드 상세

Claims() 공개 메소드

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

ClaimsName() 공개 메소드

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

Load() 공개 메소드

Fully loads map from specified location.
public Load ( [ path ) : Map
path [
리턴 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, [ path ) : bool
map [
path [
리턴 bool