C# Class FileManager, OpenWorldGame

Afficher le fichier Open project: nottvlike/OpenWorldGame Class Usage Examples

Méthodes publiques

Méthode Description
CreateDirectory ( string directory ) : void
CreateFileWithBytes ( string path, byte info, int length ) : void
CreateFileWithString ( string path, string info ) : void
DeleteDirectory ( string directoryPath ) : void
DeleteFile ( string path ) : void
GetFileSize ( FileSizeUnitType sizeType, long size ) : float
IsDirectoryExist ( string fullPath ) : bool
IsFileExist ( string fullPath ) : bool
LoadFileWithBytes ( string path, byte &content ) : void
LoadFileWithString ( string path ) : string

Method Details

CreateDirectory() public static méthode

public static CreateDirectory ( string directory ) : void
directory string
Résultat void

CreateFileWithBytes() public static méthode

public static CreateFileWithBytes ( string path, byte info, int length ) : void
path string
info byte
length int
Résultat void

CreateFileWithString() public static méthode

public static CreateFileWithString ( string path, string info ) : void
path string
info string
Résultat void

DeleteDirectory() public static méthode

public static DeleteDirectory ( string directoryPath ) : void
directoryPath string
Résultat void

DeleteFile() public static méthode

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

GetFileSize() public static méthode

public static GetFileSize ( FileSizeUnitType sizeType, long size ) : float
sizeType FileSizeUnitType
size long
Résultat float

IsDirectoryExist() public static méthode

public static IsDirectoryExist ( string fullPath ) : bool
fullPath string
Résultat bool

IsFileExist() public static méthode

public static IsFileExist ( string fullPath ) : bool
fullPath string
Résultat bool

LoadFileWithBytes() public static méthode

public static LoadFileWithBytes ( string path, byte &content ) : void
path string
content byte
Résultat void

LoadFileWithString() public static méthode

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