Commits

Didrole committed 231f9ab

Updated things

Comments (0)

Files changed (11)

Open Steamworks/IClientDepotBuilder.h

 abstract_class IClientDepotBuilder
 {
 public:
-	virtual uint32 RegisterAppBuild( AppId_t nAppID, const char *cszDescription, const char *cszBetaKey ) = 0;
+	virtual uint32 RegisterAppBuild( AppId_t nAppID, bool bLocalCSBuild, const char *cszDescription ) = 0;
 	virtual uint32 GetRegisteredBuildID( uint32 ) = 0;
 
-	virtual HDEPOTBUILD InitializeDepotBuildForConfigFile( const char *pchConfigFile ) = 0;
+	virtual HDEPOTBUILD InitializeDepotBuildForConfigFile( const char *pchConfigFile, const char *, const char * ) = 0;
 	
 	virtual bool StartBuild( HDEPOTBUILD hDepotBuild, uint32 uFlags, const char *cszChunksPath, const char*, uint32 ) = 0;
 
 	virtual bool BGetDepotBuildStatus( HDEPOTBUILD hDepotBuild, EDepotBuildStatus* pStatusOut, uint32* pPercentDone ) = 0;
 	virtual bool CloseDepotBuildHandle( HDEPOTBUILD hDepotBuild ) = 0;
 
-	virtual HDEPOTBUILD ReconstructDepotFromManifestAndChunks( const char *pchLocalManifestPath, const char *pchLocalChunkPath, const char *pchRestorePath ) = 0;
+	virtual HDEPOTBUILD ReconstructDepotFromManifestAndChunks( const char *pchLocalManifestPath, const char *pchLocalChunkPath, const char *pchRestorePath, uint32  ) = 0;
 
 	virtual bool BGetChunkCounts( HDEPOTBUILD hDepotBuild, uint32 *unTotalChunksInNewBuild, uint32 *unChunksAlsoInOldBuild ) = 0;
 
 	virtual bool GetManifestGIDs( HDEPOTBUILD hDepotBuild, GID_t* pBaselineGID, GID_t* pNewGID, bool* ) = 0;
 
 	virtual uint32 FinishAppBuild( uint32 uBuildID, uint32 nAppID, const char *cszBetaKey, bool bOnlyFinish, uint32 cNumSkipDepots ) = 0;
+
+	virtual uint32 VerifyChunkStore( uint32, uint32, const char * ) = 0;
 };
 
 #endif // ICLIENTDEPOTBUILDER_H

Open Steamworks/IClientFriends.h

 	virtual int16 GetFirstGroupFriendsMember( CSteamID steamID ) = 0;
 	virtual int16 GetNextGroupFriendsMember( CSteamID steamID ) = 0;
 
+	virtual const char * GetPlayerNickname( CSteamID playerSteamID ) = 0;
+	virtual bool SetPlayerNickname( CSteamID playerSteamID, const char *cszNickname ) = 0;
+
 	// chat message iteration
 	// returns the number of bytes in the message, filling pvData with as many of those bytes as possible
 	// returns 0 if the steamID or iChatID are invalid
 	virtual EUserRestriction GetUserRestrictions() = 0;
 
 	virtual SteamAPICall_t RequestFriendProfileInfo( CSteamID steamIDFriend ) = 0;
+	// Available keys: TimeCreated, RealName, CityName, StateName, CountryName, Headline, Playtime, Summary
 	virtual const char* GetFriendProfileInfo( CSteamID steamIDFriend, const char* pchKey ) = 0;
 
 	virtual bool InviteUserToGame( CSteamID steamIDFriend, const char *pchConnectString ) = 0;

Open Steamworks/IClientRemoteStorage.h

 	virtual SteamAPICall_t EnumerateUserSharedWorkshopFiles( AppId_t nAppId, CSteamID creatorSteamID, uint32 uStartIndex, SteamParamStringArray_t *pRequiredTags, SteamParamStringArray_t *pExcludedTags ) = 0;
 	virtual SteamAPICall_t EnumeratePublishedWorkshopFiles( AppId_t nAppId, EWorkshopEnumerationType eType, uint32 uStartIndex, uint32 cDays, uint32 cCount, SteamParamStringArray_t *pTags, SteamParamStringArray_t *pUserTags ) = 0;
 	
+	virtual EFileRemoteStorageSyncState EGetFileSyncState( AppId_t nAppId, ERemoteStorageFileRoot eRemoteStorageFileRoot, const char *pchFile ) = 0;
+	virtual bool BIsFileSyncing( AppId_t nAppId, ERemoteStorageFileRoot eRemoteStorageFileRoot, const char *pchFile ) = 0;
+
 	virtual EResult FilePersist( AppId_t nAppId, ERemoteStorageFileRoot eRemoteStorageFileRoot, const char *pchFile ) = 0;
 
 	virtual bool FileFetch( AppId_t nAppId, ERemoteStorageFileRoot eRemoteStorageFileRoot, const char *pchFile ) = 0;

Open Steamworks/IClientUser.h

 	virtual void SetAccountNameFromSteam2( const char *pchAccountName ) = 0;
 	virtual bool SetPasswordFromSteam2( const char *pchPassword ) = 0;
 
-	virtual bool SetAccountNameForCachedCredentialLogin( const char *pchAccountName, bool bRememberPassword, bool bUnk ) = 0;
+	virtual bool SetAccountNameForCachedCredentialLogin( const char *pchAccountName, bool bUnk ) = 0;
 	virtual void SetLoginInformation( const char *pchAccountName, const char *pchPassword, bool bRememberPassword ) = 0;
+	virtual void ClearAllLoginInformation() = 0;
 
 	virtual void SetAccountCreationTime( RTime32 rtime32Time ) = 0;
 
-	virtual OBSOLETE_FUNCTION uint32 obselete_GetCMIPAddress() = 0;
-	virtual OBSOLETE_FUNCTION uint32 obselete_GetP2PRelayIPAddress() = 0;
+	virtual SteamAPICall_t RequestWebAuthToken() = 0;
+	virtual bool GetCurrentWebAuthToken( char *pchBuffer, int32 cubBuffer ) = 0;
 
-	virtual SteamAPICall_t RequestWebAuthToken() = 0;
 	virtual bool GetLanguage( char* pchLanguage, int32 cbLanguage ) = 0;
 	virtual void SetCyberCafe( bool bCyberCafe ) = 0;
 
 
 	virtual SteamAPICall_t ResetPassword( const char *pchAccountName, const char *pchOldPassword, const char *pchNewPassword, const char *pchValidationCode, const char *pchAnswer ) = 0;
 
-
 	virtual void TrackNatTraversalStat( const CNatTraversalStat *pNatStat ) = 0;
 
-	virtual void RefreshSteam2Login() = 0;
-	virtual void RefreshSteam2LoginWithSecureOption( bool bIsSecure ) = 0;
-	virtual bool Steam2IsSecureComputer() = 0;
-
 	virtual PackageId_t GetPackageIDForGuestPassToRedeemByGID( GID_t gid ) = 0;
 
 	virtual void TrackSteamUsageEvent( ESteamUsageEvent eSteamUsageEvent, const uint8 *pubKV, uint32 cubKV ) = 0;
 	virtual EResult RequestCustomBinaries( AppId_t unAppID, bool, bool, uint32 * ) = 0;
 
 	virtual void SetCellID( CellID_t cellID ) = 0;
+	virtual void SetWinningPingTimeForCellID( uint32 uPing ) = 0;
 
 	virtual const char *GetUserBaseFolder() = 0;
 
 	virtual bool GetUserConfigFolder( char *pchBuffer, int32 cubBuffer ) = 0;
 
 	virtual bool GetAccountName( char* pchAccountName, uint32 cb ) = 0;
+	virtual bool IsPasswordRemembered() = 0;
 
 	virtual bool RequiresLegacyCDKey( AppId_t nAppID ) = 0;
 	virtual bool GetLegacyCDKey( AppId_t nAppID, char* pchKeyData, int32 cbKeyData ) = 0;
 	virtual SteamAPICall_t RequestEncryptedAppTicket( const void *pUserData, int32 cbUserData ) = 0;
 	virtual bool GetEncryptedAppTicket( void *pTicket, int32 cbMaxTicket, uint32 *pcbTicket ) = 0;
 
+	virtual SteamAPICall_t RequestOAuthTokenForApp( const char *cszOAuthScope ) = 0;
+	virtual bool GetOAuthTokenForApp( void *pubBuffer, int32 cubBuffer, uint32 *puTokenSize ) = 0;
+	virtual void InvalidateOAuthTokenForApp() = 0;
+
 	virtual void SetAccountLimited( bool bAccountLimited ) = 0;
 	virtual bool BIsAccountLimited() = 0;
 

Open Steamworks/ISteam2Bridge002.h

 	virtual const char* GetPlatformName( bool* pbIs64Bit ) = 0;
 	
 	virtual int32 GetSteam2FullASTicket( uint8* pubTicket, int32 cubTicket ) = 0;
+
+	virtual void SetWinningPingTimeForCellID( uint32 uPing ) = 0;
 };
 
 #endif // ISTEAM2BRIDGE002_H

Open Steamworks/ISteamOAuth001.h

+//==========================  Open Steamworks  ================================
+//
+// This file is part of the Open Steamworks project. All individuals associated
+// with this project do not claim ownership of the contents
+// 
+// The code, comments, and all related files, projects, resources,
+// redistributables included with this project are Copyright Valve Corporation.
+// Additionally, Valve, the Valve logo, Half-Life, the Half-Life logo, the
+// Lambda logo, Steam, the Steam logo, Team Fortress, the Team Fortress logo,
+// Opposing Force, Day of Defeat, the Day of Defeat logo, Counter-Strike, the
+// Counter-Strike logo, Source, the Source logo, and Counter-Strike Condition
+// Zero are trademarks and or registered trademarks of Valve Corporation.
+// All other trademarks are property of their respective owners.
+//
+//=============================================================================
+
+#ifndef ISTEAMOAUTH001_H
+#define ISTEAMOAUTH001_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "SteamTypes.h"
+#include "OAuthCommon.h"
+
+
+abstract_class ISteamOAuth001
+{
+public:
+	virtual SteamAPICall_t RequestOAuthTokenForApp( const char *cszOAuthScope ) = 0;
+	virtual bool GetOAuthTokenForApp( void *pubBuffer, int32 cubBuffer, uint32 *puTokenSize ) = 0;
+	virtual void InvalidateOAuthTokenForApp() = 0;
+};
+
+
+#endif // ISTEAMOAUTH001_H
+

Open Steamworks/MatchmakingCommon.h

 	int m_cResultsTotal;
 };
 
-
 struct GMSQueryResult_t
 {
 	uint32 uServerIP;
 struct PingSample_t
 {
 	// TODO: Reverse this struct
+	#ifdef _S4N_
+	int m_iPadding;
+	#endif
 };
 
 #pragma pack( pop )

Open Steamworks/OAuthCommon.h

+//==========================  Open Steamworks  ================================
+//
+// This file is part of the Open Steamworks project. All individuals associated
+// with this project do not claim ownership of the contents
+// 
+// The code, comments, and all related files, projects, resources,
+// redistributables included with this project are Copyright Valve Corporation.
+// Additionally, Valve, the Valve logo, Half-Life, the Half-Life logo, the
+// Lambda logo, Steam, the Steam logo, Team Fortress, the Team Fortress logo,
+// Opposing Force, Day of Defeat, the Day of Defeat logo, Counter-Strike, the
+// Counter-Strike logo, Source, the Source logo, and Counter-Strike Condition
+// Zero are trademarks and or registered trademarks of Valve Corporation.
+// All other trademarks are property of their respective owners.
+//
+//=============================================================================
+
+#ifndef OAUTHCOMMON_H
+#define OAUTHCOMMON_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#define STEAMOAUTH_INTERFACE_VERSION_001 "SteamOAuth001"
+
+
+#endif // OAUTHCOMMON_H

Open Steamworks/RemoteStorageCommon.h

 	k_ERemoteStorageFileRootMacDocuments,
 	k_ERemoteStorageFileRootWinSavedGames,
 	k_ERemoteStorageFileRootWinProgramData,
+	k_ERemoteStorageFileRootSteamCloudDocuments,
 	k_ERemoteStorageFileRootMax
 };
 
 	k_ERemoteSyncStateConflictingChanges = 7,
 };
 
+enum EFileRemoteStorageSyncState
+{
+	// TODO: Reverse this enum
+};
+
 enum EUCMFilePrivacyState
 {
 	k_EUCMFilePrivacyStateInvalid = -1,

Open Steamworks/SteamTypes.h

 	k_EUniverseBeta = 2,
 	k_EUniverseInternal = 3,
 	k_EUniverseDev = 4,
-	k_EUniverseRC = 5,
+//	k_EUniverseRC = 5, // Removed
 
 	k_EUniverseMax
 };

Open Steamworks/Steamclient.h

 #include "ISteamFriends009.h"
 #include "ISteamFriends010.h"
 #include "ISteamFriends011.h"
+#include "ISteamFriends012.h"
 
 // screenshots
 #include "ISteamScreenshots001.h"
 #include "ISteamUser015.h"
 #include "ISteamUser016.h"
 
+// OAuth
+#include "ISteamOAuth001.h"
+
 // apps
 #include "ISteamApps001.h"
 #include "ISteamApps002.h"