C# Class Nomad.Editor.EditorDocument

显示文件 Open project: Azerothian/fc3editor Class Usage Examples

Public Methods

Method Description
ClearSnapshot ( ) : void
Dump ( string mapFile, string dumpPath ) : void
Export ( string mapFile, string exportPath, bool toConsole ) : void
ExtractBigFile ( string mapFile, string bfPath, string bfName ) : void
FinalizeMap ( ) : void
Load ( string fileName, EditorDocument callback ) : bool
LoadPhysical ( string path ) : bool
OnLoadCompleted ( bool success ) : void
OnSaveCompleted ( bool success ) : void
Reset ( ) : void
Save ( string fileName, EditorDocument callback ) : void
TakeSnapshot ( Snapshot snapshot, int sampleFactor ) : void
Validate ( ) : bool

Method Details

ClearSnapshot() public static method

public static ClearSnapshot ( ) : void
return void

Dump() public static method

public static Dump ( string mapFile, string dumpPath ) : void
mapFile string
dumpPath string
return void

Export() public static method

public static Export ( string mapFile, string exportPath, bool toConsole ) : void
mapFile string
exportPath string
toConsole bool
return void

ExtractBigFile() public static method

public static ExtractBigFile ( string mapFile, string bfPath, string bfName ) : void
mapFile string
bfPath string
bfName string
return void

FinalizeMap() public static method

public static FinalizeMap ( ) : void
return void

Load() public static method

public static Load ( string fileName, EditorDocument callback ) : bool
fileName string
callback EditorDocument
return bool

LoadPhysical() public static method

public static LoadPhysical ( string path ) : bool
path string
return bool

OnLoadCompleted() public static method

public static OnLoadCompleted ( bool success ) : void
success bool
return void

OnSaveCompleted() public static method

public static OnSaveCompleted ( bool success ) : void
success bool
return void

Reset() public static method

public static Reset ( ) : void
return void

Save() public static method

public static Save ( string fileName, EditorDocument callback ) : void
fileName string
callback EditorDocument
return void

TakeSnapshot() public static method

public static TakeSnapshot ( Snapshot snapshot, int sampleFactor ) : void
snapshot Nomad.Logic.Snapshot
sampleFactor int
return void

Validate() public static method

public static Validate ( ) : bool
return bool