C# 클래스 ACR_ServerCommunicator.ModuleContentPatcher

파일 보기 프로젝트 열기: ALandFarAway/ALFA-Base-Resources

공개 메소드들

메소드 설명
ProcessContentPatches ( string ContentPatchPath, ALFA Database, ACR_ServerCommunicator Script, string ConnectionString ) : bool

Process and apply content patches. A server restart is scheduled if required for the content patch.

ProcessModuleDownloaderResourcesUpdates ( ALFA Database, ACR_ServerCommunicator Script ) : bool

Process any updates to moduledownloaderresources.xml.

비공개 메소드들

메소드 설명
CompileModuleScripts ( ACR_ServerCommunicator Script, ALFA Database ) : void

Recompile all scripts in the module.

ContentPatchFileStoreFileExists ( string FileStorePath, string ConnectionString ) : bool

Check if a file store file exists.

DownloadContentPatchFromFileStore ( string FileStorePath, string LocalFileName, string ConnectionString, ACR_ServerCommunicator Script ) : void

Download a content patch file from a file store. Currently, Azure file stores are assumed. Both compressed and uncompressed versions of the file are tried in respective order.

GetFileChecksum ( string FilePath, MD5CryptoServiceProvider MD5Csp ) : string

Get the MD5 checksum of a file as a lowercased hex string.

메소드 상세

ProcessContentPatches() 공개 정적인 메소드

Process and apply content patches. A server restart is scheduled if required for the content patch.
public static ProcessContentPatches ( string ContentPatchPath, ALFA Database, ACR_ServerCommunicator Script, string ConnectionString ) : bool
ContentPatchPath string Supplies the configured content /// patch base path, from the database config table.
Database ALFA Supplies the database object.
Script ACR_ServerCommunicator Supplies the script object.
ConnectionString string Supplies the updater file store /// connection string.
리턴 bool

ProcessModuleDownloaderResourcesUpdates() 공개 정적인 메소드

Process any updates to moduledownloaderresources.xml.
public static ProcessModuleDownloaderResourcesUpdates ( ALFA Database, ACR_ServerCommunicator Script ) : bool
Database ALFA Supplies the database object.
Script ACR_ServerCommunicator Supplies the script object.
리턴 bool