C# 클래스 Steamworks.SteamUGC

파일 보기 프로젝트 열기: rlabrecque/Steamworks.NET 1 사용 예제들

공개 메소드들

메소드 설명
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