C# Class SDE.Tools.DatabaseEditor.Generic.DbLoaders.AllLoaders

Datei anzeigen Open project: Tokeiburu/RagnarokSDE Class Usage Examples

Public Methods

Method Description
ClearStoredFiles ( ) : void
DetectPath ( ServerDbs toString, bool allowAlernative = true ) : string
DetectPath ( string toString ) : string
DetectPathAll ( string db ) : string

Goes up in the parent folder until the path is found.

GenericErrorHandler ( int &numError, object item ) : bool
GetFileType ( string path ) : FileType

Gets the type of the file based on the path.

GetIsRenewal ( ) : bool

Determines if the current server is renewal or not.

GetServerType ( ) : ServerType

Gets the type of the server of the currently loaded DB.

GetStoredFile ( string path ) : string
StoreFile ( string path ) : void
UpdateStoredFiles ( ) : void

Private Methods

Method Description
AllLoaders ( ) : System.IO
_getInCurrentPath ( string fileInput ) : string
_getInParentPath ( string fileInput ) : string

Method Details

ClearStoredFiles() public static method

public static ClearStoredFiles ( ) : void
return void

DetectPath() public static method

public static DetectPath ( ServerDbs toString, bool allowAlernative = true ) : string
toString SDE.Tools.DatabaseEditor.Generic.Lists.ServerDbs
allowAlernative bool
return string

DetectPath() public static method

public static DetectPath ( string toString ) : string
toString string
return string

DetectPathAll() public static method

Goes up in the parent folder until the path is found.
public static DetectPathAll ( string db ) : string
db string The sub path to find.
return string

GenericErrorHandler() public static method

public static GenericErrorHandler ( int &numError, object item ) : bool
numError int
item object
return bool

GetFileType() public static method

Gets the type of the file based on the path.
public static GetFileType ( string path ) : FileType
path string The path.
return FileType

GetIsRenewal() public static method

Determines if the current server is renewal or not.
public static GetIsRenewal ( ) : bool
return bool

GetServerType() public static method

Gets the type of the server of the currently loaded DB.
public static GetServerType ( ) : ServerType
return ServerType

GetStoredFile() public static method

public static GetStoredFile ( string path ) : string
path string
return string

StoreFile() public static method

public static StoreFile ( string path ) : void
path string
return void

UpdateStoredFiles() public static method

public static UpdateStoredFiles ( ) : void
return void