docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SteamUGC

    Purpose: Steam UGC support API

    Inheritance
    object
    SteamUGC
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public static class SteamUGC

    Methods

    AddAppDependency(PublishedFileId_t, AppId_t)

    add/remove app dependence/requirements (usually DLC)

    Declaration
    public static SteamAPICall_t AddAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::AddAppDependency.

    AppId_t nAppID

    Passed through to ISteamUGC::AddAppDependency.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::AddAppDependency returns.

    AddAppDependencyAsync(PublishedFileId_t, AppId_t)

    Async version of AddAppDependency(PublishedFileId_t, AppId_t).

    Declaration
    public static Task<AddAppDependencyResult_t> AddAppDependencyAsync(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::AddAppDependency.

    AppId_t nAppID

    Passed through to ISteamUGC::AddAppDependency.

    Returns
    Type Description
    Task<AddAppDependencyResult_t>

    The AddAppDependencyResult_t Steam reports once the call completes.

    AddContentDescriptor(UGCUpdateHandle_t, EUGCContentDescriptorID)

    Calls the Steamworks ISteamUGC::AddContentDescriptor method.

    Declaration
    public static bool AddContentDescriptor(UGCUpdateHandle_t handle, EUGCContentDescriptorID descid)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::AddContentDescriptor.

    EUGCContentDescriptorID descid

    Passed through to ISteamUGC::AddContentDescriptor.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddContentDescriptor returns.

    AddDependency(PublishedFileId_t, PublishedFileId_t)

    parent-child relationship or dependency management

    Declaration
    public static SteamAPICall_t AddDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nParentPublishedFileID

    Passed through to ISteamUGC::AddDependency.

    PublishedFileId_t nChildPublishedFileID

    Passed through to ISteamUGC::AddDependency.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::AddDependency returns.

    AddDependencyAsync(PublishedFileId_t, PublishedFileId_t)

    Async version of AddDependency(PublishedFileId_t, PublishedFileId_t).

    Declaration
    public static Task<AddUGCDependencyResult_t> AddDependencyAsync(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nParentPublishedFileID

    Passed through to ISteamUGC::AddDependency.

    PublishedFileId_t nChildPublishedFileID

    Passed through to ISteamUGC::AddDependency.

    Returns
    Type Description
    Task<AddUGCDependencyResult_t>

    The AddUGCDependencyResult_t Steam reports once the call completes.

    AddExcludedTag(UGCQueryHandle_t, string)

    Calls the Steamworks ISteamUGC::AddExcludedTag method.

    Declaration
    public static bool AddExcludedTag(UGCQueryHandle_t handle, string pTagName)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::AddExcludedTag.

    string pTagName

    Passed through to ISteamUGC::AddExcludedTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddExcludedTag returns.

    AddItemKeyValueTag(UGCUpdateHandle_t, string, string)

    add new key-value tags for the item. Note that there can be multiple values for a tag.

    Declaration
    public static bool AddItemKeyValueTag(UGCUpdateHandle_t handle, string pchKey, string pchValue)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::AddItemKeyValueTag.

    string pchKey

    Passed through to ISteamUGC::AddItemKeyValueTag.

    string pchValue

    Passed through to ISteamUGC::AddItemKeyValueTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddItemKeyValueTag returns.

    AddItemPreviewFile(UGCUpdateHandle_t, string, EItemPreviewType)

    add preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size

    Declaration
    public static bool AddItemPreviewFile(UGCUpdateHandle_t handle, string pszPreviewFile, EItemPreviewType type)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::AddItemPreviewFile.

    string pszPreviewFile

    Passed through to ISteamUGC::AddItemPreviewFile.

    EItemPreviewType type

    Passed through to ISteamUGC::AddItemPreviewFile.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddItemPreviewFile returns.

    AddItemPreviewVideo(UGCUpdateHandle_t, string)

    add preview video for this item

    Declaration
    public static bool AddItemPreviewVideo(UGCUpdateHandle_t handle, string pszVideoID)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::AddItemPreviewVideo.

    string pszVideoID

    Passed through to ISteamUGC::AddItemPreviewVideo.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddItemPreviewVideo returns.

    AddItemToFavorites(AppId_t, PublishedFileId_t)

    Calls the Steamworks ISteamUGC::AddItemToFavorites method.

    Declaration
    public static SteamAPICall_t AddItemToFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    AppId_t nAppId

    Passed through to ISteamUGC::AddItemToFavorites.

    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::AddItemToFavorites.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::AddItemToFavorites returns.

    AddItemToFavoritesAsync(AppId_t, PublishedFileId_t)

    Async version of AddItemToFavorites(AppId_t, PublishedFileId_t).

    Declaration
    public static Task<UserFavoriteItemsListChanged_t> AddItemToFavoritesAsync(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    AppId_t nAppId

    Passed through to ISteamUGC::AddItemToFavorites.

    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::AddItemToFavorites.

    Returns
    Type Description
    Task<UserFavoriteItemsListChanged_t>

    The UserFavoriteItemsListChanged_t Steam reports once the call completes.

    AddRequiredKeyValueTag(UGCQueryHandle_t, string, string)

    Calls the Steamworks ISteamUGC::AddRequiredKeyValueTag method.

    Declaration
    public static bool AddRequiredKeyValueTag(UGCQueryHandle_t handle, string pKey, string pValue)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::AddRequiredKeyValueTag.

    string pKey

    Passed through to ISteamUGC::AddRequiredKeyValueTag.

    string pValue

    Passed through to ISteamUGC::AddRequiredKeyValueTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddRequiredKeyValueTag returns.

    AddRequiredTag(UGCQueryHandle_t, string)

    Options to set for querying UGC

    Declaration
    public static bool AddRequiredTag(UGCQueryHandle_t handle, string pTagName)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::AddRequiredTag.

    string pTagName

    Passed through to ISteamUGC::AddRequiredTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddRequiredTag returns.

    AddRequiredTagGroup(UGCQueryHandle_t, IList<string>)

    match any of the tags in this group

    Declaration
    public static bool AddRequiredTagGroup(UGCQueryHandle_t handle, IList<string> pTagGroups)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::AddRequiredTagGroup.

    IList<string> pTagGroups

    Passed through to ISteamUGC::AddRequiredTagGroup.

    Returns
    Type Description
    bool

    The value ISteamUGC::AddRequiredTagGroup returns.

    BInitWorkshopForGameServer(DepotId_t, string)

    game servers can set a specific workshop folder before issuing any UGC commands. This is helpful if you want to support multiple game servers running out of the same install folder

    Declaration
    public static bool BInitWorkshopForGameServer(DepotId_t unWorkshopDepotID, string pszFolder)
    Parameters
    Type Name Description
    DepotId_t unWorkshopDepotID

    Passed through to ISteamUGC::BInitWorkshopForGameServer.

    string pszFolder

    Passed through to ISteamUGC::BInitWorkshopForGameServer.

    Returns
    Type Description
    bool

    The value ISteamUGC::BInitWorkshopForGameServer returns.

    CreateItem(AppId_t, EWorkshopFileType)

    Steam Workshop Creator API create new item for this app with no content attached yet

    Declaration
    public static SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType)
    Parameters
    Type Name Description
    AppId_t nConsumerAppId

    Passed through to ISteamUGC::CreateItem.

    EWorkshopFileType eFileType

    Passed through to ISteamUGC::CreateItem.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::CreateItem returns.

    CreateItemAsync(AppId_t, EWorkshopFileType)

    Async version of CreateItem(AppId_t, EWorkshopFileType).

    Declaration
    public static Task<CreateItemResult_t> CreateItemAsync(AppId_t nConsumerAppId, EWorkshopFileType eFileType)
    Parameters
    Type Name Description
    AppId_t nConsumerAppId

    Passed through to ISteamUGC::CreateItem.

    EWorkshopFileType eFileType

    Passed through to ISteamUGC::CreateItem.

    Returns
    Type Description
    Task<CreateItemResult_t>

    The CreateItemResult_t Steam reports once the call completes.

    CreateQueryAllUGCRequest(EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, string)

    Query for all matching UGC using the new deep paging interface. Creator app id or consumer app id must be valid and be set to the current running app. pchCursor should be set to NULL or "*" to get the first result set.

    Declaration
    public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, string pchCursor = null)
    Parameters
    Type Name Description
    EUGCQuery eQueryType

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    AppId_t nCreatorAppID

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    AppId_t nConsumerAppID

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    string pchCursor

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    Returns
    Type Description
    UGCQueryHandle_t

    The value ISteamUGC::CreateQueryAllUGCRequest returns.

    CreateQueryAllUGCRequest(EUGCQuery, EUGCMatchingUGCType, AppId_t, AppId_t, uint)

    Query for all matching UGC using the new deep paging interface. Creator app id or consumer app id must be valid and be set to the current running app. pchCursor should be set to NULL or "*" to get the first result set.

    Declaration
    public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
    Parameters
    Type Name Description
    EUGCQuery eQueryType

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    AppId_t nCreatorAppID

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    AppId_t nConsumerAppID

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    uint unPage

    Passed through to ISteamUGC::CreateQueryAllUGCRequest.

    Returns
    Type Description
    UGCQueryHandle_t

    The value ISteamUGC::CreateQueryAllUGCRequest returns.

    CreateQueryUGCDetailsRequest(PublishedFileId_t[], uint)

    Query for the details of the given published file ids (the RequestUGCDetails call is deprecated and replaced with this)

    Declaration
    public static UGCQueryHandle_t CreateQueryUGCDetailsRequest(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::CreateQueryUGCDetailsRequest.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::CreateQueryUGCDetailsRequest.

    Returns
    Type Description
    UGCQueryHandle_t

    The value ISteamUGC::CreateQueryUGCDetailsRequest returns.

    CreateQueryUserUGCRequest(AccountID_t, EUserUGCList, EUGCMatchingUGCType, EUserUGCListSortOrder, AppId_t, AppId_t, uint)

    Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.

    Declaration
    public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
    Parameters
    Type Name Description
    AccountID_t unAccountID

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    EUserUGCList eListType

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    EUGCMatchingUGCType eMatchingUGCType

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    EUserUGCListSortOrder eSortOrder

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    AppId_t nCreatorAppID

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    AppId_t nConsumerAppID

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    uint unPage

    Passed through to ISteamUGC::CreateQueryUserUGCRequest.

    Returns
    Type Description
    UGCQueryHandle_t

    The value ISteamUGC::CreateQueryUserUGCRequest returns.

    DeleteItem(PublishedFileId_t)

    delete the item without prompting the user

    Declaration
    public static SteamAPICall_t DeleteItem(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::DeleteItem.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::DeleteItem returns.

    DeleteItemAsync(PublishedFileId_t)

    Async version of DeleteItem(PublishedFileId_t).

    Declaration
    public static Task<DeleteItemResult_t> DeleteItemAsync(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::DeleteItem.

    Returns
    Type Description
    Task<DeleteItemResult_t>

    The DeleteItemResult_t Steam reports once the call completes.

    DownloadItem(PublishedFileId_t, bool)

    download new or update already installed item. If function returns true, wait for DownloadItemResult_t. If the item is already installed, then files on disk should not be used until callback received. If item is not subscribed to, it will be cached for some time. If bHighPriority is set, any other item download will be suspended and this item downloaded ASAP.

    Declaration
    public static bool DownloadItem(PublishedFileId_t nPublishedFileID, bool bHighPriority)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::DownloadItem.

    bool bHighPriority

    Passed through to ISteamUGC::DownloadItem.

    Returns
    Type Description
    bool

    The value ISteamUGC::DownloadItem returns.

    GetAppDependencies(PublishedFileId_t)

    request app dependencies. note that whatever callback you register for GetAppDependenciesResult_t may be called multiple times until all app dependencies have been returned

    Declaration
    public static SteamAPICall_t GetAppDependencies(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetAppDependencies.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::GetAppDependencies returns.

    GetAppDependenciesAsync(PublishedFileId_t)

    Async version of GetAppDependencies(PublishedFileId_t).

    Declaration
    public static Task<GetAppDependenciesResult_t> GetAppDependenciesAsync(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetAppDependencies.

    Returns
    Type Description
    Task<GetAppDependenciesResult_t>

    The GetAppDependenciesResult_t Steam reports once the call completes.

    GetDownloadedItems(out PublishedFileId_t, uint)

    Returns the ids of the items downloaded

    Declaration
    public static uint GetDownloadedItems(out PublishedFileId_t pvecPublishedFileIDs, uint cMaxEntries)
    Parameters
    Type Name Description
    PublishedFileId_t pvecPublishedFileIDs

    Passed through to ISteamUGC::GetDownloadedItems.

    uint cMaxEntries

    Passed through to ISteamUGC::GetDownloadedItems.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetDownloadedItems returns.

    GetItemDownloadInfo(PublishedFileId_t, out ulong, out ulong)

    get info about pending update for items that have k_EItemStateNeedsUpdate set. punBytesTotal will be valid after download started once

    Declaration
    public static bool GetItemDownloadInfo(PublishedFileId_t nPublishedFileID, out ulong punBytesDownloaded, out ulong punBytesTotal)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetItemDownloadInfo.

    ulong punBytesDownloaded

    Passed through to ISteamUGC::GetItemDownloadInfo.

    ulong punBytesTotal

    Passed through to ISteamUGC::GetItemDownloadInfo.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetItemDownloadInfo returns.

    GetItemInstallInfo(PublishedFileId_t, out ulong, out string, uint, out uint)

    get info about currently installed content on disc for items that have k_EItemStateInstalled set if k_EItemStateLegacyItem is set, pchFolder contains the path to the legacy file itself (not a folder)

    Declaration
    public static bool GetItemInstallInfo(PublishedFileId_t nPublishedFileID, out ulong punSizeOnDisk, out string pchFolder, uint cchFolderSize, out uint punTimeStamp)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetItemInstallInfo.

    ulong punSizeOnDisk

    Passed through to ISteamUGC::GetItemInstallInfo.

    string pchFolder

    Receives the string ISteamUGC::GetItemInstallInfo writes.

    uint cchFolderSize

    Passed through to ISteamUGC::GetItemInstallInfo.

    uint punTimeStamp

    Passed through to ISteamUGC::GetItemInstallInfo.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetItemInstallInfo returns.

    GetItemState(PublishedFileId_t)

    get EItemState flags about item on this client

    Declaration
    public static uint GetItemState(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetItemState.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetItemState returns.

    GetItemUpdateProgress(UGCUpdateHandle_t, out ulong, out ulong)

    Calls the Steamworks ISteamUGC::GetItemUpdateProgress method.

    Declaration
    public static EItemUpdateStatus GetItemUpdateProgress(UGCUpdateHandle_t handle, out ulong punBytesProcessed, out ulong punBytesTotal)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::GetItemUpdateProgress.

    ulong punBytesProcessed

    Passed through to ISteamUGC::GetItemUpdateProgress.

    ulong punBytesTotal

    Passed through to ISteamUGC::GetItemUpdateProgress.

    Returns
    Type Description
    EItemUpdateStatus

    The value ISteamUGC::GetItemUpdateProgress returns.

    GetNumDownloadedItems()

    Returns the number of items actually downloaded locally

    Declaration
    public static uint GetNumDownloadedItems()
    Returns
    Type Description
    uint

    The value ISteamUGC::GetNumDownloadedItems returns.

    GetNumSubscribedItems(bool)

    number of subscribed items

    Declaration
    public static uint GetNumSubscribedItems(bool bIncludeLocallyDisabled = false)
    Parameters
    Type Name Description
    bool bIncludeLocallyDisabled

    Passed through to ISteamUGC::GetNumSubscribedItems.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetNumSubscribedItems returns.

    GetNumSupportedGameVersions(UGCQueryHandle_t, uint)

    Some items can specify that they have a version that is valid for a range of game versions (Steam branch)

    Declaration
    public static uint GetNumSupportedGameVersions(UGCQueryHandle_t handle, uint index)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetNumSupportedGameVersions.

    uint index

    Passed through to ISteamUGC::GetNumSupportedGameVersions.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetNumSupportedGameVersions returns.

    GetQueryUGCAdditionalPreview(UGCQueryHandle_t, uint, uint, out string, uint, out string, uint, out EItemPreviewType)

    Calls the Steamworks ISteamUGC::GetQueryUGCAdditionalPreview method.

    Declaration
    public static bool GetQueryUGCAdditionalPreview(UGCQueryHandle_t handle, uint index, uint previewIndex, out string pchURLOrVideoID, uint cchURLSize, out string pchOriginalFileName, uint cchOriginalFileNameSize, out EItemPreviewType pPreviewType)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCAdditionalPreview.

    uint index

    Passed through to ISteamUGC::GetQueryUGCAdditionalPreview.

    uint previewIndex

    Passed through to ISteamUGC::GetQueryUGCAdditionalPreview.

    string pchURLOrVideoID

    Receives the string ISteamUGC::GetQueryUGCAdditionalPreview writes.

    uint cchURLSize

    Passed through to ISteamUGC::GetQueryUGCAdditionalPreview.

    string pchOriginalFileName

    Receives the string ISteamUGC::GetQueryUGCAdditionalPreview writes.

    uint cchOriginalFileNameSize

    Passed through to ISteamUGC::GetQueryUGCAdditionalPreview.

    EItemPreviewType pPreviewType

    Passed through to ISteamUGC::GetQueryUGCAdditionalPreview.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCAdditionalPreview returns.

    GetQueryUGCChildren(UGCQueryHandle_t, uint, PublishedFileId_t[], uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCChildren method.

    Declaration
    public static bool GetQueryUGCChildren(UGCQueryHandle_t handle, uint index, PublishedFileId_t[] pvecPublishedFileID, uint cMaxEntries)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCChildren.

    uint index

    Passed through to ISteamUGC::GetQueryUGCChildren.

    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::GetQueryUGCChildren.

    uint cMaxEntries

    Passed through to ISteamUGC::GetQueryUGCChildren.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCChildren returns.

    GetQueryUGCContentDescriptors(UGCQueryHandle_t, uint, EUGCContentDescriptorID[], uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCContentDescriptors method.

    Declaration
    public static uint GetQueryUGCContentDescriptors(UGCQueryHandle_t handle, uint index, EUGCContentDescriptorID[] pvecDescriptors, uint cMaxEntries)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCContentDescriptors.

    uint index

    Passed through to ISteamUGC::GetQueryUGCContentDescriptors.

    EUGCContentDescriptorID[] pvecDescriptors

    Passed through to ISteamUGC::GetQueryUGCContentDescriptors.

    uint cMaxEntries

    Passed through to ISteamUGC::GetQueryUGCContentDescriptors.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetQueryUGCContentDescriptors returns.

    GetQueryUGCKeyValueTag(UGCQueryHandle_t, uint, string, out string, uint)

    Return the first value matching the pchKey. Note that a key may map to multiple values. Returns false if there was an error or no matching value was found.

    Declaration
    public static bool GetQueryUGCKeyValueTag(UGCQueryHandle_t handle, uint index, string pchKey, out string pchValue, uint cchValueSize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    uint index

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    string pchKey

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    string pchValue

    Receives the string ISteamUGC::GetQueryUGCKeyValueTag writes.

    uint cchValueSize

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCKeyValueTag returns.

    GetQueryUGCKeyValueTag(UGCQueryHandle_t, uint, uint, out string, uint, out string, uint)

    Return the first value matching the pchKey. Note that a key may map to multiple values. Returns false if there was an error or no matching value was found.

    Declaration
    public static bool GetQueryUGCKeyValueTag(UGCQueryHandle_t handle, uint index, uint keyValueTagIndex, out string pchKey, uint cchKeySize, out string pchValue, uint cchValueSize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    uint index

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    uint keyValueTagIndex

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    string pchKey

    Receives the string ISteamUGC::GetQueryUGCKeyValueTag writes.

    uint cchKeySize

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    string pchValue

    Receives the string ISteamUGC::GetQueryUGCKeyValueTag writes.

    uint cchValueSize

    Passed through to ISteamUGC::GetQueryUGCKeyValueTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCKeyValueTag returns.

    GetQueryUGCMetadata(UGCQueryHandle_t, uint, out string, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCMetadata method.

    Declaration
    public static bool GetQueryUGCMetadata(UGCQueryHandle_t handle, uint index, out string pchMetadata, uint cchMetadatasize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCMetadata.

    uint index

    Passed through to ISteamUGC::GetQueryUGCMetadata.

    string pchMetadata

    Receives the string ISteamUGC::GetQueryUGCMetadata writes.

    uint cchMetadatasize

    Passed through to ISteamUGC::GetQueryUGCMetadata.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCMetadata returns.

    GetQueryUGCNumAdditionalPreviews(UGCQueryHandle_t, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCNumAdditionalPreviews method.

    Declaration
    public static uint GetQueryUGCNumAdditionalPreviews(UGCQueryHandle_t handle, uint index)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCNumAdditionalPreviews.

    uint index

    Passed through to ISteamUGC::GetQueryUGCNumAdditionalPreviews.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetQueryUGCNumAdditionalPreviews returns.

    GetQueryUGCNumKeyValueTags(UGCQueryHandle_t, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCNumKeyValueTags method.

    Declaration
    public static uint GetQueryUGCNumKeyValueTags(UGCQueryHandle_t handle, uint index)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCNumKeyValueTags.

    uint index

    Passed through to ISteamUGC::GetQueryUGCNumKeyValueTags.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetQueryUGCNumKeyValueTags returns.

    GetQueryUGCNumTags(UGCQueryHandle_t, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCNumTags method.

    Declaration
    public static uint GetQueryUGCNumTags(UGCQueryHandle_t handle, uint index)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCNumTags.

    uint index

    Passed through to ISteamUGC::GetQueryUGCNumTags.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetQueryUGCNumTags returns.

    GetQueryUGCPreviewURL(UGCQueryHandle_t, uint, out string, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCPreviewURL method.

    Declaration
    public static bool GetQueryUGCPreviewURL(UGCQueryHandle_t handle, uint index, out string pchURL, uint cchURLSize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCPreviewURL.

    uint index

    Passed through to ISteamUGC::GetQueryUGCPreviewURL.

    string pchURL

    Receives the string ISteamUGC::GetQueryUGCPreviewURL writes.

    uint cchURLSize

    Passed through to ISteamUGC::GetQueryUGCPreviewURL.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCPreviewURL returns.

    GetQueryUGCResult(UGCQueryHandle_t, uint, out SteamUGCDetails_t)

    Retrieve an individual result after receiving the callback for querying UGC

    Declaration
    public static bool GetQueryUGCResult(UGCQueryHandle_t handle, uint index, out SteamUGCDetails_t pDetails)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCResult.

    uint index

    Passed through to ISteamUGC::GetQueryUGCResult.

    SteamUGCDetails_t pDetails

    Passed through to ISteamUGC::GetQueryUGCResult.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCResult returns.

    GetQueryUGCStatistic(UGCQueryHandle_t, uint, EItemStatistic, out ulong)

    Calls the Steamworks ISteamUGC::GetQueryUGCStatistic method.

    Declaration
    public static bool GetQueryUGCStatistic(UGCQueryHandle_t handle, uint index, EItemStatistic eStatType, out ulong pStatValue)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCStatistic.

    uint index

    Passed through to ISteamUGC::GetQueryUGCStatistic.

    EItemStatistic eStatType

    Passed through to ISteamUGC::GetQueryUGCStatistic.

    ulong pStatValue

    Passed through to ISteamUGC::GetQueryUGCStatistic.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCStatistic returns.

    GetQueryUGCTag(UGCQueryHandle_t, uint, uint, out string, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCTag method.

    Declaration
    public static bool GetQueryUGCTag(UGCQueryHandle_t handle, uint index, uint indexTag, out string pchValue, uint cchValueSize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCTag.

    uint index

    Passed through to ISteamUGC::GetQueryUGCTag.

    uint indexTag

    Passed through to ISteamUGC::GetQueryUGCTag.

    string pchValue

    Receives the string ISteamUGC::GetQueryUGCTag writes.

    uint cchValueSize

    Passed through to ISteamUGC::GetQueryUGCTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCTag returns.

    GetQueryUGCTagDisplayName(UGCQueryHandle_t, uint, uint, out string, uint)

    Calls the Steamworks ISteamUGC::GetQueryUGCTagDisplayName method.

    Declaration
    public static bool GetQueryUGCTagDisplayName(UGCQueryHandle_t handle, uint index, uint indexTag, out string pchValue, uint cchValueSize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetQueryUGCTagDisplayName.

    uint index

    Passed through to ISteamUGC::GetQueryUGCTagDisplayName.

    uint indexTag

    Passed through to ISteamUGC::GetQueryUGCTagDisplayName.

    string pchValue

    Receives the string ISteamUGC::GetQueryUGCTagDisplayName writes.

    uint cchValueSize

    Passed through to ISteamUGC::GetQueryUGCTagDisplayName.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetQueryUGCTagDisplayName returns.

    GetSubscribedItems(PublishedFileId_t[], uint, bool)

    all subscribed item PublishFileIDs

    Declaration
    public static uint GetSubscribedItems(PublishedFileId_t[] pvecPublishedFileID, uint cMaxEntries, bool bIncludeLocallyDisabled = false)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::GetSubscribedItems.

    uint cMaxEntries

    Passed through to ISteamUGC::GetSubscribedItems.

    bool bIncludeLocallyDisabled

    Passed through to ISteamUGC::GetSubscribedItems.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetSubscribedItems returns.

    GetSupportedGameVersionData(UGCQueryHandle_t, uint, uint, out string, out string, uint)

    Calls the Steamworks ISteamUGC::GetSupportedGameVersionData method.

    Declaration
    public static bool GetSupportedGameVersionData(UGCQueryHandle_t handle, uint index, uint versionIndex, out string pchGameBranchMin, out string pchGameBranchMax, uint cchGameBranchSize)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::GetSupportedGameVersionData.

    uint index

    Passed through to ISteamUGC::GetSupportedGameVersionData.

    uint versionIndex

    Passed through to ISteamUGC::GetSupportedGameVersionData.

    string pchGameBranchMin

    Receives the string ISteamUGC::GetSupportedGameVersionData writes.

    string pchGameBranchMax

    Receives the string ISteamUGC::GetSupportedGameVersionData writes.

    uint cchGameBranchSize

    Passed through to ISteamUGC::GetSupportedGameVersionData.

    Returns
    Type Description
    bool

    The value ISteamUGC::GetSupportedGameVersionData returns.

    GetUserContentDescriptorPreferences(EUGCContentDescriptorID[], uint)

    Return the user's community content descriptor preferences

    Declaration
    public static uint GetUserContentDescriptorPreferences(EUGCContentDescriptorID[] pvecDescriptors, uint cMaxEntries)
    Parameters
    Type Name Description
    EUGCContentDescriptorID[] pvecDescriptors

    Passed through to ISteamUGC::GetUserContentDescriptorPreferences.

    uint cMaxEntries

    Passed through to ISteamUGC::GetUserContentDescriptorPreferences.

    Returns
    Type Description
    uint

    The value ISteamUGC::GetUserContentDescriptorPreferences returns.

    GetUserItemVote(PublishedFileId_t)

    Calls the Steamworks ISteamUGC::GetUserItemVote method.

    Declaration
    public static SteamAPICall_t GetUserItemVote(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetUserItemVote.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::GetUserItemVote returns.

    GetUserItemVoteAsync(PublishedFileId_t)

    Async version of GetUserItemVote(PublishedFileId_t).

    Declaration
    public static Task<GetUserItemVoteResult_t> GetUserItemVoteAsync(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::GetUserItemVote.

    Returns
    Type Description
    Task<GetUserItemVoteResult_t>

    The GetUserItemVoteResult_t Steam reports once the call completes.

    GetWorkshopEULAStatus()

    Retrieve information related to the user's acceptance or not of the app's specific Workshop EULA

    Declaration
    public static SteamAPICall_t GetWorkshopEULAStatus()
    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::GetWorkshopEULAStatus returns.

    GetWorkshopEULAStatusAsync()

    Async version of GetWorkshopEULAStatus().

    Declaration
    public static Task<WorkshopEULAStatus_t> GetWorkshopEULAStatusAsync()
    Returns
    Type Description
    Task<WorkshopEULAStatus_t>

    The WorkshopEULAStatus_t Steam reports once the call completes.

    MarkDownloadedItemAsUnused(PublishedFileId_t)

    Tells the client to no longer try to keep the item in its local cache, unless it was subscribed to by other users on this machine

    Declaration
    public static bool MarkDownloadedItemAsUnused(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::MarkDownloadedItemAsUnused.

    Returns
    Type Description
    bool

    The value ISteamUGC::MarkDownloadedItemAsUnused returns.

    ReleaseQueryUGCRequest(UGCQueryHandle_t)

    Release the request to free up memory, after retrieving results

    Declaration
    public static bool ReleaseQueryUGCRequest(UGCQueryHandle_t handle)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::ReleaseQueryUGCRequest.

    Returns
    Type Description
    bool

    The value ISteamUGC::ReleaseQueryUGCRequest returns.

    RemoveAllItemKeyValueTags(UGCUpdateHandle_t)

    remove all existing key-value tags (you can add new ones via the AddItemKeyValueTag function)

    Declaration
    public static bool RemoveAllItemKeyValueTags(UGCUpdateHandle_t handle)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::RemoveAllItemKeyValueTags.

    Returns
    Type Description
    bool

    The value ISteamUGC::RemoveAllItemKeyValueTags returns.

    RemoveAppDependency(PublishedFileId_t, AppId_t)

    Calls the Steamworks ISteamUGC::RemoveAppDependency method.

    Declaration
    public static SteamAPICall_t RemoveAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::RemoveAppDependency.

    AppId_t nAppID

    Passed through to ISteamUGC::RemoveAppDependency.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::RemoveAppDependency returns.

    RemoveAppDependencyAsync(PublishedFileId_t, AppId_t)

    Async version of RemoveAppDependency(PublishedFileId_t, AppId_t).

    Declaration
    public static Task<RemoveAppDependencyResult_t> RemoveAppDependencyAsync(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::RemoveAppDependency.

    AppId_t nAppID

    Passed through to ISteamUGC::RemoveAppDependency.

    Returns
    Type Description
    Task<RemoveAppDependencyResult_t>

    The RemoveAppDependencyResult_t Steam reports once the call completes.

    RemoveContentDescriptor(UGCUpdateHandle_t, EUGCContentDescriptorID)

    Calls the Steamworks ISteamUGC::RemoveContentDescriptor method.

    Declaration
    public static bool RemoveContentDescriptor(UGCUpdateHandle_t handle, EUGCContentDescriptorID descid)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::RemoveContentDescriptor.

    EUGCContentDescriptorID descid

    Passed through to ISteamUGC::RemoveContentDescriptor.

    Returns
    Type Description
    bool

    The value ISteamUGC::RemoveContentDescriptor returns.

    RemoveDependency(PublishedFileId_t, PublishedFileId_t)

    Calls the Steamworks ISteamUGC::RemoveDependency method.

    Declaration
    public static SteamAPICall_t RemoveDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nParentPublishedFileID

    Passed through to ISteamUGC::RemoveDependency.

    PublishedFileId_t nChildPublishedFileID

    Passed through to ISteamUGC::RemoveDependency.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::RemoveDependency returns.

    RemoveDependencyAsync(PublishedFileId_t, PublishedFileId_t)

    Async version of RemoveDependency(PublishedFileId_t, PublishedFileId_t).

    Declaration
    public static Task<RemoveUGCDependencyResult_t> RemoveDependencyAsync(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nParentPublishedFileID

    Passed through to ISteamUGC::RemoveDependency.

    PublishedFileId_t nChildPublishedFileID

    Passed through to ISteamUGC::RemoveDependency.

    Returns
    Type Description
    Task<RemoveUGCDependencyResult_t>

    The RemoveUGCDependencyResult_t Steam reports once the call completes.

    RemoveItemFromFavorites(AppId_t, PublishedFileId_t)

    Calls the Steamworks ISteamUGC::RemoveItemFromFavorites method.

    Declaration
    public static SteamAPICall_t RemoveItemFromFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    AppId_t nAppId

    Passed through to ISteamUGC::RemoveItemFromFavorites.

    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::RemoveItemFromFavorites.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::RemoveItemFromFavorites returns.

    RemoveItemFromFavoritesAsync(AppId_t, PublishedFileId_t)

    Async version of RemoveItemFromFavorites(AppId_t, PublishedFileId_t).

    Declaration
    public static Task<UserFavoriteItemsListChanged_t> RemoveItemFromFavoritesAsync(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    AppId_t nAppId

    Passed through to ISteamUGC::RemoveItemFromFavorites.

    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::RemoveItemFromFavorites.

    Returns
    Type Description
    Task<UserFavoriteItemsListChanged_t>

    The UserFavoriteItemsListChanged_t Steam reports once the call completes.

    RemoveItemKeyValueTags(UGCUpdateHandle_t, string)

    remove any existing key-value tags with the specified key

    Declaration
    public static bool RemoveItemKeyValueTags(UGCUpdateHandle_t handle, string pchKey)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::RemoveItemKeyValueTags.

    string pchKey

    Passed through to ISteamUGC::RemoveItemKeyValueTags.

    Returns
    Type Description
    bool

    The value ISteamUGC::RemoveItemKeyValueTags returns.

    RemoveItemPreview(UGCUpdateHandle_t, uint)

    remove a preview by index starting at 0 (previews are sorted)

    Declaration
    public static bool RemoveItemPreview(UGCUpdateHandle_t handle, uint index)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::RemoveItemPreview.

    uint index

    Passed through to ISteamUGC::RemoveItemPreview.

    Returns
    Type Description
    bool

    The value ISteamUGC::RemoveItemPreview returns.

    RequestUGCDetails(PublishedFileId_t, uint)

    DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead!

    Declaration
    public static SteamAPICall_t RequestUGCDetails(PublishedFileId_t nPublishedFileID, uint unMaxAgeSeconds)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::RequestUGCDetails.

    uint unMaxAgeSeconds

    Passed through to ISteamUGC::RequestUGCDetails.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::RequestUGCDetails returns.

    RequestUGCDetailsAsync(PublishedFileId_t, uint)

    Async version of RequestUGCDetails(PublishedFileId_t, uint).

    Declaration
    public static Task<SteamUGCRequestUGCDetailsResult_t> RequestUGCDetailsAsync(PublishedFileId_t nPublishedFileID, uint unMaxAgeSeconds)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::RequestUGCDetails.

    uint unMaxAgeSeconds

    Passed through to ISteamUGC::RequestUGCDetails.

    Returns
    Type Description
    Task<SteamUGCRequestUGCDetailsResult_t>

    The SteamUGCRequestUGCDetailsResult_t Steam reports once the call completes.

    SendQueryUGCRequest(UGCQueryHandle_t)

    Send the query to Steam

    Declaration
    public static SteamAPICall_t SendQueryUGCRequest(UGCQueryHandle_t handle)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SendQueryUGCRequest.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::SendQueryUGCRequest returns.

    SendQueryUGCRequestAsync(UGCQueryHandle_t)

    Async version of SendQueryUGCRequest(UGCQueryHandle_t).

    Declaration
    public static Task<SteamUGCQueryCompleted_t> SendQueryUGCRequestAsync(UGCQueryHandle_t handle)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SendQueryUGCRequest.

    Returns
    Type Description
    Task<SteamUGCQueryCompleted_t>

    The SteamUGCQueryCompleted_t Steam reports once the call completes.

    SetAdminQuery(UGCUpdateHandle_t, bool)

    admin queries return hidden items

    Declaration
    public static bool SetAdminQuery(UGCUpdateHandle_t handle, bool bAdminQuery)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetAdminQuery.

    bool bAdminQuery

    Passed through to ISteamUGC::SetAdminQuery.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetAdminQuery returns.

    SetAllowCachedResponse(UGCQueryHandle_t, uint)

    Calls the Steamworks ISteamUGC::SetAllowCachedResponse method.

    Declaration
    public static bool SetAllowCachedResponse(UGCQueryHandle_t handle, uint unMaxAgeSeconds)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetAllowCachedResponse.

    uint unMaxAgeSeconds

    Passed through to ISteamUGC::SetAllowCachedResponse.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetAllowCachedResponse returns.

    SetAllowLegacyUpload(UGCUpdateHandle_t, bool)

    use legacy upload for a single small file. The parameter to SetItemContent() should either be a directory with one file or the full path to the file. The file must also be less than 10MB in size.

    Declaration
    public static bool SetAllowLegacyUpload(UGCUpdateHandle_t handle, bool bAllowLegacyUpload)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetAllowLegacyUpload.

    bool bAllowLegacyUpload

    Passed through to ISteamUGC::SetAllowLegacyUpload.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetAllowLegacyUpload returns.

    SetCloudFileNameFilter(UGCQueryHandle_t, string)

    Options only for querying user UGC

    Declaration
    public static bool SetCloudFileNameFilter(UGCQueryHandle_t handle, string pMatchCloudFileName)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetCloudFileNameFilter.

    string pMatchCloudFileName

    Passed through to ISteamUGC::SetCloudFileNameFilter.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetCloudFileNameFilter returns.

    SetItemContent(UGCUpdateHandle_t, string)

    update item content from this local folder

    Declaration
    public static bool SetItemContent(UGCUpdateHandle_t handle, string pszContentFolder)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemContent.

    string pszContentFolder

    Passed through to ISteamUGC::SetItemContent.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemContent returns.

    SetItemDescription(UGCUpdateHandle_t, string)

    change the description of an UGC item

    Declaration
    public static bool SetItemDescription(UGCUpdateHandle_t handle, string pchDescription)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemDescription.

    string pchDescription

    Passed through to ISteamUGC::SetItemDescription.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemDescription returns.

    SetItemMetadata(UGCUpdateHandle_t, string)

    change the metadata of an UGC item (max = k_cchDeveloperMetadataMax)

    Declaration
    public static bool SetItemMetadata(UGCUpdateHandle_t handle, string pchMetaData)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemMetadata.

    string pchMetaData

    Passed through to ISteamUGC::SetItemMetadata.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemMetadata returns.

    SetItemPreview(UGCUpdateHandle_t, string)

    change preview image file for this item. pszPreviewFile points to local image file, which must be under 1MB in size

    Declaration
    public static bool SetItemPreview(UGCUpdateHandle_t handle, string pszPreviewFile)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemPreview.

    string pszPreviewFile

    Passed through to ISteamUGC::SetItemPreview.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemPreview returns.

    SetItemTags(UGCUpdateHandle_t, IList<string>, bool)

    change the tags of an UGC item

    Declaration
    public static bool SetItemTags(UGCUpdateHandle_t updateHandle, IList<string> pTags, bool bAllowAdminTags = false)
    Parameters
    Type Name Description
    UGCUpdateHandle_t updateHandle

    Passed through to ISteamUGC::SetItemTags.

    IList<string> pTags

    Passed through to ISteamUGC::SetItemTags.

    bool bAllowAdminTags

    Passed through to ISteamUGC::SetItemTags.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemTags returns.

    SetItemTitle(UGCUpdateHandle_t, string)

    change the title of an UGC item

    Declaration
    public static bool SetItemTitle(UGCUpdateHandle_t handle, string pchTitle)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemTitle.

    string pchTitle

    Passed through to ISteamUGC::SetItemTitle.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemTitle returns.

    SetItemUpdateLanguage(UGCUpdateHandle_t, string)

    specify the language of the title or description that will be set

    Declaration
    public static bool SetItemUpdateLanguage(UGCUpdateHandle_t handle, string pchLanguage)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemUpdateLanguage.

    string pchLanguage

    Passed through to ISteamUGC::SetItemUpdateLanguage.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemUpdateLanguage returns.

    SetItemVisibility(UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility)

    change the visibility of an UGC item

    Declaration
    public static bool SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetItemVisibility.

    ERemoteStoragePublishedFileVisibility eVisibility

    Passed through to ISteamUGC::SetItemVisibility.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemVisibility returns.

    SetItemsDisabledLocally(PublishedFileId_t[], uint, bool)

    Sets whether the item should be disabled locally or not. This means that it will not be returned in GetSubscribedItems() by default.

    Declaration
    public static bool SetItemsDisabledLocally(PublishedFileId_t[] pvecPublishedFileIDs, uint unNumPublishedFileIDs, bool bDisabledLocally)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileIDs

    Passed through to ISteamUGC::SetItemsDisabledLocally.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::SetItemsDisabledLocally.

    bool bDisabledLocally

    Passed through to ISteamUGC::SetItemsDisabledLocally.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetItemsDisabledLocally returns.

    SetLanguage(UGCQueryHandle_t, string)

    Calls the Steamworks ISteamUGC::SetLanguage method.

    Declaration
    public static bool SetLanguage(UGCQueryHandle_t handle, string pchLanguage)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetLanguage.

    string pchLanguage

    Passed through to ISteamUGC::SetLanguage.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetLanguage returns.

    SetMatchAnyTag(UGCQueryHandle_t, bool)

    Options only for querying all UGC

    Declaration
    public static bool SetMatchAnyTag(UGCQueryHandle_t handle, bool bMatchAnyTag)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetMatchAnyTag.

    bool bMatchAnyTag

    Passed through to ISteamUGC::SetMatchAnyTag.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetMatchAnyTag returns.

    SetRankedByTrendDays(UGCQueryHandle_t, uint)

    Calls the Steamworks ISteamUGC::SetRankedByTrendDays method.

    Declaration
    public static bool SetRankedByTrendDays(UGCQueryHandle_t handle, uint unDays)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetRankedByTrendDays.

    uint unDays

    Passed through to ISteamUGC::SetRankedByTrendDays.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetRankedByTrendDays returns.

    SetRequiredGameVersions(UGCUpdateHandle_t, string, string)

    an empty string for either parameter means that it will match any version on that end of the range. This will only be applied if the actual content has been changed.

    Declaration
    public static bool SetRequiredGameVersions(UGCUpdateHandle_t handle, string pszGameBranchMin, string pszGameBranchMax)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SetRequiredGameVersions.

    string pszGameBranchMin

    Passed through to ISteamUGC::SetRequiredGameVersions.

    string pszGameBranchMax

    Passed through to ISteamUGC::SetRequiredGameVersions.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetRequiredGameVersions returns.

    SetReturnAdditionalPreviews(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnAdditionalPreviews method.

    Declaration
    public static bool SetReturnAdditionalPreviews(UGCQueryHandle_t handle, bool bReturnAdditionalPreviews)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnAdditionalPreviews.

    bool bReturnAdditionalPreviews

    Passed through to ISteamUGC::SetReturnAdditionalPreviews.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnAdditionalPreviews returns.

    SetReturnChildren(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnChildren method.

    Declaration
    public static bool SetReturnChildren(UGCQueryHandle_t handle, bool bReturnChildren)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnChildren.

    bool bReturnChildren

    Passed through to ISteamUGC::SetReturnChildren.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnChildren returns.

    SetReturnKeyValueTags(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnKeyValueTags method.

    Declaration
    public static bool SetReturnKeyValueTags(UGCQueryHandle_t handle, bool bReturnKeyValueTags)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnKeyValueTags.

    bool bReturnKeyValueTags

    Passed through to ISteamUGC::SetReturnKeyValueTags.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnKeyValueTags returns.

    SetReturnLongDescription(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnLongDescription method.

    Declaration
    public static bool SetReturnLongDescription(UGCQueryHandle_t handle, bool bReturnLongDescription)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnLongDescription.

    bool bReturnLongDescription

    Passed through to ISteamUGC::SetReturnLongDescription.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnLongDescription returns.

    SetReturnMetadata(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnMetadata method.

    Declaration
    public static bool SetReturnMetadata(UGCQueryHandle_t handle, bool bReturnMetadata)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnMetadata.

    bool bReturnMetadata

    Passed through to ISteamUGC::SetReturnMetadata.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnMetadata returns.

    SetReturnOnlyIDs(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnOnlyIDs method.

    Declaration
    public static bool SetReturnOnlyIDs(UGCQueryHandle_t handle, bool bReturnOnlyIDs)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnOnlyIDs.

    bool bReturnOnlyIDs

    Passed through to ISteamUGC::SetReturnOnlyIDs.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnOnlyIDs returns.

    SetReturnPlaytimeStats(UGCQueryHandle_t, uint)

    Calls the Steamworks ISteamUGC::SetReturnPlaytimeStats method.

    Declaration
    public static bool SetReturnPlaytimeStats(UGCQueryHandle_t handle, uint unDays)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnPlaytimeStats.

    uint unDays

    Passed through to ISteamUGC::SetReturnPlaytimeStats.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnPlaytimeStats returns.

    SetReturnTotalOnly(UGCQueryHandle_t, bool)

    Calls the Steamworks ISteamUGC::SetReturnTotalOnly method.

    Declaration
    public static bool SetReturnTotalOnly(UGCQueryHandle_t handle, bool bReturnTotalOnly)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetReturnTotalOnly.

    bool bReturnTotalOnly

    Passed through to ISteamUGC::SetReturnTotalOnly.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetReturnTotalOnly returns.

    SetSearchText(UGCQueryHandle_t, string)

    Calls the Steamworks ISteamUGC::SetSearchText method.

    Declaration
    public static bool SetSearchText(UGCQueryHandle_t handle, string pSearchText)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetSearchText.

    string pSearchText

    Passed through to ISteamUGC::SetSearchText.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetSearchText returns.

    SetSubscriptionsLoadOrder(PublishedFileId_t[], uint)

    Set the local load order for these items. If there are any items not in the given list, they will sort by the time subscribed.

    Declaration
    public static bool SetSubscriptionsLoadOrder(PublishedFileId_t[] pvecPublishedFileIDs, uint unNumPublishedFileIDs)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileIDs

    Passed through to ISteamUGC::SetSubscriptionsLoadOrder.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::SetSubscriptionsLoadOrder.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetSubscriptionsLoadOrder returns.

    SetTimeCreatedDateRange(UGCQueryHandle_t, uint, uint)

    Calls the Steamworks ISteamUGC::SetTimeCreatedDateRange method.

    Declaration
    public static bool SetTimeCreatedDateRange(UGCQueryHandle_t handle, uint rtStart, uint rtEnd)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetTimeCreatedDateRange.

    uint rtStart

    Passed through to ISteamUGC::SetTimeCreatedDateRange.

    uint rtEnd

    Passed through to ISteamUGC::SetTimeCreatedDateRange.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetTimeCreatedDateRange returns.

    SetTimeUpdatedDateRange(UGCQueryHandle_t, uint, uint)

    Calls the Steamworks ISteamUGC::SetTimeUpdatedDateRange method.

    Declaration
    public static bool SetTimeUpdatedDateRange(UGCQueryHandle_t handle, uint rtStart, uint rtEnd)
    Parameters
    Type Name Description
    UGCQueryHandle_t handle

    Passed through to ISteamUGC::SetTimeUpdatedDateRange.

    uint rtStart

    Passed through to ISteamUGC::SetTimeUpdatedDateRange.

    uint rtEnd

    Passed through to ISteamUGC::SetTimeUpdatedDateRange.

    Returns
    Type Description
    bool

    The value ISteamUGC::SetTimeUpdatedDateRange returns.

    SetUserItemVote(PublishedFileId_t, bool)

    Steam Workshop Consumer API

    Declaration
    public static SteamAPICall_t SetUserItemVote(PublishedFileId_t nPublishedFileID, bool bVoteUp)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::SetUserItemVote.

    bool bVoteUp

    Passed through to ISteamUGC::SetUserItemVote.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::SetUserItemVote returns.

    SetUserItemVoteAsync(PublishedFileId_t, bool)

    Async version of SetUserItemVote(PublishedFileId_t, bool).

    Declaration
    public static Task<SetUserItemVoteResult_t> SetUserItemVoteAsync(PublishedFileId_t nPublishedFileID, bool bVoteUp)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::SetUserItemVote.

    bool bVoteUp

    Passed through to ISteamUGC::SetUserItemVote.

    Returns
    Type Description
    Task<SetUserItemVoteResult_t>

    The SetUserItemVoteResult_t Steam reports once the call completes.

    ShowWorkshopEULA()

    Show the app's latest Workshop EULA to the user in an overlay window, where they can accept it or not

    Declaration
    public static bool ShowWorkshopEULA()
    Returns
    Type Description
    bool

    The value ISteamUGC::ShowWorkshopEULA returns.

    StartItemUpdate(AppId_t, PublishedFileId_t)

    start an UGC item update. Set changed properties before commiting update with CommitItemUpdate()

    Declaration
    public static UGCUpdateHandle_t StartItemUpdate(AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    AppId_t nConsumerAppId

    Passed through to ISteamUGC::StartItemUpdate.

    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::StartItemUpdate.

    Returns
    Type Description
    UGCUpdateHandle_t

    The value ISteamUGC::StartItemUpdate returns.

    StartPlaytimeTracking(PublishedFileId_t[], uint)

    usage tracking

    Declaration
    public static SteamAPICall_t StartPlaytimeTracking(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::StartPlaytimeTracking.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::StartPlaytimeTracking.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::StartPlaytimeTracking returns.

    StartPlaytimeTrackingAsync(PublishedFileId_t[], uint)

    Async version of StartPlaytimeTracking(PublishedFileId_t[], uint).

    Declaration
    public static Task<StartPlaytimeTrackingResult_t> StartPlaytimeTrackingAsync(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::StartPlaytimeTracking.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::StartPlaytimeTracking.

    Returns
    Type Description
    Task<StartPlaytimeTrackingResult_t>

    The StartPlaytimeTrackingResult_t Steam reports once the call completes.

    StopPlaytimeTracking(PublishedFileId_t[], uint)

    Calls the Steamworks ISteamUGC::StopPlaytimeTracking method.

    Declaration
    public static SteamAPICall_t StopPlaytimeTracking(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::StopPlaytimeTracking.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::StopPlaytimeTracking.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::StopPlaytimeTracking returns.

    StopPlaytimeTrackingAsync(PublishedFileId_t[], uint)

    Async version of StopPlaytimeTracking(PublishedFileId_t[], uint).

    Declaration
    public static Task<StopPlaytimeTrackingResult_t> StopPlaytimeTrackingAsync(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
    Parameters
    Type Name Description
    PublishedFileId_t[] pvecPublishedFileID

    Passed through to ISteamUGC::StopPlaytimeTracking.

    uint unNumPublishedFileIDs

    Passed through to ISteamUGC::StopPlaytimeTracking.

    Returns
    Type Description
    Task<StopPlaytimeTrackingResult_t>

    The StopPlaytimeTrackingResult_t Steam reports once the call completes.

    StopPlaytimeTrackingForAllItems()

    Calls the Steamworks ISteamUGC::StopPlaytimeTrackingForAllItems method.

    Declaration
    public static SteamAPICall_t StopPlaytimeTrackingForAllItems()
    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::StopPlaytimeTrackingForAllItems returns.

    StopPlaytimeTrackingForAllItemsAsync()

    Async version of StopPlaytimeTrackingForAllItems().

    Declaration
    public static Task<StopPlaytimeTrackingResult_t> StopPlaytimeTrackingForAllItemsAsync()
    Returns
    Type Description
    Task<StopPlaytimeTrackingResult_t>

    The StopPlaytimeTrackingResult_t Steam reports once the call completes.

    SubmitItemUpdate(UGCUpdateHandle_t, string)

    commit update process started with StartItemUpdate()

    Declaration
    public static SteamAPICall_t SubmitItemUpdate(UGCUpdateHandle_t handle, string pchChangeNote)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SubmitItemUpdate.

    string pchChangeNote

    Passed through to ISteamUGC::SubmitItemUpdate.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::SubmitItemUpdate returns.

    SubmitItemUpdateAsync(UGCUpdateHandle_t, string)

    Async version of SubmitItemUpdate(UGCUpdateHandle_t, string).

    Declaration
    public static Task<SubmitItemUpdateResult_t> SubmitItemUpdateAsync(UGCUpdateHandle_t handle, string pchChangeNote)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::SubmitItemUpdate.

    string pchChangeNote

    Passed through to ISteamUGC::SubmitItemUpdate.

    Returns
    Type Description
    Task<SubmitItemUpdateResult_t>

    The SubmitItemUpdateResult_t Steam reports once the call completes.

    SubscribeItem(PublishedFileId_t)

    subscribe to this item, will be installed ASAP

    Declaration
    public static SteamAPICall_t SubscribeItem(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::SubscribeItem.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::SubscribeItem returns.

    SubscribeItemAsync(PublishedFileId_t)

    Async version of SubscribeItem(PublishedFileId_t).

    Declaration
    public static Task<RemoteStorageSubscribePublishedFileResult_t> SubscribeItemAsync(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::SubscribeItem.

    Returns
    Type Description
    Task<RemoteStorageSubscribePublishedFileResult_t>

    The RemoteStorageSubscribePublishedFileResult_t Steam reports once the call completes.

    SuspendDownloads(bool)

    SuspendDownloads( true ) will suspend all workshop downloads until SuspendDownloads( false ) is called or the game ends

    Declaration
    public static void SuspendDownloads(bool bSuspend)
    Parameters
    Type Name Description
    bool bSuspend

    Passed through to ISteamUGC::SuspendDownloads.

    UnsubscribeItem(PublishedFileId_t)

    unsubscribe from this item, will be uninstalled after game quits

    Declaration
    public static SteamAPICall_t UnsubscribeItem(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::UnsubscribeItem.

    Returns
    Type Description
    SteamAPICall_t

    The value ISteamUGC::UnsubscribeItem returns.

    UnsubscribeItemAsync(PublishedFileId_t)

    Async version of UnsubscribeItem(PublishedFileId_t).

    Declaration
    public static Task<RemoteStorageUnsubscribePublishedFileResult_t> UnsubscribeItemAsync(PublishedFileId_t nPublishedFileID)
    Parameters
    Type Name Description
    PublishedFileId_t nPublishedFileID

    Passed through to ISteamUGC::UnsubscribeItem.

    Returns
    Type Description
    Task<RemoteStorageUnsubscribePublishedFileResult_t>

    The RemoteStorageUnsubscribePublishedFileResult_t Steam reports once the call completes.

    UpdateItemPreviewFile(UGCUpdateHandle_t, uint, string)

    updates an existing preview file for this item. pszPreviewFile points to local file, which must be under 1MB in size

    Declaration
    public static bool UpdateItemPreviewFile(UGCUpdateHandle_t handle, uint index, string pszPreviewFile)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::UpdateItemPreviewFile.

    uint index

    Passed through to ISteamUGC::UpdateItemPreviewFile.

    string pszPreviewFile

    Passed through to ISteamUGC::UpdateItemPreviewFile.

    Returns
    Type Description
    bool

    The value ISteamUGC::UpdateItemPreviewFile returns.

    UpdateItemPreviewVideo(UGCUpdateHandle_t, uint, string)

    updates an existing preview video for this item

    Declaration
    public static bool UpdateItemPreviewVideo(UGCUpdateHandle_t handle, uint index, string pszVideoID)
    Parameters
    Type Name Description
    UGCUpdateHandle_t handle

    Passed through to ISteamUGC::UpdateItemPreviewVideo.

    uint index

    Passed through to ISteamUGC::UpdateItemPreviewVideo.

    string pszVideoID

    Passed through to ISteamUGC::UpdateItemPreviewVideo.

    Returns
    Type Description
    bool

    The value ISteamUGC::UpdateItemPreviewVideo returns.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)