benilla-re systems structs docs

s_patchDownloadProgress

global · glue

Address
0xb414c0 · 4 bytes, up to 0xb414c3
Type
float
Meaning
Holds the patch download progress, 0 at load, written in 0x474b70 and returned by PatchDownloadProgress
Confidence
verified, proof one
Finding
glue/script#screenshot-patch-and-survey

Finding: Screenshot, patch and survey in glue: the script functions

Screenshot (0x46d3d0) arms a screenshot with 0x46c520 as its callback, which fires glue event 14 on success and 15 on failure. PatchDownloadProgress (0x46d3e0) returns the float 0xb414c0 as a number. PatchDownloadCancel (0x46d400) calls 0x474710 and PatchDownloadApply (0x46d410) 0x4749f0. SurveyNotificationDone (0x46ddd0) reads a flag, default 0: when true it sends a pending survey result (0x473df0); then it always clears the survey state (0x473e30). It returns 1 without pushing, so its result is the top of the Lua stack, the last argument when one is passed. The others return nothing.

The derivation is in the doc.