Revision Difference
GM:WorkshopDownloadProgress#525185
<function name="WorkshopDownloadProgress" parent="GM" type="hook">
<ishook>yes</ishook>
<description>Called while an addon from the Steam workshop is downloading. Used by default to update details on the fancy workshop download panel.</description>
<realm>Menu</realm>
<predicted>No</predicted>
<file line="40-50">lua/menu/mount/mount.lua</file>
<args>
<arg name="id" type="number">Workshop ID of addon.</arg>
<arg name="imageID" type="number">ID of addon's preview image.
For example, for **Extended Spawnmenu** addon, the image URL is
```
&lt;nowiki&gt;http://cloud-4.steamusercontent.com/ugc/702859018846106764/9E7E1946296240314751192DA0AD15B6567FF92D/&lt;/nowiki&gt;⤶
http://cloud-4.steamusercontent.com/ugc/702859018846106764/9E7E1946296240314751192DA0AD15B6567FF92D/⤶
```
So, the value of this argument would be **702859018846106764**.</arg>
<arg name="title" type="string">Name of addon.</arg>
<arg name="downloaded" type="number">Current bytes of addon downloaded.</arg>
<arg name="expected" type="number">Expected file size of addon in bytes.</arg>
</args>
</function>