C# 클래스 FileManager, OpenWorldGame

파일 보기 프로젝트 열기: nottvlike/OpenWorldGame 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

CreateDirectory() 공개 정적인 메소드

public static CreateDirectory ( string directory ) : void
directory string
리턴 void

CreateFileWithBytes() 공개 정적인 메소드

public static CreateFileWithBytes ( string path, byte info, int length ) : void
path string
info byte
length int
리턴 void

CreateFileWithString() 공개 정적인 메소드

public static CreateFileWithString ( string path, string info ) : void
path string
info string
리턴 void

DeleteDirectory() 공개 정적인 메소드

public static DeleteDirectory ( string directoryPath ) : void
directoryPath string
리턴 void

DeleteFile() 공개 정적인 메소드

public static DeleteFile ( string path ) : void
path string
리턴 void

GetFileSize() 공개 정적인 메소드

public static GetFileSize ( FileSizeUnitType sizeType, long size ) : float
sizeType FileSizeUnitType
size long
리턴 float

IsDirectoryExist() 공개 정적인 메소드

public static IsDirectoryExist ( string fullPath ) : bool
fullPath string
리턴 bool

IsFileExist() 공개 정적인 메소드

public static IsFileExist ( string fullPath ) : bool
fullPath string
리턴 bool

LoadFileWithBytes() 공개 정적인 메소드

public static LoadFileWithBytes ( string path, byte &content ) : void
path string
content byte
리턴 void

LoadFileWithString() 공개 정적인 메소드

public static LoadFileWithString ( string path ) : string
path string
리턴 string