C# 클래스 MTMCL.Forge.ForgeInstaller

파일 보기 프로젝트 열기: cvronmin/metocraft

Private Properties

프로퍼티 타입 설명
CopyAndStrip void
CopyEntry void
CopyEntry void
ReadEntry byte[]
ReadFully byte[]
checksumsValid bool
downloadFileETag bool
downloadInstalledLibrary void
hashMD5 string
hashSHA1 string
unpackLibrary void
validateJar bool

공개 메소드들

메소드 설명
downloadFile ( string libName, string libPath, string libURL, List checksums ) : bool
install ( string target ) : bool
installOld ( string target, string mcversion, string forgeversion ) : bool

비공개 메소드들

메소드 설명
CopyAndStrip ( string source, string target ) : void
CopyEntry ( FileInfo src, FileInfo target ) : void
CopyEntry ( FileInfo source, ZipOutputStream target ) : void
ReadEntry ( ZipFile file, ZipEntry entry ) : byte[]
ReadFully ( Stream input ) : byte[]
checksumsValid ( FileInfo file, List sums ) : bool
downloadFileETag ( string url, string file ) : bool
downloadInstalledLibrary ( ForgeInstall info, DirectoryInfo dir, List grabbed, List bad ) : void
hashMD5 ( byte data ) : string
hashSHA1 ( byte data ) : string
unpackLibrary ( FileInfo input, FileInfo output ) : void
validateJar ( FileInfo file, byte data, List sums ) : bool

메소드 상세

downloadFile() 공개 메소드

public downloadFile ( string libName, string libPath, string libURL, List checksums ) : bool
libName string
libPath string
libURL string
checksums List
리턴 bool

install() 공개 메소드

public install ( string target ) : bool
target string
리턴 bool

installOld() 공개 메소드

public installOld ( string target, string mcversion, string forgeversion ) : bool
target string
mcversion string
forgeversion string
리턴 bool