Garry's Mod Wiki

Garry's Mod Wiki

Description

A window that is used to publish dupes and saves

View source

Parent

Derives methods, etc not listed on this page from DFrame.

Implements

Implements or overrides the following hooks/methods. If you want to override these, you probably want to call the original function too.

Methods

UGCPublishWindow:CheckInput()
Checks if the Tags and Title are valid and if so it enables the publish button.
UGCPublishWindow:DisplayError( string err )
Displays the given error message.
UGCPublishWindow:DoPublish( string wsid, string err )
Publishes the Item or throws an error if the Title or Tags are invalid
UGCPublishWindow:FitContents()
Rezises the panel to nicely fit all children
string UGCPublishWindow:GetChosenTag()
Returns the name of the current selected tag.
UGCPublishWindow:OnPublishFinished( string wsid, string err )
Called when the Item was published or if any error occurred while publishing
UGCPublishWindow:Setup( string ugcType, string file, string imageFile, WorkshopFileBase handler )
updated the Workshop items list.
UGCPublishWindow:UpdateWorkshopItems()
updated the Workshop items list.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...