class

NGDP

Inherits Reference < Object

Constructors

new(region : String, programCode : String, maxFails : Int32)
Source
new(region : String, programCode : String)
Source

Instance methods

getBgdl

similar to versions, but tailored for use by the Battle.net App background downloader process

Example output from 2018-01-03 Region!STRING:0|BuildConfig!HEX:16|CDNConfig!HEX:16|KeyRing!HEX:16|BuildId!DEC:4|VersionsName!String:0|ProductConfig!HEX:16

Source
getBlobGame

a blob file that regulates game functionality for the Battle.net App

Source
getBlobInstall

a blob file that regulates installer functionality for the game in the Battle.net App

Source
getBlobs

contains InstallBlobMD5 and GameBlobMD5

Example output from 2018-01-03 Region!STRING:0|InstallBlobMD5!HEX:16|GameBlobMD5!HEX:16 all|00000000000000000000000000000000|6C70B45A9EC3D9FAB145B71CEAC07D5D

Source
getCDNs

Contains urls to cdns for this specific program

Example output from 2018-01-03 Name!STRING:0|Path!STRING:0|Hosts!STRING:0|ConfigPath!STRING:0|Servers!STRING:0 eu|tpr/wow|edgecast.blizzard.com blzddist1-a.akamaihd.net level3.blizzard.com|tpr/configs/data| tw|tpr/wow|edgecast.blizzard.com blzddist1-a.akamaihd.net level3.blizzard.com|tpr/configs/data| us|tpr/wow|edgecast.blizzard.com blzddist1-a.akamaihd.net level3.blizzard.com|tpr/configs/data| kr|tpr/wow|blzddistkr1-a.akamaihd.net blizzard.nefficient.co.kr blzddist1-a.akamaihd.net|tpr/configs/data| cn|tpr/wow|client02.pdl.wow.battlenet.com.cn blzddist1-a.akamaihd.net client01.pdl.wow.battlenet.com.cn client04.pdl.wow.battlenet.com.cn|tpr/configs/data|http://client02.pdl.wow.battlenet.com.cn http://blzddist1-a.akamaihd.net http://client01.pdl.wow.battlenet.com.cn http://client04.pdl.wow.battlenet.com.cn https://client02.pdl.wow.battlenet.com.cn/?fallback=1 https://client01.pdl.wow.battlenet.com.cn/?fallback=1 https://client04.pdl.wow.battlenet.com.cn/?fallback=1

Source
getVersions

Contains urls to cdns for this specific program

Example output from 2018-01-03 Region!STRING:0|BuildConfig!HEX:16|CDNConfig!HEX:16|KeyRing!HEX:16|BuildId!DEC:4|VersionsName!String:0|ProductConfig!HEX:16 us|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549| eu|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549| cn|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549| kr|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549| tw|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549| sg|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549| xx|0dcd27adeb73b039302160d07f6c3402|3085234dd989d2d1d8fb565becd85ba5||25549|7.3.2.25549|

Source
maxFails
Source
parse(contents : String)

parses data from NGDP contents to JSON for easier accessability TODO: recode: either extend JSON or code own datastructure json a like

Source
programCode
Source
region
Source
region=(region : String)
Source
request(baseUrl : String, path : String, fails : Int32)
Source
request(baseUrl : String, path : String)
Source