Commits

Didrole committed 7c9296a

Updated ISteamClient010 and IClientMatchmaking

  • Participants
  • Parent commits 4d98881

Comments (0)

Files changed (4)

Open Steamworks/ClientCommon.h

 class ISteamRemoteStorage;
 class ISteamGameServerItems;
 class ISteamGameServerStats;
-
+class ISteamHTTP;
 
 
 #define CLIENTENGINE_INTERFACE_VERSION "CLIENTENGINE_INTERFACE_VERSION001"

Open Steamworks/IClientMatchmaking.h

 
 	virtual int GetGMSServerCount() = 0;
 	virtual bool GetGMSServerAddress( int iServer, uint32 *unServerIP, uint16 *usServerPort ) = 0;
+
+	// TODO : Check this when at least one GMS will be online.
+	virtual SteamAPICall_t BeginGMSQuery( AppId_t nAppId, int32 iRegionCode, const char* szFilterText ) = 0;
+	virtual int32 PollGMSQuery( SteamAPICall_t ) = 0;
+	virtual int32 GetGMSQueryResults( SteamAPICall_t, GMSQueryResult_t *, int32 iResultIndex ) = 0;
+	virtual void ReleaseGMSQuery( SteamAPICall_t ) = 0;
 };
 
 

Open Steamworks/ISteamClient010.h

 
 	// Trigger global shutdown for the DLL
 	virtual bool BShutdownIfAllPipesClosed() = 0;
+
+	virtual ISteamHTTP* GetISteamHTTP( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
 };
 
 

Open Steamworks/MatchmakingCommon.h

 
 	CSteamID m_ulSteamIDLobby;		// chat room, zero if failed
 };
+
+
+struct GMSQueryResult_t
+{
+	uint32 uServerIP;
+	uint32 uServerPort;
+	uint32 uAuthPlayers;
+};
+
 #pragma pack( pop )