benilla-re systems structs docs

s_patchProgressTime

global · glue

Address
0xb41d7c · 4 bytes, up to 0xb41d7f
Type
uint32_t
Meaning
Holds the time of the last patch progress update; written by 0x474610 and 0x474b70
Confidence
verified, proof one
Finding
glue/downloads#patch-download

Finding: Patch download in glue: survey and patch downloads

0x474610 closes the status dialog (glue event 5), sets screen state 10, shows the patchdownload screen, replaces any open patch file, opens a new one under the transfer's name, or wow-patch.mpq for Patch, and accepts the transfer at the offset the open returns. Each chunk is written to the file. While in state 10 the update polls it. Complete raises PATCH_DOWNLOADED (17) with progress 1.0 and finishes the file, then polls again: failed now shows the failure dialog, else state 0; the file is freed either way. Failed shows the failure dialog. Otherwise, at most every 250 ms, it stores the progress, raises PATCH_UPDATE_PROGRESS (16), and cancels with DISCONNECTED when the logon link is down.

The derivation is in the doc.