SteamSdk 139

This commit is contained in:
Garry Newman 2017-01-25 17:53:09 +00:00
parent d06f662e6c
commit f95c320469
25 changed files with 775 additions and 227 deletions

Binary file not shown.

Binary file not shown.

View File

@ -21,7 +21,7 @@
#define REFERENCE(arg) ((void)arg)
#endif
#if defined(STEAM_API_EXPORTS) && !defined(API_GEN)
#if ( defined(STEAM_API_EXPORTS) || defined(STEAM_API_NODLL) ) && !defined(API_GEN)
#define STEAM_PRIVATE_API( ... ) __VA_ARGS__
#elif defined(STEAM_API_EXPORTS) && defined(API_GEN)
#define STEAM_PRIVATE_API( ... )

View File

@ -43,6 +43,9 @@ enum EControllerSource
k_EControllerSource_LeftTrigger,
k_EControllerSource_RightTrigger,
k_EControllerSource_Gyro,
k_EControllerSource_CenterTrackpad, // PS4
k_EControllerSource_RightJoystick, // Traditional Controllers
k_EControllerSource_DPad, // Traditional Controllers
k_EControllerSource_Count
};
@ -55,6 +58,7 @@ enum EControllerSourceMode
k_EControllerSourceMode_AbsoluteMouse,
k_EControllerSourceMode_RelativeMouse,
k_EControllerSourceMode_JoystickMove,
k_EControllerSourceMode_JoystickMouse,
k_EControllerSourceMode_JoystickCamera,
k_EControllerSourceMode_ScrollWheel,
k_EControllerSourceMode_Trigger,
@ -67,6 +71,7 @@ enum EControllerSourceMode
enum EControllerActionOrigin
{
// Steam Controller
k_EControllerActionOrigin_None,
k_EControllerActionOrigin_A,
k_EControllerActionOrigin_B,
@ -107,9 +112,170 @@ enum EControllerActionOrigin
k_EControllerActionOrigin_Gyro_Yaw,
k_EControllerActionOrigin_Gyro_Roll,
// PS4 Dual Shock
k_EControllerActionOrigin_PS4_X,
k_EControllerActionOrigin_PS4_Circle,
k_EControllerActionOrigin_PS4_Triangle,
k_EControllerActionOrigin_PS4_Square,
k_EControllerActionOrigin_PS4_LeftBumper,
k_EControllerActionOrigin_PS4_RightBumper,
k_EControllerActionOrigin_PS4_Options, //Start
k_EControllerActionOrigin_PS4_Share, //Back
k_EControllerActionOrigin_PS4_LeftPad_Touch,
k_EControllerActionOrigin_PS4_LeftPad_Swipe,
k_EControllerActionOrigin_PS4_LeftPad_Click,
k_EControllerActionOrigin_PS4_LeftPad_DPadNorth,
k_EControllerActionOrigin_PS4_LeftPad_DPadSouth,
k_EControllerActionOrigin_PS4_LeftPad_DPadWest,
k_EControllerActionOrigin_PS4_LeftPad_DPadEast,
k_EControllerActionOrigin_PS4_RightPad_Touch,
k_EControllerActionOrigin_PS4_RightPad_Swipe,
k_EControllerActionOrigin_PS4_RightPad_Click,
k_EControllerActionOrigin_PS4_RightPad_DPadNorth,
k_EControllerActionOrigin_PS4_RightPad_DPadSouth,
k_EControllerActionOrigin_PS4_RightPad_DPadWest,
k_EControllerActionOrigin_PS4_RightPad_DPadEast,
k_EControllerActionOrigin_PS4_CenterPad_Touch,
k_EControllerActionOrigin_PS4_CenterPad_Swipe,
k_EControllerActionOrigin_PS4_CenterPad_Click,
k_EControllerActionOrigin_PS4_CenterPad_DPadNorth,
k_EControllerActionOrigin_PS4_CenterPad_DPadSouth,
k_EControllerActionOrigin_PS4_CenterPad_DPadWest,
k_EControllerActionOrigin_PS4_CenterPad_DPadEast,
k_EControllerActionOrigin_PS4_LeftTrigger_Pull,
k_EControllerActionOrigin_PS4_LeftTrigger_Click,
k_EControllerActionOrigin_PS4_RightTrigger_Pull,
k_EControllerActionOrigin_PS4_RightTrigger_Click,
k_EControllerActionOrigin_PS4_LeftStick_Move,
k_EControllerActionOrigin_PS4_LeftStick_Click,
k_EControllerActionOrigin_PS4_LeftStick_DPadNorth,
k_EControllerActionOrigin_PS4_LeftStick_DPadSouth,
k_EControllerActionOrigin_PS4_LeftStick_DPadWest,
k_EControllerActionOrigin_PS4_LeftStick_DPadEast,
k_EControllerActionOrigin_PS4_RightStick_Move,
k_EControllerActionOrigin_PS4_RightStick_Click,
k_EControllerActionOrigin_PS4_RightStick_DPadNorth,
k_EControllerActionOrigin_PS4_RightStick_DPadSouth,
k_EControllerActionOrigin_PS4_RightStick_DPadWest,
k_EControllerActionOrigin_PS4_RightStick_DPadEast,
k_EControllerActionOrigin_PS4_DPad_North,
k_EControllerActionOrigin_PS4_DPad_South,
k_EControllerActionOrigin_PS4_DPad_West,
k_EControllerActionOrigin_PS4_DPad_East,
k_EControllerActionOrigin_PS4_Gyro_Move,
k_EControllerActionOrigin_PS4_Gyro_Pitch,
k_EControllerActionOrigin_PS4_Gyro_Yaw,
k_EControllerActionOrigin_PS4_Gyro_Roll,
// XBox One
k_EControllerActionOrigin_XBoxOne_A,
k_EControllerActionOrigin_XBoxOne_B,
k_EControllerActionOrigin_XBoxOne_X,
k_EControllerActionOrigin_XBoxOne_Y,
k_EControllerActionOrigin_XBoxOne_LeftBumper,
k_EControllerActionOrigin_XBoxOne_RightBumper,
k_EControllerActionOrigin_XBoxOne_Menu, //Start
k_EControllerActionOrigin_XBoxOne_View, //Back
k_EControllerActionOrigin_XBoxOne_LeftTrigger_Pull,
k_EControllerActionOrigin_XBoxOne_LeftTrigger_Click,
k_EControllerActionOrigin_XBoxOne_RightTrigger_Pull,
k_EControllerActionOrigin_XBoxOne_RightTrigger_Click,
k_EControllerActionOrigin_XBoxOne_LeftStick_Move,
k_EControllerActionOrigin_XBoxOne_LeftStick_Click,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadNorth,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadSouth,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadWest,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadEast,
k_EControllerActionOrigin_XBoxOne_RightStick_Move,
k_EControllerActionOrigin_XBoxOne_RightStick_Click,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadNorth,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadSouth,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadWest,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadEast,
k_EControllerActionOrigin_XBoxOne_DPad_North,
k_EControllerActionOrigin_XBoxOne_DPad_South,
k_EControllerActionOrigin_XBoxOne_DPad_West,
k_EControllerActionOrigin_XBoxOne_DPad_East,
// XBox 360
k_EControllerActionOrigin_XBox360_A,
k_EControllerActionOrigin_XBox360_B,
k_EControllerActionOrigin_XBox360_X,
k_EControllerActionOrigin_XBox360_Y,
k_EControllerActionOrigin_XBox360_LeftBumper,
k_EControllerActionOrigin_XBox360_RightBumper,
k_EControllerActionOrigin_XBox360_Start, //Start
k_EControllerActionOrigin_XBox360_Back, //Back
k_EControllerActionOrigin_XBox360_LeftTrigger_Pull,
k_EControllerActionOrigin_XBox360_LeftTrigger_Click,
k_EControllerActionOrigin_XBox360_RightTrigger_Pull,
k_EControllerActionOrigin_XBox360_RightTrigger_Click,
k_EControllerActionOrigin_XBox360_LeftStick_Move,
k_EControllerActionOrigin_XBox360_LeftStick_Click,
k_EControllerActionOrigin_XBox360_LeftStick_DPadNorth,
k_EControllerActionOrigin_XBox360_LeftStick_DPadSouth,
k_EControllerActionOrigin_XBox360_LeftStick_DPadWest,
k_EControllerActionOrigin_XBox360_LeftStick_DPadEast,
k_EControllerActionOrigin_XBox360_RightStick_Move,
k_EControllerActionOrigin_XBox360_RightStick_Click,
k_EControllerActionOrigin_XBox360_RightStick_DPadNorth,
k_EControllerActionOrigin_XBox360_RightStick_DPadSouth,
k_EControllerActionOrigin_XBox360_RightStick_DPadWest,
k_EControllerActionOrigin_XBox360_RightStick_DPadEast,
k_EControllerActionOrigin_XBox360_DPad_North,
k_EControllerActionOrigin_XBox360_DPad_South,
k_EControllerActionOrigin_XBox360_DPad_West,
k_EControllerActionOrigin_XBox360_DPad_East,
// SteamController V2
k_EControllerActionOrigin_SteamV2_A,
k_EControllerActionOrigin_SteamV2_B,
k_EControllerActionOrigin_SteamV2_X,
k_EControllerActionOrigin_SteamV2_Y,
k_EControllerActionOrigin_SteamV2_LeftBumper,
k_EControllerActionOrigin_SteamV2_RightBumper,
k_EControllerActionOrigin_SteamV2_LeftGrip,
k_EControllerActionOrigin_SteamV2_RightGrip,
k_EControllerActionOrigin_SteamV2_Start,
k_EControllerActionOrigin_SteamV2_Back,
k_EControllerActionOrigin_SteamV2_LeftPad_Touch,
k_EControllerActionOrigin_SteamV2_LeftPad_Swipe,
k_EControllerActionOrigin_SteamV2_LeftPad_Click,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadNorth,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadSouth,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadWest,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadEast,
k_EControllerActionOrigin_SteamV2_RightPad_Touch,
k_EControllerActionOrigin_SteamV2_RightPad_Swipe,
k_EControllerActionOrigin_SteamV2_RightPad_Click,
k_EControllerActionOrigin_SteamV2_RightPad_DPadNorth,
k_EControllerActionOrigin_SteamV2_RightPad_DPadSouth,
k_EControllerActionOrigin_SteamV2_RightPad_DPadWest,
k_EControllerActionOrigin_SteamV2_RightPad_DPadEast,
k_EControllerActionOrigin_SteamV2_LeftTrigger_Pull,
k_EControllerActionOrigin_SteamV2_LeftTrigger_Click,
k_EControllerActionOrigin_SteamV2_RightTrigger_Pull,
k_EControllerActionOrigin_SteamV2_RightTrigger_Click,
k_EControllerActionOrigin_SteamV2_LeftStick_Move,
k_EControllerActionOrigin_SteamV2_LeftStick_Click,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadNorth,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadSouth,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadWest,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadEast,
k_EControllerActionOrigin_SteamV2_Gyro_Move,
k_EControllerActionOrigin_SteamV2_Gyro_Pitch,
k_EControllerActionOrigin_SteamV2_Gyro_Yaw,
k_EControllerActionOrigin_SteamV2_Gyro_Roll,
k_EControllerActionOrigin_Count
};
enum ESteamControllerLEDFlag
{
k_ESteamControllerLEDFlag_SetColor,
k_ESteamControllerLEDFlag_RestoreUserDefault
};
// 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;
@ -231,6 +397,12 @@ public:
// nFlags is currently unused and reserved for future use.
virtual void TriggerRepeatedHapticPulse( ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags ) = 0;
// Tigger a vibration event on supported controllers.
virtual void TriggerVibration( ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed ) = 0;
// Set the controller LED color on supported controllers.
virtual void SetLEDColor( ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags ) = 0;
// Returns the associated gamepad index for the specified controller, if emulating a gamepad
virtual int GetGamepadIndexForController( ControllerHandle_t ulControllerHandle ) = 0;
@ -244,8 +416,14 @@ public:
// Returns false is overlay is disabled / unavailable, or the user is not in Big Picture mode
virtual bool ShowDigitalActionOrigins( ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition ) = 0;
virtual bool ShowAnalogActionOrigins( ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition ) = 0;
// Returns a localized string (from Steam's language setting) for the specified origin
virtual const char *GetStringForActionOrigin( EControllerActionOrigin eOrigin ) = 0;
// Get a local path to art for on-screen glyph for a particular origin
virtual const char *GetGlyphForActionOrigin( EControllerActionOrigin eOrigin ) = 0;
};
#define STEAMCONTROLLER_INTERFACE_VERSION "SteamController004"
#define STEAMCONTROLLER_INTERFACE_VERSION "SteamController005"
#endif // ISTEAMCONTROLLER_H

View File

@ -80,7 +80,7 @@ enum EFriendFlags
k_EFriendFlagRequestingInfo = 0x100,
k_EFriendFlagIgnored = 0x200,
k_EFriendFlagIgnoredFriend = 0x400,
k_EFriendFlagSuggested = 0x800,
// k_EFriendFlagSuggested = 0x800, // not used
k_EFriendFlagChatMember = 0x1000,
k_EFriendFlagAll = 0xFFFF,
};

View File

@ -176,9 +176,11 @@ public:
// GenerateItems() creates one or more items and then generates a SteamInventoryCallback_t
// notification with a matching nCallbackContext parameter. This API is insecure, and could
// be abused by hacked clients. It is, however, very useful as a development cheat or as
// a means of prototyping item-related features for your game. The use of GenerateItems can
// be restricted to certain item definitions or fully blocked via the Steamworks website.
// be abused by hacked clients. This call is normally disabled unless you explicitly enable
// "Development mode" on the Inventory Service section of the Steamworks website.
// You should not enable this mode for a shipping game!
// Note that Steam accounts that belong to the publisher group for your game are granted
// an exception - as a developer, you may use this to generate and test items in your game.
// If punArrayQuantity is not NULL, it should be the same length as pArrayItems and should
// describe the quantity of each item to generate.
virtual bool GenerateItems( SteamInventoryResult_t *pResultHandle, ARRAY_COUNT(unArrayLength) const SteamItemDef_t *pArrayItemDefs, ARRAY_COUNT(unArrayLength) const uint32 *punArrayQuantity, uint32 unArrayLength ) = 0;
@ -201,20 +203,16 @@ public:
// Not for the faint of heart - if your game implements item removal at all, a high-friction
// UI confirmation process is highly recommended. Similar to GenerateItems, punArrayQuantity
// can be NULL or else an array of the same length as pArrayItems which describe the quantity
// of each item to destroy. ConsumeItem can be restricted to certain item definitions or
// fully blocked via the Steamworks website to minimize support/abuse issues such as the
// clasic "my brother borrowed my laptop and deleted all of my rare items".
// of each item to destroy.
METHOD_DESC(ConsumeItem() removes items from the inventory permanently.)
virtual bool ConsumeItem( SteamInventoryResult_t *pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity ) = 0;
// ExchangeItems() is an atomic combination of GenerateItems and DestroyItems. It can be
// used to implement crafting recipes or transmutations, or items which unpack themselves
// into other items. Like GenerateItems, this is a flexible and dangerous API which is
// meant for rapid prototyping. You can configure restrictions on ExchangeItems via the
// Steamworks website, such as limiting it to a whitelist of input/output combinations
// corresponding to recipes.
// (Note: although GenerateItems may be hard or impossible to use securely in your game,
// ExchangeItems is perfectly reasonable to use once the whitelists are set accordingly.)
// ExchangeItems() is an atomic combination of item generation and consumption.
// It can be used to implement crafting recipes or transmutations, or items which unpack
// themselves into other items (e.g., a chest).
// ExchangeItems requires a whitelist - you must define recipes (lists of the components
// required for the exchange) on the target ItemDefinition. Exchanges that do not match
// a recipe, or do not provide the required amounts, will fail.
virtual bool ExchangeItems( SteamInventoryResult_t *pResultHandle,
ARRAY_COUNT(unArrayGenerateLength) const SteamItemDef_t *pArrayGenerate, ARRAY_COUNT(unArrayGenerateLength) const uint32 *punArrayGenerateQuantity, uint32 unArrayGenerateLength,
ARRAY_COUNT(unArrayDestroyLength) const SteamItemInstanceID_t *pArrayDestroy, ARRAY_COUNT(unArrayDestroyLength) const uint32 *punArrayDestroyQuantity, uint32 unArrayDestroyLength ) = 0;
@ -230,21 +228,8 @@ public:
// TIMED DROPS AND PLAYTIME CREDIT
//
// Applications which use timed-drop mechanics should call SendItemDropHeartbeat() when
// active gameplay begins, and at least once every two minutes afterwards. The backend
// performs its own time calculations, so the precise timing of the heartbeat is not
// critical as long as you send at least one heartbeat every two minutes. Calling the
// function more often than that is not harmful, it will simply have no effect. Note:
// players may be able to spoof this message by hacking their client, so you should not
// attempt to use this as a mechanism to restrict playtime credits. It is simply meant
// to distinguish between being in any kind of gameplay situation vs the main menu or
// a pre-game launcher window. (If you are stingy with handing out playtime credit, it
// will only encourage players to run bots or use mouse/kb event simulators.)
//
// Playtime credit accumulation can be capped on a daily or weekly basis through your
// Steamworks configuration.
//
METHOD_DESC(Applications which use timed-drop mechanics should call SendItemDropHeartbeat() when active gameplay begins and at least once every two minutes afterwards.)
// Deprecated. Calling this method is not required for proper playtime accounting.
METHOD_DESC( Deprecated method. Playtime accounting is performed on the Steam servers. )
virtual void SendItemDropHeartbeat() = 0;
// Playtime credit must be consumed and turned into item drops by your game. Only item
@ -253,8 +238,9 @@ public:
// Your game should call TriggerItemDrop at an appropriate time for the user to receive
// new items, such as between rounds or while the player is dead. Note that players who
// hack their clients could modify the value of "dropListDefinition", so do not use it
// to directly control rarity. It is primarily useful during testing and development,
// where you may wish to perform experiments with different types of drops.
// to directly control rarity.
// See your Steamworks configuration to set playtime drop rates for individual itemdefs.
// The client library will suppress too-frequent calls to this method.
METHOD_DESC(Playtime credit must be consumed and turned into item drops by your game.)
virtual bool TriggerItemDrop( SteamInventoryResult_t *pResultHandle, SteamItemDef_t dropListDefinition ) = 0;
@ -312,6 +298,20 @@ public:
// results may be copied.
virtual bool GetItemDefinitionProperty( SteamItemDef_t iDefinition, const char *pchPropertyName,
OUT_STRING_COUNT(punValueBufferSizeOut) char *pchValueBuffer, uint32 *punValueBufferSizeOut ) = 0;
// Request the list of "eligible" promo items that can be manually granted to the given
// user. These are promo items of type "manual" that won't be granted automatically.
// An example usage of this is an item that becomes available every week.
CALL_RESULT( SteamInventoryEligiblePromoItemDefIDs_t )
virtual SteamAPICall_t RequestEligiblePromoItemDefinitionsIDs( CSteamID steamID ) = 0;
// After handling a SteamInventoryEligiblePromoItemDefIDs_t call result, use this
// function to pull out the list of item definition ids that the user can be
// manually granted via the AddPromoItems() call.
virtual bool GetEligiblePromoItemDefinitionIDs(
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;
};
#define STEAMINVENTORY_INTERFACE_VERSION "STEAMINVENTORY_INTERFACE_V001"
@ -351,6 +351,17 @@ struct SteamInventoryDefinitionUpdate_t
enum { k_iCallback = k_iClientInventoryCallbacks + 2 };
};
// Returned
struct SteamInventoryEligiblePromoItemDefIDs_t
{
enum { k_iCallback = k_iClientInventoryCallbacks + 3 };
EResult m_result;
CSteamID m_steamID;
int m_numEligiblePromoItemDefs;
bool m_bCachedData; // indicates that the data was retrieved from the cache and not the server
};
#pragma pack( pop )

View File

@ -314,11 +314,11 @@ public:
virtual void SuspendDownloads( bool bSuspend ) = 0;
// usage tracking
CALL_RESULT( StartPlaytimeTrackingResult_t );
CALL_RESULT( StartPlaytimeTrackingResult_t )
virtual SteamAPICall_t StartPlaytimeTracking( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0;
CALL_RESULT( StopPlaytimeTrackingResult_t );
CALL_RESULT( StopPlaytimeTrackingResult_t )
virtual SteamAPICall_t StopPlaytimeTracking( PublishedFileId_t *pvecPublishedFileID, uint32 unNumPublishedFileIDs ) = 0;
CALL_RESULT( StopPlaytimeTrackingResult_t );
CALL_RESULT( StopPlaytimeTrackingResult_t )
virtual SteamAPICall_t StopPlaytimeTrackingForAllItems() = 0;
};

View File

@ -447,19 +447,6 @@
,{"name": "k_eEVRHMDType_Oculus_Rift","value": "23"}
,{"name": "k_eEVRHMDType_Oculus_Unknown","value": "40"}
]}
, {"enumname": "EControllerType","values": [
{"name": "k_eControllerType_None","value": "-1"}
,{"name": "k_eControllerType_Unknown","value": "0"}
,{"name": "k_eControllerType_UnknownSteamController","value": "1"}
,{"name": "k_eControllerType_SteamController","value": "2"}
,{"name": "k_eControllerType_UnknownNonSteamController","value": "30"}
,{"name": "k_eControllerType_XBox360Controller","value": "31"}
,{"name": "k_eControllerType_XBoxOneController","value": "32"}
,{"name": "k_eControllerType_PS3Controller","value": "33"}
,{"name": "k_eControllerType_PS4Controller","value": "34"}
,{"name": "k_eControllerType_WiiController","value": "35"}
,{"name": "k_eControllerType_AppleController","value": "36"}
]}
, {"enumname": "CGameID::EGameIDType","values": [
{"name": "k_EGameIDTypeApp","value": "0"}
,{"name": "k_EGameIDTypeGameMod","value": "1"}
@ -502,7 +489,6 @@
,{"name": "k_EFriendFlagRequestingInfo","value": "256"}
,{"name": "k_EFriendFlagIgnored","value": "512"}
,{"name": "k_EFriendFlagIgnoredFriend","value": "1024"}
,{"name": "k_EFriendFlagSuggested","value": "2048"}
,{"name": "k_EFriendFlagChatMember","value": "4096"}
,{"name": "k_EFriendFlagAll","value": "65535"}
]}
@ -798,7 +784,10 @@
,{"name": "k_EControllerSource_LeftTrigger","value": "6"}
,{"name": "k_EControllerSource_RightTrigger","value": "7"}
,{"name": "k_EControllerSource_Gyro","value": "8"}
,{"name": "k_EControllerSource_Count","value": "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"}
]}
, {"enumname": "EControllerSourceMode","values": [
{"name": "k_EControllerSourceMode_None","value": "0"}
@ -808,14 +797,15 @@
,{"name": "k_EControllerSourceMode_AbsoluteMouse","value": "4"}
,{"name": "k_EControllerSourceMode_RelativeMouse","value": "5"}
,{"name": "k_EControllerSourceMode_JoystickMove","value": "6"}
,{"name": "k_EControllerSourceMode_JoystickCamera","value": "7"}
,{"name": "k_EControllerSourceMode_ScrollWheel","value": "8"}
,{"name": "k_EControllerSourceMode_Trigger","value": "9"}
,{"name": "k_EControllerSourceMode_TouchMenu","value": "10"}
,{"name": "k_EControllerSourceMode_MouseJoystick","value": "11"}
,{"name": "k_EControllerSourceMode_MouseRegion","value": "12"}
,{"name": "k_EControllerSourceMode_RadialMenu","value": "13"}
,{"name": "k_EControllerSourceMode_Switches","value": "14"}
,{"name": "k_EControllerSourceMode_JoystickMouse","value": "7"}
,{"name": "k_EControllerSourceMode_JoystickCamera","value": "8"}
,{"name": "k_EControllerSourceMode_ScrollWheel","value": "9"}
,{"name": "k_EControllerSourceMode_Trigger","value": "10"}
,{"name": "k_EControllerSourceMode_TouchMenu","value": "11"}
,{"name": "k_EControllerSourceMode_MouseJoystick","value": "12"}
,{"name": "k_EControllerSourceMode_MouseRegion","value": "13"}
,{"name": "k_EControllerSourceMode_RadialMenu","value": "14"}
,{"name": "k_EControllerSourceMode_Switches","value": "15"}
]}
, {"enumname": "EControllerActionOrigin","values": [
{"name": "k_EControllerActionOrigin_None","value": "0"}
@ -857,57 +847,158 @@
,{"name": "k_EControllerActionOrigin_Gyro_Pitch","value": "36"}
,{"name": "k_EControllerActionOrigin_Gyro_Yaw","value": "37"}
,{"name": "k_EControllerActionOrigin_Gyro_Roll","value": "38"}
,{"name": "k_EControllerActionOrigin_Count","value": "39"}
,{"name": "k_EControllerActionOrigin_PS4_X","value": "39"}
,{"name": "k_EControllerActionOrigin_PS4_Circle","value": "40"}
,{"name": "k_EControllerActionOrigin_PS4_Triangle","value": "41"}
,{"name": "k_EControllerActionOrigin_PS4_Square","value": "42"}
,{"name": "k_EControllerActionOrigin_PS4_LeftBumper","value": "43"}
,{"name": "k_EControllerActionOrigin_PS4_RightBumper","value": "44"}
,{"name": "k_EControllerActionOrigin_PS4_Options","value": "45"}
,{"name": "k_EControllerActionOrigin_PS4_Share","value": "46"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_Touch","value": "47"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_Swipe","value": "48"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_Click","value": "49"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_DPadNorth","value": "50"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_DPadSouth","value": "51"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_DPadWest","value": "52"}
,{"name": "k_EControllerActionOrigin_PS4_LeftPad_DPadEast","value": "53"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_Touch","value": "54"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_Swipe","value": "55"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_Click","value": "56"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_DPadNorth","value": "57"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_DPadSouth","value": "58"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_DPadWest","value": "59"}
,{"name": "k_EControllerActionOrigin_PS4_RightPad_DPadEast","value": "60"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_Touch","value": "61"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_Swipe","value": "62"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_Click","value": "63"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_DPadNorth","value": "64"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_DPadSouth","value": "65"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_DPadWest","value": "66"}
,{"name": "k_EControllerActionOrigin_PS4_CenterPad_DPadEast","value": "67"}
,{"name": "k_EControllerActionOrigin_PS4_LeftTrigger_Pull","value": "68"}
,{"name": "k_EControllerActionOrigin_PS4_LeftTrigger_Click","value": "69"}
,{"name": "k_EControllerActionOrigin_PS4_RightTrigger_Pull","value": "70"}
,{"name": "k_EControllerActionOrigin_PS4_RightTrigger_Click","value": "71"}
,{"name": "k_EControllerActionOrigin_PS4_LeftStick_Move","value": "72"}
,{"name": "k_EControllerActionOrigin_PS4_LeftStick_Click","value": "73"}
,{"name": "k_EControllerActionOrigin_PS4_LeftStick_DPadNorth","value": "74"}
,{"name": "k_EControllerActionOrigin_PS4_LeftStick_DPadSouth","value": "75"}
,{"name": "k_EControllerActionOrigin_PS4_LeftStick_DPadWest","value": "76"}
,{"name": "k_EControllerActionOrigin_PS4_LeftStick_DPadEast","value": "77"}
,{"name": "k_EControllerActionOrigin_PS4_RightStick_Move","value": "78"}
,{"name": "k_EControllerActionOrigin_PS4_RightStick_Click","value": "79"}
,{"name": "k_EControllerActionOrigin_PS4_RightStick_DPadNorth","value": "80"}
,{"name": "k_EControllerActionOrigin_PS4_RightStick_DPadSouth","value": "81"}
,{"name": "k_EControllerActionOrigin_PS4_RightStick_DPadWest","value": "82"}
,{"name": "k_EControllerActionOrigin_PS4_RightStick_DPadEast","value": "83"}
,{"name": "k_EControllerActionOrigin_PS4_DPad_North","value": "84"}
,{"name": "k_EControllerActionOrigin_PS4_DPad_South","value": "85"}
,{"name": "k_EControllerActionOrigin_PS4_DPad_West","value": "86"}
,{"name": "k_EControllerActionOrigin_PS4_DPad_East","value": "87"}
,{"name": "k_EControllerActionOrigin_PS4_Gyro_Move","value": "88"}
,{"name": "k_EControllerActionOrigin_PS4_Gyro_Pitch","value": "89"}
,{"name": "k_EControllerActionOrigin_PS4_Gyro_Yaw","value": "90"}
,{"name": "k_EControllerActionOrigin_PS4_Gyro_Roll","value": "91"}
,{"name": "k_EControllerActionOrigin_XBoxOne_A","value": "92"}
,{"name": "k_EControllerActionOrigin_XBoxOne_B","value": "93"}
,{"name": "k_EControllerActionOrigin_XBoxOne_X","value": "94"}
,{"name": "k_EControllerActionOrigin_XBoxOne_Y","value": "95"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftBumper","value": "96"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightBumper","value": "97"}
,{"name": "k_EControllerActionOrigin_XBoxOne_Menu","value": "98"}
,{"name": "k_EControllerActionOrigin_XBoxOne_View","value": "99"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftTrigger_Pull","value": "100"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftTrigger_Click","value": "101"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightTrigger_Pull","value": "102"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightTrigger_Click","value": "103"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftStick_Move","value": "104"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftStick_Click","value": "105"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftStick_DPadNorth","value": "106"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftStick_DPadSouth","value": "107"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftStick_DPadWest","value": "108"}
,{"name": "k_EControllerActionOrigin_XBoxOne_LeftStick_DPadEast","value": "109"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightStick_Move","value": "110"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightStick_Click","value": "111"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightStick_DPadNorth","value": "112"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightStick_DPadSouth","value": "113"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightStick_DPadWest","value": "114"}
,{"name": "k_EControllerActionOrigin_XBoxOne_RightStick_DPadEast","value": "115"}
,{"name": "k_EControllerActionOrigin_XBoxOne_DPad_North","value": "116"}
,{"name": "k_EControllerActionOrigin_XBoxOne_DPad_South","value": "117"}
,{"name": "k_EControllerActionOrigin_XBoxOne_DPad_West","value": "118"}
,{"name": "k_EControllerActionOrigin_XBoxOne_DPad_East","value": "119"}
,{"name": "k_EControllerActionOrigin_XBox360_A","value": "120"}
,{"name": "k_EControllerActionOrigin_XBox360_B","value": "121"}
,{"name": "k_EControllerActionOrigin_XBox360_X","value": "122"}
,{"name": "k_EControllerActionOrigin_XBox360_Y","value": "123"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftBumper","value": "124"}
,{"name": "k_EControllerActionOrigin_XBox360_RightBumper","value": "125"}
,{"name": "k_EControllerActionOrigin_XBox360_Start","value": "126"}
,{"name": "k_EControllerActionOrigin_XBox360_Back","value": "127"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftTrigger_Pull","value": "128"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftTrigger_Click","value": "129"}
,{"name": "k_EControllerActionOrigin_XBox360_RightTrigger_Pull","value": "130"}
,{"name": "k_EControllerActionOrigin_XBox360_RightTrigger_Click","value": "131"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftStick_Move","value": "132"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftStick_Click","value": "133"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftStick_DPadNorth","value": "134"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftStick_DPadSouth","value": "135"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftStick_DPadWest","value": "136"}
,{"name": "k_EControllerActionOrigin_XBox360_LeftStick_DPadEast","value": "137"}
,{"name": "k_EControllerActionOrigin_XBox360_RightStick_Move","value": "138"}
,{"name": "k_EControllerActionOrigin_XBox360_RightStick_Click","value": "139"}
,{"name": "k_EControllerActionOrigin_XBox360_RightStick_DPadNorth","value": "140"}
,{"name": "k_EControllerActionOrigin_XBox360_RightStick_DPadSouth","value": "141"}
,{"name": "k_EControllerActionOrigin_XBox360_RightStick_DPadWest","value": "142"}
,{"name": "k_EControllerActionOrigin_XBox360_RightStick_DPadEast","value": "143"}
,{"name": "k_EControllerActionOrigin_XBox360_DPad_North","value": "144"}
,{"name": "k_EControllerActionOrigin_XBox360_DPad_South","value": "145"}
,{"name": "k_EControllerActionOrigin_XBox360_DPad_West","value": "146"}
,{"name": "k_EControllerActionOrigin_XBox360_DPad_East","value": "147"}
,{"name": "k_EControllerActionOrigin_SteamV2_A","value": "148"}
,{"name": "k_EControllerActionOrigin_SteamV2_B","value": "149"}
,{"name": "k_EControllerActionOrigin_SteamV2_X","value": "150"}
,{"name": "k_EControllerActionOrigin_SteamV2_Y","value": "151"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftBumper","value": "152"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightBumper","value": "153"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftGrip","value": "154"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightGrip","value": "155"}
,{"name": "k_EControllerActionOrigin_SteamV2_Start","value": "156"}
,{"name": "k_EControllerActionOrigin_SteamV2_Back","value": "157"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_Touch","value": "158"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_Swipe","value": "159"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_Click","value": "160"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_DPadNorth","value": "161"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_DPadSouth","value": "162"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_DPadWest","value": "163"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftPad_DPadEast","value": "164"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_Touch","value": "165"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_Swipe","value": "166"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_Click","value": "167"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_DPadNorth","value": "168"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_DPadSouth","value": "169"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_DPadWest","value": "170"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightPad_DPadEast","value": "171"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftTrigger_Pull","value": "172"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftTrigger_Click","value": "173"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightTrigger_Pull","value": "174"}
,{"name": "k_EControllerActionOrigin_SteamV2_RightTrigger_Click","value": "175"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftStick_Move","value": "176"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftStick_Click","value": "177"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftStick_DPadNorth","value": "178"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftStick_DPadSouth","value": "179"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftStick_DPadWest","value": "180"}
,{"name": "k_EControllerActionOrigin_SteamV2_LeftStick_DPadEast","value": "181"}
,{"name": "k_EControllerActionOrigin_SteamV2_Gyro_Move","value": "182"}
,{"name": "k_EControllerActionOrigin_SteamV2_Gyro_Pitch","value": "183"}
,{"name": "k_EControllerActionOrigin_SteamV2_Gyro_Yaw","value": "184"}
,{"name": "k_EControllerActionOrigin_SteamV2_Gyro_Roll","value": "185"}
,{"name": "k_EControllerActionOrigin_Count","value": "186"}
]}
, {"enumname": "EControllerActivationType","values": [
{"name": "k_EControllerActivationType_None","value": "0"}
,{"name": "k_EControllerActivationType_FullPress","value": "1"}
,{"name": "k_EControllerActivationType_SoftPress","value": "2"}
,{"name": "k_EControllerActivationType_StartPress","value": "3"}
,{"name": "k_EControllerActivationType_Release","value": "4"}
,{"name": "k_EControllerActivationType_LongPress","value": "5"}
,{"name": "k_EControllerActivationType_DoublePress","value": "6"}
,{"name": "k_EControllerActivationType_Analog","value": "7"}
]}
, {"enumname": "EControllerPressureButton","values": [
{"name": "k_EControllerPressureButton_LeftTrackPad","value": "0"}
,{"name": "k_EControllerPressureButton_RightTrackPad","value": "1"}
,{"name": "k_EControllerPressureButton_LeftBumper","value": "2"}
,{"name": "k_EControllerPressureButton_RightBumper","value": "3"}
,{"name": "k_EControllerPressureButton_LeftGripLower","value": "4"}
,{"name": "k_EControllerPressureButton_RightGripLower","value": "5"}
,{"name": "k_EControllerPressureButton_LeftGripUpper","value": "6"}
,{"name": "k_EControllerPressureButton_RightGripUpper","value": "7"}
,{"name": "k_EControllerPressureButton_Invalid","value": "8"}
]}
, {"enumname": "EControllerActivatorOutputAxis","values": [
{"name": "k_EOutputAxisLeftTrigger","value": "0"}
,{"name": "k_EOutputAxisRightTrigger","value": "1"}
,{"name": "k_EOutputAxisLeftThumbXPos","value": "2"}
,{"name": "k_EOutputAxisLeftThumbXNeg","value": "3"}
,{"name": "k_EOutputAxisLeftThumbYPos","value": "4"}
,{"name": "k_EOutputAxisLeftThumbYNeg","value": "5"}
,{"name": "k_EOutputAxisRightThumbXPos","value": "6"}
,{"name": "k_EOutputAxisRightThumbXNeg","value": "7"}
,{"name": "k_EOutputAxisRightThumbYPos","value": "8"}
,{"name": "k_EOutputAxisRightThumbYNeg","value": "9"}
]}
, {"enumname": "EControllerConfigFeature","values": [
{"name": "k_EControllerConfigFeature_None","value": "0"}
,{"name": "k_EControllerConfigFeature_Gamepad","value": "1"}
,{"name": "k_EControllerConfigFeature_Keyboard","value": "2"}
,{"name": "k_EControllerConfigFeature_Mouse","value": "3"}
,{"name": "k_EControllerConfigFeature_Gyro","value": "4"}
,{"name": "k_EControllerConfigFeature_TouchMenu","value": "5"}
,{"name": "k_EControllerConfigFeature_ModeShift","value": "6"}
,{"name": "k_EControllerConfigFeature_ActionSet","value": "7"}
,{"name": "k_EControllerConfigFeature_Activator","value": "8"}
]}
, {"enumname": "EControllerPopupMenuActivationType","values": [
{"name": "k_EMenuButtonPress","value": "0"}
,{"name": "k_EMenuButtonRelease","value": "1"}
,{"name": "k_EMenuTouchRelease","value": "2"}
,{"name": "k_EMenuTouchAlways","value": "3"}
, {"enumname": "ESteamControllerLEDFlag","values": [
{"name": "k_ESteamControllerLEDFlag_SetColor","value": "0"}
,{"name": "k_ESteamControllerLEDFlag_RestoreUserDefault","value": "1"}
]}
, {"enumname": "EUGCMatchingUGCType","values": [
{"name": "k_EUGCMatchingUGCType_Items","value": "0"}
@ -1865,6 +1956,11 @@
{ "fieldname": "m_result", "fieldtype": "enum EResult"}]}
,{"struct": "SteamInventoryFullUpdate_t","fields": [
{ "fieldname": "m_handle", "fieldtype": "SteamInventoryResult_t"}]}
,{"struct": "SteamInventoryEligiblePromoItemDefIDs_t","fields": [
{ "fieldname": "m_result", "fieldtype": "enum EResult"},
{ "fieldname": "m_steamID", "fieldtype": "class CSteamID"},
{ "fieldname": "m_numEligiblePromoItemDefs", "fieldtype": "int"},
{ "fieldname": "m_bCachedData", "fieldtype": "_Bool"}]}
,{"struct": "BroadcastUploadStop_t","fields": [
{ "fieldname": "m_eResult", "fieldtype": "enum EBroadcastUploadResult"}]}
,{"struct": "GetVideoURLResult_t","fields": [
@ -5886,6 +5982,28 @@
{ "paramname": "nFlags" ,"paramtype": "unsigned int"}
]
}
,{
"classname": "ISteamController",
"methodname": "TriggerVibration",
"returntype": "void",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"},
{ "paramname": "usLeftSpeed" ,"paramtype": "unsigned short"},
{ "paramname": "usRightSpeed" ,"paramtype": "unsigned short"}
]
}
,{
"classname": "ISteamController",
"methodname": "SetLEDColor",
"returntype": "void",
"params": [
{ "paramname": "controllerHandle" ,"paramtype": "ControllerHandle_t"},
{ "paramname": "nColorR" ,"paramtype": "uint8"},
{ "paramname": "nColorG" ,"paramtype": "uint8"},
{ "paramname": "nColorB" ,"paramtype": "uint8"},
{ "paramname": "nFlags" ,"paramtype": "unsigned int"}
]
}
,{
"classname": "ISteamController",
"methodname": "GetGamepadIndexForController",
@ -5934,6 +6052,22 @@
{ "paramname": "flYPosition" ,"paramtype": "float"}
]
}
,{
"classname": "ISteamController",
"methodname": "GetStringForActionOrigin",
"returntype": "const char *",
"params": [
{ "paramname": "eOrigin" ,"paramtype": "EControllerActionOrigin"}
]
}
,{
"classname": "ISteamController",
"methodname": "GetGlyphForActionOrigin",
"returntype": "const char *",
"params": [
{ "paramname": "eOrigin" ,"paramtype": "EControllerActionOrigin"}
]
}
,{
"classname": "ISteamUGC",
"methodname": "CreateQueryUserUGCRequest",
@ -6539,7 +6673,7 @@
}
,{
"classname": "ISteamUGC",
"methodname": "StartPlaytimeTracking",
"methodname": "StartPlaytimeTracking", "callresult": "StartPlaytimeTrackingResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "pvecPublishedFileID" ,"paramtype": "PublishedFileId_t *"},
@ -6548,7 +6682,7 @@
}
,{
"classname": "ISteamUGC",
"methodname": "StopPlaytimeTracking",
"methodname": "StopPlaytimeTracking", "callresult": "StopPlaytimeTrackingResult_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "pvecPublishedFileID" ,"paramtype": "PublishedFileId_t *"},
@ -6557,7 +6691,7 @@
}
,{
"classname": "ISteamUGC",
"methodname": "StopPlaytimeTrackingForAllItems",
"methodname": "StopPlaytimeTrackingForAllItems", "callresult": "StopPlaytimeTrackingResult_t",
"returntype": "SteamAPICall_t"
}
,{
@ -7070,7 +7204,7 @@
}
,{
"classname": "ISteamInventory",
"methodname": "SendItemDropHeartbeat", "desc": "Applications which use timed-drop mechanics should call SendItemDropHeartbeat() when active gameplay begins and at least once every two minutes afterwards.",
"methodname": "SendItemDropHeartbeat", "desc": "Deprecated method. Playtime accounting is performed on the Steam servers.",
"returntype": "void"
}
,{
@ -7122,6 +7256,24 @@
{ "paramname": "punValueBufferSizeOut" ,"paramtype": "uint32 *"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "RequestEligiblePromoItemDefinitionsIDs", "callresult": "SteamInventoryEligiblePromoItemDefIDs_t",
"returntype": "SteamAPICall_t",
"params": [
{ "paramname": "steamID" ,"paramtype": "class CSteamID"}
]
}
,{
"classname": "ISteamInventory",
"methodname": "GetEligiblePromoItemDefinitionIDs",
"returntype": "bool",
"params": [
{ "paramname": "steamID" ,"paramtype": "class CSteamID"},
{ "paramname": "pItemDefIDs" ,"out_array_count": "punItemDefIDsArraySize" ,"desc": "List of item definition IDs" ,"paramtype": "SteamItemDef_t *"},
{ "paramname": "punItemDefIDsArraySize" ,"desc": "Size of array is passed in and actual size used is returned in this param" ,"paramtype": "uint32 *"}
]
}
,{
"classname": "ISteamVideo",
"methodname": "GetVideoURL",

View File

@ -607,11 +607,15 @@ S_API int SteamAPI_ISteamController_GetAnalogActionOrigins(intptr_t instancePtr,
S_API void SteamAPI_ISteamController_StopAnalogActionMomentum(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction);
S_API void SteamAPI_ISteamController_TriggerHapticPulse(intptr_t instancePtr, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec);
S_API void SteamAPI_ISteamController_TriggerRepeatedHapticPulse(intptr_t instancePtr, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags);
S_API void SteamAPI_ISteamController_TriggerVibration(intptr_t instancePtr, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed);
S_API void SteamAPI_ISteamController_SetLEDColor(intptr_t instancePtr, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags);
S_API int SteamAPI_ISteamController_GetGamepadIndexForController(intptr_t instancePtr, ControllerHandle_t ulControllerHandle);
S_API ControllerHandle_t SteamAPI_ISteamController_GetControllerForGamepadIndex(intptr_t instancePtr, int nIndex);
S_API struct ControllerMotionData_t SteamAPI_ISteamController_GetMotionData(intptr_t instancePtr, ControllerHandle_t controllerHandle);
S_API bool SteamAPI_ISteamController_ShowDigitalActionOrigins(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition);
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 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);
@ -741,6 +745,8 @@ S_API bool SteamAPI_ISteamInventory_TradeItems(intptr_t instancePtr, SteamInvent
S_API bool SteamAPI_ISteamInventory_LoadItemDefinitions(intptr_t instancePtr);
S_API bool SteamAPI_ISteamInventory_GetItemDefinitionIDs(intptr_t instancePtr, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize);
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 void SteamAPI_ISteamVideo_GetVideoURL(intptr_t instancePtr, AppId_t unVideoAppID);
S_API bool SteamAPI_ISteamVideo_IsBroadcasting(intptr_t instancePtr, int * pnNumViewers);
S_API bool SteamAPI_ISteamGameServer_InitGameServer(intptr_t instancePtr, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString);

View File

@ -951,6 +951,10 @@ public class NativeEntrypoints
internal static extern void SteamAPI_ISteamController_TriggerHapticPulse(IntPtr instancePtr, ulong controllerHandle, uint eTargetPad, char usDurationMicroSec);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_TriggerRepeatedHapticPulse")]
internal static extern void SteamAPI_ISteamController_TriggerRepeatedHapticPulse(IntPtr instancePtr, ulong controllerHandle, uint eTargetPad, char usDurationMicroSec, char usOffMicroSec, char unRepeat, uint nFlags);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_TriggerVibration")]
internal static extern void SteamAPI_ISteamController_TriggerVibration(IntPtr instancePtr, ulong controllerHandle, char usLeftSpeed, char usRightSpeed);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_SetLEDColor")]
internal static extern void SteamAPI_ISteamController_SetLEDColor(IntPtr instancePtr, ulong controllerHandle, byte nColorR, byte nColorG, byte nColorB, uint nFlags);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_GetGamepadIndexForController")]
internal static extern int SteamAPI_ISteamController_GetGamepadIndexForController(IntPtr instancePtr, ulong ulControllerHandle);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_GetControllerForGamepadIndex")]
@ -961,6 +965,10 @@ public class NativeEntrypoints
internal static extern bool SteamAPI_ISteamController_ShowDigitalActionOrigins(IntPtr instancePtr, ulong controllerHandle, ulong digitalActionHandle, float flScale, float flXPosition, float flYPosition);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_ShowAnalogActionOrigins")]
internal static extern bool SteamAPI_ISteamController_ShowAnalogActionOrigins(IntPtr instancePtr, ulong controllerHandle, ulong analogActionHandle, float flScale, float flXPosition, float flYPosition);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_GetStringForActionOrigin")]
internal static extern IntPtr SteamAPI_ISteamController_GetStringForActionOrigin(IntPtr instancePtr, uint eOrigin);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamController_GetGlyphForActionOrigin")]
internal static extern IntPtr SteamAPI_ISteamController_GetGlyphForActionOrigin(IntPtr instancePtr, uint eOrigin);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryUserUGCRequest")]
internal static extern ulong SteamAPI_ISteamUGC_CreateQueryUserUGCRequest(IntPtr instancePtr, uint unAccountID, uint eListType, uint eMatchingUGCType, uint eSortOrder, uint nCreatorAppID, uint nConsumerAppID, uint unPage);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamUGC_CreateQueryAllUGCRequest")]
@ -1219,6 +1227,10 @@ public class NativeEntrypoints
internal static extern bool SteamAPI_ISteamInventory_GetItemDefinitionIDs(IntPtr instancePtr, [In, Out] int[] pItemDefIDs, ref uint punItemDefIDsArraySize);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamInventory_GetItemDefinitionProperty")]
internal static extern bool SteamAPI_ISteamInventory_GetItemDefinitionProperty(IntPtr instancePtr, int iDefinition, string pchPropertyName, System.Text.StringBuilder pchValueBuffer, ref uint punValueBufferSizeOut);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamInventory_RequestEligiblePromoItemDefinitionsIDs")]
internal static extern ulong SteamAPI_ISteamInventory_RequestEligiblePromoItemDefinitionsIDs(IntPtr instancePtr, ulong steamID);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs")]
internal static extern bool SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs(IntPtr instancePtr, ulong steamID, [In, Out] int[] pItemDefIDs, ref uint punItemDefIDsArraySize);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamVideo_GetVideoURL")]
internal static extern void SteamAPI_ISteamVideo_GetVideoURL(IntPtr instancePtr, uint unVideoAppID);
[DllImportAttribute("Steam_api", EntryPoint = "SteamAPI_ISteamVideo_IsBroadcasting")]
@ -1356,11 +1368,11 @@ public class NativeEntrypoints
public static extern ulong CGSStatsStored_t_SetCallResult(ulong hAPICall, SteamAPI_GSStatsStored_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CGSStatsStored_t_RemoveCallResult")]
public static extern ulong CGSStatsStored_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_HTML_BrowserReady_t_CallResult(HTML_BrowserReady_t pHTML_BrowserReady_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CHTML_BrowserReady_t_SetCallResult")]
public static extern ulong CHTML_BrowserReady_t_SetCallResult(ulong hAPICall, SteamAPI_HTML_BrowserReady_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CHTML_BrowserReady_t_RemoveCallResult")]
public static extern ulong CHTML_BrowserReady_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_StartPlaytimeTrackingResult_t_CallResult(StartPlaytimeTrackingResult_t pStartPlaytimeTrackingResult_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CStartPlaytimeTrackingResult_t_SetCallResult")]
public static extern ulong CStartPlaytimeTrackingResult_t_SetCallResult(ulong hAPICall, SteamAPI_StartPlaytimeTrackingResult_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CStartPlaytimeTrackingResult_t_RemoveCallResult")]
public static extern ulong CStartPlaytimeTrackingResult_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_FriendsGetFollowerCount_t_CallResult(FriendsGetFollowerCount_t pFriendsGetFollowerCount_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CFriendsGetFollowerCount_t_SetCallResult")]
public static extern ulong CFriendsGetFollowerCount_t_SetCallResult(ulong hAPICall, SteamAPI_FriendsGetFollowerCount_t_CallResult func);
@ -1441,6 +1453,11 @@ public class NativeEntrypoints
public static extern ulong CGSStatsReceived_t_SetCallResult(ulong hAPICall, SteamAPI_GSStatsReceived_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CGSStatsReceived_t_RemoveCallResult")]
public static extern ulong CGSStatsReceived_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_HTML_BrowserReady_t_CallResult(HTML_BrowserReady_t pHTML_BrowserReady_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CHTML_BrowserReady_t_SetCallResult")]
public static extern ulong CHTML_BrowserReady_t_SetCallResult(ulong hAPICall, SteamAPI_HTML_BrowserReady_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CHTML_BrowserReady_t_RemoveCallResult")]
public static extern ulong CHTML_BrowserReady_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_LeaderboardScoresDownloaded_t_CallResult(LeaderboardScoresDownloaded_t pLeaderboardScoresDownloaded_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CLeaderboardScoresDownloaded_t_SetCallResult")]
public static extern ulong CLeaderboardScoresDownloaded_t_SetCallResult(ulong hAPICall, SteamAPI_LeaderboardScoresDownloaded_t_CallResult func);
@ -1526,6 +1543,11 @@ public class NativeEntrypoints
public static extern ulong CRemoteStorageSetUserPublishedFileActionResult_t_SetCallResult(ulong hAPICall, SteamAPI_RemoteStorageSetUserPublishedFileActionResult_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CRemoteStorageSetUserPublishedFileActionResult_t_RemoveCallResult")]
public static extern ulong CRemoteStorageSetUserPublishedFileActionResult_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_StopPlaytimeTrackingResult_t_CallResult(StopPlaytimeTrackingResult_t pStopPlaytimeTrackingResult_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CStopPlaytimeTrackingResult_t_SetCallResult")]
public static extern ulong CStopPlaytimeTrackingResult_t_SetCallResult(ulong hAPICall, SteamAPI_StopPlaytimeTrackingResult_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CStopPlaytimeTrackingResult_t_RemoveCallResult")]
public static extern ulong CStopPlaytimeTrackingResult_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_RemoteStorageEnumerateUserPublishedFilesResult_t_CallResult(RemoteStorageEnumerateUserPublishedFilesResult_t pRemoteStorageEnumerateUserPublishedFilesResult_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CRemoteStorageEnumerateUserPublishedFilesResult_t_SetCallResult")]
public static extern ulong CRemoteStorageEnumerateUserPublishedFilesResult_t_SetCallResult(ulong hAPICall, SteamAPI_RemoteStorageEnumerateUserPublishedFilesResult_t_CallResult func);
@ -1576,6 +1598,11 @@ public class NativeEntrypoints
public static extern ulong CUserStatsReceived_t_SetCallResult(ulong hAPICall, SteamAPI_UserStatsReceived_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CUserStatsReceived_t_RemoveCallResult")]
public static extern ulong CUserStatsReceived_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_SteamInventoryEligiblePromoItemDefIDs_t_CallResult(SteamInventoryEligiblePromoItemDefIDs_t pSteamInventoryEligiblePromoItemDefIDs_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CSteamInventoryEligiblePromoItemDefIDs_t_SetCallResult")]
public static extern ulong CSteamInventoryEligiblePromoItemDefIDs_t_SetCallResult(ulong hAPICall, SteamAPI_SteamInventoryEligiblePromoItemDefIDs_t_CallResult func);
[DllImportAttribute("Steam_api", EntryPoint = "CSteamInventoryEligiblePromoItemDefIDs_t_RemoveCallResult")]
public static extern ulong CSteamInventoryEligiblePromoItemDefIDs_t_RemoveCallResult(ulong handle);
public delegate void SteamAPI_JoinClanChatRoomCompletionResult_t_CallResult(JoinClanChatRoomCompletionResult_t pJoinClanChatRoomCompletionResult_t, bool bIOFailure);
[DllImportAttribute("Steam_api", EntryPoint = "CJoinClanChatRoomCompletionResult_t_SetCallResult")]
public static extern ulong CJoinClanChatRoomCompletionResult_t_SetCallResult(ulong hAPICall, SteamAPI_JoinClanChatRoomCompletionResult_t_CallResult func);
@ -2178,11 +2205,15 @@ public abstract class ISteamController
public abstract void StopAnalogActionMomentum(ulong controllerHandle,ulong eAction);
public abstract void TriggerHapticPulse(ulong controllerHandle,uint eTargetPad,char usDurationMicroSec);
public abstract void TriggerRepeatedHapticPulse(ulong controllerHandle,uint eTargetPad,char usDurationMicroSec,char usOffMicroSec,char unRepeat,uint nFlags);
public abstract void TriggerVibration(ulong controllerHandle,char usLeftSpeed,char usRightSpeed);
public abstract void SetLEDColor(ulong controllerHandle,byte nColorR,byte nColorG,byte nColorB,uint nFlags);
public abstract int GetGamepadIndexForController(ulong ulControllerHandle);
public abstract ulong GetControllerForGamepadIndex(int nIndex);
public abstract ControllerMotionData_t GetMotionData(ulong controllerHandle);
public abstract bool ShowDigitalActionOrigins(ulong controllerHandle,ulong digitalActionHandle,float flScale,float flXPosition,float flYPosition);
public abstract bool ShowAnalogActionOrigins(ulong controllerHandle,ulong analogActionHandle,float flScale,float flXPosition,float flYPosition);
public abstract string GetStringForActionOrigin(uint eOrigin);
public abstract string GetGlyphForActionOrigin(uint eOrigin);
}
@ -2336,6 +2367,8 @@ public abstract class ISteamInventory
public abstract bool LoadItemDefinitions();
public abstract bool GetItemDefinitionIDs(out int [] pItemDefIDs);
public abstract bool GetItemDefinitionProperty(int iDefinition,string pchPropertyName,out string pchValueBuffer);
public abstract ulong RequestEligiblePromoItemDefinitionsIDs(ulong steamID);
public abstract bool GetEligiblePromoItemDefinitionIDs(ulong steamID,out int [] pItemDefIDs);
}
@ -5635,6 +5668,16 @@ public override void TriggerRepeatedHapticPulse(ulong controllerHandle,uint eTar
CheckIfUsable();
NativeEntrypoints.SteamAPI_ISteamController_TriggerRepeatedHapticPulse(m_pSteamController,controllerHandle,eTargetPad,usDurationMicroSec,usOffMicroSec,unRepeat,nFlags);
}
public override void TriggerVibration(ulong controllerHandle,char usLeftSpeed,char usRightSpeed)
{
CheckIfUsable();
NativeEntrypoints.SteamAPI_ISteamController_TriggerVibration(m_pSteamController,controllerHandle,usLeftSpeed,usRightSpeed);
}
public override void SetLEDColor(ulong controllerHandle,byte nColorR,byte nColorG,byte nColorB,uint nFlags)
{
CheckIfUsable();
NativeEntrypoints.SteamAPI_ISteamController_SetLEDColor(m_pSteamController,controllerHandle,nColorR,nColorG,nColorB,nFlags);
}
public override int GetGamepadIndexForController(ulong ulControllerHandle)
{
CheckIfUsable();
@ -5665,6 +5708,18 @@ public override bool ShowAnalogActionOrigins(ulong controllerHandle,ulong analog
bool result = NativeEntrypoints.SteamAPI_ISteamController_ShowAnalogActionOrigins(m_pSteamController,controllerHandle,analogActionHandle,flScale,flXPosition,flYPosition);
return result;
}
public override string GetStringForActionOrigin(uint eOrigin)
{
CheckIfUsable();
IntPtr result = NativeEntrypoints.SteamAPI_ISteamController_GetStringForActionOrigin(m_pSteamController,eOrigin);
return Marshal.PtrToStringAnsi(result);
}
public override string GetGlyphForActionOrigin(uint eOrigin)
{
CheckIfUsable();
IntPtr result = NativeEntrypoints.SteamAPI_ISteamController_GetGlyphForActionOrigin(m_pSteamController,eOrigin);
return Marshal.PtrToStringAnsi(result);
}
}
@ -6535,6 +6590,21 @@ public override bool GetItemDefinitionProperty(int iDefinition,string pchPropert
pchValueBuffer = pStrBuffer1.ToString();
return result;
}
public override ulong RequestEligiblePromoItemDefinitionsIDs(ulong steamID)
{
CheckIfUsable();
ulong result = NativeEntrypoints.SteamAPI_ISteamInventory_RequestEligiblePromoItemDefinitionsIDs(m_pSteamInventory,steamID);
return result;
}
public override bool GetEligiblePromoItemDefinitionIDs(ulong steamID,out int [] pItemDefIDs)
{
CheckIfUsable();
uint punItemDefIDsArraySize = 0;
bool result = NativeEntrypoints.SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs(m_pSteamInventory,steamID,null,ref punItemDefIDsArraySize);
pItemDefIDs= new int[punItemDefIDsArraySize];
result = NativeEntrypoints.SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs(m_pSteamInventory,steamID,pItemDefIDs,ref punItemDefIDsArraySize);
return result;
}
}
@ -7014,24 +7084,24 @@ public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_GSStats
m_Handle = Valve.Interop.NativeEntrypoints.CGSStatsStored_t_SetCallResult(hAPICall, func);
}
}
public class CHTML_BrowserReady_t_CallResult
public class CStartPlaytimeTrackingResult_t_CallResult
{
public CHTML_BrowserReady_t_CallResult() { }
~CHTML_BrowserReady_t_CallResult()
public CStartPlaytimeTrackingResult_t_CallResult() { }
~CStartPlaytimeTrackingResult_t_CallResult()
{
if(m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CHTML_BrowserReady_t_RemoveCallResult(m_Handle);
Valve.Interop.NativeEntrypoints.CStartPlaytimeTrackingResult_t_RemoveCallResult(m_Handle);
}
}
ulong m_Handle = 0;
public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_HTML_BrowserReady_t_CallResult func)
public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_StartPlaytimeTrackingResult_t_CallResult func)
{
if (m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CHTML_BrowserReady_t_RemoveCallResult(m_Handle);
Valve.Interop.NativeEntrypoints.CStartPlaytimeTrackingResult_t_RemoveCallResult(m_Handle);
}
m_Handle = Valve.Interop.NativeEntrypoints.CHTML_BrowserReady_t_SetCallResult(hAPICall, func);
m_Handle = Valve.Interop.NativeEntrypoints.CStartPlaytimeTrackingResult_t_SetCallResult(hAPICall, func);
}
}
public class CFriendsGetFollowerCount_t_CallResult
@ -7354,6 +7424,26 @@ public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_GSStats
m_Handle = Valve.Interop.NativeEntrypoints.CGSStatsReceived_t_SetCallResult(hAPICall, func);
}
}
public class CHTML_BrowserReady_t_CallResult
{
public CHTML_BrowserReady_t_CallResult() { }
~CHTML_BrowserReady_t_CallResult()
{
if(m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CHTML_BrowserReady_t_RemoveCallResult(m_Handle);
}
}
ulong m_Handle = 0;
public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_HTML_BrowserReady_t_CallResult func)
{
if (m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CHTML_BrowserReady_t_RemoveCallResult(m_Handle);
}
m_Handle = Valve.Interop.NativeEntrypoints.CHTML_BrowserReady_t_SetCallResult(hAPICall, func);
}
}
public class CLeaderboardScoresDownloaded_t_CallResult
{
public CLeaderboardScoresDownloaded_t_CallResult() { }
@ -7694,6 +7784,26 @@ public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_RemoteS
m_Handle = Valve.Interop.NativeEntrypoints.CRemoteStorageSetUserPublishedFileActionResult_t_SetCallResult(hAPICall, func);
}
}
public class CStopPlaytimeTrackingResult_t_CallResult
{
public CStopPlaytimeTrackingResult_t_CallResult() { }
~CStopPlaytimeTrackingResult_t_CallResult()
{
if(m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CStopPlaytimeTrackingResult_t_RemoveCallResult(m_Handle);
}
}
ulong m_Handle = 0;
public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_StopPlaytimeTrackingResult_t_CallResult func)
{
if (m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CStopPlaytimeTrackingResult_t_RemoveCallResult(m_Handle);
}
m_Handle = Valve.Interop.NativeEntrypoints.CStopPlaytimeTrackingResult_t_SetCallResult(hAPICall, func);
}
}
public class CRemoteStorageEnumerateUserPublishedFilesResult_t_CallResult
{
public CRemoteStorageEnumerateUserPublishedFilesResult_t_CallResult() { }
@ -7894,6 +8004,26 @@ public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_UserSta
m_Handle = Valve.Interop.NativeEntrypoints.CUserStatsReceived_t_SetCallResult(hAPICall, func);
}
}
public class CSteamInventoryEligiblePromoItemDefIDs_t_CallResult
{
public CSteamInventoryEligiblePromoItemDefIDs_t_CallResult() { }
~CSteamInventoryEligiblePromoItemDefIDs_t_CallResult()
{
if(m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CSteamInventoryEligiblePromoItemDefIDs_t_RemoveCallResult(m_Handle);
}
}
ulong m_Handle = 0;
public void Set(ulong hAPICall, Valve.Interop.NativeEntrypoints.SteamAPI_SteamInventoryEligiblePromoItemDefIDs_t_CallResult func)
{
if (m_Handle != 0)
{
Valve.Interop.NativeEntrypoints.CSteamInventoryEligiblePromoItemDefIDs_t_RemoveCallResult(m_Handle);
}
m_Handle = Valve.Interop.NativeEntrypoints.CSteamInventoryEligiblePromoItemDefIDs_t_SetCallResult(hAPICall, func);
}
}
public class CJoinClanChatRoomCompletionResult_t_CallResult
{
public CJoinClanChatRoomCompletionResult_t_CallResult() { }
@ -8358,20 +8488,6 @@ public enum EVRHMDType
k_eEVRHMDType_Oculus_Rift = 23,
k_eEVRHMDType_Oculus_Unknown = 40,
}
public enum EControllerType
{
k_eControllerType_None = -1,
k_eControllerType_Unknown = 0,
k_eControllerType_UnknownSteamController = 1,
k_eControllerType_SteamController = 2,
k_eControllerType_UnknownNonSteamController = 30,
k_eControllerType_XBox360Controller = 31,
k_eControllerType_XBoxOneController = 32,
k_eControllerType_PS3Controller = 33,
k_eControllerType_PS4Controller = 34,
k_eControllerType_WiiController = 35,
k_eControllerType_AppleController = 36,
}
public enum EFailureType
{
k_EFailureFlushedCallbackQueue = 0,
@ -8412,7 +8528,6 @@ public enum EFriendFlags
k_EFriendFlagRequestingInfo = 256,
k_EFriendFlagIgnored = 512,
k_EFriendFlagIgnoredFriend = 1024,
k_EFriendFlagSuggested = 2048,
k_EFriendFlagChatMember = 4096,
k_EFriendFlagAll = 65535,
}
@ -8743,7 +8858,10 @@ public enum EControllerSource
k_EControllerSource_LeftTrigger = 6,
k_EControllerSource_RightTrigger = 7,
k_EControllerSource_Gyro = 8,
k_EControllerSource_Count = 9,
k_EControllerSource_CenterTrackpad = 9,
k_EControllerSource_RightJoystick = 10,
k_EControllerSource_DPad = 11,
k_EControllerSource_Count = 12,
}
public enum EControllerSourceMode
{
@ -8754,14 +8872,15 @@ public enum EControllerSourceMode
k_EControllerSourceMode_AbsoluteMouse = 4,
k_EControllerSourceMode_RelativeMouse = 5,
k_EControllerSourceMode_JoystickMove = 6,
k_EControllerSourceMode_JoystickCamera = 7,
k_EControllerSourceMode_ScrollWheel = 8,
k_EControllerSourceMode_Trigger = 9,
k_EControllerSourceMode_TouchMenu = 10,
k_EControllerSourceMode_MouseJoystick = 11,
k_EControllerSourceMode_MouseRegion = 12,
k_EControllerSourceMode_RadialMenu = 13,
k_EControllerSourceMode_Switches = 14,
k_EControllerSourceMode_JoystickMouse = 7,
k_EControllerSourceMode_JoystickCamera = 8,
k_EControllerSourceMode_ScrollWheel = 9,
k_EControllerSourceMode_Trigger = 10,
k_EControllerSourceMode_TouchMenu = 11,
k_EControllerSourceMode_MouseJoystick = 12,
k_EControllerSourceMode_MouseRegion = 13,
k_EControllerSourceMode_RadialMenu = 14,
k_EControllerSourceMode_Switches = 15,
}
public enum EControllerActionOrigin
{
@ -8804,62 +8923,159 @@ public enum EControllerActionOrigin
k_EControllerActionOrigin_Gyro_Pitch = 36,
k_EControllerActionOrigin_Gyro_Yaw = 37,
k_EControllerActionOrigin_Gyro_Roll = 38,
k_EControllerActionOrigin_Count = 39,
k_EControllerActionOrigin_PS4_X = 39,
k_EControllerActionOrigin_PS4_Circle = 40,
k_EControllerActionOrigin_PS4_Triangle = 41,
k_EControllerActionOrigin_PS4_Square = 42,
k_EControllerActionOrigin_PS4_LeftBumper = 43,
k_EControllerActionOrigin_PS4_RightBumper = 44,
k_EControllerActionOrigin_PS4_Options = 45,
k_EControllerActionOrigin_PS4_Share = 46,
k_EControllerActionOrigin_PS4_LeftPad_Touch = 47,
k_EControllerActionOrigin_PS4_LeftPad_Swipe = 48,
k_EControllerActionOrigin_PS4_LeftPad_Click = 49,
k_EControllerActionOrigin_PS4_LeftPad_DPadNorth = 50,
k_EControllerActionOrigin_PS4_LeftPad_DPadSouth = 51,
k_EControllerActionOrigin_PS4_LeftPad_DPadWest = 52,
k_EControllerActionOrigin_PS4_LeftPad_DPadEast = 53,
k_EControllerActionOrigin_PS4_RightPad_Touch = 54,
k_EControllerActionOrigin_PS4_RightPad_Swipe = 55,
k_EControllerActionOrigin_PS4_RightPad_Click = 56,
k_EControllerActionOrigin_PS4_RightPad_DPadNorth = 57,
k_EControllerActionOrigin_PS4_RightPad_DPadSouth = 58,
k_EControllerActionOrigin_PS4_RightPad_DPadWest = 59,
k_EControllerActionOrigin_PS4_RightPad_DPadEast = 60,
k_EControllerActionOrigin_PS4_CenterPad_Touch = 61,
k_EControllerActionOrigin_PS4_CenterPad_Swipe = 62,
k_EControllerActionOrigin_PS4_CenterPad_Click = 63,
k_EControllerActionOrigin_PS4_CenterPad_DPadNorth = 64,
k_EControllerActionOrigin_PS4_CenterPad_DPadSouth = 65,
k_EControllerActionOrigin_PS4_CenterPad_DPadWest = 66,
k_EControllerActionOrigin_PS4_CenterPad_DPadEast = 67,
k_EControllerActionOrigin_PS4_LeftTrigger_Pull = 68,
k_EControllerActionOrigin_PS4_LeftTrigger_Click = 69,
k_EControllerActionOrigin_PS4_RightTrigger_Pull = 70,
k_EControllerActionOrigin_PS4_RightTrigger_Click = 71,
k_EControllerActionOrigin_PS4_LeftStick_Move = 72,
k_EControllerActionOrigin_PS4_LeftStick_Click = 73,
k_EControllerActionOrigin_PS4_LeftStick_DPadNorth = 74,
k_EControllerActionOrigin_PS4_LeftStick_DPadSouth = 75,
k_EControllerActionOrigin_PS4_LeftStick_DPadWest = 76,
k_EControllerActionOrigin_PS4_LeftStick_DPadEast = 77,
k_EControllerActionOrigin_PS4_RightStick_Move = 78,
k_EControllerActionOrigin_PS4_RightStick_Click = 79,
k_EControllerActionOrigin_PS4_RightStick_DPadNorth = 80,
k_EControllerActionOrigin_PS4_RightStick_DPadSouth = 81,
k_EControllerActionOrigin_PS4_RightStick_DPadWest = 82,
k_EControllerActionOrigin_PS4_RightStick_DPadEast = 83,
k_EControllerActionOrigin_PS4_DPad_North = 84,
k_EControllerActionOrigin_PS4_DPad_South = 85,
k_EControllerActionOrigin_PS4_DPad_West = 86,
k_EControllerActionOrigin_PS4_DPad_East = 87,
k_EControllerActionOrigin_PS4_Gyro_Move = 88,
k_EControllerActionOrigin_PS4_Gyro_Pitch = 89,
k_EControllerActionOrigin_PS4_Gyro_Yaw = 90,
k_EControllerActionOrigin_PS4_Gyro_Roll = 91,
k_EControllerActionOrigin_XBoxOne_A = 92,
k_EControllerActionOrigin_XBoxOne_B = 93,
k_EControllerActionOrigin_XBoxOne_X = 94,
k_EControllerActionOrigin_XBoxOne_Y = 95,
k_EControllerActionOrigin_XBoxOne_LeftBumper = 96,
k_EControllerActionOrigin_XBoxOne_RightBumper = 97,
k_EControllerActionOrigin_XBoxOne_Menu = 98,
k_EControllerActionOrigin_XBoxOne_View = 99,
k_EControllerActionOrigin_XBoxOne_LeftTrigger_Pull = 100,
k_EControllerActionOrigin_XBoxOne_LeftTrigger_Click = 101,
k_EControllerActionOrigin_XBoxOne_RightTrigger_Pull = 102,
k_EControllerActionOrigin_XBoxOne_RightTrigger_Click = 103,
k_EControllerActionOrigin_XBoxOne_LeftStick_Move = 104,
k_EControllerActionOrigin_XBoxOne_LeftStick_Click = 105,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadNorth = 106,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadSouth = 107,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadWest = 108,
k_EControllerActionOrigin_XBoxOne_LeftStick_DPadEast = 109,
k_EControllerActionOrigin_XBoxOne_RightStick_Move = 110,
k_EControllerActionOrigin_XBoxOne_RightStick_Click = 111,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadNorth = 112,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadSouth = 113,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadWest = 114,
k_EControllerActionOrigin_XBoxOne_RightStick_DPadEast = 115,
k_EControllerActionOrigin_XBoxOne_DPad_North = 116,
k_EControllerActionOrigin_XBoxOne_DPad_South = 117,
k_EControllerActionOrigin_XBoxOne_DPad_West = 118,
k_EControllerActionOrigin_XBoxOne_DPad_East = 119,
k_EControllerActionOrigin_XBox360_A = 120,
k_EControllerActionOrigin_XBox360_B = 121,
k_EControllerActionOrigin_XBox360_X = 122,
k_EControllerActionOrigin_XBox360_Y = 123,
k_EControllerActionOrigin_XBox360_LeftBumper = 124,
k_EControllerActionOrigin_XBox360_RightBumper = 125,
k_EControllerActionOrigin_XBox360_Start = 126,
k_EControllerActionOrigin_XBox360_Back = 127,
k_EControllerActionOrigin_XBox360_LeftTrigger_Pull = 128,
k_EControllerActionOrigin_XBox360_LeftTrigger_Click = 129,
k_EControllerActionOrigin_XBox360_RightTrigger_Pull = 130,
k_EControllerActionOrigin_XBox360_RightTrigger_Click = 131,
k_EControllerActionOrigin_XBox360_LeftStick_Move = 132,
k_EControllerActionOrigin_XBox360_LeftStick_Click = 133,
k_EControllerActionOrigin_XBox360_LeftStick_DPadNorth = 134,
k_EControllerActionOrigin_XBox360_LeftStick_DPadSouth = 135,
k_EControllerActionOrigin_XBox360_LeftStick_DPadWest = 136,
k_EControllerActionOrigin_XBox360_LeftStick_DPadEast = 137,
k_EControllerActionOrigin_XBox360_RightStick_Move = 138,
k_EControllerActionOrigin_XBox360_RightStick_Click = 139,
k_EControllerActionOrigin_XBox360_RightStick_DPadNorth = 140,
k_EControllerActionOrigin_XBox360_RightStick_DPadSouth = 141,
k_EControllerActionOrigin_XBox360_RightStick_DPadWest = 142,
k_EControllerActionOrigin_XBox360_RightStick_DPadEast = 143,
k_EControllerActionOrigin_XBox360_DPad_North = 144,
k_EControllerActionOrigin_XBox360_DPad_South = 145,
k_EControllerActionOrigin_XBox360_DPad_West = 146,
k_EControllerActionOrigin_XBox360_DPad_East = 147,
k_EControllerActionOrigin_SteamV2_A = 148,
k_EControllerActionOrigin_SteamV2_B = 149,
k_EControllerActionOrigin_SteamV2_X = 150,
k_EControllerActionOrigin_SteamV2_Y = 151,
k_EControllerActionOrigin_SteamV2_LeftBumper = 152,
k_EControllerActionOrigin_SteamV2_RightBumper = 153,
k_EControllerActionOrigin_SteamV2_LeftGrip = 154,
k_EControllerActionOrigin_SteamV2_RightGrip = 155,
k_EControllerActionOrigin_SteamV2_Start = 156,
k_EControllerActionOrigin_SteamV2_Back = 157,
k_EControllerActionOrigin_SteamV2_LeftPad_Touch = 158,
k_EControllerActionOrigin_SteamV2_LeftPad_Swipe = 159,
k_EControllerActionOrigin_SteamV2_LeftPad_Click = 160,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadNorth = 161,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadSouth = 162,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadWest = 163,
k_EControllerActionOrigin_SteamV2_LeftPad_DPadEast = 164,
k_EControllerActionOrigin_SteamV2_RightPad_Touch = 165,
k_EControllerActionOrigin_SteamV2_RightPad_Swipe = 166,
k_EControllerActionOrigin_SteamV2_RightPad_Click = 167,
k_EControllerActionOrigin_SteamV2_RightPad_DPadNorth = 168,
k_EControllerActionOrigin_SteamV2_RightPad_DPadSouth = 169,
k_EControllerActionOrigin_SteamV2_RightPad_DPadWest = 170,
k_EControllerActionOrigin_SteamV2_RightPad_DPadEast = 171,
k_EControllerActionOrigin_SteamV2_LeftTrigger_Pull = 172,
k_EControllerActionOrigin_SteamV2_LeftTrigger_Click = 173,
k_EControllerActionOrigin_SteamV2_RightTrigger_Pull = 174,
k_EControllerActionOrigin_SteamV2_RightTrigger_Click = 175,
k_EControllerActionOrigin_SteamV2_LeftStick_Move = 176,
k_EControllerActionOrigin_SteamV2_LeftStick_Click = 177,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadNorth = 178,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadSouth = 179,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadWest = 180,
k_EControllerActionOrigin_SteamV2_LeftStick_DPadEast = 181,
k_EControllerActionOrigin_SteamV2_Gyro_Move = 182,
k_EControllerActionOrigin_SteamV2_Gyro_Pitch = 183,
k_EControllerActionOrigin_SteamV2_Gyro_Yaw = 184,
k_EControllerActionOrigin_SteamV2_Gyro_Roll = 185,
k_EControllerActionOrigin_Count = 186,
}
public enum EControllerActivationType
public enum ESteamControllerLEDFlag
{
k_EControllerActivationType_None = 0,
k_EControllerActivationType_FullPress = 1,
k_EControllerActivationType_SoftPress = 2,
k_EControllerActivationType_StartPress = 3,
k_EControllerActivationType_Release = 4,
k_EControllerActivationType_LongPress = 5,
k_EControllerActivationType_DoublePress = 6,
k_EControllerActivationType_Analog = 7,
}
public enum EControllerPressureButton
{
k_EControllerPressureButton_LeftTrackPad = 0,
k_EControllerPressureButton_RightTrackPad = 1,
k_EControllerPressureButton_LeftBumper = 2,
k_EControllerPressureButton_RightBumper = 3,
k_EControllerPressureButton_LeftGripLower = 4,
k_EControllerPressureButton_RightGripLower = 5,
k_EControllerPressureButton_LeftGripUpper = 6,
k_EControllerPressureButton_RightGripUpper = 7,
k_EControllerPressureButton_Invalid = 8,
}
public enum EControllerActivatorOutputAxis
{
k_EOutputAxisLeftTrigger = 0,
k_EOutputAxisRightTrigger = 1,
k_EOutputAxisLeftThumbXPos = 2,
k_EOutputAxisLeftThumbXNeg = 3,
k_EOutputAxisLeftThumbYPos = 4,
k_EOutputAxisLeftThumbYNeg = 5,
k_EOutputAxisRightThumbXPos = 6,
k_EOutputAxisRightThumbXNeg = 7,
k_EOutputAxisRightThumbYPos = 8,
k_EOutputAxisRightThumbYNeg = 9,
}
public enum EControllerConfigFeature
{
k_EControllerConfigFeature_None = 0,
k_EControllerConfigFeature_Gamepad = 1,
k_EControllerConfigFeature_Keyboard = 2,
k_EControllerConfigFeature_Mouse = 3,
k_EControllerConfigFeature_Gyro = 4,
k_EControllerConfigFeature_TouchMenu = 5,
k_EControllerConfigFeature_ModeShift = 6,
k_EControllerConfigFeature_ActionSet = 7,
k_EControllerConfigFeature_Activator = 8,
}
public enum EControllerPopupMenuActivationType
{
k_EMenuButtonPress = 0,
k_EMenuButtonRelease = 1,
k_EMenuTouchRelease = 2,
k_EMenuTouchAlways = 3,
k_ESteamControllerLEDFlag_SetColor = 0,
k_ESteamControllerLEDFlag_RestoreUserDefault = 1,
}
public enum EUGCMatchingUGCType
{
@ -10111,6 +10327,14 @@ public enum ESteamItemFlags
{
public int m_handle;
}
[StructLayout(LayoutKind.Sequential)] public struct SteamInventoryEligiblePromoItemDefIDs_t
{
public EResult m_result;
public ulong m_steamID;
public int m_numEligiblePromoItemDefs;
[MarshalAs(UnmanagedType.I1)]
public bool m_bCachedData;
}
[StructLayout(LayoutKind.Sequential)] public struct SteamCallback_t
{
public EBroadcastUploadResult m_eResult;

View File

@ -504,29 +504,6 @@ enum EVRHMDType
};
//-----------------------------------------------------------------------------
// Purpose: Steam Controller models
// WARNING: DO NOT RENUMBER EXISTING VALUES - STORED IN A DATABASE
//-----------------------------------------------------------------------------
enum EControllerType
{
k_eControllerType_None = -1,
k_eControllerType_Unknown = 0,
// Steam Controllers
k_eControllerType_UnknownSteamController = 1,
k_eControllerType_SteamController = 2,
// Other Controllers
k_eControllerType_UnknownNonSteamController = 30,
k_eControllerType_XBox360Controller = 31,
k_eControllerType_XBoxOneController = 32,
k_eControllerType_PS3Controller = 33,
k_eControllerType_PS4Controller = 34,
k_eControllerType_WiiController = 35,
k_eControllerType_AppleController = 36
};
//-----------------------------------------------------------------------------
// Purpose: true if this is from an Oculus HMD
//-----------------------------------------------------------------------------