steam_ugc
Valve's ISteamUGC, through SteamUGC(): each method in snake case, nil without Steam. See Valve's Steamworks documentation for what each does.
本页内容
Valve's ISteamUGC, through SteamUGC(): each method in snake case, nil without Steam. See Valve's Steamworks documentation for what each does.
97 functions, 0 constants. Scripts reach it as steam_ugc::.
Functions
Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.
| function | acts on | what it does |
|---|---|---|
add_app_dependency(int, int) -> int |
— | Valve's ISteamUGC::AddAppDependency. Returns the id whose task::wait answer is steam::EVENT_ADD_APP_DEPENDENCY_RESULT with AddAppDependencyResult_t's fields and failed, or unsupported without Steam. |
add_content_descriptor(int, int) -> bool? |
— | Valve's ISteamUGC::AddContentDescriptor. |
add_dependency(int, int) -> int |
— | Valve's ISteamUGC::AddDependency. Returns the id whose task::wait answer is steam::EVENT_ADD_UGC_DEPENDENCY_RESULT with AddUGCDependencyResult_t's fields and failed, or unsupported without Steam. |
add_excluded_tag(int, str?) -> bool? |
— | Valve's ISteamUGC::AddExcludedTag. |
add_item_key_value_tag(int, str?, str?) -> bool? |
— | Valve's ISteamUGC::AddItemKeyValueTag. |
add_item_preview_file(int, str?, int) -> bool? |
— | Valve's ISteamUGC::AddItemPreviewFile. |
add_item_preview_video(int, str?) -> bool? |
— | Valve's ISteamUGC::AddItemPreviewVideo. |
add_item_to_favorites(int, int) -> int |
— | Valve's ISteamUGC::AddItemToFavorites. Returns the id whose task::wait answer is steam::EVENT_USER_FAVORITE_ITEMS_LIST_CHANGED with UserFavoriteItemsListChanged_t's fields and failed, or unsupported without Steam. |
add_required_key_value_tag(int, str?, str?) -> bool? |
— | Valve's ISteamUGC::AddRequiredKeyValueTag. |
add_required_tag(int, str?) -> bool? |
— | Valve's ISteamUGC::AddRequiredTag. |
create_item(int, int) -> int |
— | Valve's ISteamUGC::CreateItem. Returns the id whose task::wait answer is steam::EVENT_CREATE_ITEM_RESULT with CreateItemResult_t's fields and failed, or unsupported without Steam. |
create_query_all_ugc_request_cursor(int, int, int, int, str?) -> int? |
— | Valve's ISteamUGC::CreateQueryAllUGCRequest. |
create_query_all_ugc_request_page(int, int, int, int, int) -> int? |
— | Valve's ISteamUGC::CreateQueryAllUGCRequest. |
create_query_ugc_details_request([int]) -> int? |
— | Valve's ISteamUGC::CreateQueryUGCDetailsRequest. |
create_query_user_ugc_request(int, int, int, int, int, int, int) -> int? |
— | Valve's ISteamUGC::CreateQueryUserUGCRequest. |
delete_item(int) -> int |
— | Valve's ISteamUGC::DeleteItem. Returns the id whose task::wait answer is steam::EVENT_DELETE_ITEM_RESULT with DeleteItemResult_t's fields and failed, or unsupported without Steam. |
download_item(int, bool) -> bool? |
— | Valve's ISteamUGC::DownloadItem. |
get_app_dependencies(int) -> int |
— | Valve's ISteamUGC::GetAppDependencies. Returns the id whose task::wait answer is steam::EVENT_GET_APP_DEPENDENCIES_RESULT with GetAppDependenciesResult_t's fields and failed, or unsupported without Steam. |
get_downloaded_items(int) -> steam_ugc::GetDownloadedItems? |
— | Valve's ISteamUGC::GetDownloadedItems. |
get_item_download_info(int) -> steam_ugc::GetItemDownloadInfo? |
— | Valve's ISteamUGC::GetItemDownloadInfo. |
get_item_install_info(int) -> steam_ugc::GetItemInstallInfo? |
— | Valve's ISteamUGC::GetItemInstallInfo. |
get_item_state(int) -> int? |
— | Valve's ISteamUGC::GetItemState. |
get_item_update_progress(int) -> steam_ugc::GetItemUpdateProgress? |
— | Valve's ISteamUGC::GetItemUpdateProgress. |
get_num_downloaded_items() -> int? |
— | Valve's ISteamUGC::GetNumDownloadedItems. |
get_num_subscribed_items(bool) -> int? |
— | Valve's ISteamUGC::GetNumSubscribedItems. |
get_num_supported_game_versions(int, int) -> int? |
— | Valve's ISteamUGC::GetNumSupportedGameVersions. |
get_query_first_ugc_key_value_tag(int, int, str?) -> steam_ugc::GetQueryFirstUGCKeyValueTag? |
— | Valve's ISteamUGC::GetQueryUGCKeyValueTag. |
get_query_ugc_additional_preview(int, int, int) -> steam_ugc::GetQueryUGCAdditionalPreview? |
— | Valve's ISteamUGC::GetQueryUGCAdditionalPreview. |
get_query_ugc_children(int, int, int) -> steam_ugc::GetQueryUGCChildren? |
— | Valve's ISteamUGC::GetQueryUGCChildren. |
get_query_ugc_content_descriptors(int, int, int) -> steam_ugc::GetQueryUGCContentDescriptors? |
— | Valve's ISteamUGC::GetQueryUGCContentDescriptors. |
get_query_ugc_key_value_tag(int, int, int) -> steam_ugc::GetQueryUGCKeyValueTag? |
— | Valve's ISteamUGC::GetQueryUGCKeyValueTag. |
get_query_ugc_metadata(int, int) -> steam_ugc::GetQueryUGCMetadata? |
— | Valve's ISteamUGC::GetQueryUGCMetadata. |
get_query_ugc_num_additional_previews(int, int) -> int? |
— | Valve's ISteamUGC::GetQueryUGCNumAdditionalPreviews. |
get_query_ugc_num_key_value_tags(int, int) -> int? |
— | Valve's ISteamUGC::GetQueryUGCNumKeyValueTags. |
get_query_ugc_num_tags(int, int) -> int? |
— | Valve's ISteamUGC::GetQueryUGCNumTags. |
get_query_ugc_preview_url(int, int) -> steam_ugc::GetQueryUGCPreviewURL? |
— | Valve's ISteamUGC::GetQueryUGCPreviewURL. |
get_query_ugc_result(int, int) -> steam_ugc::GetQueryUGCResult? |
— | Valve's ISteamUGC::GetQueryUGCResult. |
get_query_ugc_statistic(int, int, int) -> steam_ugc::GetQueryUGCStatistic? |
— | Valve's ISteamUGC::GetQueryUGCStatistic. |
get_query_ugc_tag(int, int, int) -> steam_ugc::GetQueryUGCTag? |
— | Valve's ISteamUGC::GetQueryUGCTag. |
get_query_ugc_tag_display_name(int, int, int) -> steam_ugc::GetQueryUGCTagDisplayName? |
— | Valve's ISteamUGC::GetQueryUGCTagDisplayName. |
get_subscribed_items(int, bool) -> steam_ugc::GetSubscribedItems? |
— | Valve's ISteamUGC::GetSubscribedItems. |
get_supported_game_version_data(int, int, int) -> steam_ugc::GetSupportedGameVersionData? |
— | Valve's ISteamUGC::GetSupportedGameVersionData. |
get_user_content_descriptor_preferences(int) -> steam_ugc::GetUserContentDescriptorPreferences? |
— | Valve's ISteamUGC::GetUserContentDescriptorPreferences. |
get_user_item_vote(int) -> int |
— | Valve's ISteamUGC::GetUserItemVote. Returns the id whose task::wait answer is steam::EVENT_GET_USER_ITEM_VOTE_RESULT with GetUserItemVoteResult_t's fields and failed, or unsupported without Steam. |
get_workshop_eula_status() -> int |
— | Valve's ISteamUGC::GetWorkshopEULAStatus. Returns the id whose task::wait answer is steam::EVENT_WORKSHOP_EULA_STATUS with WorkshopEULAStatus_t's fields and failed, or unsupported without Steam. |
init_workshop_for_game_server(int, str?) -> bool? |
— | Valve's ISteamUGC::BInitWorkshopForGameServer. |
mark_downloaded_item_as_unused(int) -> bool? |
— | Valve's ISteamUGC::MarkDownloadedItemAsUnused. |
release_query_ugc_request(int) -> bool? |
— | Valve's ISteamUGC::ReleaseQueryUGCRequest. |
remove_all_item_key_value_tags(int) -> bool? |
— | Valve's ISteamUGC::RemoveAllItemKeyValueTags. |
remove_app_dependency(int, int) -> int |
— | Valve's ISteamUGC::RemoveAppDependency. Returns the id whose task::wait answer is steam::EVENT_REMOVE_APP_DEPENDENCY_RESULT with RemoveAppDependencyResult_t's fields and failed, or unsupported without Steam. |
remove_content_descriptor(int, int) -> bool? |
— | Valve's ISteamUGC::RemoveContentDescriptor. |
remove_dependency(int, int) -> int |
— | Valve's ISteamUGC::RemoveDependency. Returns the id whose task::wait answer is steam::EVENT_REMOVE_UGC_DEPENDENCY_RESULT with RemoveUGCDependencyResult_t's fields and failed, or unsupported without Steam. |
remove_item_from_favorites(int, int) -> int |
— | Valve's ISteamUGC::RemoveItemFromFavorites. Returns the id whose task::wait answer is steam::EVENT_USER_FAVORITE_ITEMS_LIST_CHANGED with UserFavoriteItemsListChanged_t's fields and failed, or unsupported without Steam. |
remove_item_key_value_tags(int, str?) -> bool? |
— | Valve's ISteamUGC::RemoveItemKeyValueTags. |
remove_item_preview(int, int) -> bool? |
— | Valve's ISteamUGC::RemoveItemPreview. |
request_ugc_details(int, int) -> int |
— | Valve's ISteamUGC::RequestUGCDetails. Returns the id whose task::wait answer is steam::EVENT_STEAM_UGC_REQUEST_UGC_DETAILS_RESULT with SteamUGCRequestUGCDetailsResult_t's fields and failed, or unsupported without Steam. |
send_query_ugc_request(int) -> int |
— | Valve's ISteamUGC::SendQueryUGCRequest. Returns the id whose task::wait answer is steam::EVENT_STEAM_UGC_QUERY_COMPLETED with SteamUGCQueryCompleted_t's fields and failed, or unsupported without Steam. |
set_admin_query(int, bool) -> bool? |
— | Valve's ISteamUGC::SetAdminQuery. |
set_allow_cached_response(int, int) -> bool? |
— | Valve's ISteamUGC::SetAllowCachedResponse. |
set_allow_legacy_upload(int, bool) -> bool? |
— | Valve's ISteamUGC::SetAllowLegacyUpload. |
set_cloud_file_name_filter(int, str?) -> bool? |
— | Valve's ISteamUGC::SetCloudFileNameFilter. |
set_item_content(int, str?) -> bool? |
— | Valve's ISteamUGC::SetItemContent. |
set_item_description(int, str?) -> bool? |
— | Valve's ISteamUGC::SetItemDescription. |
set_item_metadata(int, str?) -> bool? |
— | Valve's ISteamUGC::SetItemMetadata. |
set_item_preview(int, str?) -> bool? |
— | Valve's ISteamUGC::SetItemPreview. |
set_item_title(int, str?) -> bool? |
— | Valve's ISteamUGC::SetItemTitle. |
set_item_update_language(int, str?) -> bool? |
— | Valve's ISteamUGC::SetItemUpdateLanguage. |
set_item_visibility(int, int) -> bool? |
— | Valve's ISteamUGC::SetItemVisibility. |
set_items_disabled_locally([int], bool) -> bool? |
— | Valve's ISteamUGC::SetItemsDisabledLocally. |
set_language(int, str?) -> bool? |
— | Valve's ISteamUGC::SetLanguage. |
set_match_any_tag(int, bool) -> bool? |
— | Valve's ISteamUGC::SetMatchAnyTag. |
set_ranked_by_trend_days(int, int) -> bool? |
— | Valve's ISteamUGC::SetRankedByTrendDays. |
set_required_game_versions(int, str?, str?) -> bool? |
— | Valve's ISteamUGC::SetRequiredGameVersions. |
set_return_additional_previews(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnAdditionalPreviews. |
set_return_children(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnChildren. |
set_return_key_value_tags(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnKeyValueTags. |
set_return_long_description(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnLongDescription. |
set_return_metadata(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnMetadata. |
set_return_only_ids(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnOnlyIDs. |
set_return_playtime_stats(int, int) -> bool? |
— | Valve's ISteamUGC::SetReturnPlaytimeStats. |
set_return_total_only(int, bool) -> bool? |
— | Valve's ISteamUGC::SetReturnTotalOnly. |
set_search_text(int, str?) -> bool? |
— | Valve's ISteamUGC::SetSearchText. |
set_subscriptions_load_order([int]) -> bool? |
— | Valve's ISteamUGC::SetSubscriptionsLoadOrder. |
set_time_created_date_range(int, int, int) -> bool? |
— | Valve's ISteamUGC::SetTimeCreatedDateRange. |
set_time_updated_date_range(int, int, int) -> bool? |
— | Valve's ISteamUGC::SetTimeUpdatedDateRange. |
set_user_item_vote(int, bool) -> int |
— | Valve's ISteamUGC::SetUserItemVote. Returns the id whose task::wait answer is steam::EVENT_SET_USER_ITEM_VOTE_RESULT with SetUserItemVoteResult_t's fields and failed, or unsupported without Steam. |
show_workshop_eula() -> bool? |
— | Valve's ISteamUGC::ShowWorkshopEULA. |
start_item_update(int, int) -> int? |
— | Valve's ISteamUGC::StartItemUpdate. |
start_playtime_tracking([int]) -> int |
— | Valve's ISteamUGC::StartPlaytimeTracking. Returns the id whose task::wait answer is steam::EVENT_START_PLAYTIME_TRACKING_RESULT with StartPlaytimeTrackingResult_t's fields and failed, or unsupported without Steam. |
stop_playtime_tracking([int]) -> int |
— | Valve's ISteamUGC::StopPlaytimeTracking. Returns the id whose task::wait answer is steam::EVENT_STOP_PLAYTIME_TRACKING_RESULT with StopPlaytimeTrackingResult_t's fields and failed, or unsupported without Steam. |
stop_playtime_tracking_for_all_items() -> int |
— | Valve's ISteamUGC::StopPlaytimeTrackingForAllItems. Returns the id whose task::wait answer is steam::EVENT_STOP_PLAYTIME_TRACKING_RESULT with StopPlaytimeTrackingResult_t's fields and failed, or unsupported without Steam. |
submit_item_update(int, str?) -> int |
— | Valve's ISteamUGC::SubmitItemUpdate. Returns the id whose task::wait answer is steam::EVENT_SUBMIT_ITEM_UPDATE_RESULT with SubmitItemUpdateResult_t's fields and failed, or unsupported without Steam. |
subscribe_item(int) -> int |
— | Valve's ISteamUGC::SubscribeItem. Returns the id whose task::wait answer is steam::EVENT_REMOTE_STORAGE_SUBSCRIBE_PUBLISHED_FILE_RESULT with RemoteStorageSubscribePublishedFileResult_t's fields and failed, or unsupported without Steam. |
suspend_downloads(bool) |
— | Valve's ISteamUGC::SuspendDownloads. |
unsubscribe_item(int) -> int |
— | Valve's ISteamUGC::UnsubscribeItem. Returns the id whose task::wait answer is steam::EVENT_REMOTE_STORAGE_UNSUBSCRIBE_PUBLISHED_FILE_RESULT with RemoteStorageUnsubscribePublishedFileResult_t's fields and failed, or unsupported without Steam. |
update_item_preview_file(int, int, str?) -> bool? |
— | Valve's ISteamUGC::UpdateItemPreviewFile. |
update_item_preview_video(int, int, str?) -> bool? |
— | Valve's ISteamUGC::UpdateItemPreviewVideo. |