diff options
| author | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
|---|---|---|
| committer | John Schoenick <[email protected]> | 2015-09-09 18:35:41 -0700 |
| commit | 0d8dceea4310fde5706b3ce1c70609d72a38efdf (patch) | |
| tree | c831ef32c2c801a5c5a80401736b52c7b5a528ec /mp/src/public/steam/isteamclient.h | |
| parent | Updated the SDK with the latest code from the TF and HL2 branches. (diff) | |
| download | source-sdk-2013-master.tar.xz source-sdk-2013-master.zip | |
Diffstat (limited to 'mp/src/public/steam/isteamclient.h')
| -rw-r--r-- | mp/src/public/steam/isteamclient.h | 16 |
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 |