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

Afficher le fichier Open project: Tokeiburu/RagnarokSDE Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AllLoaders ( ) : System.IO
_getInCurrentPath ( string fileInput ) : string
_getInParentPath ( string fileInput ) : string

Method Details

ClearStoredFiles() public static méthode

public static ClearStoredFiles ( ) : void
Résultat void

DetectPath() public static méthode

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

DetectPath() public static méthode

public static DetectPath ( string toString ) : string
toString string
Résultat string

DetectPathAll() public static méthode

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

GenericErrorHandler() public static méthode

public static GenericErrorHandler ( int &numError, object item ) : bool
numError int
item object
Résultat bool

GetFileType() public static méthode

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

GetIsRenewal() public static méthode

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

GetServerType() public static méthode

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

GetStoredFile() public static méthode

public static GetStoredFile ( string path ) : string
path string
Résultat string

StoreFile() public static méthode

public static StoreFile ( string path ) : void
path string
Résultat void

UpdateStoredFiles() public static méthode

public static UpdateStoredFiles ( ) : void
Résultat void