s_patchFile
global · glue
- Address
0xb42260· 4 bytes, up to0xb42263- Type
void *- Meaning
- Holds the patch download file, or null
- 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.