GameDB  1.6.0
GameDB Pro is a plugin that provides an easy to use and powerful game and meta data editor
GameDBLibrary.Remote Class Reference

The Remote class provides methods to communicate with GameDB servers. More...

Static Public Member Functions

static RequestUpdater GetLatestDeployment (string serverHost, string downloadHost, string scope, string tag, string checksum, string userID, string key, string salt, Action< Exception, string, int > callback)
 Gets the latest deployed GameDB for a particular tag. More...
 

Detailed Description

The Remote class provides methods to communicate with GameDB servers.

Member Function Documentation

◆ GetLatestDeployment()

static RequestUpdater GameDBLibrary.Remote.GetLatestDeployment ( string  serverHost,
string  downloadHost,
string  scope,
string  tag,
string  checksum,
string  userID,
string  key,
string  salt,
Action< Exception, string, int >  callback 
)
static

Gets the latest deployed GameDB for a particular tag.

Parameters
serverHostThe server host base address of the GameDB server to communicate with. For example: https://mygamedbserver.com
downloadHostThe download host base address of the GameDB to download. For example https://s3.aws.com/mygamedb
scopeThe scope name of the GameDB to check.
tagThe tag used to download the correct version of the GameDB
checksumThe checksum of the currently on disk GameDB.
userIDA unique identified used to represent the client downloading the GameDB. Can be used for A/B testing GameDB versions
keythe key used to encrypt the database via the GameDBLibrary.BinaryGameDB utilities. Required if using binary = true
saltthe salt used to encrypt the database via the GameDBLibrary.BinaryGameDB utilities. Required if using binary = true
callbackA callback called when the communication is complete. Returning information about the latest GameDB.
Returns
A RequestUpdater used to montior the request to the server.