Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions p2ce/workshop.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ declare namespace WorkshopAPI {

/** Returns the download state of the addon at the specified index. */
function GetAddonState(index: uint32): DownloadState;

/** Returns the types of files contributed by the addon at the specified index. */
function GetAddonContributions(index: uint32): ('sounds'|'models'|'materials'|'maps'|'scripts'|'panorama')[];
}

interface GlobalEventNameMap {
Expand Down