1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-07-19 11:18:02 +02:00

Update steam

This commit is contained in:
Elias Steurer 2018-08-27 20:57:48 +02:00
parent d6cbd47b6d
commit 05ecc78534
27 changed files with 1221 additions and 206 deletions

2
.gitignore vendored
View File

@ -72,3 +72,5 @@ Thumbs.db
*.exe
*.lnk
!ScreenPlay/ThirdParty/**

View File

@ -106,5 +106,7 @@
<file>assets/icons/icon_emptyWidget.svg</file>
<file>qml/Create/CreateNew.qml</file>
<file>assets/icons/icon_open_in_new.svg</file>
<file>translations/ScreenPlay_de.qm</file>
<file>translations/ScreenPlay_en.qm</file>
</qresource>
</RCC>

View File

@ -100,13 +100,13 @@ class ISteamMusicRemote;
class ISteamGameServerStats;
class ISteamPS3OverlayRender;
class ISteamHTTP;
class ISteamUnifiedMessages;
class ISteamController;
class ISteamUGC;
class ISteamAppList;
class ISteamHTMLSurface;
class ISteamInventory;
class ISteamVideo;
class ISteamParentalSettings;
//-----------------------------------------------------------------------------
// Purpose: Interface to creating a new steam instance, or to
@ -206,8 +206,8 @@ public:
// Expose HTTP interface
virtual ISteamHTTP *GetISteamHTTP( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
// Exposes the ISteamUnifiedMessages interface
virtual ISteamUnifiedMessages *GetISteamUnifiedMessages( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
// Deprecated - the ISteamUnifiedMessages interface is no longer intended for public consumption.
STEAM_PRIVATE_API( virtual void *DEPRECATED_GetISteamUnifiedMessages( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0 ; )
// Exposes the ISteamController interface
virtual ISteamController *GetISteamController( HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
@ -237,6 +237,9 @@ public:
// Video
virtual ISteamVideo *GetISteamVideo( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
// Parental controls
virtual ISteamParentalSettings *GetISteamParentalSettings( HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char *pchVersion ) = 0;
};
@ -294,6 +297,9 @@ enum { k_iSteamHTMLSurfaceCallbacks = 4500 };
enum { k_iClientVideoCallbacks = 4600 };
enum { k_iClientInventoryCallbacks = 4700 };
enum { k_iClientBluetoothManagerCallbacks = 4800 };
enum { k_iClientSharedConnectionCallbacks = 4900 };
enum { k_ISteamParentalSettingsCallbacks = 5000 };
enum { k_iClientShaderCallbacks = 5100 };
//-----------------------------------------------------------------------------
// The CALLBACK macros are for client side callback logging enabled with

View File

@ -46,6 +46,8 @@ enum EControllerSource
k_EControllerSource_CenterTrackpad, // PS4
k_EControllerSource_RightJoystick, // Traditional Controllers
k_EControllerSource_DPad, // Traditional Controllers
k_EControllerSource_Key, // Keyboards with scan codes
k_EControllerSource_Mouse, // Traditional mouse
k_EControllerSource_Count
};
@ -287,6 +289,16 @@ enum ESteamControllerLEDFlag
k_ESteamControllerLEDFlag_RestoreUserDefault
};
enum ESteamInputType
{
k_ESteamInputType_Unknown,
k_ESteamInputType_SteamController,
k_ESteamInputType_XBox360Controller,
k_ESteamInputType_XBoxOneController,
k_ESteamInputType_GenericXInput,
k_ESteamInputType_PS4Controller,
};
// ControllerHandle_t is used to refer to a specific controller.
// This handle will consistently identify a controller, even if it is disconnected and re-connected
typedef uint64 ControllerHandle_t;
@ -377,6 +389,12 @@ public:
// your state loops, instead of trying to place it in all of your state transitions.
virtual void ActivateActionSet( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle ) = 0;
virtual ControllerActionSetHandle_t GetCurrentActionSet( ControllerHandle_t controllerHandle ) = 0;
virtual void ActivateActionSetLayer( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle ) = 0;
virtual void DeactivateActionSetLayer( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle ) = 0;
virtual void DeactivateAllActionSetLayers( ControllerHandle_t controllerHandle ) = 0;
virtual int GetActiveActionSetLayers( ControllerHandle_t controllerHandle, ControllerActionSetHandle_t *handlesOut ) = 0;
// ACTIONS
// Lookup the handle for a digital action. Best to do this once on startup, and store the handles for all future API calls.
@ -433,8 +451,11 @@ public:
// Get a local path to art for on-screen glyph for a particular origin
virtual const char *GetGlyphForActionOrigin( EControllerActionOrigin eOrigin ) = 0;
// Returns the input type for a particular handle
virtual ESteamInputType GetInputTypeForHandle( ControllerHandle_t controllerHandle ) = 0;
};
#define STEAMCONTROLLER_INTERFACE_VERSION "SteamController005"
#define STEAMCONTROLLER_INTERFACE_VERSION "SteamController006"
#endif // ISTEAMCONTROLLER_H

View File

@ -388,6 +388,9 @@ public:
virtual SteamAPICall_t IsFollowing( CSteamID steamID ) = 0;
CALL_RESULT( FriendsEnumerateFollowingList_t )
virtual SteamAPICall_t EnumerateFollowingList( uint32 unStartIndex ) = 0;
virtual bool IsClanPublic( CSteamID steamIDClan ) = 0;
virtual bool IsClanOfficialGameGroup( CSteamID steamIDClan ) = 0;
};
#define STEAMFRIENDS_INTERFACE_VERSION "SteamFriends015"

View File

@ -177,6 +177,10 @@ public:
// When background mode is disabled, any video or audio objects with that property will resume with ".play()".
virtual void SetBackgroundMode( HHTMLBrowser unBrowserHandle, bool bBackgroundMode ) = 0;
// Scale the output display space by this factor, this is useful when displaying content on high dpi devices.
// Specifies the ratio between physical and logical pixels.
virtual void SetDPIScalingFactor( HHTMLBrowser unBrowserHandle, float flDPIScaling ) = 0;
// CALLBACKS
//
// These set of functions are used as responses to callback requests
@ -197,7 +201,7 @@ public:
virtual void FileLoadDialogResponse( HHTMLBrowser unBrowserHandle, const char **pchSelectedFiles ) = 0;
};
#define STEAMHTMLSURFACE_INTERFACE_VERSION "STEAMHTMLSURFACE_INTERFACE_VERSION_003"
#define STEAMHTMLSURFACE_INTERFACE_VERSION "STEAMHTMLSURFACE_INTERFACE_VERSION_004"
// callbacks
#if defined( VALVE_CALLBACK_PACK_SMALL )
@ -447,6 +451,15 @@ CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // the handle of the surface
END_DEFINE_CALLBACK_1()
//-----------------------------------------------------------------------------
// Purpose: The browser has restarted due to an internal failure, use this new handle value
//-----------------------------------------------------------------------------
DEFINE_CALLBACK( HTML_BrowserRestarted_t, k_iSteamHTMLSurfaceCallbacks + 27 )
CALLBACK_MEMBER( 0, HHTMLBrowser, unBrowserHandle ) // this is the new browser handle after the restart
CALLBACK_MEMBER( 1, HHTMLBrowser, unOldBrowserHandle ) // the handle for the browser before the restart, if your handle was this then switch to using unBrowserHandle for API calls
END_DEFINE_CALLBACK_2()
#pragma pack( pop )

View File

@ -61,6 +61,8 @@ typedef int32 SteamInventoryResult_t;
static const SteamInventoryResult_t k_SteamInventoryResultInvalid = -1;
typedef uint64 SteamInventoryUpdateHandle_t;
const SteamInventoryUpdateHandle_t k_SteamInventoryUpdateHandleInvalid = 0xffffffffffffffffull;
//-----------------------------------------------------------------------------
// Purpose: Steam Inventory query and manipulation API
@ -259,17 +261,7 @@ public:
virtual bool TriggerItemDrop( SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition ) = 0;
// IN-GAME TRADING
//
// TradeItems() implements limited in-game trading of items, if you prefer not to use
// the overlay or an in-game web browser to perform Steam Trading through the website.
// You should implement a UI where both players can see and agree to a trade, and then
// each client should call TradeItems simultaneously (+/- 5 seconds) with matching
// (but reversed) parameters. The result is the same as if both players performed a
// Steam Trading transaction through the web. Each player will get an inventory result
// confirming the removal or quantity changes of the items given away, and the new
// item instance id numbers and quantities of the received items.
// (Note: new item instance IDs are generated whenever an item changes ownership.)
// Deprecated. This method is not supported.
virtual bool TradeItems( SteamInventoryResult_t *pResultHandle, CSteamID steamIDTradePartner,
ARRAY_COUNT(nArrayGiveLength) const SteamItemInstanceID_t *pArrayGive, ARRAY_COUNT(nArrayGiveLength) const uint32 *pArrayGiveQuantity, uint32 nArrayGiveLength,
ARRAY_COUNT(nArrayGetLength) const SteamItemInstanceID_t *pArrayGet, ARRAY_COUNT(nArrayGetLength) const uint32 *pArrayGetQuantity, uint32 nArrayGetLength ) = 0;
@ -326,6 +318,44 @@ public:
CSteamID steamID,
OUT_ARRAY_COUNT(punItemDefIDsArraySize,List of item definition IDs) SteamItemDef_t *pItemDefIDs,
DESC(Size of array is passed in and actual size used is returned in this param) uint32 *punItemDefIDsArraySize ) = 0;
// Starts the purchase process for the given item definitions. The callback SteamInventoryStartPurchaseResult_t
// will be posted if Steam was able to initialize the transaction.
//
// Once the purchase has been authorized and completed by the user, the callback SteamInventoryResultReady_t
// will be posted.
CALL_RESULT( SteamInventoryStartPurchaseResult_t )
virtual SteamAPICall_t StartPurchase( ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, ARRAY_COUNT(unArrayLength) const uint32 *punArrayQuantity, uint32 unArrayLength ) = 0;
// Request current prices for all applicable item definitions
CALL_RESULT( SteamInventoryRequestPricesResult_t )
virtual SteamAPICall_t RequestPrices() = 0;
// Returns the number of items with prices. Need to call RequestPrices() first.
virtual uint32 GetNumItemsWithPrices() = 0;
// Returns item definition ids and their prices in the user's local currency.
// Need to call RequestPrices() first.
virtual bool GetItemsWithPrices( ARRAY_COUNT(unArrayLength) OUT_ARRAY_COUNT(pArrayItemDefs, Items with prices) SteamItemDef_t *pArrayItemDefs,
ARRAY_COUNT(unArrayLength) OUT_ARRAY_COUNT(pPrices, List of prices for the given item defs) uint64 *pPrices,
uint32 unArrayLength ) = 0;
// Retrieves the price for the item definition id
// Returns false if there is no price stored for the item definition.
virtual bool GetItemPrice( SteamItemDef_t iDefinition, uint64 *pPrice ) = 0;
// Create a request to update properties on items
virtual SteamInventoryUpdateHandle_t StartUpdateProperties() = 0;
// Remove the property on the item
virtual bool RemoveProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName ) = 0;
// Accessor methods to set properties on items
virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, const char *pchPropertyValue ) = 0;
virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, bool bValue ) = 0;
virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, int64 nValue ) = 0;
virtual bool SetProperty( SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char *pchPropertyName, float flValue ) = 0;
// Submit the update request by handle
virtual bool SubmitUpdateProperties( SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle ) = 0;
};
#define STEAMINVENTORY_INTERFACE_VERSION "STEAMINVENTORY_INTERFACE_V002"
@ -375,6 +405,23 @@ struct SteamInventoryEligiblePromoItemDefIDs_t
bool m_bCachedData; // indicates that the data was retrieved from the cache and not the server
};
// Triggered from StartPurchase call
struct SteamInventoryStartPurchaseResult_t
{
enum { k_iCallback = k_iClientInventoryCallbacks + 4 };
EResult m_result;
uint64 m_ulOrderID;
uint64 m_ulTransID;
};
// Triggered from RequestPrices
struct SteamInventoryRequestPricesResult_t
{
enum { k_iCallback = k_iClientInventoryCallbacks + 5 };
EResult m_result;
char m_rgchCurrency[4];
};
#pragma pack( pop )

View File

@ -0,0 +1,57 @@
//====== Copyright <20> 2013-, Valve Corporation, All rights reserved. =======
//
// Purpose: Interface to Steam parental settings (Family View)
//
//=============================================================================
#ifndef ISTEAMPARENTALSETTINGS_H
#define ISTEAMPARENTALSETTINGS_H
#ifdef _WIN32
#pragma once
#endif
// Feature types for parental settings
enum EParentalFeature
{
k_EFeatureInvalid = 0,
k_EFeatureStore = 1,
k_EFeatureCommunity = 2,
k_EFeatureProfile = 3,
k_EFeatureFriends = 4,
k_EFeatureNews = 5,
k_EFeatureTrading = 6,
k_EFeatureSettings = 7,
k_EFeatureConsole = 8,
k_EFeatureBrowser = 9,
k_EFeatureParentalSetup = 10,
k_EFeatureLibrary = 11,
k_EFeatureTest = 12,
k_EFeatureMax
};
class ISteamParentalSettings
{
public:
virtual bool BIsParentalLockEnabled() = 0;
virtual bool BIsParentalLockLocked() = 0;
virtual bool BIsAppBlocked( AppId_t nAppID ) = 0;
virtual bool BIsAppInBlockList( AppId_t nAppID ) = 0;
virtual bool BIsFeatureBlocked( EParentalFeature eFeature ) = 0;
virtual bool BIsFeatureInBlockList( EParentalFeature eFeature ) = 0;
};
#define STEAMPARENTALSETTINGS_INTERFACE_VERSION "STEAMPARENTALSETTINGS_INTERFACE_VERSION001"
//-----------------------------------------------------------------------------
// Purpose: Callback for querying UGC
//-----------------------------------------------------------------------------
struct SteamParentalSettingsChanged_t
{
enum { k_iCallback = k_ISteamParentalSettingsCallbacks + 1 };
};
#endif // ISTEAMPARENTALSETTINGS_H

View File

@ -329,6 +329,20 @@ public:
virtual SteamAPICall_t AddDependency( PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ) = 0;
CALL_RESULT( RemoveUGCDependencyResult_t )
virtual SteamAPICall_t RemoveDependency( PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID ) = 0;
// add/remove app dependence/requirements (usually DLC)
CALL_RESULT( AddAppDependencyResult_t )
virtual SteamAPICall_t AddAppDependency( PublishedFileId_t nPublishedFileID, AppId_t nAppID ) = 0;
CALL_RESULT( RemoveAppDependencyResult_t )
virtual SteamAPICall_t RemoveAppDependency( PublishedFileId_t nPublishedFileID, AppId_t nAppID ) = 0;
// request app dependencies. note that whatever callback you register for GetAppDependenciesResult_t may be called multiple times
// until all app dependencies have been returned
CALL_RESULT( GetAppDependenciesResult_t )
virtual SteamAPICall_t GetAppDependencies( PublishedFileId_t nPublishedFileID ) = 0;
// delete the item without prompting the user
CALL_RESULT( DeleteItemResult_t )
virtual SteamAPICall_t DeleteItem( PublishedFileId_t nPublishedFileID ) = 0;
};
#define STEAMUGC_INTERFACE_VERSION "STEAMUGC_INTERFACE_VERSION010"
@ -378,6 +392,7 @@ struct SubmitItemUpdateResult_t
enum { k_iCallback = k_iClientUGCCallbacks + 4 };
EResult m_eResult;
bool m_bUserNeedsToAcceptWorkshopLegalAgreement;
PublishedFileId_t m_nPublishedFileId;
};
@ -479,6 +494,52 @@ struct RemoveUGCDependencyResult_t
};
//-----------------------------------------------------------------------------
// Purpose: The result of a call to AddAppDependency
//-----------------------------------------------------------------------------
struct AddAppDependencyResult_t
{
enum { k_iCallback = k_iClientUGCCallbacks + 14 };
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nAppID;
};
//-----------------------------------------------------------------------------
// Purpose: The result of a call to RemoveAppDependency
//-----------------------------------------------------------------------------
struct RemoveAppDependencyResult_t
{
enum { k_iCallback = k_iClientUGCCallbacks + 15 };
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_nAppID;
};
//-----------------------------------------------------------------------------
// Purpose: The result of a call to GetAppDependencies. Callback may be called
// multiple times until all app dependencies have been returned.
//-----------------------------------------------------------------------------
struct GetAppDependenciesResult_t
{
enum { k_iCallback = k_iClientUGCCallbacks + 16 };
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
AppId_t m_rgAppIDs[32];
uint32 m_nNumAppDependencies; // number returned in this struct
uint32 m_nTotalNumAppDependencies; // total found
};
//-----------------------------------------------------------------------------
// Purpose: The result of a call to DeleteItem
//-----------------------------------------------------------------------------
struct DeleteItemResult_t
{
enum { k_iCallback = k_iClientUGCCallbacks + 17 };
EResult m_eResult;
PublishedFileId_t m_nPublishedFileId;
};
#pragma pack( pop )
#endif // ISTEAMUGC_H

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -23,13 +23,13 @@
#include "isteammusic.h"
#include "isteammusicremote.h"
#include "isteamhttp.h"
#include "isteamunifiedmessages.h"
#include "isteamcontroller.h"
#include "isteamugc.h"
#include "isteamapplist.h"
#include "isteamhtmlsurface.h"
#include "isteaminventory.h"
#include "isteamvideo.h"
#include "isteamparentalsettings.h"
// Steam API export macro
@ -114,7 +114,6 @@ inline ISteamMatchmakingServers *SteamMatchmakingServers();
inline ISteamRemoteStorage *SteamRemoteStorage();
inline ISteamScreenshots *SteamScreenshots();
inline ISteamHTTP *SteamHTTP();
inline ISteamUnifiedMessages *SteamUnifiedMessages();
inline ISteamController *SteamController();
inline ISteamUGC *SteamUGC();
inline ISteamAppList *SteamAppList();
@ -123,6 +122,7 @@ inline ISteamMusicRemote *SteamMusicRemote();
inline ISteamHTMLSurface *SteamHTMLSurface();
inline ISteamInventory *SteamInventory();
inline ISteamVideo *SteamVideo();
inline ISteamParentalSettings *SteamParentalSettings();
#endif // VERSION_SAFE_STEAM_API_INTERFACES
@ -147,7 +147,6 @@ public:
ISteamRemoteStorage* SteamRemoteStorage() const { return m_pSteamRemoteStorage; }
ISteamScreenshots* SteamScreenshots() const { return m_pSteamScreenshots; }
ISteamHTTP* SteamHTTP() const { return m_pSteamHTTP; }
ISteamUnifiedMessages* SteamUnifiedMessages() const { return m_pSteamUnifiedMessages; }
ISteamController* SteamController() const { return m_pController; }
ISteamUGC* SteamUGC() const { return m_pSteamUGC; }
ISteamAppList* SteamAppList() const { return m_pSteamAppList; }
@ -156,6 +155,7 @@ public:
ISteamHTMLSurface* SteamHTMLSurface() const { return m_pSteamHTMLSurface; }
ISteamInventory* SteamInventory() const { return m_pSteamInventory; }
ISteamVideo* SteamVideo() const { return m_pSteamVideo; }
ISteamParentalSettings* SteamParentalSettings() const { return m_pSteamParentalSettings; }
// DEPRECATED - there is no benefit to using this over the global accessors
private:
ISteamClient *m_pSteamClient;
@ -170,7 +170,6 @@ private:
ISteamRemoteStorage *m_pSteamRemoteStorage;
ISteamScreenshots *m_pSteamScreenshots;
ISteamHTTP *m_pSteamHTTP;
ISteamUnifiedMessages *m_pSteamUnifiedMessages;
ISteamController *m_pController;
ISteamUGC *m_pSteamUGC;
ISteamAppList *m_pSteamAppList;
@ -179,6 +178,7 @@ private:
ISteamHTMLSurface *m_pSteamHTMLSurface;
ISteamInventory *m_pSteamInventory;
ISteamVideo *m_pSteamVideo;
ISteamParentalSettings *m_pSteamParentalSettings;
};

View File

@ -27,6 +27,7 @@
,{"typedef": "AccountID_t","type": "uint32"}
,{"typedef": "PartnerId_t","type": "uint32"}
,{"typedef": "ManifestId_t","type": "uint64"}
,{"typedef": "SiteId_t","type": "uint64"}
,{"typedef": "HAuthTicket","type": "uint32"}
,{"typedef": "PFNLegacyKeyRegistration","type": "void (*)(const char *, const char *)"}
,{"typedef": "PFNLegacyKeyInstalled","type": "_Bool (*)(void)"}
@ -70,7 +71,6 @@
,{"typedef": "MusicPlayerWantsPlayingRepeatStatus_t::SteamCallback_t","type": "struct MusicPlayerWantsPlayingRepeatStatus_t"}
,{"typedef": "HTTPRequestHandle","type": "uint32"}
,{"typedef": "HTTPCookieContainerHandle","type": "uint32"}
,{"typedef": "ClientUnifiedMessageHandle","type": "uint64"}
,{"typedef": "ControllerHandle_t","type": "uint64"}
,{"typedef": "ControllerActionSetHandle_t","type": "uint64"}
,{"typedef": "ControllerDigitalActionHandle_t","type": "uint64"}
@ -102,9 +102,11 @@
,{"typedef": "HTML_ShowToolTip_t::SteamCallback_t","type": "struct HTML_ShowToolTip_t"}
,{"typedef": "HTML_UpdateToolTip_t::SteamCallback_t","type": "struct HTML_UpdateToolTip_t"}
,{"typedef": "HTML_HideToolTip_t::SteamCallback_t","type": "struct HTML_HideToolTip_t"}
,{"typedef": "HTML_BrowserRestarted_t::SteamCallback_t","type": "struct HTML_BrowserRestarted_t"}
,{"typedef": "SteamItemInstanceID_t","type": "uint64"}
,{"typedef": "SteamItemDef_t","type": "int32"}
,{"typedef": "SteamInventoryResult_t","type": "int32"}
,{"typedef": "SteamInventoryUpdateHandle_t","type": "uint64"}
,{"typedef": "BroadcastUploadStart_t::SteamCallback_t","type": "struct BroadcastUploadStart_t"}
,{"typedef": "BroadcastUploadStop_t::SteamCallback_t","type": "struct BroadcastUploadStop_t"}
,{"typedef": "GetVideoURLResult_t::SteamCallback_t","type": "struct GetVideoURLResult_t"}
@ -229,6 +231,10 @@
,{"name": "k_EResultGSLTExpired","value": "106"}
,{"name": "k_EResultInsufficientFunds","value": "107"}
,{"name": "k_EResultTooManyPending","value": "108"}
,{"name": "k_EResultNoSiteLicensesFound","value": "109"}
,{"name": "k_EResultWGNetworkSendExceeded","value": "110"}
,{"name": "k_EResultAccountNotFriends","value": "111"}
,{"name": "k_EResultLimitedUserAccount","value": "112"}
]}
, {"enumname": "EVoiceResult","values": [
{"name": "k_EVoiceResultOK","value": "0"}
@ -345,6 +351,7 @@
,{"name": "k_EAppType_Plugin","value": "4096"}
,{"name": "k_EAppType_Music","value": "8192"}
,{"name": "k_EAppType_Series","value": "16384"}
,{"name": "k_EAppType_Comic","value": "32768"}
,{"name": "k_EAppType_Shortcut","value": "1073741824"}
,{"name": "k_EAppType_DepotOnly","value": "-2147483648"}
]}
@ -383,6 +390,7 @@
,{"name": "k_EChatRoomEnterResponseCommunityBan","value": "9"}
,{"name": "k_EChatRoomEnterResponseMemberBlockedYou","value": "10"}
,{"name": "k_EChatRoomEnterResponseYouBlockedMember","value": "11"}
,{"name": "k_EChatRoomEnterResponseRatelimitExceeded","value": "15"}
]}
, {"enumname": "EChatSteamIDInstanceFlags","values": [
{"name": "k_EChatAccountInstanceMask","value": "4095"}
@ -450,6 +458,18 @@
,{"name": "k_eEVRHMDType_Oculus_DK2","value": "22"}
,{"name": "k_eEVRHMDType_Oculus_Rift","value": "23"}
,{"name": "k_eEVRHMDType_Oculus_Unknown","value": "40"}
,{"name": "k_eEVRHMDType_Acer_Unknown","value": "50"}
,{"name": "k_eEVRHMDType_Acer_WindowsMR","value": "51"}
,{"name": "k_eEVRHMDType_Dell_Unknown","value": "60"}
,{"name": "k_eEVRHMDType_Dell_Visor","value": "61"}
,{"name": "k_eEVRHMDType_Lenovo_Unknown","value": "70"}
,{"name": "k_eEVRHMDType_Lenovo_Explorer","value": "71"}
,{"name": "k_eEVRHMDType_HP_Unknown","value": "80"}
,{"name": "k_eEVRHMDType_HP_WindowsMR","value": "81"}
,{"name": "k_eEVRHMDType_Samsung_Unknown","value": "90"}
,{"name": "k_eEVRHMDType_Samsung_Odyssey","value": "91"}
,{"name": "k_eEVRHMDType_Unannounced_Unknown","value": "100"}
,{"name": "k_eEVRHMDType_Unannounced_WindowsMR","value": "101"}
]}
, {"enumname": "CGameID::EGameIDType","values": [
{"name": "k_EGameIDTypeApp","value": "0"}
@ -791,7 +811,9 @@
,{"name": "k_EControllerSource_CenterTrackpad","value": "9"}
,{"name": "k_EControllerSource_RightJoystick","value": "10"}
,{"name": "k_EControllerSource_DPad","value": "11"}
,{"name": "k_EControllerSource_Count","value": "12"}
,{"name": "k_EControllerSource_Key","value": "12"}
,{"name": "k_EControllerSource_Mouse","value": "13"}
,{"name": "k_EControllerSource_Count","value": "14"}
]}
, {"enumname": "EControllerSourceMode","values": [
{"name": "k_EControllerSourceMode_None","value": "0"}
@ -1015,6 +1037,14 @@
{"name": "k_ESteamControllerLEDFlag_SetColor","value": "0"}
,{"name": "k_ESteamControllerLEDFlag_RestoreUserDefault","value": "1"}
]}
, {"enumname": "ESteamInputType","values": [
{"name": "k_ESteamInputType_Unknown","value": "0"}
,{"name": "k_ESteamInputType_SteamController","value": "1"}
,{"name": "k_ESteamInputType_XBox360Controller","value": "2"}
,{"name": "k_ESteamInputType_XBoxOneController","value": "3"}
,{"name": "k_ESteamInputType_GenericXInput","value": "4"}
,{"name": "k_ESteamInputType_PS4Controller","value": "5"}
]}
, {"enumname": "EUGCMatchingUGCType","values": [
{"name": "k_EUGCMatchingUGCType_Items","value": "0"}
,{"name": "k_EUGCMatchingUGCType_Items_Mtx","value": "1"}
@ -1172,6 +1202,22 @@
,{"name": "k_ESteamItemRemoved","value": "256"}
,{"name": "k_ESteamItemConsumed","value": "512"}
]}
, {"enumname": "EParentalFeature","values": [
{"name": "k_EFeatureInvalid","value": "0"}
,{"name": "k_EFeatureStore","value": "1"}
,{"name": "k_EFeatureCommunity","value": "2"}
,{"name": "k_EFeatureProfile","value": "3"}
,{"name": "k_EFeatureFriends","value": "4"}
,{"name": "k_EFeatureNews","value": "5"}
,{"name": "k_EFeatureTrading","value": "6"}
,{"name": "k_EFeatureSettings","value": "7"}
,{"name": "k_EFeatureConsole","value": "8"}
,{"name": "k_EFeatureBrowser","value": "9"}
,{"name": "k_EFeatureParentalSetup","value": "10"}
,{"name": "k_EFeatureLibrary","value": "11"}
,{"name": "k_EFeatureTest","value": "12"}
,{"name": "k_EFeatureMax","value": "13"}
]}
],
"consts":[{
"constname": "k_iSteamUserCallbacks","consttype": "int", "constval": "100"}
@ -1269,6 +1315,12 @@
"constname": "k_iClientInventoryCallbacks","consttype": "int", "constval": "4700"}
,{
"constname": "k_iClientBluetoothManagerCallbacks","consttype": "int", "constval": "4800"}
,{
"constname": "k_iClientSharedConnectionCallbacks","consttype": "int", "constval": "4900"}
,{
"constname": "k_ISteamParentalSettingsCallbacks","consttype": "int", "constval": "5000"}
,{
"constname": "k_iClientShaderCallbacks","consttype": "int", "constval": "5100"}
,{
"constname": "k_cchPersonaNameMax","consttype": "int", "constval": "128"}
,{
@ -1285,8 +1337,6 @@
"constname": "k_cchLeaderboardNameMax","consttype": "int", "constval": "128"}
,{
"constname": "k_cLeaderboardDetailsMax","consttype": "int", "constval": "64"}
,{
"constname": "k_InvalidUnifiedMessageHandle","consttype": "const ClientUnifiedMessageHandle", "constval": "0"}
,{
"constname": "k_SteamItemInstanceIDInvalid","consttype": "const SteamItemInstanceID_t", "constval": "18446744073709551615"}
,{
@ -1769,11 +1819,6 @@
{ "fieldname": "m_ulContextValue", "fieldtype": "uint64"},
{ "fieldname": "m_cOffset", "fieldtype": "uint32"},
{ "fieldname": "m_cBytesReceived", "fieldtype": "uint32"}]}
,{"struct": "SteamUnifiedMessagesSendMethodResult_t","fields": [
{ "fieldname": "m_hHandle", "fieldtype": "ClientUnifiedMessageHandle"},
{ "fieldname": "m_unContext", "fieldtype": "uint64"},
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_unResponseSize", "fieldtype": "uint32"}]}
,{"struct": "ControllerAnalogActionData_t","fields": [
{ "fieldname": "eMode", "fieldtype": "enum EControllerSourceMode"},
{ "fieldname": "x", "fieldtype": "float"},
@ -1835,7 +1880,8 @@
{ "fieldname": "m_bUserNeedsToAcceptWorkshopLegalAgreement", "fieldtype": "_Bool"}]}
,{"struct": "SubmitItemUpdateResult_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_bUserNeedsToAcceptWorkshopLegalAgreement", "fieldtype": "_Bool"}]}
{ "fieldname": "m_bUserNeedsToAcceptWorkshopLegalAgreement", "fieldtype": "_Bool"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"}]}
,{"struct": "DownloadItemResult_t","fields": [
{ "fieldname": "m_unAppID", "fieldtype": "AppId_t"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
@ -1866,6 +1912,23 @@
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_nChildPublishedFileId", "fieldtype": "PublishedFileId_t"}]}
,{"struct": "AddAppDependencyResult_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_nAppID", "fieldtype": "AppId_t"}]}
,{"struct": "RemoveAppDependencyResult_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_nAppID", "fieldtype": "AppId_t"}]}
,{"struct": "GetAppDependenciesResult_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"},
{ "fieldname": "m_rgAppIDs", "fieldtype": "AppId_t [32]"},
{ "fieldname": "m_nNumAppDependencies", "fieldtype": "uint32"},
{ "fieldname": "m_nTotalNumAppDependencies", "fieldtype": "uint32"}]}
,{"struct": "DeleteItemResult_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EResult"},
{ "fieldname": "m_nPublishedFileId", "fieldtype": "PublishedFileId_t"}]}
,{"struct": "SteamAppInstalled_t","fields": [
{ "fieldname": "m_nAppID", "fieldtype": "AppId_t"}]}
,{"struct": "SteamAppUninstalled_t","fields": [
@ -1971,6 +2034,9 @@
{ "fieldname": "pchMsg", "fieldtype": "const char *"}]}
,{"struct": "HTML_HideToolTip_t","fields": [
{ "fieldname": "unBrowserHandle", "fieldtype": "HHTMLBrowser"}]}
,{"struct": "HTML_BrowserRestarted_t","fields": [
{ "fieldname": "unBrowserHandle", "fieldtype": "HHTMLBrowser"},
{ "fieldname": "unOldBrowserHandle", "fieldtype": "HHTMLBrowser"}]}
,{"struct": "SteamItemDetails_t","fields": [
{ "fieldname": "m_itemId", "fieldtype": "SteamItemInstanceID_t"},
{ "fieldname": "m_iDefinition", "fieldtype": "SteamItemDef_t"},
@ -1986,6 +2052,13 @@
{ "fieldname": "m_steamID", "fieldtype": "class CSteamID"},
{ "fieldname": "m_numEligiblePromoItemDefs", "fieldtype": "int"},
{ "fieldname": "m_bCachedData", "fieldtype": "_Bool"}]}
,{"struct": "SteamInventoryStartPurchaseResult_t","fields": [
{ "fieldname": "m_result", "fieldtype": "enum EResult"},
{ "fieldname": "m_ulOrderID", "fieldtype": "uint64"},
{ "fieldname": "m_ulTransID", "fieldtype": "uint64"}]}
,{"struct": "SteamInventoryRequestPricesResult_t","fields": [
{ "fieldname": "m_result", "fieldtype": "enum EResult"},
{ "fieldname": "m_rgchCurrency", "fieldtype": "char [4]"}]}
,{"struct": "BroadcastUploadStop_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EBroadcastUploadResult"}]}
,{"struct": "GetVideoURLResult_t","fields": [
@ -2008,7 +2081,6 @@
{ "fieldname": "m_pSteamRemoteStorage", "fieldtype": "class ISteamRemoteStorage *"},
{ "fieldname": "m_pSteamScreenshots", "fieldtype": "class ISteamScreenshots *"},
{ "fieldname": "m_pSteamHTTP", "fieldtype": "class ISteamHTTP *"},
{ "fieldname": "m_pSteamUnifiedMessages", "fieldtype": "class ISteamUnifiedMessages *"},
{ "fieldname": "m_pController", "fieldtype": "class ISteamController *"},
{ "fieldname": "m_pSteamUGC", "fieldtype": "class ISteamUGC *"},
{ "fieldname": "m_pSteamAppList", "fieldtype": "class ISteamAppList *"},
@ -2016,7 +2088,8 @@
{ "fieldname": "m_pSteamMusicRemote", "fieldtype": "class ISteamMusicRemote *"},
{ "fieldname": "m_pSteamHTMLSurface", "fieldtype": "class ISteamHTMLSurface *"},
{ "fieldname": "m_pSteamInventory", "fieldtype": "class ISteamInventory *"},
{ "fieldname": "m_pSteamVideo", "fieldtype": "class ISteamVideo *"}]}
{ "fieldname": "m_pSteamVideo", "fieldtype": "class ISteamVideo *"},
{ "fieldname": "m_pSteamParentalSettings", "fieldtype": "class ISteamParentalSettings *"}]}
,{"struct": "CCallbackBase","fields": [
{ "fieldname": "m_nCallbackFlags", "fieldtype": "uint8"},
{ "fieldname": "m_iCallback", "fieldtype": "int"}]}
@ -2283,16 +2356,6 @@
{ "paramname": "pchVersion" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamClient",
"methodname": "GetISteamUnifiedMessages",
"returntype": "class ISteamUnifiedMessages *",
"params": [
{ "paramname": "hSteamuser" ,"paramtype": "HSteamUser"},
{ "paramname": "hSteamPipe" ,"paramtype": "HSteamPipe"},
{ "paramname": "pchVersion" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamClient",
"methodname": "GetISteamController",
@ -2373,6 +2436,16 @@
{ "paramname": "pchVersion" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamClient",
"methodname": "GetISteamParentalSettings",
"returntype": "class ISteamParentalSettings *",
"params": [
{ "paramname": "hSteamuser" ,"paramtype": "HSteamUser"},
{ "paramname": "hSteamPipe" ,"paramtype": "HSteamPipe"},
{ "paramname": "pchVersion" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamUser",
"methodname": "GetHSteamUser",
@ -3177,6 +3250,22 @@
{ "paramname": "unStartIndex" ,"paramtype": "uint32"}
]
}
,{
"classname": "ISteamFriends",
"methodname": "IsClanPublic",
"returntype": "bool",
"params": [
{ "paramname": "steamIDClan" ,"paramtype": "class CSteamID"}
]
}
,{
"classname": "ISteamFriends",
"methodname": "IsClanOfficialGameGroup",
"returntype": "bool",
"params": [
{ "paramname": "steamIDClan" ,"paramtype": "class CSteamID"}
]
}
,{
"classname": "ISteamUtils",
"methodname": "GetSecondsSinceAppActive",
@ -5829,56 +5918,6 @@
{ "paramname": "pbWasTimedOut" ,"paramtype": "bool *"}
]
}
,{
"classname": "ISteamUnifiedMessages",
"methodname": "SendMethod",
"returntype": "ClientUnifiedMessageHandle",
"params": [
{ "paramname": "pchServiceMethod" ,"paramtype": "const char *"},
{ "paramname": "pRequestBuffer" ,"paramtype": "const void *"},
{ "paramname": "unRequestBufferSize" ,"paramtype": "uint32"},
{ "paramname": "unContext" ,"paramtype": "uint64"}
]
}
,{
"classname": "ISteamUnifiedMessages",
"methodname": "GetMethodResponseInfo",
"returntype": "bool",
"params": [
{ "paramname": "hHandle" ,"paramtype": "ClientUnifiedMessageHandle"},
{ "paramname": "punResponseSize" ,"paramtype": "uint32 *"},
{ "paramname": "peResult" ,"paramtype": "EResult *"}
]
}
,{
"classname": "ISteamUnifiedMessages",
"methodname": "GetMethodResponseData",
"returntype": "bool",
"params": [
{ "paramname": "hHandle" ,"paramtype": "ClientUnifiedMessageHandle"},
{ "paramname": "pResponseBuffer" ,"paramtype": "void *"},
{ "paramname": "unResponseBufferSize" ,"paramtype": "uint32"},
{ "paramname": "bAutoRelease" ,"paramtype": "bool"}
]
}
,{
"classname": "ISteamUnifiedMessages",
"methodname": "ReleaseMethod",
"returntype": "bool",
"params": [
{ "paramname": "hHandle" ,"paramtype": "ClientUnifiedMessageHandle"}
]
}
,{
"classname": "ISteamUnifiedMessages",
"methodname": "SendNotification",
"returntype": "bool",
"params": [
{ "paramname": "pchServiceNotification" ,"paramtype": "const char *"},
{ "paramname": "pNotificationBuffer" ,"paramtype": "const void *"},
{ "paramname": "unNotificationBufferSize" ,"paramtype": "uint32"}
]
}
,{
"classname": "ISteamController",
"methodname": "Init",
@ -5935,6 +5974,41 @@
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"}
]
}
,{
"classname": "ISteamController",
"methodname": "ActivateActionSetLayer",
"returntype": "void",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"},
{ "paramname": "actionSetLayerHandle" ,"paramtype": "ControllerActionSetHandle_t"}
]
}
,{
"classname": "ISteamController",
"methodname": "DeactivateActionSetLayer",
"returntype": "void",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"},
{ "paramname": "actionSetLayerHandle" ,"paramtype": "ControllerActionSetHandle_t"}
]
}
,{
"classname": "ISteamController",
"methodname": "DeactivateAllActionSetLayers",
"returntype": "void",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"}
]
}
,{
"classname": "ISteamController",
"methodname": "GetActiveActionSetLayers",
"returntype": "int",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"},
{ "paramname": "handlesOut" ,"paramtype": "ControllerActionSetHandle_t *"}
]
}
,{
"classname": "ISteamController",
"methodname": "GetDigitalActionHandle",
@ -6109,6 +6183,14 @@
{ "paramname": "eOrigin" ,"paramtype": "EControllerActionOrigin"}
]
}
,{
"classname": "ISteamController",
"methodname": "GetInputTypeForHandle",
"returntype": "ESteamInputType",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "CreateQueryUserUGCRequest",
@ -6762,6 +6844,40 @@
{ "paramname": "nChildPublishedFileID" ,"paramtype": "PublishedFileId_t"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "AddAppDependency", "callresult": "AddAppDependencyResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "nPublishedFileID" ,"paramtype": "PublishedFileId_t"},
{ "paramname": "nAppID" ,"paramtype": "AppId_t"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "RemoveAppDependency", "callresult": "RemoveAppDependencyResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "nPublishedFileID" ,"paramtype": "PublishedFileId_t"},
{ "paramname": "nAppID" ,"paramtype": "AppId_t"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "GetAppDependencies", "callresult": "GetAppDependenciesResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "nPublishedFileID" ,"paramtype": "PublishedFileId_t"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "DeleteItem", "callresult": "DeleteItemResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "nPublishedFileID" ,"paramtype": "PublishedFileId_t"}
]
}
,{
"classname": "ISteamAppList",
"methodname": "GetNumInstalledApps",
@ -7097,6 +7213,15 @@
{ "paramname": "bBackgroundMode" ,"paramtype": "bool"}
]
}
,{
"classname": "ISteamHTMLSurface",
"methodname": "SetDPIScalingFactor",
"returntype": "void",
"params": [
{ "paramname": "unBrowserHandle" ,"paramtype": "HHTMLBrowser"},
{ "paramname": "flDPIScaling" ,"paramtype": "float"}
]
}
,{
"classname": "ISteamHTMLSurface",
"methodname": "AllowStartRequest",
@ -7354,6 +7479,113 @@
{ "paramname": "punItemDefIDsArraySize" ,"desc": "Size of array is passed in and actual size used is returned in this param" ,"paramtype": "uint32 *"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "StartPurchase", "callresult": "SteamInventoryStartPurchaseResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "pArrayItemDefs" ,"array_count": "unArrayLength" ,"paramtype": "const SteamItemDef_t *"},
{ "paramname": "punArrayQuantity" ,"array_count": "unArrayLength" ,"paramtype": "const uint32 *"},
{ "paramname": "unArrayLength" ,"paramtype": "uint32"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "RequestPrices", "callresult": "SteamInventoryRequestPricesResult_t",
"returntype": "SteamAPICall_t"
}
,{
"classname": "ISteamInventory",
"methodname": "GetNumItemsWithPrices",
"returntype": "uint32"
}
,{
"classname": "ISteamInventory",
"methodname": "GetItemsWithPrices",
"returntype": "bool",
"params": [
{ "paramname": "pArrayItemDefs" ,"out_array_count": "pArrayItemDefs" ,"desc": "Items with prices" ,"paramtype": "SteamItemDef_t *"},
{ "paramname": "pPrices" ,"out_array_count": "pPrices" ,"desc": "List of prices for the given item defs" ,"paramtype": "uint64 *"},
{ "paramname": "unArrayLength" ,"paramtype": "uint32"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "GetItemPrice",
"returntype": "bool",
"params": [
{ "paramname": "iDefinition" ,"paramtype": "SteamItemDef_t"},
{ "paramname": "pPrice" ,"paramtype": "uint64 *"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "StartUpdateProperties",
"returntype": "SteamInventoryUpdateHandle_t"
}
,{
"classname": "ISteamInventory",
"methodname": "RemoveProperty",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "SteamInventoryUpdateHandle_t"},
{ "paramname": "nItemID" ,"paramtype": "SteamItemInstanceID_t"},
{ "paramname": "pchPropertyName" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "SetProperty",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "SteamInventoryUpdateHandle_t"},
{ "paramname": "nItemID" ,"paramtype": "SteamItemInstanceID_t"},
{ "paramname": "pchPropertyName" ,"paramtype": "const char *"},
{ "paramname": "pchPropertyValue" ,"paramtype": "const char *"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "SetProperty",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "SteamInventoryUpdateHandle_t"},
{ "paramname": "nItemID" ,"paramtype": "SteamItemInstanceID_t"},
{ "paramname": "pchPropertyName" ,"paramtype": "const char *"},
{ "paramname": "bValue" ,"paramtype": "bool"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "SetProperty",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "SteamInventoryUpdateHandle_t"},
{ "paramname": "nItemID" ,"paramtype": "SteamItemInstanceID_t"},
{ "paramname": "pchPropertyName" ,"paramtype": "const char *"},
{ "paramname": "nValue" ,"paramtype": "int64"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "SetProperty",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "SteamInventoryUpdateHandle_t"},
{ "paramname": "nItemID" ,"paramtype": "SteamItemInstanceID_t"},
{ "paramname": "pchPropertyName" ,"paramtype": "const char *"},
{ "paramname": "flValue" ,"paramtype": "float"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "SubmitUpdateProperties",
"returntype": "bool",
"params": [
{ "paramname": "handle" ,"paramtype": "SteamInventoryUpdateHandle_t"},
{ "paramname": "pResultHandle" ,"paramtype": "SteamInventoryResult_t *"}
]
}
,{
"classname": "ISteamVideo",
"methodname": "GetVideoURL",
@ -7388,6 +7620,48 @@
{ "paramname": "pnBufferSize" ,"paramtype": "int32 *"}
]
}
,{
"classname": "ISteamParentalSettings",
"methodname": "BIsParentalLockEnabled",
"returntype": "bool"
}
,{
"classname": "ISteamParentalSettings",
"methodname": "BIsParentalLockLocked",
"returntype": "bool"
}
,{
"classname": "ISteamParentalSettings",
"methodname": "BIsAppBlocked",
"returntype": "bool",
"params": [
{ "paramname": "nAppID" ,"paramtype": "AppId_t"}
]
}
,{
"classname": "ISteamParentalSettings",
"methodname": "BIsAppInBlockList",
"returntype": "bool",
"params": [
{ "paramname": "nAppID" ,"paramtype": "AppId_t"}
]
}
,{
"classname": "ISteamParentalSettings",
"methodname": "BIsFeatureBlocked",
"returntype": "bool",
"params": [
{ "paramname": "eFeature" ,"paramtype": "EParentalFeature"}
]
}
,{
"classname": "ISteamParentalSettings",
"methodname": "BIsFeatureInBlockList",
"returntype": "bool",
"params": [
{ "paramname": "eFeature" ,"paramtype": "EParentalFeature"}
]
}
,{
"classname": "ISteamGameServer",
"methodname": "InitGameServer",

View File

@ -41,6 +41,7 @@ typedef uint64 SteamAPICall_t;
typedef uint32 AccountID_t;
typedef uint32 PartnerId_t;
typedef uint64 ManifestId_t;
typedef uint64 SiteId_t;
typedef uint32 HAuthTicket;
typedef void * BREAKPAD_HANDLE;
typedef char compile_time_assert_type[1];
@ -61,7 +62,6 @@ typedef uint32 SNetListenSocket_t;
typedef uint32 ScreenshotHandle;
typedef uint32 HTTPRequestHandle;
typedef uint32 HTTPCookieContainerHandle;
typedef uint64 ClientUnifiedMessageHandle;
typedef uint64 ControllerHandle_t;
typedef uint64 ControllerActionSetHandle_t;
typedef uint64 ControllerDigitalActionHandle_t;
@ -72,6 +72,7 @@ typedef uint32 HHTMLBrowser;
typedef uint64 SteamItemInstanceID_t;
typedef int32 SteamItemDef_t;
typedef int32 SteamInventoryResult_t;
typedef uint64 SteamInventoryUpdateHandle_t;
// OpenVR Constants
int const_k_iSteamUserCallbacks = 100;
int const_k_iSteamGameServerCallbacks = 200;
@ -121,6 +122,9 @@ int const_k_iSteamHTMLSurfaceCallbacks = 4500;
int const_k_iClientVideoCallbacks = 4600;
int const_k_iClientInventoryCallbacks = 4700;
int const_k_iClientBluetoothManagerCallbacks = 4800;
int const_k_iClientSharedConnectionCallbacks = 4900;
int const_k_ISteamParentalSettingsCallbacks = 5000;
int const_k_iClientShaderCallbacks = 5100;
int const_k_cchPersonaNameMax = 128;
int const_k_cwchPersonaNameMax = 32;
int const_k_cchMaxRichPresenceKeys = 20;
@ -129,7 +133,6 @@ int const_k_cchMaxRichPresenceValueLength = 256;
int const_k_cchStatNameMax = 128;
int const_k_cchLeaderboardNameMax = 128;
int const_k_cLeaderboardDetailsMax = 64;
unsigned long const_k_InvalidUnifiedMessageHandle = 0;
unsigned long const_k_SteamItemInstanceIDInvalid = 0xffffffff;
int const_k_SteamInventoryResultInvalid = -1;
@ -163,7 +166,6 @@ S_API uint32 SteamAPI_ISteamClient_GetIPCCallCount(intptr_t instancePtr);
S_API void SteamAPI_ISteamClient_SetWarningMessageHook(intptr_t instancePtr, SteamAPIWarningMessageHook_t pFunction);
S_API bool SteamAPI_ISteamClient_BShutdownIfAllPipesClosed(intptr_t instancePtr);
S_API class ISteamHTTP * SteamAPI_ISteamClient_GetISteamHTTP(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamUnifiedMessages * SteamAPI_ISteamClient_GetISteamUnifiedMessages(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamController * SteamAPI_ISteamClient_GetISteamController(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamUGC * SteamAPI_ISteamClient_GetISteamUGC(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamAppList * SteamAPI_ISteamClient_GetISteamAppList(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion);
@ -172,6 +174,7 @@ S_API class ISteamMusicRemote * SteamAPI_ISteamClient_GetISteamMusicRemote(intpt
S_API class ISteamHTMLSurface * SteamAPI_ISteamClient_GetISteamHTMLSurface(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamInventory * SteamAPI_ISteamClient_GetISteamInventory(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamVideo * SteamAPI_ISteamClient_GetISteamVideo(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API class ISteamParentalSettings * SteamAPI_ISteamClient_GetISteamParentalSettings(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion);
S_API HSteamUser SteamAPI_ISteamUser_GetHSteamUser(intptr_t instancePtr);
S_API bool SteamAPI_ISteamUser_BLoggedOn(intptr_t instancePtr);
S_API uint64 SteamAPI_ISteamUser_GetSteamID(intptr_t instancePtr);
@ -271,6 +274,8 @@ S_API int SteamAPI_ISteamFriends_GetFriendMessage(intptr_t instancePtr, class CS
S_API SteamAPICall_t SteamAPI_ISteamFriends_GetFollowerCount(intptr_t instancePtr, class CSteamID steamID);
S_API SteamAPICall_t SteamAPI_ISteamFriends_IsFollowing(intptr_t instancePtr, class CSteamID steamID);
S_API SteamAPICall_t SteamAPI_ISteamFriends_EnumerateFollowingList(intptr_t instancePtr, uint32 unStartIndex);
S_API bool SteamAPI_ISteamFriends_IsClanPublic(intptr_t instancePtr, class CSteamID steamIDClan);
S_API bool SteamAPI_ISteamFriends_IsClanOfficialGameGroup(intptr_t instancePtr, class CSteamID steamIDClan);
S_API uint32 SteamAPI_ISteamUtils_GetSecondsSinceAppActive(intptr_t instancePtr);
S_API uint32 SteamAPI_ISteamUtils_GetSecondsSinceComputerActive(intptr_t instancePtr);
S_API EUniverse SteamAPI_ISteamUtils_GetConnectedUniverse(intptr_t instancePtr);
@ -587,11 +592,6 @@ S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo(intptr_t instancePtr,
S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate(intptr_t instancePtr, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate);
S_API bool SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS(intptr_t instancePtr, HTTPRequestHandle hRequest, uint32 unMilliseconds);
S_API bool SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut(intptr_t instancePtr, HTTPRequestHandle hRequest, bool * pbWasTimedOut);
S_API ClientUnifiedMessageHandle SteamAPI_ISteamUnifiedMessages_SendMethod(intptr_t instancePtr, const char * pchServiceMethod, const void * pRequestBuffer, uint32 unRequestBufferSize, uint64 unContext);
S_API bool SteamAPI_ISteamUnifiedMessages_GetMethodResponseInfo(intptr_t instancePtr, ClientUnifiedMessageHandle hHandle, uint32 * punResponseSize, EResult * peResult);
S_API bool SteamAPI_ISteamUnifiedMessages_GetMethodResponseData(intptr_t instancePtr, ClientUnifiedMessageHandle hHandle, void * pResponseBuffer, uint32 unResponseBufferSize, bool bAutoRelease);
S_API bool SteamAPI_ISteamUnifiedMessages_ReleaseMethod(intptr_t instancePtr, ClientUnifiedMessageHandle hHandle);
S_API bool SteamAPI_ISteamUnifiedMessages_SendNotification(intptr_t instancePtr, const char * pchServiceNotification, const void * pNotificationBuffer, uint32 unNotificationBufferSize);
S_API bool SteamAPI_ISteamController_Init(intptr_t instancePtr);
S_API bool SteamAPI_ISteamController_Shutdown(intptr_t instancePtr);
S_API void SteamAPI_ISteamController_RunFrame(intptr_t instancePtr);
@ -600,6 +600,10 @@ S_API bool SteamAPI_ISteamController_ShowBindingPanel(intptr_t instancePtr, Cont
S_API ControllerActionSetHandle_t SteamAPI_ISteamController_GetActionSetHandle(intptr_t instancePtr, const char * pszActionSetName);
S_API void SteamAPI_ISteamController_ActivateActionSet(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle);
S_API ControllerActionSetHandle_t SteamAPI_ISteamController_GetCurrentActionSet(intptr_t instancePtr, ControllerHandle_t controllerHandle);
S_API void SteamAPI_ISteamController_ActivateActionSetLayer(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle);
S_API void SteamAPI_ISteamController_DeactivateActionSetLayer(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle);
S_API void SteamAPI_ISteamController_DeactivateAllActionSetLayers(intptr_t instancePtr, ControllerHandle_t controllerHandle);
S_API int SteamAPI_ISteamController_GetActiveActionSetLayers(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut);
S_API ControllerDigitalActionHandle_t SteamAPI_ISteamController_GetDigitalActionHandle(intptr_t instancePtr, const char * pszActionName);
S_API struct ControllerDigitalActionData_t SteamAPI_ISteamController_GetDigitalActionData(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle);
S_API int SteamAPI_ISteamController_GetDigitalActionOrigins(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut);
@ -618,6 +622,7 @@ S_API bool SteamAPI_ISteamController_ShowDigitalActionOrigins(intptr_t instanceP
S_API bool SteamAPI_ISteamController_ShowAnalogActionOrigins(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition);
S_API const char * SteamAPI_ISteamController_GetStringForActionOrigin(intptr_t instancePtr, EControllerActionOrigin eOrigin);
S_API const char * SteamAPI_ISteamController_GetGlyphForActionOrigin(intptr_t instancePtr, EControllerActionOrigin eOrigin);
S_API ESteamInputType SteamAPI_ISteamController_GetInputTypeForHandle(intptr_t instancePtr, ControllerHandle_t controllerHandle);
S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(intptr_t instancePtr, AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage);
S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryAllUGCRequest(intptr_t instancePtr, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage);
S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(intptr_t instancePtr, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs);
@ -688,6 +693,10 @@ S_API SteamAPICall_t SteamAPI_ISteamUGC_StopPlaytimeTracking(intptr_t instancePt
S_API SteamAPICall_t SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems(intptr_t instancePtr);
S_API SteamAPICall_t SteamAPI_ISteamUGC_AddDependency(intptr_t instancePtr, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveDependency(intptr_t instancePtr, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_AddAppDependency(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, AppId_t nAppID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_RemoveAppDependency(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, AppId_t nAppID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_GetAppDependencies(intptr_t instancePtr, PublishedFileId_t nPublishedFileID);
S_API SteamAPICall_t SteamAPI_ISteamUGC_DeleteItem(intptr_t instancePtr, PublishedFileId_t nPublishedFileID);
S_API uint32 SteamAPI_ISteamAppList_GetNumInstalledApps(intptr_t instancePtr);
S_API uint32 SteamAPI_ISteamAppList_GetInstalledApps(intptr_t instancePtr, AppId_t * pvecAppID, uint32 unMaxAppIDs);
S_API int SteamAPI_ISteamAppList_GetAppName(intptr_t instancePtr, AppId_t nAppID, char * pchName, int cchNameMax);
@ -726,6 +735,7 @@ S_API void SteamAPI_ISteamHTMLSurface_GetLinkAtPosition(intptr_t instancePtr, HH
S_API void SteamAPI_ISteamHTMLSurface_SetCookie(intptr_t instancePtr, const char * pchHostname, const char * pchKey, const char * pchValue, const char * pchPath, RTime32 nExpires, bool bSecure, bool bHTTPOnly);
S_API void SteamAPI_ISteamHTMLSurface_SetPageScaleFactor(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY);
S_API void SteamAPI_ISteamHTMLSurface_SetBackgroundMode(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bBackgroundMode);
S_API void SteamAPI_ISteamHTMLSurface_SetDPIScalingFactor(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, float flDPIScaling);
S_API void SteamAPI_ISteamHTMLSurface_AllowStartRequest(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bAllowed);
S_API void SteamAPI_ISteamHTMLSurface_JSDialogResponse(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bResult);
S_API EResult SteamAPI_ISteamInventory_GetResultStatus(intptr_t instancePtr, SteamInventoryResult_t resultHandle);
@ -753,10 +763,28 @@ S_API bool SteamAPI_ISteamInventory_GetItemDefinitionIDs(intptr_t instancePtr, S
S_API bool SteamAPI_ISteamInventory_GetItemDefinitionProperty(intptr_t instancePtr, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut);
S_API SteamAPICall_t SteamAPI_ISteamInventory_RequestEligiblePromoItemDefinitionsIDs(intptr_t instancePtr, class CSteamID steamID);
S_API bool SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs(intptr_t instancePtr, class CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize);
S_API SteamAPICall_t SteamAPI_ISteamInventory_StartPurchase(intptr_t instancePtr, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength);
S_API SteamAPICall_t SteamAPI_ISteamInventory_RequestPrices(intptr_t instancePtr);
S_API uint32 SteamAPI_ISteamInventory_GetNumItemsWithPrices(intptr_t instancePtr);
S_API bool SteamAPI_ISteamInventory_GetItemsWithPrices(intptr_t instancePtr, SteamItemDef_t * pArrayItemDefs, uint64 * pPrices, uint32 unArrayLength);
S_API bool SteamAPI_ISteamInventory_GetItemPrice(intptr_t instancePtr, SteamItemDef_t iDefinition, uint64 * pPrice);
S_API SteamInventoryUpdateHandle_t SteamAPI_ISteamInventory_StartUpdateProperties(intptr_t instancePtr);
S_API bool SteamAPI_ISteamInventory_RemoveProperty(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName);
S_API bool SteamAPI_ISteamInventory_SetProperty(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue);
S_API bool SteamAPI_ISteamInventory_SetProperty0(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue);
S_API bool SteamAPI_ISteamInventory_SetProperty1(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue);
S_API bool SteamAPI_ISteamInventory_SetProperty2(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue);
S_API bool SteamAPI_ISteamInventory_SubmitUpdateProperties(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle);
S_API void SteamAPI_ISteamVideo_GetVideoURL(intptr_t instancePtr, AppId_t unVideoAppID);
S_API bool SteamAPI_ISteamVideo_IsBroadcasting(intptr_t instancePtr, int * pnNumViewers);
S_API void SteamAPI_ISteamVideo_GetOPFSettings(intptr_t instancePtr, AppId_t unVideoAppID);
S_API bool SteamAPI_ISteamVideo_GetOPFStringForApp(intptr_t instancePtr, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize);
S_API bool SteamAPI_ISteamParentalSettings_BIsParentalLockEnabled(intptr_t instancePtr);
S_API bool SteamAPI_ISteamParentalSettings_BIsParentalLockLocked(intptr_t instancePtr);
S_API bool SteamAPI_ISteamParentalSettings_BIsAppBlocked(intptr_t instancePtr, AppId_t nAppID);
S_API bool SteamAPI_ISteamParentalSettings_BIsAppInBlockList(intptr_t instancePtr, AppId_t nAppID);
S_API bool SteamAPI_ISteamParentalSettings_BIsFeatureBlocked(intptr_t instancePtr, EParentalFeature eFeature);
S_API bool SteamAPI_ISteamParentalSettings_BIsFeatureInBlockList(intptr_t instancePtr, EParentalFeature eFeature);
S_API bool SteamAPI_ISteamGameServer_InitGameServer(intptr_t instancePtr, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString);
S_API void SteamAPI_ISteamGameServer_SetProduct(intptr_t instancePtr, const char * pszProduct);
S_API void SteamAPI_ISteamGameServer_SetGameDescription(intptr_t instancePtr, const char * pszGameDescription);

View File

@ -44,7 +44,6 @@ inline ISteamNetworking *SteamNetworking() { return SteamInternal_ModuleCont
inline ISteamRemoteStorage *SteamRemoteStorage() { return SteamInternal_ModuleContext().SteamRemoteStorage(); }
inline ISteamScreenshots *SteamScreenshots() { return SteamInternal_ModuleContext().SteamScreenshots(); }
inline ISteamHTTP *SteamHTTP() { return SteamInternal_ModuleContext().SteamHTTP(); }
inline ISteamUnifiedMessages *SteamUnifiedMessages() { return SteamInternal_ModuleContext().SteamUnifiedMessages(); }
inline ISteamController *SteamController() { return SteamInternal_ModuleContext().SteamController(); }
inline ISteamUGC *SteamUGC() { return SteamInternal_ModuleContext().SteamUGC(); }
inline ISteamAppList *SteamAppList() { return SteamInternal_ModuleContext().SteamAppList(); }
@ -53,6 +52,7 @@ inline ISteamMusicRemote *SteamMusicRemote() { return SteamInternal_ModuleCon
inline ISteamHTMLSurface *SteamHTMLSurface() { return SteamInternal_ModuleContext().SteamHTMLSurface(); }
inline ISteamInventory *SteamInventory() { return SteamInternal_ModuleContext().SteamInventory(); }
inline ISteamVideo *SteamVideo() { return SteamInternal_ModuleContext().SteamVideo(); }
inline ISteamParentalSettings *SteamParentalSettings() { return SteamInternal_ModuleContext().SteamParentalSettings(); }
#endif // !defined( STEAM_API_EXPORTS )
@ -72,7 +72,6 @@ inline void CSteamAPIContext::Clear()
m_pSteamHTTP = NULL;
m_pSteamScreenshots = NULL;
m_pSteamMusic = NULL;
m_pSteamUnifiedMessages = NULL;
m_pController = NULL;
m_pSteamUGC = NULL;
m_pSteamAppList = NULL;
@ -80,6 +79,8 @@ inline void CSteamAPIContext::Clear()
m_pSteamMusicRemote = NULL;
m_pSteamHTMLSurface = NULL;
m_pSteamInventory = NULL;
m_pSteamVideo = NULL;
m_pSteamParentalSettings = NULL;
}
@ -139,10 +140,6 @@ inline bool CSteamAPIContext::Init()
if ( !m_pSteamHTTP )
return false;
m_pSteamUnifiedMessages = m_pSteamClient->GetISteamUnifiedMessages( hSteamUser, hSteamPipe, STEAMUNIFIEDMESSAGES_INTERFACE_VERSION );
if ( !m_pSteamUnifiedMessages )
return false;
m_pController = m_pSteamClient->GetISteamController( hSteamUser, hSteamPipe, STEAMCONTROLLER_INTERFACE_VERSION );
if ( !m_pController )
return false;
@ -175,6 +172,10 @@ inline bool CSteamAPIContext::Init()
if ( !m_pSteamVideo )
return false;
m_pSteamParentalSettings = m_pSteamClient->GetISteamParentalSettings( hSteamUser, hSteamPipe, STEAMPARENTALSETTINGS_INTERFACE_VERSION );
if ( !m_pSteamParentalSettings )
return false;
return true;
}

File diff suppressed because it is too large Load Diff

View File

@ -133,6 +133,10 @@ enum EResult
k_EResultGSLTExpired = 106, // this token has expired from disuse; can be reset for use
k_EResultInsufficientFunds = 107, // user doesn't have enough wallet funds to complete the action
k_EResultTooManyPending = 108, // There are too many of this thing pending already
k_EResultNoSiteLicensesFound = 109, // No site licenses found
k_EResultWGNetworkSendExceeded = 110, // the WG couldn't send a response because we exceeded max network send size
k_EResultAccountNotFriends = 111, // the user is not mutually friends
k_EResultLimitedUserAccount = 112, // the user is limited
};
// Error codes for use with the voice functions
@ -275,6 +279,7 @@ enum EAppOwnershipFlags
//-----------------------------------------------------------------------------
// Purpose: designed as flags to allow filters masks
// NOTE: If you add to this, please update PackageAppType (SteamConfig) as well as populatePackageAppType
//-----------------------------------------------------------------------------
enum EAppType
{
@ -294,6 +299,7 @@ enum EAppType
k_EAppType_Plugin = 0x1000, // Plug-in types for other Apps
k_EAppType_Music = 0x2000, // Music files
k_EAppType_Series = 0x4000, // Container app for video series
k_EAppType_Comic = 0x8000, // Comic Book
k_EAppType_Shortcut = 0x40000000, // just a shortcut, client side only
k_EAppType_DepotOnly = 0x80000000, // placeholder since depots and apps share the same namespace
@ -363,6 +369,7 @@ enum EChatRoomEnterResponse
// k_EChatRoomEnterResponseNoRankingDataLobby = 12, // No longer used
// k_EChatRoomEnterResponseNoRankingDataUser = 13, // No longer used
// k_EChatRoomEnterResponseRankOutOfRange = 14, // No longer used
k_EChatRoomEnterResponseRatelimitExceeded = 15, // Join failed - to many join attempts in a very short period of time
};
@ -504,6 +511,25 @@ enum EVRHMDType
k_eEVRHMDType_Oculus_Rift = 23, // Oculus rift
k_eEVRHMDType_Oculus_Unknown = 40, // // Oculus unknown HMD
k_eEVRHMDType_Acer_Unknown = 50, // Acer unknown HMD
k_eEVRHMDType_Acer_WindowsMR = 51, // Acer QHMD Windows MR headset
k_eEVRHMDType_Dell_Unknown = 60, // Dell unknown HMD
k_eEVRHMDType_Dell_Visor = 61, // Dell Visor Windows MR headset
k_eEVRHMDType_Lenovo_Unknown = 70, // Lenovo unknown HMD
k_eEVRHMDType_Lenovo_Explorer = 71, // Lenovo Explorer Windows MR headset
k_eEVRHMDType_HP_Unknown = 80, // HP unknown HMD
k_eEVRHMDType_HP_WindowsMR = 81, // HP Windows MR headset
k_eEVRHMDType_Samsung_Unknown = 90, // Samsung unknown HMD
k_eEVRHMDType_Samsung_Odyssey = 91, // Samsung Odyssey Windows MR headset
k_eEVRHMDType_Unannounced_Unknown = 100, // Unannounced unknown HMD
k_eEVRHMDType_Unannounced_WindowsMR = 101, // Unannounced Windows MR headset
};
@ -516,6 +542,15 @@ static inline bool BIsOculusHMD( EVRHMDType eType )
}
//-----------------------------------------------------------------------------
// Purpose: true if this is from a Windows MR HMD
//-----------------------------------------------------------------------------
static inline bool BIsWindowsMRHeadset( EVRHMDType eType )
{
return eType >= k_eEVRHMDType_Acer_WindowsMR && eType <= k_eEVRHMDType_Unannounced_WindowsMR;
}
//-----------------------------------------------------------------------------
// Purpose: true if this is from an Vive HMD
//-----------------------------------------------------------------------------

View File

@ -24,7 +24,7 @@ typedef unsigned char uint8;
#define POSIX 1
#endif
#if defined(__x86_64__) || defined(_WIN64)
#if defined(__x86_64__) || defined(_WIN64) || defined(__aarch64__)
#define X64BITS
#endif
@ -176,6 +176,9 @@ const PartnerId_t k_uPartnerIdInvalid = 0;
typedef uint64 ManifestId_t;
const ManifestId_t k_uManifestIdInvalid = 0;
// ID for cafe sites
typedef uint64 SiteId_t;
const SiteId_t k_ulSiteIdInvalid = 0;
#endif // STEAMTYPES_H