aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/steam/isteamclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/public/steam/isteamclient.h')
-rw-r--r--mp/src/public/steam/isteamclient.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/mp/src/public/steam/isteamclient.h b/mp/src/public/steam/isteamclient.h
index 44c1df66..796d72d6 100644
--- a/mp/src/public/steam/isteamclient.h
+++ b/mp/src/public/steam/isteamclient.h
@@ -1,4 +1,4 @@
-//====== Copyright � 1996-2008, Valve Corporation, All rights reserved. =======
+//====== Copyright � 1996-2008, Valve Corporation, All rights reserved. =======
//
// Purpose: Main interface for loading and accessing Steamworks API's from the
// Steam client.
@@ -40,7 +40,7 @@
#error ???
#endif
-typedef struct
+typedef struct ValvePackingSentinel_t
{
uint32 m_u32;
uint64 m_u64;
@@ -98,6 +98,8 @@ class ISteamController;
class ISteamUGC;
class ISteamAppList;
class ISteamHTMLSurface;
+class ISteamInventory;
+class ISteamVideo;
//-----------------------------------------------------------------------------
// Purpose: Interface to creating a new steam instance, or to
@@ -221,9 +223,16 @@ public:
virtual void Set_SteamAPI_CPostAPIResultInProcess( SteamAPI_PostAPIResultInProcess_t func ) = 0;
virtual void Remove_SteamAPI_CPostAPIResultInProcess( SteamAPI_PostAPIResultInProcess_t func ) = 0;
virtual void Set_SteamAPI_CCheckCallbackRegisteredInProcess( SteamAPI_CheckCallbackRegistered_t func ) = 0;
+
+ // inventory
+ virtual ISteamInventory *GetISteamInventory( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
+
+ // Video
+ virtual ISteamVideo *GetISteamVideo( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
};
-#define STEAMCLIENT_INTERFACE_VERSION "SteamClient016"
+
+#define STEAMCLIENT_INTERFACE_VERSION "SteamClient017"
//-----------------------------------------------------------------------------
// Purpose: Base values for callback identifiers, each callback must
@@ -275,6 +284,7 @@ enum { k_iClientReservedCallbacks = 4300 };
enum { k_iSteamReservedCallbacks = 4400 };
enum { k_iSteamHTMLSurfaceCallbacks = 4500 };
enum { k_iClientVideoCallbacks = 4600 };
+enum { k_iClientInventoryCallbacks = 4700 };
//-----------------------------------------------------------------------------
// The CALLBACK macros are for client side callback logging enabled with