C# 클래스 TDSM.Core.Net.Web.Repository

파일 보기 프로젝트 열기: DeathCradle/Terraria-s-Dedicated-Server-Mod

공개 메소드들

메소드 설명
CheckForLatest ( ) : void

Checks if all installed plugins are compatible with the latest recorded TDSM version

GetAvailableUpdate ( string packageName = null, bool updateOnly = true ) : TDSM.Core.Net.Web.PackageInfo[]

Get all available updates or check for a specific package update.

GetAvailableUpdates ( ) : TDSM.Core.Net.Web.PackageInfo[]

Get all available updates

PerformUpdate ( PackageInfo info ) : bool

Perform and update

비공개 메소드들

메소드 설명
ExtractZip ( FileInfo info ) : string
FetchUpdate ( PackageInfo info ) : string
GetGitHubRelease ( string url ) : GitHubRelease
GetUpdateInfo ( string packageName, string currentVersion = null ) : PackageInfo
GetUrl_PackageInfoUrl ( int apiBuild, short apiPhase, string packageName, string currentVersion = null ) : string
InstallUpdate ( string path ) : string[]
IsChild ( string path ) : string

메소드 상세

CheckForLatest() 공개 정적인 메소드

Checks if all installed plugins are compatible with the latest recorded TDSM version
public static CheckForLatest ( ) : void
리턴 void

GetAvailableUpdate() 공개 정적인 메소드

Get all available updates or check for a specific package update.
public static GetAvailableUpdate ( string packageName = null, bool updateOnly = true ) : TDSM.Core.Net.Web.PackageInfo[]
packageName string
updateOnly bool
리턴 TDSM.Core.Net.Web.PackageInfo[]

GetAvailableUpdates() 공개 정적인 메소드

Get all available updates
public static GetAvailableUpdates ( ) : TDSM.Core.Net.Web.PackageInfo[]
리턴 TDSM.Core.Net.Web.PackageInfo[]

PerformUpdate() 공개 정적인 메소드

Perform and update
public static PerformUpdate ( PackageInfo info ) : bool
info PackageInfo
리턴 bool