Garry's Mod Wiki

Log in to edit

WorkshopFileBase

<type name="WorkshopFileBase" category="classfunc" is="class"> <summary> <internal></internal> This object is created by <page>Global.WorkshopFileBase</page> which is used internally to fetch data of the specific namespace or to publish saves and dupes. This also exists on the Server but most functions may throw an error. It's meant to be used clientside. <note> You need to set the `HTML` field to a <page>DHTML</page> panel that is set up correctly like [here](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenttypes/dupes.lua#L12), or else you might get errors. </note> </summary> </type>