The APIs and Steamworks features demonstrated in the example code include: [list] [*] Cloud [*] Community Integration (avatars, friends names, etc) [*] Crash Reporting [*] Friends [*] HTML Surface [*] Inventory [*] Leaderboards [*] Matchmaking (Both lobbies and server browser) [*] Multi-Player Authentication (4 players supported in-game) [*] Networking [*] Stats & Achievements [*] Voice Chat [/list] [docimg=spacewar.png]spacewar.png[/docimg] [section]Building & running the example[/section] Requirements: [list] [*] Visual Studio 2005 or newer. [*] DirectX SDK [*] Steamworks SDK. …
This might be useful to you if you are use our hosting, or just need to measure latency to a cloud data center where we are running relays. [subsection=GetPingToDataCenter]GetPingToDataCenter[/subsection] [code=cpp]int GetPingToDataCenter( SteamNetworkingPOPID popID, SteamNetworkingPOPID *pViaRelayPoP );[/code] Fetch ping time of best available relayed route from this host to the specified data center. …
[code]ENABLE_VULKAN_RENDERDOC_CAPTURE=1 EnableFrameEndMarkers=1 %command%[/code] [section]Additional Performance Tools[/section] Additional developer tools for evaluating performance can found here: https://gitlab.steamos.cloud/frame-public/frame-developer-tools [section]Tracking Errors[/section] If you run into serious tracking issues please let us know. …
You can integrate Steamworks technical features, set Steam Input templates, configure cloud saves, and so on. If you’ve never done any of that before, start with our [doclink=sdk/uploading]Uploading to Steam documentation[/doclink] for help. …
[b]Returns:[/b] [apitype]steam_api::CSteamID[/apitype] [b]Example:[/b] [code=cpp]CSteamID steamID = SteamUser()->GetSteamID();[/code] [subsection=GetUserDataFolder]GetUserDataFolder[/subsection] [code=cpp]bool GetUserDataFolder( char *pchBuffer, int cubBuffer );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]pchBuffer[/b][/td][td]char *[/td][td][/td][/tr] [tr][td][b]cubBuffer[/b][/td][td]int[/td][td][/td][/tr] [/table] Deprecated - You should use the [api]ISteamRemoteStorage[/api] API from [doclink=features/cloud][/doclink] instead. [b]Returns:[/b] bool [subsection=GetVoice]GetVoice[/subsection] [code=cpp]EVoiceResult GetVoice( bool bWantCompressed, void *pDestBuffer, uint32 cbDestBufferSize, uint32 *nBytesWritten, bool bWantUncompressed_Deprecated = false, void *pUncompressedDestBuffer_Deprecated = 0, uint32 cbUncompressedDestBufferSize_Deprecated = 0, uint32 *nUncompressBytesWritten_Deprecated = 0, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated = 0 );[/code] [table] [tr][th]Name[/th][th]Type[/th][th]Description[/th][/tr] [tr][td][b]bWantCompressed[/b][/td][td]bool[/td][td]This should always be [b]true[/b].…
Once attached, the content will be available even if the underlying Cloud file is changed or deleted by the user. You must call [api]ISteamUserStats::FindLeaderboard[/api] or [api]ISteamUserStats::FindOrCreateLeaderboard[/api] to get a [apitype]ISteamUserStats::SteamLeaderboard_t[/apitype] prior to calling this function. …