(See [api]steamdatagramrelay[/api]) [subsection=GetLocalPingLocation]GetLocalPingLocation[/subsection] [code=cpp]float GetLocalPingLocation( SteamNetworkPingLocation_t &result );[/code] Return location info for the current host. Returns the approximate age of the data, in seconds, or -1 if no data is available. It takes a few seconds to initialize access to the relay network. …
[/list] [subsection=char]char[/subsection] [code=cpp]const char *GetConfigValueInfo( ESteamNetworkingConfigValue eValue, ESteamNetworkingConfigDataType *pOutDataType, ESteamNetworkingConfigScope *pOutScope );[/code] Get info about a configuration value. …
[list] [*] You can add the new currencies to your in-game pricing table and using the [webapi]ISteamMicroTxn/GetUserInfo[/webapi] Web API, know which currency a user should be charged in. We highly recommend using this method, because our data shows that customers enjoy and find it easier to shop in their own local currency. …
[b]NOTE:[/b] This is a Service interface, methods in this interface should be called with the [code-inline]input_json[/code-inline] parameter. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=Delete]Delete[/section] [code=http]GET https://api.steampowered.com/IPublishedFileService/Delete/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
[/td][/tr] [tr][td][b]required_flags[/b][/td][td]string[/td][td]✔[/td][td]Required flags that must be set on any returned items[/td][/tr] [tr][td][b]omitted_flags[/b][/td][td]string[/td][td]✔[/td][td]Flags that must not be set on any returned items[/td][/tr] [tr][td][b]search_text[/b][/td][td]string[/td][td]✔[/td][td]Text to match in the item's title or description[/td][/tr] [tr][td][b]filetype[/b][/td][td]uint32[/td][td]✔[/td][td][webapi]IPublishedFileService#EPublishedFileInfoMatchingFileType[/webapi][/td][/tr] [tr][td][b]child_publishedfileid[/b][/td][td]uint64[/td][td]✔[/td][td]Find all items that reference the given item.…
Used to access information about users. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=AuthenticateUser]AuthenticateUser[/section] [code=http]POST https://partner.steam-api.com/ISteamUserAuth/AuthenticateUser/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]steamid[/b][/td][td]uint64[/td][td]✔[/td][td]Should be the users steamid, unencrypted.…
. [*][b]Check the user's current game version[/b] - Use The Steamworks API [api]ISteamApps::GetBetaInfo[/api] from within your game to check which version of your game the current user is on. [*][b]Evaluate the subscribed mods[/b] - From within your game, create a query to retrieve the user's subscribed Workshop mods that the current user has subscribed, and check [api]ISteamUGC::GetSupportedGameVersionData[/api] to see what version each is intended to work with. [*][b]Prompt the user if necessary[/b] - If you detect that the user is subscribed to mods that may not work with the version of the game that the user is currently running, you can present the user with some UI, asking if they wish to change to a different version. …
[/olist] Getting and setting the current version of the game can be done through these Steamworks API calls: [api]ISteamApps::GetCurrentBetaName[/api] [api]ISteamApps::GetNumBetas[/api] [api]ISteamApps::GetBetaInfo[/api] [api]ISteamApps::SetActiveBeta[/api] [section]Setting up your Steam Workshop for mod versions[/section] By enabling mod versions, items in the Steam Workshop can include data about a range of one or more game builds that are known to be supported by each version of the mod. …
any unread data on the socket will be thrown away if bNotifyRemoteEnd is set, socket will not be completely destroyed until the remote end acknowledges the disconnect This is part of an older set of functions designed around the Berkeley TCP sockets model it's preferential that you use the P2P functions, they're more robust and these older functions will be removed eventually. [b]Returns:[/b] bool [subsection=GetListenSocketInfo]GetListenSocketInfo[/subsection] [code=cpp]bool GetListenSocketInfo( SNetListenSocket_t hListenSocket, uint32 *pnIP, uint16 *pnPort );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]hListenSocket[/b][/td][td][apitype]ISteamNetworking::SNetListenSocket_t[/apitype][/td][td][/td][/tr] [tr][td][b]pnIP[/b][/td][td][apitype]steam_api::uint32[/apitype] *[/td][td][/td][/tr] [tr][td][b]pnPort[/b][/td][td][apitype]steam_api::uint16[/apitype] *[/td][td][/td][/tr] [/table] Returns which local port the listen socket is bound to. …
[b]Returns:[/b] [apitype]ISteamNetworking::ESNetSocketConnectionType[/apitype] [subsection=GetSocketInfo]GetSocketInfo[/subsection] [code=cpp]bool GetSocketInfo( SNetSocket_t hSocket, CSteamID *pSteamIDRemote, int *peSocketStatus, uint32 *punIPRemote, uint16 *punPortRemote );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]hSocket[/b][/td][td][apitype]ISteamNetworking::SNetSocket_t[/apitype][/td][td][/td][/tr] [tr][td][b]pSteamIDRemote[/b][/td][td][apitype]steam_api::CSteamID[/apitype] *[/td][td][/td][/tr] [tr][td][b]peSocketStatus[/b][/td][td]int *[/td][td][/td][/tr] [tr][td][b]punIPRemote[/b][/td][td][apitype]steam_api::uint32[/apitype] *[/td][td][/td][/tr] [tr][td][b]punPortRemote[/b][/td][td][apitype]steam_api::uint16[/apitype] *[/td][td][/td][/tr] [/table] Returns information about the specified socket, filling out the contents of the pointers. …
See the primary Steam Workshop interface [webapi]ISteamRemoteStorage[/webapi] for more. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=ItemVoteSummary]ItemVoteSummary[/section] [code=http]POST https://partner.steam-api.com/ISteamPublishedItemVoting/ItemVoteSummary/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API publisher authentication key.…
[b]NOTE:[/b] This is a Service interface, methods in this interface should be called with the [code-inline]input_json[/code-inline] parameter. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=GetTradeHistory]GetTradeHistory[/section] [code=http]GET https://api.steampowered.com/IEconService/GetTradeHistory/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Steamworks Web API user authentication key.…
[/td][/tr] [tr][td][b]appid[/b][/td][td]uint32[/td][td]✔[/td][td][/td][/tr] [/table] Flushes the display cache for assets. This will result in calls to GetAssetClassInfo for each asset class the next time it is displayed. [b]NOTE:[/b] This call requires a publisher API key to use this method. As such this API [b]MUST[/b] be called from a secure server, and can never be used directly by clients! …
See the [doclink=store/application/depots#shared_content_depots][/doclink] documentation for more info. [*] Share cloud storage with the full app: The saved game from the demo can be stored to the full game's cloud storage so that users can pick up where they left off in the demo once they buy the full game. …
[/b] A: Yes, if you no longer wish to have a stand-alone store page for your demo, then you can disable the store page on the 'basic info' tab within the 'edit store' section of Steamworks for your demo. The demo will then only be accessible via the full game's store page. …
If you've came here by accident and are looking for additional information about the program, please click [url=https://partner.steamgames.com/doc/sitelicense]here[/url] to get to the program's info page. [callout] [list] [h3][b]Recommended Setup[/b][/h3] [*][b][u]PC Cafés - Patrons log in with their personal Steam account for the full Steam experience[/u][/b] This setup lets users experience Steam at your location in exactly the same way as they would at home. …
[b]NOTE:[/b] This is a Service interface, methods in this interface should be called with the [code-inline]input_json[/code-inline] parameter. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=GetAppList]GetAppList[/section] [code=http]GET https://partner.steam-api.com/IStoreService/GetAppList/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td][td]Any web API key.…
See [doclink=gettingstarted/onboarding]Onboarding[/doclink] for more info. [section]Purchasing And Activating App Credit[/section] Steamworks developers can easily buy additional app credits to prepare your next games for release on Steam. …
[/td] [/tr] [tr] [td] [b]View Financials[/b] [/td] [td] User can view financial details for all Applications in the partner account. This supersedes the "View Financial Info" group permission. [/td] [/tr] [tr] [td] [b]Receive Steamworks Communication[/b] [/td] [td] User will receive emails from Valve regarding upcoming promotions, targeted events and new feature announcements on Steam. …
[doclink=features/keys]Learn more about product keys here.[/doclink][/td] [/tr] [tr] [td][b]View Financial Info[/b][/td] [td]Can view sales and download data for your application and packages.[/td] [/tr] [tr] [td][b]Manage Signing[/b][/td] [td]Can manage digital signing for your title. …
Otherwise, [b]false[/b] if the request handle is invalid. [subsection=SetHTTPRequestUserAgentInfo]SetHTTPRequestUserAgentInfo[/subsection] [code=cpp]bool SetHTTPRequestUserAgentInfo( HTTPRequestHandle hRequest, const char *pchUserAgentInfo );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]hRequest[/b][/td][td][apitype]ISteamHTTP::HTTPRequestHandle[/apitype][/td][td]The request handle to set the user agent info for.[/td][/tr] [tr][td][b]pchUserAgentInfo[/b][/td][td]const char *[/td][td]The string to append to the end of the user agent.[/td][/tr] [/table] Set additional user agent info for a request. …
Additional Web APIs for recurring payments are: [list] [*] [webapi]ISteamMicroTxn/CancelAgreement[/webapi] - Cancels a recurring billing agreement. [*] [webapi]ISteamMicroTxn/GetUserAgreementInfo[/webapi] - Get detailed information of the recurring billing agreement for a user. [*] [webapi]ISteamMicroTxn/AdjustAgreement[/webapi] - Add time to the payment schedule of an agreement [/list]…
To get started, select "Edit Store Page" on the App Landing Page, then select the "Basic Info" tab and scroll down to "Supported Platforms". [docimg=SystemRequirementsVRFields.png]SystemRequirementsVRFields.png[/docimg] In the fields under "VR Devices and Support" you should describe both the SDKs and the specific devices that your game supports. …
As the developer of a game, you can define its tags using the [b]Steamworks Tag Wizard[/b], which you'll find in your game's [i]Store Presence[/i] / [i]Edit Store Page[/i] / [i]Basic Info[/i] section, under [i]Tags[/i]. [b]Required permissions:[/b] The Tagging Wizard requires that a developer have [i]Edit App Metadata[/i] and [i]Publish App Changes to Steam[/i] permissions for the game in order to set tags via the Tagging Wizard. …
To find the wizard, visit your 'Edit Store Page' section in Steamworks for your game and scroll down the 'basic info' tab to the 'Tags' section. [*][b]On your store page[/b] - You can remove tags directly from your store page. To do so, click the '+' (plus) symbol next to the list of tags that appear to the right of your screenshots on your store page. …
[subsection=GetFriendGamePlayed]GetFriendGamePlayed[/subsection] [code=cpp]bool GetFriendGamePlayed( CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]steamIDFriend[/b][/td][td][apitype]steam_api::CSteamID[/apitype][/td][td]The Steam ID of the other user.[/td][/tr] [tr][td][b]pFriendGameInfo[/b][/td][td][apitype]ISteamFriends::FriendGameInfo_t[/apitype] *[/td][td]Fills in the details if the user is in a game.[/td][/tr] [/table] Checks if the specified friend is in a game, and gets info about the game if they are. …
Either way, your game should check ownership via the BisSubscribedApp API to make sure the customer actually has a license to the content. More info can be found in our [url=https://partner.steamgames.com/doc/api/ISteamApps#BIsSubscribedApp]documentation[/url]. If you’re not interested in managing your own backend, you can offer in-game transactions via the Steam inventory service where we handle the management of your inventory and purchasing. …
When you initiate a microtransaction using the InitTxn API, you will use the GetUserInfo API to get the user’s preferred currency and then use that information to look up the price you have specified for that item and currency. …
[b]NOTE:[/b] This is a Service interface, methods in this interface should be called with the [code-inline]input_json[/code-inline] parameter. For more info on how to use the Steamworks Web API please see the [doclink=webapi_overview][/doclink]. [section=GetMarketEligibility]GetMarketEligibility[/section] [code=http]GET https://partner.steam-api.com/IEconMarketService/GetMarketEligibility/v1/[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Required[/th][th]Description[/th][/tr] [tr][td][b]key[/b][/td][td]string[/td][td]✔[/td] [td]Steamworks Web API [url=https://partner.steamgames.com/doc/webapi_overview/auth#publisher-keys]publisher key[/url] with [b]Economy[/b] permissions.…