C# Класс Steamworks.SteamUGC

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddExcludedTag ( UGCQueryHandle_t handle, string pTagName ) : bool
AddItemKeyValueTag ( UGCUpdateHandle_t handle, string pchKey, string pchValue ) : bool

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

AddItemPreviewFile ( UGCUpdateHandle_t handle, string pszPreviewFile, EItemPreviewType type ) : bool

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

AddItemPreviewVideo ( UGCUpdateHandle_t handle, string pszVideoID ) : bool

add preview video for this item

AddItemToFavorites ( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
AddRequiredKeyValueTag ( UGCQueryHandle_t handle, string pKey, string pValue ) : bool
AddRequiredTag ( UGCQueryHandle_t handle, string pTagName ) : bool

Options to set for querying UGC

BInitWorkshopForGameServer ( DepotId_t unWorkshopDepotID, string pszFolder ) : bool

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

CreateItem ( AppId_t nConsumerAppId, EWorkshopFileType eFileType ) : SteamAPICall_t

Steam Workshop Creator API

create new item for this app with no content attached yet

CreateQueryAllUGCRequest ( EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage ) : UGCQueryHandle_t

Query for all matching UGC. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.

CreateQueryUGCDetailsRequest ( PublishedFileId_t pvecPublishedFileID, uint unNumPublishedFileIDs ) : UGCQueryHandle_t

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

CreateQueryUserUGCRequest ( AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage ) : UGCQueryHandle_t

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.

DownloadItem ( PublishedFileId_t nPublishedFileID, bool bHighPriority ) : 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.

GetItemDownloadInfo ( PublishedFileId_t nPublishedFileID, ulong &punBytesDownloaded, ulong &punBytesTotal ) : bool

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

GetItemInstallInfo ( PublishedFileId_t nPublishedFileID, ulong &punSizeOnDisk, string &pchFolder, uint cchFolderSize, uint &punTimeStamp ) : bool

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)

GetItemState ( PublishedFileId_t nPublishedFileID ) : uint

get EItemState flags about item on this client

GetItemUpdateProgress ( UGCUpdateHandle_t handle, ulong &punBytesProcessed, ulong &punBytesTotal ) : EItemUpdateStatus
GetNumSubscribedItems ( ) : uint

number of subscribed items

GetQueryUGCAdditionalPreview ( UGCQueryHandle_t handle, uint index, uint previewIndex, string &pchURLOrVideoID, uint cchURLSize, string &pchOriginalFileName, uint cchOriginalFileNameSize, EItemPreviewType &pPreviewType ) : bool
GetQueryUGCChildren ( UGCQueryHandle_t handle, uint index, PublishedFileId_t pvecPublishedFileID, uint cMaxEntries ) : bool
GetQueryUGCKeyValueTag ( UGCQueryHandle_t handle, uint index, uint keyValueTagIndex, string &pchKey, uint cchKeySize, string &pchValue, uint cchValueSize ) : bool
GetQueryUGCMetadata ( UGCQueryHandle_t handle, uint index, string &pchMetadata, uint cchMetadatasize ) : bool
GetQueryUGCNumAdditionalPreviews ( UGCQueryHandle_t handle, uint index ) : uint
GetQueryUGCNumKeyValueTags ( UGCQueryHandle_t handle, uint index ) : uint
GetQueryUGCPreviewURL ( UGCQueryHandle_t handle, uint index, string &pchURL, uint cchURLSize ) : bool
GetQueryUGCResult ( UGCQueryHandle_t handle, uint index, SteamUGCDetails_t &pDetails ) : bool

Retrieve an individual result after receiving the callback for querying UGC

GetQueryUGCStatistic ( UGCQueryHandle_t handle, uint index, EItemStatistic eStatType, ulong &pStatValue ) : bool
GetSubscribedItems ( PublishedFileId_t pvecPublishedFileID, uint cMaxEntries ) : uint

all subscribed item PublishFileIDs

GetUserItemVote ( PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
ReleaseQueryUGCRequest ( UGCQueryHandle_t handle ) : bool

Release the request to free up memory, after retrieving results

RemoveItemFromFavorites ( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
RemoveItemKeyValueTags ( UGCUpdateHandle_t handle, string pchKey ) : bool

remove any existing key-value tags with the specified key

RemoveItemPreview ( UGCUpdateHandle_t handle, uint index ) : bool

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

RequestUGCDetails ( PublishedFileId_t nPublishedFileID, uint unMaxAgeSeconds ) : SteamAPICall_t

DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead!

SendQueryUGCRequest ( UGCQueryHandle_t handle ) : SteamAPICall_t

Send the query to Steam

SetAllowCachedResponse ( UGCQueryHandle_t handle, uint unMaxAgeSeconds ) : bool
SetCloudFileNameFilter ( UGCQueryHandle_t handle, string pMatchCloudFileName ) : bool

Options only for querying user UGC

SetItemContent ( UGCUpdateHandle_t handle, string pszContentFolder ) : bool

update item content from this local folder

SetItemDescription ( UGCUpdateHandle_t handle, string pchDescription ) : bool

change the description of an UGC item

SetItemMetadata ( UGCUpdateHandle_t handle, string pchMetaData ) : bool

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

SetItemPreview ( UGCUpdateHandle_t handle, string pszPreviewFile ) : bool

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

SetItemTags ( UGCUpdateHandle_t updateHandle, System pTags ) : bool

change the tags of an UGC item

SetItemTitle ( UGCUpdateHandle_t handle, string pchTitle ) : bool

change the title of an UGC item

SetItemUpdateLanguage ( UGCUpdateHandle_t handle, string pchLanguage ) : bool

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

SetItemVisibility ( UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ) : bool

change the visibility of an UGC item

SetLanguage ( UGCQueryHandle_t handle, string pchLanguage ) : bool
SetMatchAnyTag ( UGCQueryHandle_t handle, bool bMatchAnyTag ) : bool

Options only for querying all UGC

SetRankedByTrendDays ( UGCQueryHandle_t handle, uint unDays ) : bool
SetReturnAdditionalPreviews ( UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ) : bool
SetReturnChildren ( UGCQueryHandle_t handle, bool bReturnChildren ) : bool
SetReturnKeyValueTags ( UGCQueryHandle_t handle, bool bReturnKeyValueTags ) : bool
SetReturnLongDescription ( UGCQueryHandle_t handle, bool bReturnLongDescription ) : bool
SetReturnMetadata ( UGCQueryHandle_t handle, bool bReturnMetadata ) : bool
SetReturnOnlyIDs ( UGCQueryHandle_t handle, bool bReturnOnlyIDs ) : bool
SetReturnTotalOnly ( UGCQueryHandle_t handle, bool bReturnTotalOnly ) : bool
SetSearchText ( UGCQueryHandle_t handle, string pSearchText ) : bool
SetUserItemVote ( PublishedFileId_t nPublishedFileID, bool bVoteUp ) : SteamAPICall_t

Steam Workshop Consumer API

StartItemUpdate ( AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID ) : UGCUpdateHandle_t

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

StartPlaytimeTracking ( PublishedFileId_t pvecPublishedFileID, uint unNumPublishedFileIDs ) : SteamAPICall_t

usage tracking

StopPlaytimeTracking ( PublishedFileId_t pvecPublishedFileID, uint unNumPublishedFileIDs ) : SteamAPICall_t
StopPlaytimeTrackingForAllItems ( ) : SteamAPICall_t
SubmitItemUpdate ( UGCUpdateHandle_t handle, string pchChangeNote ) : SteamAPICall_t

commit update process started with StartItemUpdate()

SubscribeItem ( PublishedFileId_t nPublishedFileID ) : SteamAPICall_t

subscribe to this item, will be installed ASAP

SuspendDownloads ( bool bSuspend ) : void

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

UnsubscribeItem ( PublishedFileId_t nPublishedFileID ) : SteamAPICall_t

unsubscribe from this item, will be uninstalled after game quits

UpdateItemPreviewFile ( UGCUpdateHandle_t handle, uint index, string pszPreviewFile ) : bool

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

UpdateItemPreviewVideo ( UGCUpdateHandle_t handle, uint index, string pszVideoID ) : bool

updates an existing preview video for this item

Описание методов

AddExcludedTag() публичный статический Метод

public static AddExcludedTag ( UGCQueryHandle_t handle, string pTagName ) : bool
handle UGCQueryHandle_t
pTagName string
Результат bool

AddItemKeyValueTag() публичный статический Метод

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

public static AddItemKeyValueTag ( UGCUpdateHandle_t handle, string pchKey, string pchValue ) : bool
handle UGCUpdateHandle_t
pchKey string
pchValue string
Результат bool

AddItemPreviewFile() публичный статический Метод

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

public static AddItemPreviewFile ( UGCUpdateHandle_t handle, string pszPreviewFile, EItemPreviewType type ) : bool
handle UGCUpdateHandle_t
pszPreviewFile string
type EItemPreviewType
Результат bool

AddItemPreviewVideo() публичный статический Метод

add preview video for this item

public static AddItemPreviewVideo ( UGCUpdateHandle_t handle, string pszVideoID ) : bool
handle UGCUpdateHandle_t
pszVideoID string
Результат bool

AddItemToFavorites() публичный статический Метод

public static AddItemToFavorites ( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
nAppId AppId_t
nPublishedFileID PublishedFileId_t
Результат SteamAPICall_t

AddRequiredKeyValueTag() публичный статический Метод

public static AddRequiredKeyValueTag ( UGCQueryHandle_t handle, string pKey, string pValue ) : bool
handle UGCQueryHandle_t
pKey string
pValue string
Результат bool

AddRequiredTag() публичный статический Метод

Options to set for querying UGC

public static AddRequiredTag ( UGCQueryHandle_t handle, string pTagName ) : bool
handle UGCQueryHandle_t
pTagName string
Результат bool

BInitWorkshopForGameServer() публичный статический Метод

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

public static BInitWorkshopForGameServer ( DepotId_t unWorkshopDepotID, string pszFolder ) : bool
unWorkshopDepotID DepotId_t
pszFolder string
Результат bool

CreateItem() публичный статический Метод

Steam Workshop Creator API

create new item for this app with no content attached yet

public static CreateItem ( AppId_t nConsumerAppId, EWorkshopFileType eFileType ) : SteamAPICall_t
nConsumerAppId AppId_t
eFileType EWorkshopFileType
Результат SteamAPICall_t

CreateQueryAllUGCRequest() публичный статический Метод

Query for all matching UGC. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.

public static CreateQueryAllUGCRequest ( EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage ) : UGCQueryHandle_t
eQueryType EUGCQuery
eMatchingeMatchingUGCTypeFileType EUGCMatchingUGCType
nCreatorAppID AppId_t
nConsumerAppID AppId_t
unPage uint
Результат UGCQueryHandle_t

CreateQueryUGCDetailsRequest() публичный статический Метод

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

public static CreateQueryUGCDetailsRequest ( PublishedFileId_t pvecPublishedFileID, uint unNumPublishedFileIDs ) : UGCQueryHandle_t
pvecPublishedFileID PublishedFileId_t
unNumPublishedFileIDs uint
Результат UGCQueryHandle_t

CreateQueryUserUGCRequest() публичный статический Метод

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.

public static CreateQueryUserUGCRequest ( AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage ) : UGCQueryHandle_t
unAccountID AccountID_t
eListType EUserUGCList
eMatchingUGCType EUGCMatchingUGCType
eSortOrder EUserUGCListSortOrder
nCreatorAppID AppId_t
nConsumerAppID AppId_t
unPage uint
Результат UGCQueryHandle_t

DownloadItem() публичный статический Метод

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.

public static DownloadItem ( PublishedFileId_t nPublishedFileID, bool bHighPriority ) : bool
nPublishedFileID PublishedFileId_t
bHighPriority bool
Результат bool

GetItemDownloadInfo() публичный статический Метод

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

public static GetItemDownloadInfo ( PublishedFileId_t nPublishedFileID, ulong &punBytesDownloaded, ulong &punBytesTotal ) : bool
nPublishedFileID PublishedFileId_t
punBytesDownloaded ulong
punBytesTotal ulong
Результат bool

GetItemInstallInfo() публичный статический Метод

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)

public static GetItemInstallInfo ( PublishedFileId_t nPublishedFileID, ulong &punSizeOnDisk, string &pchFolder, uint cchFolderSize, uint &punTimeStamp ) : bool
nPublishedFileID PublishedFileId_t
punSizeOnDisk ulong
pchFolder string
cchFolderSize uint
punTimeStamp uint
Результат bool

GetItemState() публичный статический Метод

get EItemState flags about item on this client

public static GetItemState ( PublishedFileId_t nPublishedFileID ) : uint
nPublishedFileID PublishedFileId_t
Результат uint

GetItemUpdateProgress() публичный статический Метод

public static GetItemUpdateProgress ( UGCUpdateHandle_t handle, ulong &punBytesProcessed, ulong &punBytesTotal ) : EItemUpdateStatus
handle UGCUpdateHandle_t
punBytesProcessed ulong
punBytesTotal ulong
Результат EItemUpdateStatus

GetNumSubscribedItems() публичный статический Метод

number of subscribed items

public static GetNumSubscribedItems ( ) : uint
Результат uint

GetQueryUGCAdditionalPreview() публичный статический Метод

public static GetQueryUGCAdditionalPreview ( UGCQueryHandle_t handle, uint index, uint previewIndex, string &pchURLOrVideoID, uint cchURLSize, string &pchOriginalFileName, uint cchOriginalFileNameSize, EItemPreviewType &pPreviewType ) : bool
handle UGCQueryHandle_t
index uint
previewIndex uint
pchURLOrVideoID string
cchURLSize uint
pchOriginalFileName string
cchOriginalFileNameSize uint
pPreviewType EItemPreviewType
Результат bool

GetQueryUGCChildren() публичный статический Метод

public static GetQueryUGCChildren ( UGCQueryHandle_t handle, uint index, PublishedFileId_t pvecPublishedFileID, uint cMaxEntries ) : bool
handle UGCQueryHandle_t
index uint
pvecPublishedFileID PublishedFileId_t
cMaxEntries uint
Результат bool

GetQueryUGCKeyValueTag() публичный статический Метод

public static GetQueryUGCKeyValueTag ( UGCQueryHandle_t handle, uint index, uint keyValueTagIndex, string &pchKey, uint cchKeySize, string &pchValue, uint cchValueSize ) : bool
handle UGCQueryHandle_t
index uint
keyValueTagIndex uint
pchKey string
cchKeySize uint
pchValue string
cchValueSize uint
Результат bool

GetQueryUGCMetadata() публичный статический Метод

public static GetQueryUGCMetadata ( UGCQueryHandle_t handle, uint index, string &pchMetadata, uint cchMetadatasize ) : bool
handle UGCQueryHandle_t
index uint
pchMetadata string
cchMetadatasize uint
Результат bool

GetQueryUGCNumAdditionalPreviews() публичный статический Метод

public static GetQueryUGCNumAdditionalPreviews ( UGCQueryHandle_t handle, uint index ) : uint
handle UGCQueryHandle_t
index uint
Результат uint

GetQueryUGCNumKeyValueTags() публичный статический Метод

public static GetQueryUGCNumKeyValueTags ( UGCQueryHandle_t handle, uint index ) : uint
handle UGCQueryHandle_t
index uint
Результат uint

GetQueryUGCPreviewURL() публичный статический Метод

public static GetQueryUGCPreviewURL ( UGCQueryHandle_t handle, uint index, string &pchURL, uint cchURLSize ) : bool
handle UGCQueryHandle_t
index uint
pchURL string
cchURLSize uint
Результат bool

GetQueryUGCResult() публичный статический Метод

Retrieve an individual result after receiving the callback for querying UGC

public static GetQueryUGCResult ( UGCQueryHandle_t handle, uint index, SteamUGCDetails_t &pDetails ) : bool
handle UGCQueryHandle_t
index uint
pDetails SteamUGCDetails_t
Результат bool

GetQueryUGCStatistic() публичный статический Метод

public static GetQueryUGCStatistic ( UGCQueryHandle_t handle, uint index, EItemStatistic eStatType, ulong &pStatValue ) : bool
handle UGCQueryHandle_t
index uint
eStatType EItemStatistic
pStatValue ulong
Результат bool

GetSubscribedItems() публичный статический Метод

all subscribed item PublishFileIDs

public static GetSubscribedItems ( PublishedFileId_t pvecPublishedFileID, uint cMaxEntries ) : uint
pvecPublishedFileID PublishedFileId_t
cMaxEntries uint
Результат uint

GetUserItemVote() публичный статический Метод

public static GetUserItemVote ( PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
nPublishedFileID PublishedFileId_t
Результат SteamAPICall_t

ReleaseQueryUGCRequest() публичный статический Метод

Release the request to free up memory, after retrieving results

public static ReleaseQueryUGCRequest ( UGCQueryHandle_t handle ) : bool
handle UGCQueryHandle_t
Результат bool

RemoveItemFromFavorites() публичный статический Метод

public static RemoveItemFromFavorites ( AppId_t nAppId, PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
nAppId AppId_t
nPublishedFileID PublishedFileId_t
Результат SteamAPICall_t

RemoveItemKeyValueTags() публичный статический Метод

remove any existing key-value tags with the specified key

public static RemoveItemKeyValueTags ( UGCUpdateHandle_t handle, string pchKey ) : bool
handle UGCUpdateHandle_t
pchKey string
Результат bool

RemoveItemPreview() публичный статический Метод

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

public static RemoveItemPreview ( UGCUpdateHandle_t handle, uint index ) : bool
handle UGCUpdateHandle_t
index uint
Результат bool

RequestUGCDetails() публичный статический Метод

DEPRECATED - Use CreateQueryUGCDetailsRequest call above instead!

public static RequestUGCDetails ( PublishedFileId_t nPublishedFileID, uint unMaxAgeSeconds ) : SteamAPICall_t
nPublishedFileID PublishedFileId_t
unMaxAgeSeconds uint
Результат SteamAPICall_t

SendQueryUGCRequest() публичный статический Метод

Send the query to Steam

public static SendQueryUGCRequest ( UGCQueryHandle_t handle ) : SteamAPICall_t
handle UGCQueryHandle_t
Результат SteamAPICall_t

SetAllowCachedResponse() публичный статический Метод

public static SetAllowCachedResponse ( UGCQueryHandle_t handle, uint unMaxAgeSeconds ) : bool
handle UGCQueryHandle_t
unMaxAgeSeconds uint
Результат bool

SetCloudFileNameFilter() публичный статический Метод

Options only for querying user UGC

public static SetCloudFileNameFilter ( UGCQueryHandle_t handle, string pMatchCloudFileName ) : bool
handle UGCQueryHandle_t
pMatchCloudFileName string
Результат bool

SetItemContent() публичный статический Метод

update item content from this local folder

public static SetItemContent ( UGCUpdateHandle_t handle, string pszContentFolder ) : bool
handle UGCUpdateHandle_t
pszContentFolder string
Результат bool

SetItemDescription() публичный статический Метод

change the description of an UGC item

public static SetItemDescription ( UGCUpdateHandle_t handle, string pchDescription ) : bool
handle UGCUpdateHandle_t
pchDescription string
Результат bool

SetItemMetadata() публичный статический Метод

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

public static SetItemMetadata ( UGCUpdateHandle_t handle, string pchMetaData ) : bool
handle UGCUpdateHandle_t
pchMetaData string
Результат bool

SetItemPreview() публичный статический Метод

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

public static SetItemPreview ( UGCUpdateHandle_t handle, string pszPreviewFile ) : bool
handle UGCUpdateHandle_t
pszPreviewFile string
Результат bool

SetItemTags() публичный статический Метод

change the tags of an UGC item

public static SetItemTags ( UGCUpdateHandle_t updateHandle, System pTags ) : bool
updateHandle UGCUpdateHandle_t
pTags System
Результат bool

SetItemTitle() публичный статический Метод

change the title of an UGC item

public static SetItemTitle ( UGCUpdateHandle_t handle, string pchTitle ) : bool
handle UGCUpdateHandle_t
pchTitle string
Результат bool

SetItemUpdateLanguage() публичный статический Метод

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

public static SetItemUpdateLanguage ( UGCUpdateHandle_t handle, string pchLanguage ) : bool
handle UGCUpdateHandle_t
pchLanguage string
Результат bool

SetItemVisibility() публичный статический Метод

change the visibility of an UGC item

public static SetItemVisibility ( UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility ) : bool
handle UGCUpdateHandle_t
eVisibility ERemoteStoragePublishedFileVisibility
Результат bool

SetLanguage() публичный статический Метод

public static SetLanguage ( UGCQueryHandle_t handle, string pchLanguage ) : bool
handle UGCQueryHandle_t
pchLanguage string
Результат bool

SetMatchAnyTag() публичный статический Метод

Options only for querying all UGC

public static SetMatchAnyTag ( UGCQueryHandle_t handle, bool bMatchAnyTag ) : bool
handle UGCQueryHandle_t
bMatchAnyTag bool
Результат bool

SetRankedByTrendDays() публичный статический Метод

public static SetRankedByTrendDays ( UGCQueryHandle_t handle, uint unDays ) : bool
handle UGCQueryHandle_t
unDays uint
Результат bool

SetReturnAdditionalPreviews() публичный статический Метод

public static SetReturnAdditionalPreviews ( UGCQueryHandle_t handle, bool bReturnAdditionalPreviews ) : bool
handle UGCQueryHandle_t
bReturnAdditionalPreviews bool
Результат bool

SetReturnChildren() публичный статический Метод

public static SetReturnChildren ( UGCQueryHandle_t handle, bool bReturnChildren ) : bool
handle UGCQueryHandle_t
bReturnChildren bool
Результат bool

SetReturnKeyValueTags() публичный статический Метод

public static SetReturnKeyValueTags ( UGCQueryHandle_t handle, bool bReturnKeyValueTags ) : bool
handle UGCQueryHandle_t
bReturnKeyValueTags bool
Результат bool

SetReturnLongDescription() публичный статический Метод

public static SetReturnLongDescription ( UGCQueryHandle_t handle, bool bReturnLongDescription ) : bool
handle UGCQueryHandle_t
bReturnLongDescription bool
Результат bool

SetReturnMetadata() публичный статический Метод

public static SetReturnMetadata ( UGCQueryHandle_t handle, bool bReturnMetadata ) : bool
handle UGCQueryHandle_t
bReturnMetadata bool
Результат bool

SetReturnOnlyIDs() публичный статический Метод

public static SetReturnOnlyIDs ( UGCQueryHandle_t handle, bool bReturnOnlyIDs ) : bool
handle UGCQueryHandle_t
bReturnOnlyIDs bool
Результат bool

SetReturnTotalOnly() публичный статический Метод

public static SetReturnTotalOnly ( UGCQueryHandle_t handle, bool bReturnTotalOnly ) : bool
handle UGCQueryHandle_t
bReturnTotalOnly bool
Результат bool

SetSearchText() публичный статический Метод

public static SetSearchText ( UGCQueryHandle_t handle, string pSearchText ) : bool
handle UGCQueryHandle_t
pSearchText string
Результат bool

SetUserItemVote() публичный статический Метод

Steam Workshop Consumer API

public static SetUserItemVote ( PublishedFileId_t nPublishedFileID, bool bVoteUp ) : SteamAPICall_t
nPublishedFileID PublishedFileId_t
bVoteUp bool
Результат SteamAPICall_t

StartItemUpdate() публичный статический Метод

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

public static StartItemUpdate ( AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID ) : UGCUpdateHandle_t
nConsumerAppId AppId_t
nPublishedFileID PublishedFileId_t
Результат UGCUpdateHandle_t

StartPlaytimeTracking() публичный статический Метод

usage tracking

public static StartPlaytimeTracking ( PublishedFileId_t pvecPublishedFileID, uint unNumPublishedFileIDs ) : SteamAPICall_t
pvecPublishedFileID PublishedFileId_t
unNumPublishedFileIDs uint
Результат SteamAPICall_t

StopPlaytimeTracking() публичный статический Метод

public static StopPlaytimeTracking ( PublishedFileId_t pvecPublishedFileID, uint unNumPublishedFileIDs ) : SteamAPICall_t
pvecPublishedFileID PublishedFileId_t
unNumPublishedFileIDs uint
Результат SteamAPICall_t

StopPlaytimeTrackingForAllItems() публичный статический Метод

public static StopPlaytimeTrackingForAllItems ( ) : SteamAPICall_t
Результат SteamAPICall_t

SubmitItemUpdate() публичный статический Метод

commit update process started with StartItemUpdate()

public static SubmitItemUpdate ( UGCUpdateHandle_t handle, string pchChangeNote ) : SteamAPICall_t
handle UGCUpdateHandle_t
pchChangeNote string
Результат SteamAPICall_t

SubscribeItem() публичный статический Метод

subscribe to this item, will be installed ASAP

public static SubscribeItem ( PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
nPublishedFileID PublishedFileId_t
Результат SteamAPICall_t

SuspendDownloads() публичный статический Метод

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

public static SuspendDownloads ( bool bSuspend ) : void
bSuspend bool
Результат void

UnsubscribeItem() публичный статический Метод

unsubscribe from this item, will be uninstalled after game quits

public static UnsubscribeItem ( PublishedFileId_t nPublishedFileID ) : SteamAPICall_t
nPublishedFileID PublishedFileId_t
Результат SteamAPICall_t

UpdateItemPreviewFile() публичный статический Метод

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

public static UpdateItemPreviewFile ( UGCUpdateHandle_t handle, uint index, string pszPreviewFile ) : bool
handle UGCUpdateHandle_t
index uint
pszPreviewFile string
Результат bool

UpdateItemPreviewVideo() публичный статический Метод

updates an existing preview video for this item

public static UpdateItemPreviewVideo ( UGCUpdateHandle_t handle, uint index, string pszVideoID ) : bool
handle UGCUpdateHandle_t
index uint
pszVideoID string
Результат bool