From 433d741838d289259404fbbccf39134cf432b574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Mon, 1 Jan 2024 11:47:45 +0100 Subject: [PATCH] sync fwk --- bind/v4k.lua | 8 +- demos/99-steam.c | 4 +- engine/joint/v4k.h | 3326 +++++++++++++++++++++++++++++++++++++ engine/split/v4k_extend.h | 3 + engine/split/v4k_steam.c | 189 +++ engine/split/v4k_steam.h | 10 + 6 files changed, 3537 insertions(+), 3 deletions(-) create mode 100644 engine/split/v4k_steam.c create mode 100644 engine/split/v4k_steam.h diff --git a/bind/v4k.lua b/bind/v4k.lua index 65eeb49..ff0072c 100644 --- a/bind/v4k.lua +++ b/bind/v4k.lua @@ -3353,7 +3353,7 @@ unsigned play; bool paused; struct atlas_t *a; } sprite_t; -enum { OBJTYPE_sprite_t = 10 }; typedef struct { unsigned static_assert_on_L__LINE__ : !!(10 <= 255); } static_assert_on_Lconcat(_L,3977)___COUNTER__; typedef struct { unsigned static_assert_on_L__LINE__ : !!(sizeof(sprite_t)); } static_assert_on_Lconcat(_L,3977)___COUNTER__;; +enum { OBJTYPE_sprite_t = 10 }; typedef struct { unsigned static_assert_on_L__LINE__ : !!(10 <= 255); } static_assert_on_Lconcat(_L,3980)___COUNTER__; typedef struct { unsigned static_assert_on_L__LINE__ : !!(sizeof(sprite_t)); } static_assert_on_Lconcat(_L,3980)___COUNTER__;; void sprite_ctor(sprite_t *s); void sprite_dtor(sprite_t *s); void sprite_tick(sprite_t *s); @@ -3391,6 +3391,12 @@ atlas_t atlas; float scale; } skinned_t; guiskin_t gui_skinned(const char *asefile, float scale); + bool steam_init(unsigned app_id); + void steam_tick(); + void steam_trophy(const char *trophy_id, bool redeem); + void steam_screenshot(); + void steam_destroy(); + int ui_steam(); void* thread( int (*thread_func)(void* user_data), void* user_data ); void thread_destroy( void *thd ); int argc(); diff --git a/demos/99-steam.c b/demos/99-steam.c index 9546509..9be36fc 100644 --- a/demos/99-steam.c +++ b/demos/99-steam.c @@ -4,9 +4,9 @@ #include "v4k.h" main() { - window_create(0.75, 0); - steam_init(0); // steam_appid: 0 to use SpaceWar vanilla project from Valve + + window_create(0.75, 0); while( window_swap() ) { steam_tick(); diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index d2549ff..023435a 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -15935,6 +15935,9 @@ API void script_call(const char *lua_function); API bool script_tests(); +// ----------------------------------------------------------------------------- +// script framework + enum { SCRIPT_LUA = 1, SCRIPT_DEBUGGER = 2, @@ -18219,6 +18222,19 @@ typedef struct skinned_t { API guiskin_t gui_skinned(const char *asefile, float scale); #line 0 +#line 1 "v4k_steam.h" +// ---------------------------------------------------------------------------- +// steam framework + +API bool steam_init(unsigned app_id); +API void steam_tick(); +API void steam_trophy(const char *trophy_id, bool redeem); +API void steam_screenshot(); +API void steam_destroy(); + +API int ui_steam(); +#line 0 + #line 1 "v4k_system.h" // ----------------------------------------------------------------------------- // system framework utils @@ -349709,6 +349725,3124 @@ lm_bool lmImageSaveTGAf(const char *filename, const float *image, int w, int h, #endif // LIGHTMAPPER_IMPLEMENTATION #line 0 +#line 1 "3rd_sdk_steam.h" +/***************************************************************/ +/* */ +/* Only after agreeing to Valves non-disclosure and/or license */ +/* agreements may you utilize this file under Public Domain. */ +/* */ +/***************************************************************/ + +#include +#define SB_API +#define S_CALLTYPE + +typedef unsigned char uint8; +typedef signed char int8; +typedef short int16; +typedef unsigned short uint16; +typedef int int32; +typedef unsigned int uint32; +typedef long long int64; +typedef unsigned long long uint64; +typedef int64 lint64; +typedef uint64 ulint64; +typedef long long intp; +typedef unsigned long long uintp; +typedef uint64 CSteamID; +typedef uint8 Salt_t[8]; +typedef uint64 GID_t; +typedef uint64 JobID_t; +typedef GID_t TxnID_t; +typedef uint32 PackageId_t; +typedef uint32 BundleId_t; +typedef uint32 AppId_t; +typedef uint64 AssetClassId_t; +typedef uint32 PhysicalItemId_t; +typedef uint32 DepotId_t; +typedef uint32 RTime32; +typedef uint32 CellID_t; +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 (*PFNLegacyKeyRegistration)(const char *, const char *); +typedef _Bool (*PFNLegacyKeyInstalled)(void); +typedef void (*PFNPreMinidumpCallback)(void *); +typedef void * BREAKPAD_HANDLE; +typedef int32 HSteamPipe; +typedef int32 HSteamUser; +typedef void (*SteamAPIWarningMessageHook_t)(int, const char *); +typedef uint32 (*SteamAPI_CheckCallbackRegistered_t)(int) ; +typedef int16 FriendsGroupID_t; +typedef void (*SteamAPIWarningMessageHook_t)(int, const char *); +typedef void * HServerListRequest; +typedef int HServerQuery; +typedef uint64 UGCHandle_t; +typedef uint64 PublishedFileUpdateHandle_t; +typedef uint64 PublishedFileId_t; +typedef uint64 UGCFileWriteStreamHandle_t; +typedef uint64 SteamLeaderboard_t; +typedef uint64 SteamLeaderboardEntries_t; +typedef uint32 SNetSocket_t; +typedef uint32 SNetListenSocket_t; +typedef uint32 ScreenshotHandle; +typedef uint32 HTTPRequestHandle; +typedef uint32 HTTPCookieContainerHandle; +typedef uint64 ControllerHandle_t; +typedef uint64 ControllerActionSetHandle_t; +typedef uint64 ControllerDigitalActionHandle_t; +typedef uint64 ControllerAnalogActionHandle_t; +typedef uint64 UGCQueryHandle_t; +typedef uint64 UGCUpdateHandle_t; +typedef uint32 HHTMLBrowser; +typedef uint64 SteamItemInstanceID_t; +typedef int32 SteamItemDef_t; +typedef int32 SteamInventoryResult_t; +typedef uint64 SteamInventoryUpdateHandle_t; + +typedef enum EUniverse { + k_EUniverseInvalid = 0, + k_EUniversePublic = 1, + k_EUniverseBeta = 2, + k_EUniverseInternal = 3, + k_EUniverseDev = 4, + k_EUniverseMax = 5 +} EUniverse; +typedef enum EResult { + k_EResultOK = 1, + k_EResultFail = 2, + k_EResultNoConnection = 3, + k_EResultInvalidPassword = 5, + k_EResultLoggedInElsewhere = 6, + k_EResultInvalidProtocolVer = 7, + k_EResultInvalidParam = 8, + k_EResultFileNotFound = 9, + k_EResultBusy = 10, + k_EResultInvalidState = 11, + k_EResultInvalidName = 12, + k_EResultInvalidEmail = 13, + k_EResultDuplicateName = 14, + k_EResultAccessDenied = 15, + k_EResultTimeout = 16, + k_EResultBanned = 17, + k_EResultAccountNotFound = 18, + k_EResultInvalidSteamID = 19, + k_EResultServiceUnavailable = 20, + k_EResultNotLoggedOn = 21, + k_EResultPending = 22, + k_EResultEncryptionFailure = 23, + k_EResultInsufficientPrivilege = 24, + k_EResultLimitExceeded = 25, + k_EResultRevoked = 26, + k_EResultExpired = 27, + k_EResultAlreadyRedeemed = 28, + k_EResultDuplicateRequest = 29, + k_EResultAlreadyOwned = 30, + k_EResultIPNotFound = 31, + k_EResultPersistFailed = 32, + k_EResultLockingFailed = 33, + k_EResultLogonSessionReplaced = 34, + k_EResultConnectFailed = 35, + k_EResultHandshakeFailed = 36, + k_EResultIOFailure = 37, + k_EResultRemoteDisconnect = 38, + k_EResultShoppingCartNotFound = 39, + k_EResultBlocked = 40, + k_EResultIgnored = 41, + k_EResultNoMatch = 42, + k_EResultAccountDisabled = 43, + k_EResultServiceReadOnly = 44, + k_EResultAccountNotFeatured = 45, + k_EResultAdministratorOK = 46, + k_EResultContentVersion = 47, + k_EResultTryAnotherCM = 48, + k_EResultPasswordRequiredToKickSession = 49, + k_EResultAlreadyLoggedInElsewhere = 50, + k_EResultSuspended = 51, + k_EResultCancelled = 52, + k_EResultDataCorruption = 53, + k_EResultDiskFull = 54, + k_EResultRemoteCallFailed = 55, + k_EResultPasswordUnset = 56, + k_EResultExternalAccountUnlinked = 57, + k_EResultPSNTicketInvalid = 58, + k_EResultExternalAccountAlreadyLinked = 59, + k_EResultRemoteFileConflict = 60, + k_EResultIllegalPassword = 61, + k_EResultSameAsPreviousValue = 62, + k_EResultAccountLogonDenied = 63, + k_EResultCannotUseOldPassword = 64, + k_EResultInvalidLoginAuthCode = 65, + k_EResultAccountLogonDeniedNoMail = 66, + k_EResultHardwareNotCapableOfIPT = 67, + k_EResultIPTInitError = 68, + k_EResultParentalControlRestricted = 69, + k_EResultFacebookQueryError = 70, + k_EResultExpiredLoginAuthCode = 71, + k_EResultIPLoginRestrictionFailed = 72, + k_EResultAccountLockedDown = 73, + k_EResultAccountLogonDeniedVerifiedEmailRequired = 74, + k_EResultNoMatchingURL = 75, + k_EResultBadResponse = 76, + k_EResultRequirePasswordReEntry = 77, + k_EResultValueOutOfRange = 78, + k_EResultUnexpectedError = 79, + k_EResultDisabled = 80, + k_EResultInvalidCEGSubmission = 81, + k_EResultRestrictedDevice = 82, + k_EResultRegionLocked = 83, + k_EResultRateLimitExceeded = 84, + k_EResultAccountLoginDeniedNeedTwoFactor = 85, + k_EResultItemDeleted = 86, + k_EResultAccountLoginDeniedThrottle = 87, + k_EResultTwoFactorCodeMismatch = 88, + k_EResultTwoFactorActivationCodeMismatch = 89, + k_EResultAccountAssociatedToMultiplePartners = 90, + k_EResultNotModified = 91, + k_EResultNoMobileDevice = 92, + k_EResultTimeNotSynced = 93, + k_EResultSmsCodeFailed = 94, + k_EResultAccountLimitExceeded = 95, + k_EResultAccountActivityLimitExceeded = 96, + k_EResultPhoneActivityLimitExceeded = 97, + k_EResultRefundToWallet = 98, + k_EResultEmailSendFailure = 99, + k_EResultNotSettled = 100, + k_EResultNeedCaptcha = 101, + k_EResultGSLTDenied = 102, + k_EResultGSOwnerDenied = 103, + k_EResultInvalidItemType = 104, + k_EResultIPBanned = 105, + k_EResultGSLTExpired = 106, + k_EResultInsufficientFunds = 107, + k_EResultTooManyPending = 108, + k_EResultNoSiteLicensesFound = 109, + k_EResultWGNetworkSendExceeded = 110, + k_EResultAccountNotFriends = 111, + k_EResultLimitedUserAccount = 112, +} EResult; +typedef enum EVoiceResult { + k_EVoiceResultOK = 0, + k_EVoiceResultNotInitialized = 1, + k_EVoiceResultNotRecording = 2, + k_EVoiceResultNoData = 3, + k_EVoiceResultBufferTooSmall = 4, + k_EVoiceResultDataCorrupted = 5, + k_EVoiceResultRestricted = 6, + k_EVoiceResultUnsupportedCodec = 7, + k_EVoiceResultReceiverOutOfDate = 8, + k_EVoiceResultReceiverDidNotAnswer = 9, +} EVoiceResult; +typedef enum EDenyReason { + k_EDenyInvalid = 0, + k_EDenyInvalidVersion = 1, + k_EDenyGeneric = 2, + k_EDenyNotLoggedOn = 3, + k_EDenyNoLicense = 4, + k_EDenyCheater = 5, + k_EDenyLoggedInElseWhere = 6, + k_EDenyUnknownText = 7, + k_EDenyIncompatibleAnticheat = 8, + k_EDenyMemoryCorruption = 9, + k_EDenyIncompatibleSoftware = 10, + k_EDenySteamConnectionLost = 11, + k_EDenySteamConnectionError = 12, + k_EDenySteamResponseTimedOut = 13, + k_EDenySteamValidationStalled = 14, + k_EDenySteamOwnerLeftGuestUser = 15, +} EDenyReason; +typedef enum EBeginAuthSessionResult { + k_EBeginAuthSessionResultOK = 0, + k_EBeginAuthSessionResultInvalidTicket = 1, + k_EBeginAuthSessionResultDuplicateRequest = 2, + k_EBeginAuthSessionResultInvalidVersion = 3, + k_EBeginAuthSessionResultGameMismatch = 4, + k_EBeginAuthSessionResultExpiredTicket = 5, +} EBeginAuthSessionResult; +typedef enum EAuthSessionResponse { + k_EAuthSessionResponseOK = 0, + k_EAuthSessionResponseUserNotConnectedToSteam = 1, + k_EAuthSessionResponseNoLicenseOrExpired = 2, + k_EAuthSessionResponseVACBanned = 3, + k_EAuthSessionResponseLoggedInElseWhere = 4, + k_EAuthSessionResponseVACCheckTimedOut = 5, + k_EAuthSessionResponseAuthTicketCanceled = 6, + k_EAuthSessionResponseAuthTicketInvalidAlreadyUsed = 7, + k_EAuthSessionResponseAuthTicketInvalid = 8, + k_EAuthSessionResponsePublisherIssuedBan = 9, +} EAuthSessionResponse; +typedef enum EUserHasLicenseForAppResult { + k_EUserHasLicenseResultHasLicense = 0, + k_EUserHasLicenseResultDoesNotHaveLicense = 1, + k_EUserHasLicenseResultNoAuth = 2, +} EUserHasLicenseForAppResult; +typedef enum EAccountType { + k_EAccountTypeInvalid = 0, + k_EAccountTypeIndividual = 1, + k_EAccountTypeMultiseat = 2, + k_EAccountTypeGameServer = 3, + k_EAccountTypeAnonGameServer = 4, + k_EAccountTypePending = 5, + k_EAccountTypeContentServer = 6, + k_EAccountTypeClan = 7, + k_EAccountTypeChat = 8, + k_EAccountTypeConsoleUser = 9, + k_EAccountTypeAnonUser = 10, + k_EAccountTypeMax = 11, +} EAccountType; +typedef enum EAppReleaseState { + k_EAppReleaseState_Unknown = 0, + k_EAppReleaseState_Unavailable = 1, + k_EAppReleaseState_Prerelease = 2, + k_EAppReleaseState_PreloadOnly = 3, + k_EAppReleaseState_Released = 4, +} EAppReleaseState; +typedef enum EAppOwnershipFlags { + k_EAppOwnershipFlags_None = 0, + k_EAppOwnershipFlags_OwnsLicense = 1, + k_EAppOwnershipFlags_FreeLicense = 2, + k_EAppOwnershipFlags_RegionRestricted = 4, + k_EAppOwnershipFlags_LowViolence = 8, + k_EAppOwnershipFlags_InvalidPlatform = 16, + k_EAppOwnershipFlags_SharedLicense = 32, + k_EAppOwnershipFlags_FreeWeekend = 64, + k_EAppOwnershipFlags_RetailLicense = 128, + k_EAppOwnershipFlags_LicenseLocked = 256, + k_EAppOwnershipFlags_LicensePending = 512, + k_EAppOwnershipFlags_LicenseExpired = 1024, + k_EAppOwnershipFlags_LicensePermanent = 2048, + k_EAppOwnershipFlags_LicenseRecurring = 4096, + k_EAppOwnershipFlags_LicenseCanceled = 8192, + k_EAppOwnershipFlags_AutoGrant = 16384, + k_EAppOwnershipFlags_PendingGift = 32768, + k_EAppOwnershipFlags_RentalNotActivated = 65536, + k_EAppOwnershipFlags_Rental = 131072, + k_EAppOwnershipFlags_SiteLicense = 262144, +} EAppOwnershipFlags; +typedef enum EAppType { + k_EAppType_Invalid = 0, + k_EAppType_Game = 1, + k_EAppType_Application = 2, + k_EAppType_Tool = 4, + k_EAppType_Demo = 8, + k_EAppType_Media_DEPRECATED = 16, + k_EAppType_DLC = 32, + k_EAppType_Guide = 64, + k_EAppType_Driver = 128, + k_EAppType_Config = 256, + k_EAppType_Hardware = 512, + k_EAppType_Franchise = 1024, + k_EAppType_Video = 2048, + k_EAppType_Plugin = 4096, + k_EAppType_Music = 8192, + k_EAppType_Series = 16384, + k_EAppType_Comic = 32768, + k_EAppType_Shortcut = 1073741824, + k_EAppType_DepotOnly = -2147483648, +} EAppType; +typedef enum ESteamUserStatType { + k_ESteamUserStatTypeINVALID = 0, + k_ESteamUserStatTypeINT = 1, + k_ESteamUserStatTypeFLOAT = 2, + k_ESteamUserStatTypeAVGRATE = 3, + k_ESteamUserStatTypeACHIEVEMENTS = 4, + k_ESteamUserStatTypeGROUPACHIEVEMENTS = 5, + k_ESteamUserStatTypeMAX = 6, +} ESteamUserStatType; +typedef enum EChatEntryType { + k_EChatEntryTypeInvalid = 0, + k_EChatEntryTypeChatMsg = 1, + k_EChatEntryTypeTyping = 2, + k_EChatEntryTypeInviteGame = 3, + k_EChatEntryTypeEmote = 4, + k_EChatEntryTypeLeftConversation = 6, + k_EChatEntryTypeEntered = 7, + k_EChatEntryTypeWasKicked = 8, + k_EChatEntryTypeWasBanned = 9, + k_EChatEntryTypeDisconnected = 10, + k_EChatEntryTypeHistoricalChat = 11, + k_EChatEntryTypeLinkBlocked = 14, +} EChatEntryType; +typedef enum EChatRoomEnterResponse { + k_EChatRoomEnterResponseSuccess = 1, + k_EChatRoomEnterResponseDoesntExist = 2, + k_EChatRoomEnterResponseNotAllowed = 3, + k_EChatRoomEnterResponseFull = 4, + k_EChatRoomEnterResponseError = 5, + k_EChatRoomEnterResponseBanned = 6, + k_EChatRoomEnterResponseLimited = 7, + k_EChatRoomEnterResponseClanDisabled = 8, + k_EChatRoomEnterResponseCommunityBan = 9, + k_EChatRoomEnterResponseMemberBlockedYou = 10, + k_EChatRoomEnterResponseYouBlockedMember = 11, + k_EChatRoomEnterResponseRatelimitExceeded = 15, +} EChatRoomEnterResponse; +typedef enum EChatSteamIDInstanceFlags { + k_EChatAccountInstanceMask = 4095, + k_EChatInstanceFlagClan = 524288, + k_EChatInstanceFlagLobby = 262144, + k_EChatInstanceFlagMMSLobby = 131072, +} EChatSteamIDInstanceFlags; +typedef enum EMarketingMessageFlags { + k_EMarketingMessageFlagsNone = 0, + k_EMarketingMessageFlagsHighPriority = 1, + k_EMarketingMessageFlagsPlatformWindows = 2, + k_EMarketingMessageFlagsPlatformMac = 4, + k_EMarketingMessageFlagsPlatformLinux = 8, + k_EMarketingMessageFlagsPlatformRestrictions = 14, +} EMarketingMessageFlags; +typedef enum ENotificationPosition { + k_EPositionTopLeft = 0, + k_EPositionTopRight = 1, + k_EPositionBottomLeft = 2, + k_EPositionBottomRight = 3, +} ENotificationPosition; +typedef enum EBroadcastUploadResult { + k_EBroadcastUploadResultNone = 0, + k_EBroadcastUploadResultOK = 1, + k_EBroadcastUploadResultInitFailed = 2, + k_EBroadcastUploadResultFrameFailed = 3, + k_EBroadcastUploadResultTimeout = 4, + k_EBroadcastUploadResultBandwidthExceeded = 5, + k_EBroadcastUploadResultLowFPS = 6, + k_EBroadcastUploadResultMissingKeyFrames = 7, + k_EBroadcastUploadResultNoConnection = 8, + k_EBroadcastUploadResultRelayFailed = 9, + k_EBroadcastUploadResultSettingsChanged = 10, + k_EBroadcastUploadResultMissingAudio = 11, + k_EBroadcastUploadResultTooFarBehind = 12, + k_EBroadcastUploadResultTranscodeBehind = 13, +} EBroadcastUploadResult; +typedef enum ELaunchOptionType { + k_ELaunchOptionType_None = 0, + k_ELaunchOptionType_Default = 1, + k_ELaunchOptionType_SafeMode = 2, + k_ELaunchOptionType_Multiplayer = 3, + k_ELaunchOptionType_Config = 4, + k_ELaunchOptionType_OpenVR = 5, + k_ELaunchOptionType_Server = 6, + k_ELaunchOptionType_Editor = 7, + k_ELaunchOptionType_Manual = 8, + k_ELaunchOptionType_Benchmark = 9, + k_ELaunchOptionType_Option1 = 10, + k_ELaunchOptionType_Option2 = 11, + k_ELaunchOptionType_Option3 = 12, + k_ELaunchOptionType_OculusVR = 13, + k_ELaunchOptionType_OpenVROverlay = 14, + k_ELaunchOptionType_OSVR = 15, + k_ELaunchOptionType_Dialog = 1000, +} ELaunchOptionType; +typedef enum EVRHMDType { + k_eEVRHMDType_None = -1, + k_eEVRHMDType_Unknown = 0, + k_eEVRHMDType_HTC_Dev = 1, + k_eEVRHMDType_HTC_VivePre = 2, + k_eEVRHMDType_HTC_Vive = 3, + k_eEVRHMDType_HTC_Unknown = 20, + k_eEVRHMDType_Oculus_DK1 = 21, + k_eEVRHMDType_Oculus_DK2 = 22, + k_eEVRHMDType_Oculus_Rift = 23, + k_eEVRHMDType_Oculus_Unknown = 40, + k_eEVRHMDType_Acer_Unknown = 50, + k_eEVRHMDType_Acer_WindowsMR = 51, + k_eEVRHMDType_Dell_Unknown = 60, + k_eEVRHMDType_Dell_Visor = 61, + k_eEVRHMDType_Lenovo_Unknown = 70, + k_eEVRHMDType_Lenovo_Explorer = 71, + k_eEVRHMDType_HP_Unknown = 80, + k_eEVRHMDType_HP_WindowsMR = 81, + k_eEVRHMDType_Samsung_Unknown = 90, + k_eEVRHMDType_Samsung_Odyssey = 91, + k_eEVRHMDType_Unannounced_Unknown = 100, + k_eEVRHMDType_Unannounced_WindowsMR = 101, +} EVRHMDType; +typedef enum EGameIDType { + k_EGameIDTypeApp = 0, + k_EGameIDTypeGameMod = 1, + k_EGameIDTypeShortcut = 2, + k_EGameIDTypeP2P = 3, +} EGameIDType; +typedef enum EFailureType { + k_EFailureFlushedCallbackQueue = 0, + k_EFailurePipeFail = 1, +} EFailureType; +typedef enum EFriendRelationship { + k_EFriendRelationshipNone = 0, + k_EFriendRelationshipBlocked = 1, + k_EFriendRelationshipRequestRecipient = 2, + k_EFriendRelationshipFriend = 3, + k_EFriendRelationshipRequestInitiator = 4, + k_EFriendRelationshipIgnored = 5, + k_EFriendRelationshipIgnoredFriend = 6, + k_EFriendRelationshipSuggested_DEPRECATED = 7, + k_EFriendRelationshipMax = 8, +} EFriendRelationship; +typedef enum EPersonaState { + k_EPersonaStateOffline = 0, + k_EPersonaStateOnline = 1, + k_EPersonaStateBusy = 2, + k_EPersonaStateAway = 3, + k_EPersonaStateSnooze = 4, + k_EPersonaStateLookingToTrade = 5, + k_EPersonaStateLookingToPlay = 6, + k_EPersonaStateMax = 7, +} EPersonaState; +typedef enum EFriendFlags { + k_EFriendFlagNone = 0, + k_EFriendFlagBlocked = 1, + k_EFriendFlagFriendshipRequested = 2, + k_EFriendFlagImmediate = 4, + k_EFriendFlagClanMember = 8, + k_EFriendFlagOnGameServer = 16, + k_EFriendFlagRequestingFriendship = 128, + k_EFriendFlagRequestingInfo = 256, + k_EFriendFlagIgnored = 512, + k_EFriendFlagIgnoredFriend = 1024, + k_EFriendFlagChatMember = 4096, + k_EFriendFlagAll = 65535, +} EFriendFlags; +typedef enum EUserRestriction { + k_nUserRestrictionNone = 0, + k_nUserRestrictionUnknown = 1, + k_nUserRestrictionAnyChat = 2, + k_nUserRestrictionVoiceChat = 4, + k_nUserRestrictionGroupChat = 8, + k_nUserRestrictionRating = 16, + k_nUserRestrictionGameInvites = 32, + k_nUserRestrictionTrading = 64, +} EUserRestriction; +typedef enum EOverlayToStoreFlag { + k_EOverlayToStoreFlag_None = 0, + k_EOverlayToStoreFlag_AddToCart = 1, + k_EOverlayToStoreFlag_AddToCartAndShow = 2, +} EOverlayToStoreFlag; +typedef enum EPersonaChange { + k_EPersonaChangeName = 1, + k_EPersonaChangeStatus = 2, + k_EPersonaChangeComeOnline = 4, + k_EPersonaChangeGoneOffline = 8, + k_EPersonaChangeGamePlayed = 16, + k_EPersonaChangeGameServer = 32, + k_EPersonaChangeAvatar = 64, + k_EPersonaChangeJoinedSource = 128, + k_EPersonaChangeLeftSource = 256, + k_EPersonaChangeRelationshipChanged = 512, + k_EPersonaChangeNameFirstSet = 1024, + k_EPersonaChangeFacebookInfo = 2048, + k_EPersonaChangeNickname = 4096, + k_EPersonaChangeSteamLevel = 8192, +} EPersonaChange; +typedef enum ESteamAPICallFailure { + k_ESteamAPICallFailureNone = -1, + k_ESteamAPICallFailureSteamGone = 0, + k_ESteamAPICallFailureNetworkFailure = 1, + k_ESteamAPICallFailureInvalidHandle = 2, + k_ESteamAPICallFailureMismatchedCallback = 3, +} ESteamAPICallFailure; +typedef enum EGamepadTextInputMode { + k_EGamepadTextInputModeNormal = 0, + k_EGamepadTextInputModePassword = 1, +} EGamepadTextInputMode; +typedef enum EGamepadTextInputLineMode { + k_EGamepadTextInputLineModeSingleLine = 0, + k_EGamepadTextInputLineModeMultipleLines = 1, +} EGamepadTextInputLineMode; +typedef enum ECheckFileSignature { + k_ECheckFileSignatureInvalidSignature = 0, + k_ECheckFileSignatureValidSignature = 1, + k_ECheckFileSignatureFileNotFound = 2, + k_ECheckFileSignatureNoSignaturesFoundForThisApp = 3, + k_ECheckFileSignatureNoSignaturesFoundForThisFile = 4, +} ECheckFileSignature; +typedef enum EMatchMakingServerResponse { + eServerResponded = 0, + eServerFailedToRespond = 1, + eNoServersListedOnMasterServer = 2, +} EMatchMakingServerResponse; +typedef enum ELobbyType { + k_ELobbyTypePrivate = 0, + k_ELobbyTypeFriendsOnly = 1, + k_ELobbyTypePublic = 2, + k_ELobbyTypeInvisible = 3, +} ELobbyType; +typedef enum ELobbyComparison { + k_ELobbyComparisonEqualToOrLessThan = -2, + k_ELobbyComparisonLessThan = -1, + k_ELobbyComparisonEqual = 0, + k_ELobbyComparisonGreaterThan = 1, + k_ELobbyComparisonEqualToOrGreaterThan = 2, + k_ELobbyComparisonNotEqual = 3, +} ELobbyComparison; +typedef enum ELobbyDistanceFilter { + k_ELobbyDistanceFilterClose = 0, + k_ELobbyDistanceFilterDefault = 1, + k_ELobbyDistanceFilterFar = 2, + k_ELobbyDistanceFilterWorldwide = 3, +} ELobbyDistanceFilter; +typedef enum EChatMemberStateChange { + k_EChatMemberStateChangeEntered = 1, + k_EChatMemberStateChangeLeft = 2, + k_EChatMemberStateChangeDisconnected = 4, + k_EChatMemberStateChangeKicked = 8, + k_EChatMemberStateChangeBanned = 16, +} EChatMemberStateChange; +typedef enum ERemoteStoragePlatform { + k_ERemoteStoragePlatformNone = 0, + k_ERemoteStoragePlatformWindows = 1, + k_ERemoteStoragePlatformOSX = 2, + k_ERemoteStoragePlatformPS3 = 4, + k_ERemoteStoragePlatformLinux = 8, + k_ERemoteStoragePlatformReserved2 = 16, + k_ERemoteStoragePlatformAll = -1, +} ERemoteStoragePlatform; +typedef enum ERemoteStoragePublishedFileVisibility { + k_ERemoteStoragePublishedFileVisibilityPublic = 0, + k_ERemoteStoragePublishedFileVisibilityFriendsOnly = 1, + k_ERemoteStoragePublishedFileVisibilityPrivate = 2, +} ERemoteStoragePublishedFileVisibility; +typedef enum EWorkshopFileType { + k_EWorkshopFileTypeFirst = 0, + k_EWorkshopFileTypeCommunity = 0, + k_EWorkshopFileTypeMicrotransaction = 1, + k_EWorkshopFileTypeCollection = 2, + k_EWorkshopFileTypeArt = 3, + k_EWorkshopFileTypeVideo = 4, + k_EWorkshopFileTypeScreenshot = 5, + k_EWorkshopFileTypeGame = 6, + k_EWorkshopFileTypeSoftware = 7, + k_EWorkshopFileTypeConcept = 8, + k_EWorkshopFileTypeWebGuide = 9, + k_EWorkshopFileTypeIntegratedGuide = 10, + k_EWorkshopFileTypeMerch = 11, + k_EWorkshopFileTypeControllerBinding = 12, + k_EWorkshopFileTypeSteamworksAccessInvite = 13, + k_EWorkshopFileTypeSteamVideo = 14, + k_EWorkshopFileTypeGameManagedItem = 15, + k_EWorkshopFileTypeMax = 16, +} EWorkshopFileType; +typedef enum EWorkshopVote { + k_EWorkshopVoteUnvoted = 0, + k_EWorkshopVoteFor = 1, + k_EWorkshopVoteAgainst = 2, + k_EWorkshopVoteLater = 3, +} EWorkshopVote; +typedef enum EWorkshopFileAction { + k_EWorkshopFileActionPlayed = 0, + k_EWorkshopFileActionCompleted = 1, +} EWorkshopFileAction; +typedef enum EWorkshopEnumerationType { + k_EWorkshopEnumerationTypeRankedByVote = 0, + k_EWorkshopEnumerationTypeRecent = 1, + k_EWorkshopEnumerationTypeTrending = 2, + k_EWorkshopEnumerationTypeFavoritesOfFriends = 3, + k_EWorkshopEnumerationTypeVotedByFriends = 4, + k_EWorkshopEnumerationTypeContentByFriends = 5, + k_EWorkshopEnumerationTypeRecentFromFollowedUsers = 6, +} EWorkshopEnumerationType; +typedef enum EWorkshopVideoProvider { + k_EWorkshopVideoProviderNone = 0, + k_EWorkshopVideoProviderYoutube = 1, +} EWorkshopVideoProvider; +typedef enum EUGCReadAction { + k_EUGCRead_ContinueReadingUntilFinished = 0, + k_EUGCRead_ContinueReading = 1, + k_EUGCRead_Close = 2, +} EUGCReadAction; +typedef enum ELeaderboardDataRequest { + k_ELeaderboardDataRequestGlobal = 0, + k_ELeaderboardDataRequestGlobalAroundUser = 1, + k_ELeaderboardDataRequestFriends = 2, + k_ELeaderboardDataRequestUsers = 3, +} ELeaderboardDataRequest; +typedef enum ELeaderboardSortMethod { + k_ELeaderboardSortMethodNone = 0, + k_ELeaderboardSortMethodAscending = 1, + k_ELeaderboardSortMethodDescending = 2, +} ELeaderboardSortMethod; +typedef enum ELeaderboardDisplayType { + k_ELeaderboardDisplayTypeNone = 0, + k_ELeaderboardDisplayTypeNumeric = 1, + k_ELeaderboardDisplayTypeTimeSeconds = 2, + k_ELeaderboardDisplayTypeTimeMilliSeconds = 3, +} ELeaderboardDisplayType; +typedef enum ELeaderboardUploadScoreMethod { + k_ELeaderboardUploadScoreMethodNone = 0, + k_ELeaderboardUploadScoreMethodKeepBest = 1, + k_ELeaderboardUploadScoreMethodForceUpdate = 2, +} ELeaderboardUploadScoreMethod; +typedef enum ERegisterActivationCodeResult { + k_ERegisterActivationCodeResultOK = 0, + k_ERegisterActivationCodeResultFail = 1, + k_ERegisterActivationCodeResultAlreadyRegistered = 2, + k_ERegisterActivationCodeResultTimeout = 3, + k_ERegisterActivationCodeAlreadyOwned = 4, +} ERegisterActivationCodeResult; +typedef enum EP2PSessionError { + k_EP2PSessionErrorNone = 0, + k_EP2PSessionErrorNotRunningApp = 1, + k_EP2PSessionErrorNoRightsToApp = 2, + k_EP2PSessionErrorDestinationNotLoggedIn = 3, + k_EP2PSessionErrorTimeout = 4, + k_EP2PSessionErrorMax = 5, +} EP2PSessionError; +typedef enum EP2PSend { + k_EP2PSendUnreliable = 0, + k_EP2PSendUnreliableNoDelay = 1, + k_EP2PSendReliable = 2, + k_EP2PSendReliableWithBuffering = 3, +} EP2PSend; +typedef enum ESNetSocketState { + k_ESNetSocketStateInvalid = 0, + k_ESNetSocketStateConnected = 1, + k_ESNetSocketStateInitiated = 10, + k_ESNetSocketStateLocalCandidatesFound = 11, + k_ESNetSocketStateReceivedRemoteCandidates = 12, + k_ESNetSocketStateChallengeHandshake = 15, + k_ESNetSocketStateDisconnecting = 21, + k_ESNetSocketStateLocalDisconnect = 22, + k_ESNetSocketStateTimeoutDuringConnect = 23, + k_ESNetSocketStateRemoteEndDisconnected = 24, + k_ESNetSocketStateConnectionBroken = 25, +} ESNetSocketState; +typedef enum ESNetSocketConnectionType { + k_ESNetSocketConnectionTypeNotConnected = 0, + k_ESNetSocketConnectionTypeUDP = 1, + k_ESNetSocketConnectionTypeUDPRelay = 2, +} ESNetSocketConnectionType; +typedef enum EVRScreenshotType { + k_EVRScreenshotType_None = 0, + k_EVRScreenshotType_Mono = 1, + k_EVRScreenshotType_Stereo = 2, + k_EVRScreenshotType_MonoCubemap = 3, + k_EVRScreenshotType_MonoPanorama = 4, + k_EVRScreenshotType_StereoPanorama = 5, +} EVRScreenshotType; +typedef enum AudioPlayback_Status { + AudioPlayback_Undefined = 0, + AudioPlayback_Playing = 1, + AudioPlayback_Paused = 2, + AudioPlayback_Idle = 3, +} AudioPlayback_Status; +typedef enum EHTTPMethod { + k_EHTTPMethodInvalid = 0, + k_EHTTPMethodGET = 1, + k_EHTTPMethodHEAD = 2, + k_EHTTPMethodPOST = 3, + k_EHTTPMethodPUT = 4, + k_EHTTPMethodDELETE = 5, + k_EHTTPMethodOPTIONS = 6, + k_EHTTPMethodPATCH = 7, +} EHTTPMethod; +typedef enum EHTTPStatusCode { + k_EHTTPStatusCodeInvalid = 0, + k_EHTTPStatusCode100Continue = 100, + k_EHTTPStatusCode101SwitchingProtocols = 101, + k_EHTTPStatusCode200OK = 200, + k_EHTTPStatusCode201Created = 201, + k_EHTTPStatusCode202Accepted = 202, + k_EHTTPStatusCode203NonAuthoritative = 203, + k_EHTTPStatusCode204NoContent = 204, + k_EHTTPStatusCode205ResetContent = 205, + k_EHTTPStatusCode206PartialContent = 206, + k_EHTTPStatusCode300MultipleChoices = 300, + k_EHTTPStatusCode301MovedPermanently = 301, + k_EHTTPStatusCode302Found = 302, + k_EHTTPStatusCode303SeeOther = 303, + k_EHTTPStatusCode304NotModified = 304, + k_EHTTPStatusCode305UseProxy = 305, + k_EHTTPStatusCode307TemporaryRedirect = 307, + k_EHTTPStatusCode400BadRequest = 400, + k_EHTTPStatusCode401Unauthorized = 401, + k_EHTTPStatusCode402PaymentRequired = 402, + k_EHTTPStatusCode403Forbidden = 403, + k_EHTTPStatusCode404NotFound = 404, + k_EHTTPStatusCode405MethodNotAllowed = 405, + k_EHTTPStatusCode406NotAcceptable = 406, + k_EHTTPStatusCode407ProxyAuthRequired = 407, + k_EHTTPStatusCode408RequestTimeout = 408, + k_EHTTPStatusCode409Conflict = 409, + k_EHTTPStatusCode410Gone = 410, + k_EHTTPStatusCode411LengthRequired = 411, + k_EHTTPStatusCode412PreconditionFailed = 412, + k_EHTTPStatusCode413RequestEntityTooLarge = 413, + k_EHTTPStatusCode414RequestURITooLong = 414, + k_EHTTPStatusCode415UnsupportedMediaType = 415, + k_EHTTPStatusCode416RequestedRangeNotSatisfiable = 416, + k_EHTTPStatusCode417ExpectationFailed = 417, + k_EHTTPStatusCode4xxUnknown = 418, + k_EHTTPStatusCode429TooManyRequests = 429, + k_EHTTPStatusCode500InternalServerError = 500, + k_EHTTPStatusCode501NotImplemented = 501, + k_EHTTPStatusCode502BadGateway = 502, + k_EHTTPStatusCode503ServiceUnavailable = 503, + k_EHTTPStatusCode504GatewayTimeout = 504, + k_EHTTPStatusCode505HTTPVersionNotSupported = 505, + k_EHTTPStatusCode5xxUnknown = 599, +} EHTTPStatusCode; +typedef enum ESteamControllerPad { + k_ESteamControllerPad_Left = 0, + k_ESteamControllerPad_Right = 1, +} ESteamControllerPad; +typedef enum EControllerSource { + k_EControllerSource_None = 0, + k_EControllerSource_LeftTrackpad = 1, + k_EControllerSource_RightTrackpad = 2, + k_EControllerSource_Joystick = 3, + k_EControllerSource_ABXY = 4, + k_EControllerSource_Switch = 5, + k_EControllerSource_LeftTrigger = 6, + k_EControllerSource_RightTrigger = 7, + k_EControllerSource_Gyro = 8, + k_EControllerSource_CenterTrackpad = 9, + k_EControllerSource_RightJoystick = 10, + k_EControllerSource_DPad = 11, + k_EControllerSource_Key = 12, + k_EControllerSource_Mouse = 13, + k_EControllerSource_Count = 14, +} EControllerSource; +typedef enum EControllerSourceMode { + k_EControllerSourceMode_None = 0, + k_EControllerSourceMode_Dpad = 1, + k_EControllerSourceMode_Buttons = 2, + k_EControllerSourceMode_FourButtons = 3, + k_EControllerSourceMode_AbsoluteMouse = 4, + k_EControllerSourceMode_RelativeMouse = 5, + k_EControllerSourceMode_JoystickMove = 6, + 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_SingleButton = 15, + k_EControllerSourceMode_Switches = 16, +} EControllerSourceMode; +typedef enum EControllerActionOrigin { + k_EControllerActionOrigin_None = 0, + k_EControllerActionOrigin_A = 1, + k_EControllerActionOrigin_B = 2, + k_EControllerActionOrigin_X = 3, + k_EControllerActionOrigin_Y = 4, + k_EControllerActionOrigin_LeftBumper = 5, + k_EControllerActionOrigin_RightBumper = 6, + k_EControllerActionOrigin_LeftGrip = 7, + k_EControllerActionOrigin_RightGrip = 8, + k_EControllerActionOrigin_Start = 9, + k_EControllerActionOrigin_Back = 10, + k_EControllerActionOrigin_LeftPad_Touch = 11, + k_EControllerActionOrigin_LeftPad_Swipe = 12, + k_EControllerActionOrigin_LeftPad_Click = 13, + k_EControllerActionOrigin_LeftPad_DPadNorth = 14, + k_EControllerActionOrigin_LeftPad_DPadSouth = 15, + k_EControllerActionOrigin_LeftPad_DPadWest = 16, + k_EControllerActionOrigin_LeftPad_DPadEast = 17, + k_EControllerActionOrigin_RightPad_Touch = 18, + k_EControllerActionOrigin_RightPad_Swipe = 19, + k_EControllerActionOrigin_RightPad_Click = 20, + k_EControllerActionOrigin_RightPad_DPadNorth = 21, + k_EControllerActionOrigin_RightPad_DPadSouth = 22, + k_EControllerActionOrigin_RightPad_DPadWest = 23, + k_EControllerActionOrigin_RightPad_DPadEast = 24, + k_EControllerActionOrigin_LeftTrigger_Pull = 25, + k_EControllerActionOrigin_LeftTrigger_Click = 26, + k_EControllerActionOrigin_RightTrigger_Pull = 27, + k_EControllerActionOrigin_RightTrigger_Click = 28, + k_EControllerActionOrigin_LeftStick_Move = 29, + k_EControllerActionOrigin_LeftStick_Click = 30, + k_EControllerActionOrigin_LeftStick_DPadNorth = 31, + k_EControllerActionOrigin_LeftStick_DPadSouth = 32, + k_EControllerActionOrigin_LeftStick_DPadWest = 33, + k_EControllerActionOrigin_LeftStick_DPadEast = 34, + k_EControllerActionOrigin_Gyro_Move = 35, + k_EControllerActionOrigin_Gyro_Pitch = 36, + k_EControllerActionOrigin_Gyro_Yaw = 37, + k_EControllerActionOrigin_Gyro_Roll = 38, + 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_LeftGrip_Upper = 156, + k_EControllerActionOrigin_SteamV2_RightGrip_Upper = 157, + k_EControllerActionOrigin_SteamV2_LeftBumper_Pressure = 158, + k_EControllerActionOrigin_SteamV2_RightBumper_Pressure = 159, + k_EControllerActionOrigin_SteamV2_LeftGrip_Pressure = 160, + k_EControllerActionOrigin_SteamV2_RightGrip_Pressure = 161, + k_EControllerActionOrigin_SteamV2_LeftGrip_Upper_Pressure = 162, + k_EControllerActionOrigin_SteamV2_RightGrip_Upper_Pressure = 163, + k_EControllerActionOrigin_SteamV2_Start = 164, + k_EControllerActionOrigin_SteamV2_Back = 165, + k_EControllerActionOrigin_SteamV2_LeftPad_Touch = 166, + k_EControllerActionOrigin_SteamV2_LeftPad_Swipe = 167, + k_EControllerActionOrigin_SteamV2_LeftPad_Click = 168, + k_EControllerActionOrigin_SteamV2_LeftPad_Pressure = 169, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadNorth = 170, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadSouth = 171, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadWest = 172, + k_EControllerActionOrigin_SteamV2_LeftPad_DPadEast = 173, + k_EControllerActionOrigin_SteamV2_RightPad_Touch = 174, + k_EControllerActionOrigin_SteamV2_RightPad_Swipe = 175, + k_EControllerActionOrigin_SteamV2_RightPad_Click = 176, + k_EControllerActionOrigin_SteamV2_RightPad_Pressure = 177, + k_EControllerActionOrigin_SteamV2_RightPad_DPadNorth = 178, + k_EControllerActionOrigin_SteamV2_RightPad_DPadSouth = 179, + k_EControllerActionOrigin_SteamV2_RightPad_DPadWest = 180, + k_EControllerActionOrigin_SteamV2_RightPad_DPadEast = 181, + k_EControllerActionOrigin_SteamV2_LeftTrigger_Pull = 182, + k_EControllerActionOrigin_SteamV2_LeftTrigger_Click = 183, + k_EControllerActionOrigin_SteamV2_RightTrigger_Pull = 184, + k_EControllerActionOrigin_SteamV2_RightTrigger_Click = 185, + k_EControllerActionOrigin_SteamV2_LeftStick_Move = 186, + k_EControllerActionOrigin_SteamV2_LeftStick_Click = 187, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadNorth = 188, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadSouth = 189, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadWest = 190, + k_EControllerActionOrigin_SteamV2_LeftStick_DPadEast = 191, + k_EControllerActionOrigin_SteamV2_Gyro_Move = 192, + k_EControllerActionOrigin_SteamV2_Gyro_Pitch = 193, + k_EControllerActionOrigin_SteamV2_Gyro_Yaw = 194, + k_EControllerActionOrigin_SteamV2_Gyro_Roll = 195, + k_EControllerActionOrigin_Count = 196, +} EControllerActionOrigin; +typedef enum ESteamControllerLEDFlag { + k_ESteamControllerLEDFlag_SetColor = 0, + k_ESteamControllerLEDFlag_RestoreUserDefault = 1, +} ESteamControllerLEDFlag; +typedef enum ESteamInputType { + k_ESteamInputType_Unknown = 0, + k_ESteamInputType_SteamController = 1, + k_ESteamInputType_XBox360Controller = 2, + k_ESteamInputType_XBoxOneController = 3, + k_ESteamInputType_GenericXInput = 4, + k_ESteamInputType_PS4Controller = 5, +} ESteamInputType; +typedef enum EUGCMatchingUGCType { + k_EUGCMatchingUGCType_Items = 0, + k_EUGCMatchingUGCType_Items_Mtx = 1, + k_EUGCMatchingUGCType_Items_ReadyToUse = 2, + k_EUGCMatchingUGCType_Collections = 3, + k_EUGCMatchingUGCType_Artwork = 4, + k_EUGCMatchingUGCType_Videos = 5, + k_EUGCMatchingUGCType_Screenshots = 6, + k_EUGCMatchingUGCType_AllGuides = 7, + k_EUGCMatchingUGCType_WebGuides = 8, + k_EUGCMatchingUGCType_IntegratedGuides = 9, + k_EUGCMatchingUGCType_UsableInGame = 10, + k_EUGCMatchingUGCType_ControllerBindings = 11, + k_EUGCMatchingUGCType_GameManagedItems = 12, + k_EUGCMatchingUGCType_All = -1, +} EUGCMatchingUGCType; +typedef enum EUserUGCList { + k_EUserUGCList_Published = 0, + k_EUserUGCList_VotedOn = 1, + k_EUserUGCList_VotedUp = 2, + k_EUserUGCList_VotedDown = 3, + k_EUserUGCList_WillVoteLater = 4, + k_EUserUGCList_Favorited = 5, + k_EUserUGCList_Subscribed = 6, + k_EUserUGCList_UsedOrPlayed = 7, + k_EUserUGCList_Followed = 8, +} EUserUGCList; +typedef enum EUserUGCListSortOrder { + k_EUserUGCListSortOrder_CreationOrderDesc = 0, + k_EUserUGCListSortOrder_CreationOrderAsc = 1, + k_EUserUGCListSortOrder_TitleAsc = 2, + k_EUserUGCListSortOrder_LastUpdatedDesc = 3, + k_EUserUGCListSortOrder_SubscriptionDateDesc = 4, + k_EUserUGCListSortOrder_VoteScoreDesc = 5, + k_EUserUGCListSortOrder_ForModeration = 6, +} EUserUGCListSortOrder; +typedef enum EUGCQuery { + k_EUGCQuery_RankedByVote = 0, + k_EUGCQuery_RankedByPublicationDate = 1, + k_EUGCQuery_AcceptedForGameRankedByAcceptanceDate = 2, + k_EUGCQuery_RankedByTrend = 3, + k_EUGCQuery_FavoritedByFriendsRankedByPublicationDate = 4, + k_EUGCQuery_CreatedByFriendsRankedByPublicationDate = 5, + k_EUGCQuery_RankedByNumTimesReported = 6, + k_EUGCQuery_CreatedByFollowedUsersRankedByPublicationDate = 7, + k_EUGCQuery_NotYetRated = 8, + k_EUGCQuery_RankedByTotalVotesAsc = 9, + k_EUGCQuery_RankedByVotesUp = 10, + k_EUGCQuery_RankedByTextSearch = 11, + k_EUGCQuery_RankedByTotalUniqueSubscriptions = 12, + k_EUGCQuery_RankedByPlaytimeTrend = 13, + k_EUGCQuery_RankedByTotalPlaytime = 14, + k_EUGCQuery_RankedByAveragePlaytimeTrend = 15, + k_EUGCQuery_RankedByLifetimeAveragePlaytime = 16, + k_EUGCQuery_RankedByPlaytimeSessionsTrend = 17, + k_EUGCQuery_RankedByLifetimePlaytimeSessions = 18, +} EUGCQuery; +typedef enum EItemUpdateStatus { + k_EItemUpdateStatusInvalid = 0, + k_EItemUpdateStatusPreparingConfig = 1, + k_EItemUpdateStatusPreparingContent = 2, + k_EItemUpdateStatusUploadingContent = 3, + k_EItemUpdateStatusUploadingPreviewFile = 4, + k_EItemUpdateStatusCommittingChanges = 5, +} EItemUpdateStatus; +typedef enum EItemState { + k_EItemStateNone = 0, + k_EItemStateSubscribed = 1, + k_EItemStateLegacyItem = 2, + k_EItemStateInstalled = 4, + k_EItemStateNeedsUpdate = 8, + k_EItemStateDownloading = 16, + k_EItemStateDownloadPending = 32, +} EItemState; +typedef enum EItemStatistic { + k_EItemStatistic_NumSubscriptions = 0, + k_EItemStatistic_NumFavorites = 1, + k_EItemStatistic_NumFollowers = 2, + k_EItemStatistic_NumUniqueSubscriptions = 3, + k_EItemStatistic_NumUniqueFavorites = 4, + k_EItemStatistic_NumUniqueFollowers = 5, + k_EItemStatistic_NumUniqueWebsiteViews = 6, + k_EItemStatistic_ReportScore = 7, + k_EItemStatistic_NumSecondsPlayed = 8, + k_EItemStatistic_NumPlaytimeSessions = 9, + k_EItemStatistic_NumComments = 10, + k_EItemStatistic_NumSecondsPlayedDuringTimePeriod = 11, + k_EItemStatistic_NumPlaytimeSessionsDuringTimePeriod = 12, +} EItemStatistic; +typedef enum EItemPreviewType { + k_EItemPreviewType_Image = 0, + k_EItemPreviewType_YouTubeVideo = 1, + k_EItemPreviewType_Sketchfab = 2, + k_EItemPreviewType_EnvironmentMap_HorizontalCross = 3, + k_EItemPreviewType_EnvironmentMap_LatLong = 4, + k_EItemPreviewType_ReservedMax = 255, +} EItemPreviewType; +typedef enum EHTMLMouseButton { + eHTMLMouseButton_Left = 0, + eHTMLMouseButton_Right = 1, + eHTMLMouseButton_Middle = 2, +} EHTMLMouseButton; +typedef enum EMouseCursor { + dc_user = 0, + dc_none = 1, + dc_arrow = 2, + dc_ibeam = 3, + dc_hourglass = 4, + dc_waitarrow = 5, + dc_crosshair = 6, + dc_up = 7, + dc_sizenw = 8, + dc_sizese = 9, + dc_sizene = 10, + dc_sizesw = 11, + dc_sizew = 12, + dc_sizee = 13, + dc_sizen = 14, + dc_sizes = 15, + dc_sizewe = 16, + dc_sizens = 17, + dc_sizeall = 18, + dc_no = 19, + dc_hand = 20, + dc_blank = 21, + dc_middle_pan = 22, + dc_north_pan = 23, + dc_north_east_pan = 24, + dc_east_pan = 25, + dc_south_east_pan = 26, + dc_south_pan = 27, + dc_south_west_pan = 28, + dc_west_pan = 29, + dc_north_west_pan = 30, + dc_alias = 31, + dc_cell = 32, + dc_colresize = 33, + dc_copycur = 34, + dc_verticaltext = 35, + dc_rowresize = 36, + dc_zoomin = 37, + dc_zoomout = 38, + dc_help = 39, + dc_custom = 40, + dc_last = 41, +} EMouseCursor; +typedef enum EHTMLKeyModifiers { + k_eHTMLKeyModifier_None = 0, + k_eHTMLKeyModifier_AltDown = 1, + k_eHTMLKeyModifier_CtrlDown = 2, + k_eHTMLKeyModifier_ShiftDown = 4, +} EHTMLKeyModifiers; +typedef enum ESteamItemFlags { + k_ESteamItemNoTrade = 1, + k_ESteamItemRemoved = 256, + k_ESteamItemConsumed = 512, +} ESteamItemFlags; +typedef 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 = 13, +} EParentalFeature; + +typedef struct { + uint32 m_unAccountID; + unsigned int m_unAccountInstance; + unsigned int m_EAccountType; + enum EUniverse m_EUniverse; +} SteamIDComponent_t; + +typedef struct { + SteamIDComponent_t m_comp; + uint64 m_unAll64Bits; +} SteamID_t; + +typedef struct { + unsigned int m_nAppID; + unsigned int m_nType; + unsigned int m_nModID; +} GameID_t; + +typedef struct { + HSteamUser m_hSteamUser; + int m_iCallback; + uint8 * m_pubParam; + int m_cubParam; +} CallbackMsg_t; + +typedef struct { + enum EResult m_eResult; + _Bool m_bStillRetrying; +} SteamServerConnectFailure_t; + +typedef struct { + enum EResult m_eResult; +} SteamServersDisconnected_t; + +typedef struct { + uint32 m_uAppID; + uint32 m_unGameServerIP; + uint16 m_usGameServerPort; + uint16 m_bSecure; + uint32 m_uReason; +} ClientGameServerDeny_t; + +typedef struct { + CSteamID m_SteamID; + enum EAuthSessionResponse m_eAuthSessionResponse; + CSteamID m_OwnerSteamID; +} ValidateAuthTicketResponse_t; + +typedef struct { + uint32 m_unAppID; + uint64 m_ulOrderID; + uint8 m_bAuthorized; +} MicroTxnAuthorizationResponse_t; + +typedef struct { + enum EResult m_eResult; +} EncryptedAppTicketResponse_t; + +typedef struct { + HAuthTicket m_hAuthTicket; + enum EResult m_eResult; +} GetAuthSessionTicketResponse_t; + +typedef struct { + char m_szURL[256]; +} GameWebCallback_t; + +typedef struct { + char m_szURL[512]; +} StoreAuthURLResponse_t; + +typedef struct CGameID { + unsigned int m_nAppID; + unsigned int m_nType; + unsigned int m_nModID; + /* TODO Maybe more ? */ + /* uint64 m_ulGameID; */ + /* struct GameID_t m_gameID; */ +} CGameID; + +typedef struct { + CGameID m_gameID; + uint32 m_unGameIP; + uint16 m_usGamePort; + uint16 m_usQueryPort; + CSteamID m_steamIDLobby; +} FriendGameInfo_t; + +typedef struct { + uint32 m_uiOnlineSessionInstances; + uint8 m_uiPublishedToFriendsSessionInstance; +} FriendSessionStateInfo_t; + +typedef struct { + uint64 m_ulSteamID; + int m_nChangeFlags; +} PersonaStateChange_t; + +typedef struct { + uint8 m_bActive; +} GameOverlayActivated_t; + +typedef struct { + char m_rgchServer[64]; + char m_rgchPassword[64]; +} GameServerChangeRequested_t; + +typedef struct { + CSteamID m_steamIDLobby; + CSteamID m_steamIDFriend; +} GameLobbyJoinRequested_t; + +typedef struct { + CSteamID m_steamID; + int m_iImage; + int m_iWide; + int m_iTall; +} AvatarImageLoaded_t; + +typedef struct { + CSteamID m_steamIDClan; + int m_cOfficers; + uint8 m_bSuccess; +} ClanOfficerListResponse_t; + +typedef struct { + CSteamID m_steamIDFriend; + AppId_t m_nAppID; +} FriendRichPresenceUpdate_t; + +typedef struct { + CSteamID m_steamIDFriend; + char m_rgchConnect[256]; +} GameRichPresenceJoinRequested_t; + +typedef struct { + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; + int m_iMessageID; +} GameConnectedClanChatMsg_t; + +typedef struct { + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; +} GameConnectedChatJoin_t; + +typedef struct { + CSteamID m_steamIDClanChat; + CSteamID m_steamIDUser; + _Bool m_bKicked; + _Bool m_bDropped; +} GameConnectedChatLeave_t; + +typedef struct { + _Bool m_bSuccess; +} DownloadClanActivityCountsResult_t; + +typedef struct { + CSteamID m_steamIDClanChat; + enum EChatRoomEnterResponse m_eChatRoomEnterResponse; +} JoinClanChatRoomCompletionResult_t; + +typedef struct { + CSteamID m_steamIDUser; + int m_iMessageID; +} GameConnectedFriendChatMsg_t; + +typedef struct { + enum EResult m_eResult; + CSteamID m_steamID; + int m_nCount; +} FriendsGetFollowerCount_t; + +typedef struct { + enum EResult m_eResult; + CSteamID m_steamID; + _Bool m_bIsFollowing; +} FriendsIsFollowing_t; + +typedef struct { + enum EResult m_eResult; + CSteamID m_rgSteamID[50]; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; +} FriendsEnumerateFollowingList_t; + +typedef struct { + _Bool m_bSuccess; + _Bool m_bLocalSuccess; + enum EResult m_result; +} SetPersonaNameResponse_t; + +typedef struct { + uint8 m_nMinutesBatteryLeft; +} LowBatteryPower_t; + +typedef struct { + SteamAPICall_t m_hAsyncCall; + int m_iCallback; + uint32 m_cubParam; +} SteamAPICallCompleted_t; + +typedef struct { + enum ECheckFileSignature m_eCheckFileSignature; +} CheckFileSignature_t; + +typedef struct { + _Bool m_bSubmitted; + uint32 m_unSubmittedText; +} GamepadTextInputDismissed_t; + +typedef struct { + char m_szKey[256]; + char m_szValue[256]; +} MatchMakingKeyValuePair_t; + +typedef struct { + uint16 m_usConnectionPort; + uint16 m_usQueryPort; + uint32 m_unIP; +} servernetadr_t; + +typedef struct { + servernetadr_t m_NetAdr; + int m_nPing; + _Bool m_bHadSuccessfulResponse; + _Bool m_bDoNotRefresh; + char m_szGameDir[32]; + char m_szMap[32]; + char m_szGameDescription[64]; + uint32 m_nAppID; + int m_nPlayers; + int m_nMaxPlayers; + int m_nBotPlayers; + _Bool m_bPassword; + _Bool m_bSecure; + uint32 m_ulTimeLastPlayed; + int m_nServerVersion; + char m_szServerName[64]; + char m_szGameTags[128]; + CSteamID m_steamID; +} gameserveritem_t; + +typedef struct { + uint32 m_nIP; + uint32 m_nQueryPort; + uint32 m_nConnPort; + uint32 m_nAppID; + uint32 m_nFlags; + _Bool m_bAdd; + AccountID_t m_unAccountId; +} FavoritesListChanged_t; + +typedef struct { + uint64 m_ulSteamIDUser; + uint64 m_ulSteamIDLobby; + uint64 m_ulGameID; +} LobbyInvite_t; + +typedef struct { + uint64 m_ulSteamIDLobby; + uint32 m_rgfChatPermissions; + _Bool m_bLocked; + uint32 m_EChatRoomEnterResponse; +} LobbyEnter_t; + +typedef struct { + uint64 m_ulSteamIDLobby; + uint64 m_ulSteamIDMember; + uint8 m_bSuccess; +} LobbyDataUpdate_t; + +typedef struct { + uint64 m_ulSteamIDLobby; + uint64 m_ulSteamIDUserChanged; + uint64 m_ulSteamIDMakingChange; + uint32 m_rgfChatMemberStateChange; +} LobbyChatUpdate_t; + +typedef struct { + uint64 m_ulSteamIDLobby; + uint64 m_ulSteamIDUser; + uint8 m_eChatEntryType; + uint32 m_iChatID; +} LobbyChatMsg_t; + +typedef struct { + uint64 m_ulSteamIDLobby; + uint64 m_ulSteamIDGameServer; + uint32 m_unIP; + uint16 m_usPort; +} LobbyGameCreated_t; + +typedef struct { + uint32 m_nLobbiesMatching; +} LobbyMatchList_t; + +typedef struct { + uint64 m_ulSteamIDLobby; + uint64 m_ulSteamIDAdmin; + uint8 m_bKickedDueToDisconnect; +} LobbyKicked_t; + +typedef struct { + enum EResult m_eResult; + uint64 m_ulSteamIDLobby; +} LobbyCreated_t; + +typedef struct { + _Bool m_bGameBootInviteExists; + CSteamID m_steamIDLobby; +} PSNGameBootInviteResult_t; + +typedef struct { + enum EResult m_eResult; +} FavoritesListAccountsUpdated_t; + +typedef struct { + const char ** m_ppStrings; + int32 m_nNumStrings; +} SteamParamStringArray_t; + +typedef struct { + AppId_t m_nAppID; + enum EResult m_eResult; + int m_unNumDownloads; +} RemoteStorageAppSyncedClient_t; + +typedef struct { + AppId_t m_nAppID; + enum EResult m_eResult; + int m_unNumUploads; +} RemoteStorageAppSyncedServer_t; + +typedef struct { + char m_rgchCurrentFile[260]; + AppId_t m_nAppID; + uint32 m_uBytesTransferredThisChunk; + double m_dAppPercentComplete; + _Bool m_bUploading; +} RemoteStorageAppSyncProgress_t; + +typedef struct { + AppId_t m_nAppID; + enum EResult m_eResult; +} RemoteStorageAppSyncStatusCheck_t; + +typedef struct { + enum EResult m_eResult; + UGCHandle_t m_hFile; + char m_rgchFilename[260]; +} RemoteStorageFileShareResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + _Bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} RemoteStoragePublishFileResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} RemoteStorageDeletePublishedFileResult_t; + +typedef struct { + enum EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; +} RemoteStorageEnumerateUserPublishedFilesResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} RemoteStorageSubscribePublishedFileResult_t; + +typedef struct { + enum EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; + uint32 m_rgRTimeSubscribed[50]; +} RemoteStorageEnumerateUserSubscribedFilesResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} RemoteStorageUnsubscribePublishedFileResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + _Bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} RemoteStorageUpdatePublishedFileResult_t; + +typedef struct { + enum EResult m_eResult; + UGCHandle_t m_hFile; + AppId_t m_nAppID; + int32 m_nSizeInBytes; + char m_pchFileName[260]; + uint64 m_ulSteamIDOwner; +} RemoteStorageDownloadUGCResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nCreatorAppID; + AppId_t m_nConsumerAppID; + char m_rgchTitle[129]; + char m_rgchDescription[8000]; + UGCHandle_t m_hFile; + UGCHandle_t m_hPreviewFile; + uint64 m_ulSteamIDOwner; + uint32 m_rtimeCreated; + uint32 m_rtimeUpdated; + enum ERemoteStoragePublishedFileVisibility m_eVisibility; + _Bool m_bBanned; + char m_rgchTags[1025]; + _Bool m_bTagsTruncated; + char m_pchFileName[260]; + int32 m_nFileSize; + int32 m_nPreviewFileSize; + char m_rgchURL[256]; + enum EWorkshopFileType m_eFileType; + _Bool m_bAcceptedForUse; +} RemoteStorageGetPublishedFileDetailsResult_t; + +typedef struct { + enum EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50] ; + float m_rgScore[50]; + AppId_t m_nAppId; + uint32 m_unStartIndex; +} RemoteStorageEnumerateWorkshopFilesResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_unPublishedFileId; + int32 m_nVotesFor; + int32 m_nVotesAgainst; + int32 m_nReports; + float m_fScore; +} RemoteStorageGetPublishedItemVoteDetailsResult_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} RemoteStoragePublishedFileSubscribed_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} RemoteStoragePublishedFileUnsubscribed_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} RemoteStoragePublishedFileDeleted_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} RemoteStorageUpdateUserPublishedItemVoteResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + enum EWorkshopVote m_eVote; +} RemoteStorageUserVoteDetails_t; + +typedef struct { + enum EResult m_eResult; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; +} RemoteStorageEnumerateUserSharedWorkshopFilesResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + enum EWorkshopFileAction m_eAction; +} RemoteStorageSetUserPublishedFileActionResult_t; + +typedef struct { + enum EResult m_eResult; + enum EWorkshopFileAction m_eAction; + int32 m_nResultsReturned; + int32 m_nTotalResultCount; + PublishedFileId_t m_rgPublishedFileId[50]; + uint32 m_rgRTimeUpdated[50]; +} RemoteStorageEnumeratePublishedFilesByUserActionResult_t; + +typedef struct { + double m_dPercentFile; + _Bool m_bPreview; +} RemoteStoragePublishFileProgress_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; + uint64 m_ulUnused; +} RemoteStoragePublishedFileUpdated_t; + +typedef struct { + enum EResult m_eResult; +} RemoteStorageFileWriteAsyncComplete_t; + +typedef struct { + SteamAPICall_t m_hFileReadAsync; + enum EResult m_eResult; + uint32 m_nOffset; + uint32 m_cubRead; +} RemoteStorageFileReadAsyncComplete_t; + +typedef struct { + CSteamID m_steamIDUser; + int32 m_nGlobalRank; + int32 m_nScore; + int32 m_cDetails; + UGCHandle_t m_hUGC; +} LeaderboardEntry_t; + +typedef struct { + uint64 m_nGameID; + enum EResult m_eResult; + CSteamID m_steamIDUser; +} UserStatsReceived_t; + +typedef struct { + uint64 m_nGameID; + enum EResult m_eResult; +} UserStatsStored_t; + +typedef struct { + uint64 m_nGameID; + _Bool m_bGroupAchievement; + char m_rgchAchievementName[128]; + uint32 m_nCurProgress; + uint32 m_nMaxProgress; +} UserAchievementStored_t; + +typedef struct { + SteamLeaderboard_t m_hSteamLeaderboard; + uint8 m_bLeaderboardFound; +} LeaderboardFindResult_t; + +typedef struct { + SteamLeaderboard_t m_hSteamLeaderboard; + SteamLeaderboardEntries_t m_hSteamLeaderboardEntries; + int m_cEntryCount; +} LeaderboardScoresDownloaded_t; + +typedef struct { + uint8 m_bSuccess; + SteamLeaderboard_t m_hSteamLeaderboard; + int32 m_nScore; + uint8 m_bScoreChanged; + int m_nGlobalRankNew; + int m_nGlobalRankPrevious; +} LeaderboardScoreUploaded_t; + +typedef struct { + uint8 m_bSuccess; + int32 m_cPlayers; +} NumberOfCurrentPlayers_t; + +typedef struct { + CSteamID m_steamIDUser; +} UserStatsUnloaded_t; + +typedef struct { + CGameID m_nGameID; + char m_rgchAchievementName[128]; + _Bool m_bAchieved; + int m_nIconHandle; +} UserAchievementIconFetched_t; + +typedef struct { + uint64 m_nGameID; + enum EResult m_eResult; +} GlobalAchievementPercentagesReady_t; + +typedef struct { + enum EResult m_eResult; + SteamLeaderboard_t m_hSteamLeaderboard; +} LeaderboardUGCSet_t; + +typedef struct { + uint64 m_nGameID; + enum EResult m_eResult; + uint64 m_ulRequiredDiskSpace; +} PS3TrophiesInstalled_t; + +typedef struct { + uint64 m_nGameID; + enum EResult m_eResult; +} GlobalStatsReceived_t; + +typedef struct { + AppId_t m_nAppID; +} DlcInstalled_t; + +typedef struct { + enum ERegisterActivationCodeResult m_eResult; + uint32 m_unPackageRegistered; +} RegisterActivationCodeResponse_t; + +typedef struct { + enum EResult m_eResult; + uint32 m_nAppID; + uint32 m_cchKeyLength; + char m_rgchKey[240]; +} AppProofOfPurchaseKeyResponse_t; + +typedef struct { + enum EResult m_eResult; + uint64 m_ulFileSize; + uint8 m_FileSHA[20] ; + uint32 m_unFlags; +} FileDetailsResult_t; + +typedef struct { + uint8 m_bConnectionActive; + uint8 m_bConnecting; + uint8 m_eP2PSessionError; + uint8 m_bUsingRelay; + int32 m_nBytesQueuedForSend; + int32 m_nPacketsQueuedForSend; + uint32 m_nRemoteIP; + uint16 m_nRemotePort; +} P2PSessionState_t; + +typedef struct { + CSteamID m_steamIDRemote; +} P2PSessionRequest_t; + +typedef struct { + CSteamID m_steamIDRemote; + uint8 m_eP2PSessionError; +} P2PSessionConnectFail_t; + +typedef struct { + SNetSocket_t m_hSocket; + SNetListenSocket_t m_hListenSocket; + CSteamID m_steamIDRemote; + int m_eSNetSocketState; +} SocketStatusCallback_t; + +typedef struct { + ScreenshotHandle m_hLocal; + enum EResult m_eResult; +} ScreenshotReady_t; + +typedef struct { + float m_flNewVolume; +} VolumeHasChanged_t; + +typedef struct { + _Bool m_bShuffled; +} MusicPlayerWantsShuffled_t; + +typedef struct { + _Bool m_bLooped; +} MusicPlayerWantsLooped_t; + +typedef struct { + float m_flNewVolume; +} MusicPlayerWantsVolume_t; + +typedef struct { + int nID; +} MusicPlayerSelectsQueueEntry_t; + +typedef struct { + int nID; +} MusicPlayerSelectsPlaylistEntry_t; + +typedef struct { + int m_nPlayingRepeatStatus; +} MusicPlayerWantsPlayingRepeatStatus_t; + +typedef struct { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; + _Bool m_bRequestSuccessful; + enum EHTTPStatusCode m_eStatusCode; + uint32 m_unBodySize; +} HTTPRequestCompleted_t; + +typedef struct { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; +} HTTPRequestHeadersReceived_t; + +typedef struct { + HTTPRequestHandle m_hRequest; + uint64 m_ulContextValue; + uint32 m_cOffset; + uint32 m_cBytesReceived; +} HTTPRequestDataReceived_t; + +typedef struct { + enum EControllerSourceMode eMode; + float x; + float y; + _Bool bActive; +} ControllerAnalogActionData_t; + +typedef struct { + _Bool bState; + _Bool bActive; +} ControllerDigitalActionData_t; + +typedef struct { + float rotQuatX; + float rotQuatY; + float rotQuatZ; + float rotQuatW; + float posAccelX; + float posAccelY; + float posAccelZ; + float rotVelX; + float rotVelY; + float rotVelZ; +} ControllerMotionData_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + enum EResult m_eResult; + enum EWorkshopFileType m_eFileType; + AppId_t m_nCreatorAppID; + AppId_t m_nConsumerAppID; + char m_rgchTitle[129]; + char m_rgchDescription[8000]; + uint64 m_ulSteamIDOwner; + uint32 m_rtimeCreated; + uint32 m_rtimeUpdated; + uint32 m_rtimeAddedToUserList; + enum ERemoteStoragePublishedFileVisibility m_eVisibility; + _Bool m_bBanned; + _Bool m_bAcceptedForUse; + _Bool m_bTagsTruncated; + char m_rgchTags[1025]; + UGCHandle_t m_hFile; + UGCHandle_t m_hPreviewFile; + char m_pchFileName[260]; + int32 m_nFileSize; + int32 m_nPreviewFileSize; + char m_rgchURL[256]; + uint32 m_unVotesUp; + uint32 m_unVotesDown; + float m_flScore; + uint32 m_unNumChildren; +} SteamUGCDetails_t; + +typedef struct { + UGCQueryHandle_t m_handle; + enum EResult m_eResult; + uint32 m_unNumResultsReturned; + uint32 m_unTotalMatchingResults; + _Bool m_bCachedData; +} SteamUGCQueryCompleted_t; + +typedef struct { + SteamUGCDetails_t m_details; + _Bool m_bCachedData; +} SteamUGCRequestUGCDetailsResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + _Bool m_bUserNeedsToAcceptWorkshopLegalAgreement; +} CreateItemResult_t; + +typedef struct { + enum EResult m_eResult; + _Bool m_bUserNeedsToAcceptWorkshopLegalAgreement; + PublishedFileId_t m_nPublishedFileId; +} SubmitItemUpdateResult_t; + +typedef struct { + AppId_t m_unAppID; + PublishedFileId_t m_nPublishedFileId; + enum EResult m_eResult; +} DownloadItemResult_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + enum EResult m_eResult; + _Bool m_bWasAddRequest; +} UserFavoriteItemsListChanged_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + enum EResult m_eResult; + _Bool m_bVoteUp; +} SetUserItemVoteResult_t; + +typedef struct { + PublishedFileId_t m_nPublishedFileId; + enum EResult m_eResult; + _Bool m_bVotedUp; + _Bool m_bVotedDown; + _Bool m_bVoteSkipped; +} GetUserItemVoteResult_t; + +typedef struct { + enum EResult m_eResult; +} StartPlaytimeTrackingResult_t; + +typedef struct { + enum EResult m_eResult; +} StopPlaytimeTrackingResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +} AddUGCDependencyResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + PublishedFileId_t m_nChildPublishedFileId; +} RemoveUGCDependencyResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} AddAppDependencyResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_nAppID; +} RemoveAppDependencyResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; + AppId_t m_rgAppIDs[32]; + uint32 m_nNumAppDependencies; + uint32 m_nTotalNumAppDependencies; +} GetAppDependenciesResult_t; + +typedef struct { + enum EResult m_eResult; + PublishedFileId_t m_nPublishedFileId; +} DeleteItemResult_t; + +typedef struct { + AppId_t m_nAppID; +} SteamAppInstalled_t; + +typedef struct { + AppId_t m_nAppID; +} SteamAppUninstalled_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; +} HTML_BrowserReady_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pBGRA; + uint32 unWide; + uint32 unTall; + uint32 unUpdateX; + uint32 unUpdateY; + uint32 unUpdateWide; + uint32 unUpdateTall; + uint32 unScrollX; + uint32 unScrollY; + float flPageScale; + uint32 unPageSerial; +} HTML_NeedsPaint_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchTarget; + const char * pchPostData; + _Bool bIsRedirect; +} HTML_StartRequest_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; +} HTML_CloseBrowser_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPostData; + _Bool bIsRedirect; + const char * pchPageTitle; + _Bool bNewNavigation; +} HTML_URLChanged_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + const char * pchPageTitle; +} HTML_FinishedRequest_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchURL; +} HTML_OpenLinkInNewTab_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; +} HTML_ChangedTitle_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + uint32 unResults; + uint32 unCurrentMatch; +} HTML_SearchResults_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + _Bool bCanGoBack; + _Bool bCanGoForward; +} HTML_CanGoBackAndForward_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + uint32 unScrollMax; + uint32 unScrollCurrent; + float flPageScale; + _Bool bVisible; + uint32 unPageSize; +} HTML_HorizontalScroll_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + uint32 unScrollMax; + uint32 unScrollCurrent; + float flPageScale; + _Bool bVisible; + uint32 unPageSize; +} HTML_VerticalScroll_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + uint32 x; + uint32 y; + const char * pchURL; + _Bool bInput; + _Bool bLiveLink; +} HTML_LinkAtPosition_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} HTML_JSAlert_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchMessage; +} HTML_JSConfirm_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchTitle; + const char * pchInitialFile; +} HTML_FileOpenDialog_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchURL; + uint32 unX; + uint32 unY; + uint32 unWide; + uint32 unTall; + HHTMLBrowser unNewWindow_BrowserHandle; +} HTML_NewWindow_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + uint32 eMouseCursor; +} HTML_SetCursor_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} HTML_StatusText_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} HTML_ShowToolTip_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + const char * pchMsg; +} HTML_UpdateToolTip_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; +} HTML_HideToolTip_t; + +typedef struct { + HHTMLBrowser unBrowserHandle; + HHTMLBrowser unOldBrowserHandle; +} HTML_BrowserRestarted_t; + +typedef struct { + SteamItemInstanceID_t m_itemId; + SteamItemDef_t m_iDefinition; + uint16 m_unQuantity; + uint16 m_unFlags; +} SteamItemDetails_t; + +typedef struct { + SteamInventoryResult_t m_handle; + enum EResult m_result; +} SteamInventoryResultReady_t; + +typedef struct { + SteamInventoryResult_t m_handle; +} SteamInventoryFullUpdate_t; + +typedef struct { + enum EResult m_result; + CSteamID m_steamID; + int m_numEligiblePromoItemDefs; + _Bool m_bCachedData; +} SteamInventoryEligiblePromoItemDefIDs_t; + +typedef struct { + enum EResult m_result; + uint64 m_ulOrderID; + uint64 m_ulTransID; +} SteamInventoryStartPurchaseResult_t; + +typedef struct { + enum EResult m_result; + char m_rgchCurrency[4]; +} SteamInventoryRequestPricesResult_t; + +typedef struct { + enum EBroadcastUploadResult m_eResult; +} BroadcastUploadStop_t; + +typedef struct { + enum EResult m_eResult; + AppId_t m_unVideoAppID; + char m_rgchURL[256]; +} GetVideoURLResult_t; + +typedef struct { + enum EResult m_eResult; + AppId_t m_unVideoAppID; +} GetOPFSettingsResult_t; + +#define ISteamUser void +#define ISteamFriends void +#define ISteamUtils void +#define ISteamMatchmaking void +#define ISteamUserStats void +#define ISteamApps void +#define ISteamMatchmakingServers void +#define ISteamNetworking void +#define ISteamRemoteStorage void +#define ISteamScreenshots void +#define ISteamHTTP void +#define ISteamController void +#define ISteamUGC void +#define ISteamAppList void +#define ISteamMusic void +#define ISteamMusicRemote void +#define ISteamHTMLSurface void +#define ISteamInventory void +#define ISteamVideo void +#define ISteamParentalSettings void +#define ISteamGameServer void +#define ISteamGameServerStats void +#define ISteamMatchmakingServerListResponse void +#define ISteamMatchmakingPingResponse void +#define ISteamMatchmakingPlayersResponse void +#define ISteamMatchmakingRulesResponse void + +/* FIXME */ +/* typedef struct { */ +/* ISteamClient * m_pSteamClient; */ +/* ISteamUser * m_pSteamUser; */ +/* ISteamFriends * m_pSteamFriends; */ +/* ISteamUtils * m_pSteamUtils; */ +/* ISteamMatchmaking * m_pSteamMatchmaking; */ +/* ISteamUserStats * m_pSteamUserStats; */ +/* ISteamApps * m_pSteamApps; */ +/* ISteamMatchmakingServers * m_pSteamMatchmakingServers; */ +/* ISteamNetworking * m_pSteamNetworking; */ +/* ISteamRemoteStorage * m_pSteamRemoteStorage; */ +/* ISteamScreenshots * m_pSteamScreenshots; */ +/* ISteamHTTP * m_pSteamHTTP; */ +/* ISteamController * m_pController; */ +/* ISteamUGC * m_pSteamUGC; */ +/* ISteamAppList * m_pSteamAppList; */ +/* ISteamMusic * m_pSteamMusic; */ +/* ISteamMusicRemote * m_pSteamMusicRemote; */ +/* ISteamHTMLSurface * m_pSteamHTMLSurface; */ +/* ISteamInventory * m_pSteamInventory; */ +/* ISteamVideo * m_pSteamVideo; */ +/* ISteamParentalSettings * m_pSteamParentalSettings; */ +/* } CSteamAPIContext; */ + +typedef struct { + uint8 m_nCallbackFlags; + int m_iCallback; +} CCallbackBase; + +typedef struct { + SteamAPICall_t m_hAPICall; + void * m_pObj; + void(*m_func)(void *, _Bool); +} CCallResult; + +typedef struct { + void * m_pObj; + void(*m_func)(void *); +} CCallback; + +typedef struct { + CSteamID m_SteamID; + CSteamID m_OwnerSteamID; +} GSClientApprove_t; + +typedef struct { + CSteamID m_SteamID; + enum EDenyReason m_eDenyReason; + char m_rgchOptionalText[128]; +} GSClientDeny_t; + +typedef struct { + CSteamID m_SteamID; + enum EDenyReason m_eDenyReason; +} GSClientKick_t; + +typedef struct { + uint64 m_SteamID; + char m_pchAchievement[128]; + _Bool m_bUnlocked; +} GSClientAchievementStatus_t; + +typedef struct { + uint8 m_bSecure; +} GSPolicyResponse_t; + +typedef struct { + enum EResult m_eResult; + int32 m_nRank; + uint32 m_unTotalConnects; + uint32 m_unTotalMinutesPlayed; +} GSGameplayStats_t; + +typedef struct { + CSteamID m_SteamIDUser; + CSteamID m_SteamIDGroup; + _Bool m_bMember; + _Bool m_bOfficer; +} GSClientGroupStatus_t; + +typedef struct { + enum EResult m_eResult; + uint32 m_unReputationScore; + _Bool m_bBanned; + uint32 m_unBannedIP; + uint16 m_usBannedPort; + uint64 m_ulBannedGameID; + uint32 m_unBanExpires; +} GSReputation_t; + +typedef struct { + enum EResult m_eResult; +} AssociateWithClanResult_t; + +typedef struct { + enum EResult m_eResult; + int m_cPlayersThatDontLikeCandidate; + int m_cPlayersThatCandidateDoesntLike; + int m_cClanPlayersThatDontLikeCandidate; + CSteamID m_SteamIDCandidate; +} ComputeNewPlayerCompatibilityResult_t; + +typedef struct { + enum EResult m_eResult; + CSteamID m_steamIDUser; +} GSStatsReceived_t; + +typedef struct { + enum EResult m_eResult; + CSteamID m_steamIDUser; +} GSStatsStored_t; + +typedef struct { + CSteamID m_steamIDUser; +} GSStatsUnloaded_t; + +/* TODO */ + /* ,SteamAPI_RunCallbacks,(); */ + /* ,SteamAPI_RegisterCallback,(pCallback, iCallback); */ + /* ,SteamAPI_UnregisterCallback,(pCallback); */ + /* ,SteamAPI_RegisterCallResult,(pCallback, hAPICall); */ + /* ,SteamAPI_UnregisterCallResult,(pCallback, hAPICall); */ + /* ,SteamAPI_IsSteamRunning,(); */ + /* Steam_RunCallbacks(hSteamPipe, bGameServerCallbacks); */ + /* Steam_RegisterInterfaceFuncs(hModule); */ + /* Steam_GetHSteamUserCurrent(); */ + /* ,SteamAPI_GetSteamInstallPath,(); */ + /* ,SteamAPI_GetHSteamPipe,(); */ + /* ,SteamAPI_SetTryCatchCallbacks,(bTryCatchCallbacks); */ + +/* void S_CALLTYPE RunCallbacks() { */ +/* void S_CALLTYPE RegisterCallback(class CCallbackBase *pCallback, int iCallback) */ +/* void S_CALLTYPE UnregisterCallback(class CCallbackBase *pCallback) */ +/* void S_CALLTYPE RegisterCallResult(class CCallbackBase *pCallback, SteamAPICall_t hAPICall) { */ + +/* S_API void SteamAPI_ISteamHTMLSurface_MouseUp(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, ISteamHTMLSurface::EHTMLMouseButton eMouseButton); */ +/* S_API void SteamAPI_ISteamHTMLSurface_MouseDown(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, ISteamHTMLSurface::EHTMLMouseButton eMouseButton); */ +/* S_API void SteamAPI_ISteamHTMLSurface_MouseDoubleClick(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, ISteamHTMLSurface::EHTMLMouseButton eMouseButton); */ +/* S_API void SteamAPI_ISteamHTMLSurface_MouseMove(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, int x, int y); */ +/* S_API void SteamAPI_ISteamHTMLSurface_MouseWheel(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, int32 nDelta); */ +/* S_API void SteamAPI_ISteamHTMLSurface_KeyDown(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, ISteamHTMLSurface::EHTMLKeyModifiers eHTMLKeyModifiers); */ +/* S_API void SteamAPI_ISteamHTMLSurface_KeyUp(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, uint32 nNativeKeyCode, ISteamHTMLSurface::EHTMLKeyModifiers eHTMLKeyModifiers); */ +/* S_API void SteamAPI_ISteamHTMLSurface_KeyChar(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, uint32 cUnicodeChar, ISteamHTMLSurface::EHTMLKeyModifiers eHTMLKeyModifiers); */ + +intptr_t SteamClient(); + +#define STEAM_API(X) \ +X(bool,SteamAPI_Init,()) \ +X(void,SteamAPI_Shutdown,()) \ +X(bool,SteamAPI_RestartAppIfNecessary,( uint32 unOwnAppID )) \ +X(void,SteamAPI_ReleaseCurrentThreadMemory,()) \ +X(void,SteamAPI_WriteMiniDump,( uint32 uStructuredExceptionCode, void* pvExceptionInfo, uint32 uBuildID )) \ +X(void,SteamAPI_SetMiniDumpComment,( const char *pchMsg )) \ +X(HSteamPipe ,SteamAPI_ISteamClient_CreateSteamPipe,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamClient_BReleaseSteamPipe,(intptr_t instancePtr, HSteamPipe hSteamPipe)) \ +X(HSteamUser ,SteamAPI_ISteamClient_ConnectToGlobalUser,(intptr_t instancePtr, HSteamPipe hSteamPipe)) \ +X(HSteamUser ,SteamAPI_ISteamClient_CreateLocalUser,(intptr_t instancePtr, HSteamPipe * phSteamPipe, EAccountType eAccountType)) \ +X(void ,SteamAPI_ISteamClient_ReleaseUser,(intptr_t instancePtr, HSteamPipe hSteamPipe, HSteamUser hUser)) \ +X(ISteamUser * ,SteamAPI_ISteamClient_GetISteamUser,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamGameServer * ,SteamAPI_ISteamClient_GetISteamGameServer,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(void ,SteamAPI_ISteamClient_SetLocalIPBinding,(intptr_t instancePtr, uint32 unIP, uint16 usPort)) \ +X(ISteamFriends * ,SteamAPI_ISteamClient_GetISteamFriends,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamUtils * ,SteamAPI_ISteamClient_GetISteamUtils,(intptr_t instancePtr, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamMatchmaking * ,SteamAPI_ISteamClient_GetISteamMatchmaking,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamMatchmakingServers * ,SteamAPI_ISteamClient_GetISteamMatchmakingServers,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(void * ,SteamAPI_ISteamClient_GetISteamGenericInterface,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamUserStats * ,SteamAPI_ISteamClient_GetISteamUserStats,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamGameServerStats * ,SteamAPI_ISteamClient_GetISteamGameServerStats,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamApps * ,SteamAPI_ISteamClient_GetISteamApps,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamNetworking * ,SteamAPI_ISteamClient_GetISteamNetworking,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamRemoteStorage * ,SteamAPI_ISteamClient_GetISteamRemoteStorage,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamScreenshots * ,SteamAPI_ISteamClient_GetISteamScreenshots,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(uint32 ,SteamAPI_ISteamClient_GetIPCCallCount,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamClient_SetWarningMessageHook,(intptr_t instancePtr, SteamAPIWarningMessageHook_t pFunction)) \ +X(bool ,SteamAPI_ISteamClient_BShutdownIfAllPipesClosed,(intptr_t instancePtr)) \ +X(ISteamHTTP * ,SteamAPI_ISteamClient_GetISteamHTTP,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamController * ,SteamAPI_ISteamClient_GetISteamController,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamUGC * ,SteamAPI_ISteamClient_GetISteamUGC,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamAppList * ,SteamAPI_ISteamClient_GetISteamAppList,(intptr_t instancePtr, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamMusic * ,SteamAPI_ISteamClient_GetISteamMusic,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamMusicRemote * ,SteamAPI_ISteamClient_GetISteamMusicRemote,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamHTMLSurface * ,SteamAPI_ISteamClient_GetISteamHTMLSurface,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamInventory * ,SteamAPI_ISteamClient_GetISteamInventory,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamVideo * ,SteamAPI_ISteamClient_GetISteamVideo,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(ISteamParentalSettings * ,SteamAPI_ISteamClient_GetISteamParentalSettings,(intptr_t instancePtr, HSteamUser hSteamuser, HSteamPipe hSteamPipe, const char * pchVersion)) \ +X(HSteamUser ,SteamAPI_ISteamUser_GetHSteamUser,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUser_BLoggedOn,(intptr_t instancePtr)) \ +X(uint64 ,SteamAPI_ISteamUser_GetSteamID,(intptr_t instancePtr)) \ +X(int ,SteamAPI_ISteamUser_InitiateGameConnection,(intptr_t instancePtr, void * pAuthBlob, int cbMaxAuthBlob, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer, bool bSecure)) \ +X(void ,SteamAPI_ISteamUser_TerminateGameConnection,(intptr_t instancePtr, uint32 unIPServer, uint16 usPortServer)) \ +X(void ,SteamAPI_ISteamUser_TrackAppUsageEvent,(intptr_t instancePtr, CGameID gameID, int eAppUsageEvent, const char * pchExtraInfo)) \ +X(bool ,SteamAPI_ISteamUser_GetUserDataFolder,(intptr_t instancePtr, char * pchBuffer, int cubBuffer)) \ +X(void ,SteamAPI_ISteamUser_StartVoiceRecording,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUser_StopVoiceRecording,(intptr_t instancePtr)) \ +X(EVoiceResult ,SteamAPI_ISteamUser_GetAvailableVoice,(intptr_t instancePtr, uint32 * pcbCompressed, uint32 * pcbUncompressed_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated)) \ +X(EVoiceResult ,SteamAPI_ISteamUser_GetVoice,(intptr_t instancePtr, bool bWantCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, bool bWantUncompressed_Deprecated, void * pUncompressedDestBuffer_Deprecated, uint32 cbUncompressedDestBufferSize_Deprecated, uint32 * nUncompressBytesWritten_Deprecated, uint32 nUncompressedVoiceDesiredSampleRate_Deprecated)) \ +X(EVoiceResult ,SteamAPI_ISteamUser_DecompressVoice,(intptr_t instancePtr, const void * pCompressed, uint32 cbCompressed, void * pDestBuffer, uint32 cbDestBufferSize, uint32 * nBytesWritten, uint32 nDesiredSampleRate)) \ +X(uint32 ,SteamAPI_ISteamUser_GetVoiceOptimalSampleRate,(intptr_t instancePtr)) \ +X(HAuthTicket ,SteamAPI_ISteamUser_GetAuthSessionTicket,(intptr_t instancePtr, void * pTicket, int cbMaxTicket, uint32 * pcbTicket)) \ +X(EBeginAuthSessionResult ,SteamAPI_ISteamUser_BeginAuthSession,(intptr_t instancePtr, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID)) \ +X(void ,SteamAPI_ISteamUser_EndAuthSession,(intptr_t instancePtr, CSteamID steamID)) \ +X(void ,SteamAPI_ISteamUser_CancelAuthTicket,(intptr_t instancePtr, HAuthTicket hAuthTicket)) \ +X(EUserHasLicenseForAppResult ,SteamAPI_ISteamUser_UserHasLicenseForApp,(intptr_t instancePtr, CSteamID steamID, AppId_t appID)) \ +X(bool ,SteamAPI_ISteamUser_BIsBehindNAT,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUser_AdvertiseGame,(intptr_t instancePtr, CSteamID steamIDGameServer, uint32 unIPServer, uint16 usPortServer)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUser_RequestEncryptedAppTicket,(intptr_t instancePtr, void * pDataToInclude, int cbDataToInclude)) \ +X(bool ,SteamAPI_ISteamUser_GetEncryptedAppTicket,(intptr_t instancePtr, void * pTicket, int cbMaxTicket, uint32 * pcbTicket)) \ +X(int ,SteamAPI_ISteamUser_GetGameBadgeLevel,(intptr_t instancePtr, int nSeries, bool bFoil)) \ +X(int ,SteamAPI_ISteamUser_GetPlayerSteamLevel,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUser_RequestStoreAuthURL,(intptr_t instancePtr, const char * pchRedirectURL)) \ +X(bool ,SteamAPI_ISteamUser_BIsPhoneVerified,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUser_BIsTwoFactorEnabled,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUser_BIsPhoneIdentifying,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUser_BIsPhoneRequiringVerification,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamFriends_GetPersonaName,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_SetPersonaName,(intptr_t instancePtr, const char * pchPersonaName)) \ +X(EPersonaState ,SteamAPI_ISteamFriends_GetPersonaState,(intptr_t instancePtr)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendCount,(intptr_t instancePtr, int iFriendFlags)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetFriendByIndex,(intptr_t instancePtr, int iFriend, int iFriendFlags)) \ +X(EFriendRelationship ,SteamAPI_ISteamFriends_GetFriendRelationship,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(EPersonaState ,SteamAPI_ISteamFriends_GetFriendPersonaState,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(const char * ,SteamAPI_ISteamFriends_GetFriendPersonaName,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(bool ,SteamAPI_ISteamFriends_GetFriendGamePlayed,(intptr_t instancePtr, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo)) \ +X(const char * ,SteamAPI_ISteamFriends_GetFriendPersonaNameHistory,(intptr_t instancePtr, CSteamID steamIDFriend, int iPersonaName)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendSteamLevel,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(const char * ,SteamAPI_ISteamFriends_GetPlayerNickname,(intptr_t instancePtr, CSteamID steamIDPlayer)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendsGroupCount,(intptr_t instancePtr)) \ +X(FriendsGroupID_t ,SteamAPI_ISteamFriends_GetFriendsGroupIDByIndex,(intptr_t instancePtr, int iFG)) \ +X(const char * ,SteamAPI_ISteamFriends_GetFriendsGroupName,(intptr_t instancePtr, FriendsGroupID_t friendsGroupID)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendsGroupMembersCount,(intptr_t instancePtr, FriendsGroupID_t friendsGroupID)) \ +X(void ,SteamAPI_ISteamFriends_GetFriendsGroupMembersList,(intptr_t instancePtr, FriendsGroupID_t friendsGroupID, CSteamID * pOutSteamIDMembers, int nMembersCount)) \ +X(bool ,SteamAPI_ISteamFriends_HasFriend,(intptr_t instancePtr, CSteamID steamIDFriend, int iFriendFlags)) \ +X(int ,SteamAPI_ISteamFriends_GetClanCount,(intptr_t instancePtr)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetClanByIndex,(intptr_t instancePtr, int iClan)) \ +X(const char * ,SteamAPI_ISteamFriends_GetClanName,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(const char * ,SteamAPI_ISteamFriends_GetClanTag,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(bool ,SteamAPI_ISteamFriends_GetClanActivityCounts,(intptr_t instancePtr, CSteamID steamIDClan, int * pnOnline, int * pnInGame, int * pnChatting)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_DownloadClanActivityCounts,(intptr_t instancePtr, CSteamID * psteamIDClans, int cClansToRequest)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendCountFromSource,(intptr_t instancePtr, CSteamID steamIDSource)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetFriendFromSourceByIndex,(intptr_t instancePtr, CSteamID steamIDSource, int iFriend)) \ +X(bool ,SteamAPI_ISteamFriends_IsUserInSource,(intptr_t instancePtr, CSteamID steamIDUser, CSteamID steamIDSource)) \ +X(void ,SteamAPI_ISteamFriends_SetInGameVoiceSpeaking,(intptr_t instancePtr, CSteamID steamIDUser, bool bSpeaking)) \ +X(void ,SteamAPI_ISteamFriends_ActivateGameOverlay,(intptr_t instancePtr, const char * pchDialog)) \ +X(void ,SteamAPI_ISteamFriends_ActivateGameOverlayToUser,(intptr_t instancePtr, const char * pchDialog, CSteamID steamID)) \ +X(void ,SteamAPI_ISteamFriends_ActivateGameOverlayToWebPage,(intptr_t instancePtr, const char * pchURL)) \ +X(void ,SteamAPI_ISteamFriends_ActivateGameOverlayToStore,(intptr_t instancePtr, AppId_t nAppID, EOverlayToStoreFlag eFlag)) \ +X(void ,SteamAPI_ISteamFriends_SetPlayedWith,(intptr_t instancePtr, CSteamID steamIDUserPlayedWith)) \ +X(void ,SteamAPI_ISteamFriends_ActivateGameOverlayInviteDialog,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(int ,SteamAPI_ISteamFriends_GetSmallFriendAvatar,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(int ,SteamAPI_ISteamFriends_GetMediumFriendAvatar,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(int ,SteamAPI_ISteamFriends_GetLargeFriendAvatar,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(bool ,SteamAPI_ISteamFriends_RequestUserInformation,(intptr_t instancePtr, CSteamID steamIDUser, bool bRequireNameOnly)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_RequestClanOfficerList,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetClanOwner,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(int ,SteamAPI_ISteamFriends_GetClanOfficerCount,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetClanOfficerByIndex,(intptr_t instancePtr, CSteamID steamIDClan, int iOfficer)) \ +X(uint32 ,SteamAPI_ISteamFriends_GetUserRestrictions,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamFriends_SetRichPresence,(intptr_t instancePtr, const char * pchKey, const char * pchValue)) \ +X(void ,SteamAPI_ISteamFriends_ClearRichPresence,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamFriends_GetFriendRichPresence,(intptr_t instancePtr, CSteamID steamIDFriend, const char * pchKey)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendRichPresenceKeyCount,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(const char * ,SteamAPI_ISteamFriends_GetFriendRichPresenceKeyByIndex,(intptr_t instancePtr, CSteamID steamIDFriend, int iKey)) \ +X(void ,SteamAPI_ISteamFriends_RequestFriendRichPresence,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(bool ,SteamAPI_ISteamFriends_InviteUserToGame,(intptr_t instancePtr, CSteamID steamIDFriend, const char * pchConnectString)) \ +X(int ,SteamAPI_ISteamFriends_GetCoplayFriendCount,(intptr_t instancePtr)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetCoplayFriend,(intptr_t instancePtr, int iCoplayFriend)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendCoplayTime,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(AppId_t ,SteamAPI_ISteamFriends_GetFriendCoplayGame,(intptr_t instancePtr, CSteamID steamIDFriend)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_JoinClanChatRoom,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(bool ,SteamAPI_ISteamFriends_LeaveClanChatRoom,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(int ,SteamAPI_ISteamFriends_GetClanChatMemberCount,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(uint64 ,SteamAPI_ISteamFriends_GetChatMemberByIndex,(intptr_t instancePtr, CSteamID steamIDClan, int iUser)) \ +X(bool ,SteamAPI_ISteamFriends_SendClanChatMessage,(intptr_t instancePtr, CSteamID steamIDClanChat, const char * pchText)) \ +X(int ,SteamAPI_ISteamFriends_GetClanChatMessage,(intptr_t instancePtr, CSteamID steamIDClanChat, int iMessage, void * prgchText, int cchTextMax, EChatEntryType * peChatEntryType, CSteamID * psteamidChatter)) \ +X(bool ,SteamAPI_ISteamFriends_IsClanChatAdmin,(intptr_t instancePtr, CSteamID steamIDClanChat, CSteamID steamIDUser)) \ +X(bool ,SteamAPI_ISteamFriends_IsClanChatWindowOpenInSteam,(intptr_t instancePtr, CSteamID steamIDClanChat)) \ +X(bool ,SteamAPI_ISteamFriends_OpenClanChatWindowInSteam,(intptr_t instancePtr, CSteamID steamIDClanChat)) \ +X(bool ,SteamAPI_ISteamFriends_CloseClanChatWindowInSteam,(intptr_t instancePtr, CSteamID steamIDClanChat)) \ +X(bool ,SteamAPI_ISteamFriends_SetListenForFriendsMessages,(intptr_t instancePtr, bool bInterceptEnabled)) \ +X(bool ,SteamAPI_ISteamFriends_ReplyToFriendMessage,(intptr_t instancePtr, CSteamID steamIDFriend, const char * pchMsgToSend)) \ +X(int ,SteamAPI_ISteamFriends_GetFriendMessage,(intptr_t instancePtr, CSteamID steamIDFriend, int iMessageID, void * pvData, int cubData, EChatEntryType * peChatEntryType)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_GetFollowerCount,(intptr_t instancePtr, CSteamID steamID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_IsFollowing,(intptr_t instancePtr, CSteamID steamID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamFriends_EnumerateFollowingList,(intptr_t instancePtr, uint32 unStartIndex)) \ +X(bool ,SteamAPI_ISteamFriends_IsClanPublic,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(bool ,SteamAPI_ISteamFriends_IsClanOfficialGameGroup,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(uint32 ,SteamAPI_ISteamUtils_GetSecondsSinceAppActive,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamUtils_GetSecondsSinceComputerActive,(intptr_t instancePtr)) \ +X(EUniverse ,SteamAPI_ISteamUtils_GetConnectedUniverse,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamUtils_GetServerRealTime,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamUtils_GetIPCountry,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUtils_GetImageSize,(intptr_t instancePtr, int iImage, uint32 * pnWidth, uint32 * pnHeight)) \ +X(bool ,SteamAPI_ISteamUtils_GetImageRGBA,(intptr_t instancePtr, int iImage, uint8 * pubDest, int nDestBufferSize)) \ +X(bool ,SteamAPI_ISteamUtils_GetCSERIPPort,(intptr_t instancePtr, uint32 * unIP, uint16 * usPort)) \ +X(uint8 ,SteamAPI_ISteamUtils_GetCurrentBatteryPower,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamUtils_GetAppID,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUtils_SetOverlayNotificationPosition,(intptr_t instancePtr, ENotificationPosition eNotificationPosition)) \ +X(bool ,SteamAPI_ISteamUtils_IsAPICallCompleted,(intptr_t instancePtr, SteamAPICall_t hSteamAPICall, bool * pbFailed)) \ +X(ESteamAPICallFailure ,SteamAPI_ISteamUtils_GetAPICallFailureReason,(intptr_t instancePtr, SteamAPICall_t hSteamAPICall)) \ +X(bool ,SteamAPI_ISteamUtils_GetAPICallResult,(intptr_t instancePtr, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed)) \ +X(uint32 ,SteamAPI_ISteamUtils_GetIPCCallCount,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUtils_SetWarningMessageHook,(intptr_t instancePtr, SteamAPIWarningMessageHook_t pFunction)) \ +X(bool ,SteamAPI_ISteamUtils_IsOverlayEnabled,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUtils_BOverlayNeedsPresent,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUtils_CheckFileSignature,(intptr_t instancePtr, const char * szFileName)) \ +X(bool ,SteamAPI_ISteamUtils_ShowGamepadTextInput,(intptr_t instancePtr, EGamepadTextInputMode eInputMode, EGamepadTextInputLineMode eLineInputMode, const char * pchDescription, uint32 unCharMax, const char * pchExistingText)) \ +X(uint32 ,SteamAPI_ISteamUtils_GetEnteredGamepadTextLength,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUtils_GetEnteredGamepadTextInput,(intptr_t instancePtr, char * pchText, uint32 cchText)) \ +X(const char * ,SteamAPI_ISteamUtils_GetSteamUILanguage,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUtils_IsSteamRunningInVR,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUtils_SetOverlayNotificationInset,(intptr_t instancePtr, int nHorizontalInset, int nVerticalInset)) \ +X(bool ,SteamAPI_ISteamUtils_IsSteamInBigPictureMode,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUtils_StartVRDashboard,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUtils_IsVRHeadsetStreamingEnabled,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamUtils_SetVRHeadsetStreamingEnabled,(intptr_t instancePtr, bool bEnabled)) \ +X(int ,SteamAPI_ISteamMatchmaking_GetFavoriteGameCount,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMatchmaking_GetFavoriteGame,(intptr_t instancePtr, int iGame, AppId_t * pnAppID, uint32 * pnIP, uint16 * pnConnPort, uint16 * pnQueryPort, uint32 * punFlags, uint32 * pRTime32LastPlayedOnServer)) \ +X(int ,SteamAPI_ISteamMatchmaking_AddFavoriteGame,(intptr_t instancePtr, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags, uint32 rTime32LastPlayedOnServer)) \ +X(bool ,SteamAPI_ISteamMatchmaking_RemoveFavoriteGame,(intptr_t instancePtr, AppId_t nAppID, uint32 nIP, uint16 nConnPort, uint16 nQueryPort, uint32 unFlags)) \ +X(SteamAPICall_t ,SteamAPI_ISteamMatchmaking_RequestLobbyList,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListStringFilter,(intptr_t instancePtr, const char * pchKeyToMatch, const char * pchValueToMatch, ELobbyComparison eComparisonType)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListNumericalFilter,(intptr_t instancePtr, const char * pchKeyToMatch, int nValueToMatch, ELobbyComparison eComparisonType)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListNearValueFilter,(intptr_t instancePtr, const char * pchKeyToMatch, int nValueToBeCloseTo)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListFilterSlotsAvailable,(intptr_t instancePtr, int nSlotsAvailable)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListDistanceFilter,(intptr_t instancePtr, ELobbyDistanceFilter eLobbyDistanceFilter)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListResultCountFilter,(intptr_t instancePtr, int cMaxResults)) \ +X(void ,SteamAPI_ISteamMatchmaking_AddRequestLobbyListCompatibleMembersFilter,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(uint64 ,SteamAPI_ISteamMatchmaking_GetLobbyByIndex,(intptr_t instancePtr, int iLobby)) \ +X(SteamAPICall_t ,SteamAPI_ISteamMatchmaking_CreateLobby,(intptr_t instancePtr, ELobbyType eLobbyType, int cMaxMembers)) \ +X(SteamAPICall_t ,SteamAPI_ISteamMatchmaking_JoinLobby,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(void ,SteamAPI_ISteamMatchmaking_LeaveLobby,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(bool ,SteamAPI_ISteamMatchmaking_InviteUserToLobby,(intptr_t instancePtr, CSteamID steamIDLobby, CSteamID steamIDInvitee)) \ +X(int ,SteamAPI_ISteamMatchmaking_GetNumLobbyMembers,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(uint64 ,SteamAPI_ISteamMatchmaking_GetLobbyMemberByIndex,(intptr_t instancePtr, CSteamID steamIDLobby, int iMember)) \ +X(const char * ,SteamAPI_ISteamMatchmaking_GetLobbyData,(intptr_t instancePtr, CSteamID steamIDLobby, const char * pchKey)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SetLobbyData,(intptr_t instancePtr, CSteamID steamIDLobby, const char * pchKey, const char * pchValue)) \ +X(int ,SteamAPI_ISteamMatchmaking_GetLobbyDataCount,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(bool ,SteamAPI_ISteamMatchmaking_GetLobbyDataByIndex,(intptr_t instancePtr, CSteamID steamIDLobby, int iLobbyData, char * pchKey, int cchKeyBufferSize, char * pchValue, int cchValueBufferSize)) \ +X(bool ,SteamAPI_ISteamMatchmaking_DeleteLobbyData,(intptr_t instancePtr, CSteamID steamIDLobby, const char * pchKey)) \ +X(const char * ,SteamAPI_ISteamMatchmaking_GetLobbyMemberData,(intptr_t instancePtr, CSteamID steamIDLobby, CSteamID steamIDUser, const char * pchKey)) \ +X(void ,SteamAPI_ISteamMatchmaking_SetLobbyMemberData,(intptr_t instancePtr, CSteamID steamIDLobby, const char * pchKey, const char * pchValue)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SendLobbyChatMsg,(intptr_t instancePtr, CSteamID steamIDLobby, const void * pvMsgBody, int cubMsgBody)) \ +X(int ,SteamAPI_ISteamMatchmaking_GetLobbyChatEntry,(intptr_t instancePtr, CSteamID steamIDLobby, int iChatID, CSteamID * pSteamIDUser, void * pvData, int cubData, EChatEntryType * peChatEntryType)) \ +X(bool ,SteamAPI_ISteamMatchmaking_RequestLobbyData,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(void ,SteamAPI_ISteamMatchmaking_SetLobbyGameServer,(intptr_t instancePtr, CSteamID steamIDLobby, uint32 unGameServerIP, uint16 unGameServerPort, CSteamID steamIDGameServer)) \ +X(bool ,SteamAPI_ISteamMatchmaking_GetLobbyGameServer,(intptr_t instancePtr, CSteamID steamIDLobby, uint32 * punGameServerIP, uint16 * punGameServerPort, CSteamID * psteamIDGameServer)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SetLobbyMemberLimit,(intptr_t instancePtr, CSteamID steamIDLobby, int cMaxMembers)) \ +X(int ,SteamAPI_ISteamMatchmaking_GetLobbyMemberLimit,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SetLobbyType,(intptr_t instancePtr, CSteamID steamIDLobby, ELobbyType eLobbyType)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SetLobbyJoinable,(intptr_t instancePtr, CSteamID steamIDLobby, bool bLobbyJoinable)) \ +X(uint64 ,SteamAPI_ISteamMatchmaking_GetLobbyOwner,(intptr_t instancePtr, CSteamID steamIDLobby)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SetLobbyOwner,(intptr_t instancePtr, CSteamID steamIDLobby, CSteamID steamIDNewOwner)) \ +X(bool ,SteamAPI_ISteamMatchmaking_SetLinkedLobby,(intptr_t instancePtr, CSteamID steamIDLobby, CSteamID steamIDLobbyDependent)) \ +X(void ,SteamAPI_ISteamMatchmakingServerListResponse_ServerResponded,(intptr_t instancePtr, HServerListRequest hRequest, int iServer)) \ +X(void ,SteamAPI_ISteamMatchmakingServerListResponse_ServerFailedToRespond,(intptr_t instancePtr, HServerListRequest hRequest, int iServer)) \ +X(void ,SteamAPI_ISteamMatchmakingServerListResponse_RefreshComplete,(intptr_t instancePtr, HServerListRequest hRequest, EMatchMakingServerResponse response)) \ +X(void ,SteamAPI_ISteamMatchmakingPingResponse_ServerResponded,(intptr_t instancePtr, gameserveritem_t *server)) \ +X(void ,SteamAPI_ISteamMatchmakingPingResponse_ServerFailedToRespond,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMatchmakingPlayersResponse_AddPlayerToList,(intptr_t instancePtr, const char * pchName, int nScore, float flTimePlayed)) \ +X(void ,SteamAPI_ISteamMatchmakingPlayersResponse_PlayersFailedToRespond,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMatchmakingPlayersResponse_PlayersRefreshComplete,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMatchmakingRulesResponse_RulesResponded,(intptr_t instancePtr, const char * pchRule, const char * pchValue)) \ +X(void ,SteamAPI_ISteamMatchmakingRulesResponse_RulesFailedToRespond,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMatchmakingRulesResponse_RulesRefreshComplete,(intptr_t instancePtr)) \ +X(HServerListRequest ,SteamAPI_ISteamMatchmakingServers_RequestInternetServerList,(intptr_t instancePtr, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)) \ +X(HServerListRequest ,SteamAPI_ISteamMatchmakingServers_RequestLANServerList,(intptr_t instancePtr, AppId_t iApp, ISteamMatchmakingServerListResponse * pRequestServersResponse)) \ +X(HServerListRequest ,SteamAPI_ISteamMatchmakingServers_RequestFriendsServerList,(intptr_t instancePtr, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)) \ +X(HServerListRequest ,SteamAPI_ISteamMatchmakingServers_RequestFavoritesServerList,(intptr_t instancePtr, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)) \ +X(HServerListRequest ,SteamAPI_ISteamMatchmakingServers_RequestHistoryServerList,(intptr_t instancePtr, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)) \ +X(HServerListRequest ,SteamAPI_ISteamMatchmakingServers_RequestSpectatorServerList,(intptr_t instancePtr, AppId_t iApp, MatchMakingKeyValuePair_t ** ppchFilters, uint32 nFilters, ISteamMatchmakingServerListResponse * pRequestServersResponse)) \ +X(void ,SteamAPI_ISteamMatchmakingServers_ReleaseRequest,(intptr_t instancePtr, HServerListRequest hServerListRequest)) \ +X(gameserveritem_t * ,SteamAPI_ISteamMatchmakingServers_GetServerDetails,(intptr_t instancePtr, HServerListRequest hRequest, int iServer)) \ +X(void ,SteamAPI_ISteamMatchmakingServers_CancelQuery,(intptr_t instancePtr, HServerListRequest hRequest)) \ +X(void ,SteamAPI_ISteamMatchmakingServers_RefreshQuery,(intptr_t instancePtr, HServerListRequest hRequest)) \ +X(bool ,SteamAPI_ISteamMatchmakingServers_IsRefreshing,(intptr_t instancePtr, HServerListRequest hRequest)) \ +X(int ,SteamAPI_ISteamMatchmakingServers_GetServerCount,(intptr_t instancePtr, HServerListRequest hRequest)) \ +X(void ,SteamAPI_ISteamMatchmakingServers_RefreshServer,(intptr_t instancePtr, HServerListRequest hRequest, int iServer)) \ +X(HServerQuery ,SteamAPI_ISteamMatchmakingServers_PingServer,(intptr_t instancePtr, uint32 unIP, uint16 usPort, ISteamMatchmakingPingResponse * pRequestServersResponse)) \ +X(HServerQuery ,SteamAPI_ISteamMatchmakingServers_PlayerDetails,(intptr_t instancePtr, uint32 unIP, uint16 usPort, ISteamMatchmakingPlayersResponse * pRequestServersResponse)) \ +X(HServerQuery ,SteamAPI_ISteamMatchmakingServers_ServerRules,(intptr_t instancePtr, uint32 unIP, uint16 usPort, ISteamMatchmakingRulesResponse * pRequestServersResponse)) \ +X(void ,SteamAPI_ISteamMatchmakingServers_CancelServerQuery,(intptr_t instancePtr, HServerQuery hServerQuery)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileWrite,(intptr_t instancePtr, const char * pchFile, const void * pvData, int32 cubData)) \ +X(int32 ,SteamAPI_ISteamRemoteStorage_FileRead,(intptr_t instancePtr, const char * pchFile, void * pvData, int32 cubDataToRead)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_FileWriteAsync,(intptr_t instancePtr, const char * pchFile, const void * pvData, uint32 cubData)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_FileReadAsync,(intptr_t instancePtr, const char * pchFile, uint32 nOffset, uint32 cubToRead)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileReadAsyncComplete,(intptr_t instancePtr, SteamAPICall_t hReadCall, void * pvBuffer, uint32 cubToRead)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileForget,(intptr_t instancePtr, const char * pchFile)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileDelete,(intptr_t instancePtr, const char * pchFile)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_FileShare,(intptr_t instancePtr, const char * pchFile)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_SetSyncPlatforms,(intptr_t instancePtr, const char * pchFile, ERemoteStoragePlatform eRemoteStoragePlatform)) \ +X(UGCFileWriteStreamHandle_t ,SteamAPI_ISteamRemoteStorage_FileWriteStreamOpen,(intptr_t instancePtr, const char * pchFile)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileWriteStreamWriteChunk,(intptr_t instancePtr, UGCFileWriteStreamHandle_t writeHandle, const void * pvData, int32 cubData)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileWriteStreamClose,(intptr_t instancePtr, UGCFileWriteStreamHandle_t writeHandle)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileWriteStreamCancel,(intptr_t instancePtr, UGCFileWriteStreamHandle_t writeHandle)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FileExists,(intptr_t instancePtr, const char * pchFile)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_FilePersisted,(intptr_t instancePtr, const char * pchFile)) \ +X(int32 ,SteamAPI_ISteamRemoteStorage_GetFileSize,(intptr_t instancePtr, const char * pchFile)) \ +X(int64 ,SteamAPI_ISteamRemoteStorage_GetFileTimestamp,(intptr_t instancePtr, const char * pchFile)) \ +X(ERemoteStoragePlatform ,SteamAPI_ISteamRemoteStorage_GetSyncPlatforms,(intptr_t instancePtr, const char * pchFile)) \ +X(int32 ,SteamAPI_ISteamRemoteStorage_GetFileCount,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamRemoteStorage_GetFileNameAndSize,(intptr_t instancePtr, int iFile, int32 * pnFileSizeInBytes)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_GetQuota,(intptr_t instancePtr, uint64 * pnTotalBytes, uint64 * puAvailableBytes)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_IsCloudEnabledForAccount,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_IsCloudEnabledForApp,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamRemoteStorage_SetCloudEnabledForApp,(intptr_t instancePtr, bool bEnabled)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_UGCDownload,(intptr_t instancePtr, UGCHandle_t hContent, uint32 unPriority)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_GetUGCDownloadProgress,(intptr_t instancePtr, UGCHandle_t hContent, int32 * pnBytesDownloaded, int32 * pnBytesExpected)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_GetUGCDetails,(intptr_t instancePtr, UGCHandle_t hContent, AppId_t * pnAppID, char ** ppchName, int32 * pnFileSizeInBytes, CSteamID * pSteamIDOwner)) \ +X(int32 ,SteamAPI_ISteamRemoteStorage_UGCRead,(intptr_t instancePtr, UGCHandle_t hContent, void * pvData, int32 cubDataToRead, uint32 cOffset, EUGCReadAction eAction)) \ +X(int32 ,SteamAPI_ISteamRemoteStorage_GetCachedUGCCount,(intptr_t instancePtr)) \ +X(UGCHandle_t ,SteamAPI_ISteamRemoteStorage_GetCachedUGCHandle,(intptr_t instancePtr, int32 iCachedContent)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_PublishWorkshopFile,(intptr_t instancePtr, const char * pchFile, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags, EWorkshopFileType eWorkshopFileType)) \ +X(PublishedFileUpdateHandle_t ,SteamAPI_ISteamRemoteStorage_CreatePublishedFileUpdateRequest,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFileFile,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, const char * pchFile)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFilePreviewFile,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, const char * pchPreviewFile)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTitle,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, const char * pchTitle)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFileDescription,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, const char * pchDescription)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFileVisibility,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, ERemoteStoragePublishedFileVisibility eVisibility)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFileTags,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, SteamParamStringArray_t * pTags)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_CommitPublishedFileUpdate,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_GetPublishedFileDetails,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId, uint32 unMaxSecondsOld)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_DeletePublishedFile,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_EnumerateUserPublishedFiles,(intptr_t instancePtr, uint32 unStartIndex)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_SubscribePublishedFile,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_EnumerateUserSubscribedFiles,(intptr_t instancePtr, uint32 unStartIndex)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_UnsubscribePublishedFile,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId)) \ +X(bool ,SteamAPI_ISteamRemoteStorage_UpdatePublishedFileSetChangeDescription,(intptr_t instancePtr, PublishedFileUpdateHandle_t updateHandle, const char * pchChangeDescription)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_GetPublishedItemVoteDetails,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_UpdateUserPublishedItemVote,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId, bool bVoteUp)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_GetUserPublishedItemVoteDetails,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_EnumerateUserSharedWorkshopFiles,(intptr_t instancePtr, CSteamID steamId, uint32 unStartIndex, SteamParamStringArray_t * pRequiredTags, SteamParamStringArray_t * pExcludedTags)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_PublishVideo,(intptr_t instancePtr, EWorkshopVideoProvider eVideoProvider, const char * pchVideoAccount, const char * pchVideoIdentifier, const char * pchPreviewFile, AppId_t nConsumerAppId, const char * pchTitle, const char * pchDescription, ERemoteStoragePublishedFileVisibility eVisibility, SteamParamStringArray_t * pTags)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_SetUserPublishedFileAction,(intptr_t instancePtr, PublishedFileId_t unPublishedFileId, EWorkshopFileAction eAction)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_EnumeratePublishedFilesByUserAction,(intptr_t instancePtr, EWorkshopFileAction eAction, uint32 unStartIndex)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_EnumeratePublishedWorkshopFiles,(intptr_t instancePtr, EWorkshopEnumerationType eEnumerationType, uint32 unStartIndex, uint32 unCount, uint32 unDays, SteamParamStringArray_t * pTags, SteamParamStringArray_t * pUserTags)) \ +X(SteamAPICall_t ,SteamAPI_ISteamRemoteStorage_UGCDownloadToLocation,(intptr_t instancePtr, UGCHandle_t hContent, const char * pchLocation, uint32 unPriority)) \ +X(bool ,SteamAPI_ISteamUserStats_RequestCurrentStats,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamUserStats_GetStat,(intptr_t instancePtr, const char * pchName, int32 * pData)) \ +X(bool ,SteamAPI_ISteamUserStats_GetStat0,(intptr_t instancePtr, const char * pchName, float * pData)) \ +X(bool ,SteamAPI_ISteamUserStats_SetStat,(intptr_t instancePtr, const char * pchName, int32 nData)) \ +X(bool ,SteamAPI_ISteamUserStats_SetStat0,(intptr_t instancePtr, const char * pchName, float fData)) \ +X(bool ,SteamAPI_ISteamUserStats_UpdateAvgRateStat,(intptr_t instancePtr, const char * pchName, float flCountThisSession, double dSessionLength)) \ +X(bool ,SteamAPI_ISteamUserStats_GetAchievement,(intptr_t instancePtr, const char * pchName, bool * pbAchieved)) \ +X(bool ,SteamAPI_ISteamUserStats_SetAchievement,(intptr_t instancePtr, const char * pchName)) \ +X(bool ,SteamAPI_ISteamUserStats_ClearAchievement,(intptr_t instancePtr, const char * pchName)) \ +X(bool ,SteamAPI_ISteamUserStats_GetAchievementAndUnlockTime,(intptr_t instancePtr, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime)) \ +X(bool ,SteamAPI_ISteamUserStats_StoreStats,(intptr_t instancePtr)) \ +X(int ,SteamAPI_ISteamUserStats_GetAchievementIcon,(intptr_t instancePtr, const char * pchName)) \ +X(const char * ,SteamAPI_ISteamUserStats_GetAchievementDisplayAttribute,(intptr_t instancePtr, const char * pchName, const char * pchKey)) \ +X(bool ,SteamAPI_ISteamUserStats_IndicateAchievementProgress,(intptr_t instancePtr, const char * pchName, uint32 nCurProgress, uint32 nMaxProgress)) \ +X(uint32 ,SteamAPI_ISteamUserStats_GetNumAchievements,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamUserStats_GetAchievementName,(intptr_t instancePtr, uint32 iAchievement)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_RequestUserStats,(intptr_t instancePtr, CSteamID steamIDUser)) \ +X(bool ,SteamAPI_ISteamUserStats_GetUserStat,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, int32 * pData)) \ +X(bool ,SteamAPI_ISteamUserStats_GetUserStat0,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, float * pData)) \ +X(bool ,SteamAPI_ISteamUserStats_GetUserAchievement,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, bool * pbAchieved)) \ +X(bool ,SteamAPI_ISteamUserStats_GetUserAchievementAndUnlockTime,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, bool * pbAchieved, uint32 * punUnlockTime)) \ +X(bool ,SteamAPI_ISteamUserStats_ResetAllStats,(intptr_t instancePtr, bool bAchievementsToo)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_FindOrCreateLeaderboard,(intptr_t instancePtr, const char * pchLeaderboardName, ELeaderboardSortMethod eLeaderboardSortMethod, ELeaderboardDisplayType eLeaderboardDisplayType)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_FindLeaderboard,(intptr_t instancePtr, const char * pchLeaderboardName)) \ +X(const char * ,SteamAPI_ISteamUserStats_GetLeaderboardName,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard)) \ +X(int ,SteamAPI_ISteamUserStats_GetLeaderboardEntryCount,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard)) \ +X(ELeaderboardSortMethod ,SteamAPI_ISteamUserStats_GetLeaderboardSortMethod,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard)) \ +X(ELeaderboardDisplayType ,SteamAPI_ISteamUserStats_GetLeaderboardDisplayType,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_DownloadLeaderboardEntries,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_DownloadLeaderboardEntriesForUsers,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard, CSteamID * prgUsers, int cUsers)) \ +X(bool ,SteamAPI_ISteamUserStats_GetDownloadedLeaderboardEntry,(intptr_t instancePtr, SteamLeaderboardEntries_t hSteamLeaderboardEntries, int index, LeaderboardEntry_t * pLeaderboardEntry, int32 * pDetails, int cDetailsMax)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_UploadLeaderboardScore,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int32 nScore, const int32 * pScoreDetails, int cScoreDetailsCount)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_AttachLeaderboardUGC,(intptr_t instancePtr, SteamLeaderboard_t hSteamLeaderboard, UGCHandle_t hUGC)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_RequestGlobalAchievementPercentages,(intptr_t instancePtr)) \ +X(int ,SteamAPI_ISteamUserStats_GetMostAchievedAchievementInfo,(intptr_t instancePtr, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved)) \ +X(int ,SteamAPI_ISteamUserStats_GetNextMostAchievedAchievementInfo,(intptr_t instancePtr, int iIteratorPrevious, char * pchName, uint32 unNameBufLen, float * pflPercent, bool * pbAchieved)) \ +X(bool ,SteamAPI_ISteamUserStats_GetAchievementAchievedPercent,(intptr_t instancePtr, const char * pchName, float * pflPercent)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUserStats_RequestGlobalStats,(intptr_t instancePtr, int nHistoryDays)) \ +X(bool ,SteamAPI_ISteamUserStats_GetGlobalStat,(intptr_t instancePtr, const char * pchStatName, int64 * pData)) \ +X(bool ,SteamAPI_ISteamUserStats_GetGlobalStat0,(intptr_t instancePtr, const char * pchStatName, double * pData)) \ +X(int32 ,SteamAPI_ISteamUserStats_GetGlobalStatHistory,(intptr_t instancePtr, const char * pchStatName, int64 * pData, uint32 cubData)) \ +X(int32 ,SteamAPI_ISteamUserStats_GetGlobalStatHistory0,(intptr_t instancePtr, const char * pchStatName, double * pData, uint32 cubData)) \ +X(bool ,SteamAPI_ISteamApps_BIsSubscribed,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamApps_BIsLowViolence,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamApps_BIsCybercafe,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamApps_BIsVACBanned,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamApps_GetCurrentGameLanguage,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamApps_GetAvailableGameLanguages,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamApps_BIsSubscribedApp,(intptr_t instancePtr, AppId_t appID)) \ +X(bool ,SteamAPI_ISteamApps_BIsDlcInstalled,(intptr_t instancePtr, AppId_t appID)) \ +X(uint32 ,SteamAPI_ISteamApps_GetEarliestPurchaseUnixTime,(intptr_t instancePtr, AppId_t nAppID)) \ +X(bool ,SteamAPI_ISteamApps_BIsSubscribedFromFreeWeekend,(intptr_t instancePtr)) \ +X(int ,SteamAPI_ISteamApps_GetDLCCount,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamApps_BGetDLCDataByIndex,(intptr_t instancePtr, int iDLC, AppId_t * pAppID, bool * pbAvailable, char * pchName, int cchNameBufferSize)) \ +X(void ,SteamAPI_ISteamApps_InstallDLC,(intptr_t instancePtr, AppId_t nAppID)) \ +X(void ,SteamAPI_ISteamApps_UninstallDLC,(intptr_t instancePtr, AppId_t nAppID)) \ +X(void ,SteamAPI_ISteamApps_RequestAppProofOfPurchaseKey,(intptr_t instancePtr, AppId_t nAppID)) \ +X(bool ,SteamAPI_ISteamApps_GetCurrentBetaName,(intptr_t instancePtr, char * pchName, int cchNameBufferSize)) \ +X(bool ,SteamAPI_ISteamApps_MarkContentCorrupt,(intptr_t instancePtr, bool bMissingFilesOnly)) \ +X(uint32 ,SteamAPI_ISteamApps_GetInstalledDepots,(intptr_t instancePtr, AppId_t appID, DepotId_t * pvecDepots, uint32 cMaxDepots)) \ +X(uint32 ,SteamAPI_ISteamApps_GetAppInstallDir,(intptr_t instancePtr, AppId_t appID, char * pchFolder, uint32 cchFolderBufferSize)) \ +X(bool ,SteamAPI_ISteamApps_BIsAppInstalled,(intptr_t instancePtr, AppId_t appID)) \ +X(uint64 ,SteamAPI_ISteamApps_GetAppOwner,(intptr_t instancePtr)) \ +X(const char * ,SteamAPI_ISteamApps_GetLaunchQueryParam,(intptr_t instancePtr, const char * pchKey)) \ +X(bool ,SteamAPI_ISteamApps_GetDlcDownloadProgress,(intptr_t instancePtr, AppId_t nAppID, uint64 * punBytesDownloaded, uint64 * punBytesTotal)) \ +X(int ,SteamAPI_ISteamApps_GetAppBuildId,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamApps_RequestAllProofOfPurchaseKeys,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamApps_GetFileDetails,(intptr_t instancePtr, const char * pszFileName)) \ +X(bool ,SteamAPI_ISteamNetworking_SendP2PPacket,(intptr_t instancePtr, CSteamID steamIDRemote, const void * pubData, uint32 cubData, EP2PSend eP2PSendType, int nChannel)) \ +X(bool ,SteamAPI_ISteamNetworking_IsP2PPacketAvailable,(intptr_t instancePtr, uint32 * pcubMsgSize, int nChannel)) \ +X(bool ,SteamAPI_ISteamNetworking_ReadP2PPacket,(intptr_t instancePtr, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, CSteamID * psteamIDRemote, int nChannel)) \ +X(bool ,SteamAPI_ISteamNetworking_AcceptP2PSessionWithUser,(intptr_t instancePtr, CSteamID steamIDRemote)) \ +X(bool ,SteamAPI_ISteamNetworking_CloseP2PSessionWithUser,(intptr_t instancePtr, CSteamID steamIDRemote)) \ +X(bool ,SteamAPI_ISteamNetworking_CloseP2PChannelWithUser,(intptr_t instancePtr, CSteamID steamIDRemote, int nChannel)) \ +X(bool ,SteamAPI_ISteamNetworking_GetP2PSessionState,(intptr_t instancePtr, CSteamID steamIDRemote, P2PSessionState_t * pConnectionState)) \ +X(bool ,SteamAPI_ISteamNetworking_AllowP2PPacketRelay,(intptr_t instancePtr, bool bAllow)) \ +X(SNetListenSocket_t ,SteamAPI_ISteamNetworking_CreateListenSocket,(intptr_t instancePtr, int nVirtualP2PPort, uint32 nIP, uint16 nPort, bool bAllowUseOfPacketRelay)) \ +X(SNetSocket_t ,SteamAPI_ISteamNetworking_CreateP2PConnectionSocket,(intptr_t instancePtr, CSteamID steamIDTarget, int nVirtualPort, int nTimeoutSec, bool bAllowUseOfPacketRelay)) \ +X(SNetSocket_t ,SteamAPI_ISteamNetworking_CreateConnectionSocket,(intptr_t instancePtr, uint32 nIP, uint16 nPort, int nTimeoutSec)) \ +X(bool ,SteamAPI_ISteamNetworking_DestroySocket,(intptr_t instancePtr, SNetSocket_t hSocket, bool bNotifyRemoteEnd)) \ +X(bool ,SteamAPI_ISteamNetworking_DestroyListenSocket,(intptr_t instancePtr, SNetListenSocket_t hSocket, bool bNotifyRemoteEnd)) \ +X(bool ,SteamAPI_ISteamNetworking_SendDataOnSocket,(intptr_t instancePtr, SNetSocket_t hSocket, void * pubData, uint32 cubData, bool bReliable)) \ +X(bool ,SteamAPI_ISteamNetworking_IsDataAvailableOnSocket,(intptr_t instancePtr, SNetSocket_t hSocket, uint32 * pcubMsgSize)) \ +X(bool ,SteamAPI_ISteamNetworking_RetrieveDataFromSocket,(intptr_t instancePtr, SNetSocket_t hSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize)) \ +X(bool ,SteamAPI_ISteamNetworking_IsDataAvailable,(intptr_t instancePtr, SNetListenSocket_t hListenSocket, uint32 * pcubMsgSize, SNetSocket_t * phSocket)) \ +X(bool ,SteamAPI_ISteamNetworking_RetrieveData,(intptr_t instancePtr, SNetListenSocket_t hListenSocket, void * pubDest, uint32 cubDest, uint32 * pcubMsgSize, SNetSocket_t * phSocket)) \ +X(bool ,SteamAPI_ISteamNetworking_GetSocketInfo,(intptr_t instancePtr, SNetSocket_t hSocket, CSteamID * pSteamIDRemote, int * peSocketStatus, uint32 * punIPRemote, uint16 * punPortRemote)) \ +X(bool ,SteamAPI_ISteamNetworking_GetListenSocketInfo,(intptr_t instancePtr, SNetListenSocket_t hListenSocket, uint32 * pnIP, uint16 * pnPort)) \ +X(ESNetSocketConnectionType ,SteamAPI_ISteamNetworking_GetSocketConnectionType,(intptr_t instancePtr, SNetSocket_t hSocket)) \ +X(int ,SteamAPI_ISteamNetworking_GetMaxPacketSize,(intptr_t instancePtr, SNetSocket_t hSocket)) \ +X(ScreenshotHandle ,SteamAPI_ISteamScreenshots_WriteScreenshot,(intptr_t instancePtr, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight)) \ +X(ScreenshotHandle ,SteamAPI_ISteamScreenshots_AddScreenshotToLibrary,(intptr_t instancePtr, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight)) \ +X(void ,SteamAPI_ISteamScreenshots_TriggerScreenshot,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamScreenshots_HookScreenshots,(intptr_t instancePtr, bool bHook)) \ +X(bool ,SteamAPI_ISteamScreenshots_SetLocation,(intptr_t instancePtr, ScreenshotHandle hScreenshot, const char * pchLocation)) \ +X(bool ,SteamAPI_ISteamScreenshots_TagUser,(intptr_t instancePtr, ScreenshotHandle hScreenshot, CSteamID steamID)) \ +X(bool ,SteamAPI_ISteamScreenshots_TagPublishedFile,(intptr_t instancePtr, ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID)) \ +X(bool ,SteamAPI_ISteamScreenshots_IsScreenshotsHooked,(intptr_t instancePtr)) \ +X(ScreenshotHandle ,SteamAPI_ISteamScreenshots_AddVRScreenshotToLibrary,(intptr_t instancePtr, EVRScreenshotType eType, const char * pchFilename, const char * pchVRFilename)) \ +X(bool ,SteamAPI_ISteamMusic_BIsEnabled,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusic_BIsPlaying,(intptr_t instancePtr)) \ +X(AudioPlayback_Status ,SteamAPI_ISteamMusic_GetPlaybackStatus,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMusic_Play,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMusic_Pause,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMusic_PlayPrevious,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMusic_PlayNext,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamMusic_SetVolume,(intptr_t instancePtr, float flVolume)) \ +X(float ,SteamAPI_ISteamMusic_GetVolume,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_RegisterSteamMusicRemote,(intptr_t instancePtr, const char * pchName)) \ +X(bool ,SteamAPI_ISteamMusicRemote_DeregisterSteamMusicRemote,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_BIsCurrentMusicRemote,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_BActivationSuccess,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_SetDisplayName,(intptr_t instancePtr, const char * pchDisplayName)) \ +X(bool ,SteamAPI_ISteamMusicRemote_SetPNGIcon_64x64,(intptr_t instancePtr, void * pvBuffer, uint32 cbBufferLength)) \ +X(bool ,SteamAPI_ISteamMusicRemote_EnablePlayPrevious,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_EnablePlayNext,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_EnableShuffled,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_EnableLooped,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_EnableQueue,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_EnablePlaylists,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdatePlaybackStatus,(intptr_t instancePtr, AudioPlayback_Status nStatus)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdateShuffled,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdateLooped,(intptr_t instancePtr, bool bValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdateVolume,(intptr_t instancePtr, float flValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_CurrentEntryWillChange,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_CurrentEntryIsAvailable,(intptr_t instancePtr, bool bAvailable)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdateCurrentEntryText,(intptr_t instancePtr, const char * pchText)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds,(intptr_t instancePtr, int nValue)) \ +X(bool ,SteamAPI_ISteamMusicRemote_UpdateCurrentEntryCoverArt,(intptr_t instancePtr, void * pvBuffer, uint32 cbBufferLength)) \ +X(bool ,SteamAPI_ISteamMusicRemote_CurrentEntryDidChange,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_QueueWillChange,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_ResetQueueEntries,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_SetQueueEntry,(intptr_t instancePtr, int nID, int nPosition, const char * pchEntryText)) \ +X(bool ,SteamAPI_ISteamMusicRemote_SetCurrentQueueEntry,(intptr_t instancePtr, int nID)) \ +X(bool ,SteamAPI_ISteamMusicRemote_QueueDidChange,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_PlaylistWillChange,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_ResetPlaylistEntries,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamMusicRemote_SetPlaylistEntry,(intptr_t instancePtr, int nID, int nPosition, const char * pchEntryText)) \ +X(bool ,SteamAPI_ISteamMusicRemote_SetCurrentPlaylistEntry,(intptr_t instancePtr, int nID)) \ +X(bool ,SteamAPI_ISteamMusicRemote_PlaylistDidChange,(intptr_t instancePtr)) \ +X(HTTPRequestHandle ,SteamAPI_ISteamHTTP_CreateHTTPRequest,(intptr_t instancePtr, EHTTPMethod eHTTPRequestMethod, const char * pchAbsoluteURL)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestContextValue,(intptr_t instancePtr, HTTPRequestHandle hRequest, uint64 ulContextValue)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestNetworkActivityTimeout,(intptr_t instancePtr, HTTPRequestHandle hRequest, uint32 unTimeoutSeconds)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestHeaderValue,(intptr_t instancePtr, HTTPRequestHandle hRequest, const char * pchHeaderName, const char * pchHeaderValue)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestGetOrPostParameter,(intptr_t instancePtr, HTTPRequestHandle hRequest, const char * pchParamName, const char * pchParamValue)) \ +X(bool ,SteamAPI_ISteamHTTP_SendHTTPRequest,(intptr_t instancePtr, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle)) \ +X(bool ,SteamAPI_ISteamHTTP_SendHTTPRequestAndStreamResponse,(intptr_t instancePtr, HTTPRequestHandle hRequest, SteamAPICall_t * pCallHandle)) \ +X(bool ,SteamAPI_ISteamHTTP_DeferHTTPRequest,(intptr_t instancePtr, HTTPRequestHandle hRequest)) \ +X(bool ,SteamAPI_ISteamHTTP_PrioritizeHTTPRequest,(intptr_t instancePtr, HTTPRequestHandle hRequest)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPResponseHeaderSize,(intptr_t instancePtr, HTTPRequestHandle hRequest, const char * pchHeaderName, uint32 * unResponseHeaderSize)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPResponseHeaderValue,(intptr_t instancePtr, HTTPRequestHandle hRequest, const char * pchHeaderName, uint8 * pHeaderValueBuffer, uint32 unBufferSize)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPResponseBodySize,(intptr_t instancePtr, HTTPRequestHandle hRequest, uint32 * unBodySize)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPResponseBodyData,(intptr_t instancePtr, HTTPRequestHandle hRequest, uint8 * pBodyDataBuffer, uint32 unBufferSize)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPStreamingResponseBodyData,(intptr_t instancePtr, HTTPRequestHandle hRequest, uint32 cOffset, uint8 * pBodyDataBuffer, uint32 unBufferSize)) \ +X(bool ,SteamAPI_ISteamHTTP_ReleaseHTTPRequest,(intptr_t instancePtr, HTTPRequestHandle hRequest)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPDownloadProgressPct,(intptr_t instancePtr, HTTPRequestHandle hRequest, float * pflPercentOut)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestRawPostBody,(intptr_t instancePtr, HTTPRequestHandle hRequest, const char * pchContentType, uint8 * pubBody, uint32 unBodyLen)) \ +X(HTTPCookieContainerHandle ,SteamAPI_ISteamHTTP_CreateCookieContainer,(intptr_t instancePtr, bool bAllowResponsesToModify)) \ +X(bool ,SteamAPI_ISteamHTTP_ReleaseCookieContainer,(intptr_t instancePtr, HTTPCookieContainerHandle hCookieContainer)) \ +X(bool ,SteamAPI_ISteamHTTP_SetCookie,(intptr_t instancePtr, HTTPCookieContainerHandle hCookieContainer, const char * pchHost, const char * pchUrl, const char * pchCookie)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestCookieContainer,(intptr_t instancePtr, HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestUserAgentInfo,(intptr_t instancePtr, HTTPRequestHandle hRequest, const char * pchUserAgentInfo)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestRequiresVerifiedCertificate,(intptr_t instancePtr, HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate)) \ +X(bool ,SteamAPI_ISteamHTTP_SetHTTPRequestAbsoluteTimeoutMS,(intptr_t instancePtr, HTTPRequestHandle hRequest, uint32 unMilliseconds)) \ +X(bool ,SteamAPI_ISteamHTTP_GetHTTPRequestWasTimedOut,(intptr_t instancePtr, HTTPRequestHandle hRequest, bool * pbWasTimedOut)) \ +X(bool ,SteamAPI_ISteamController_Init,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamController_Shutdown,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamController_RunFrame,(intptr_t instancePtr)) \ +X(int ,SteamAPI_ISteamController_GetConnectedControllers,(intptr_t instancePtr, ControllerHandle_t * handlesOut)) \ +X(bool ,SteamAPI_ISteamController_ShowBindingPanel,(intptr_t instancePtr, ControllerHandle_t controllerHandle)) \ +X(ControllerActionSetHandle_t ,SteamAPI_ISteamController_GetActionSetHandle,(intptr_t instancePtr, const char * pszActionSetName)) \ +X(void ,SteamAPI_ISteamController_ActivateActionSet,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle)) \ +X(ControllerActionSetHandle_t ,SteamAPI_ISteamController_GetCurrentActionSet,(intptr_t instancePtr, ControllerHandle_t controllerHandle)) \ +X(void ,SteamAPI_ISteamController_ActivateActionSetLayer,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)) \ +X(void ,SteamAPI_ISteamController_DeactivateActionSetLayer,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetLayerHandle)) \ +X(void ,SteamAPI_ISteamController_DeactivateAllActionSetLayers,(intptr_t instancePtr, ControllerHandle_t controllerHandle)) \ +X(int ,SteamAPI_ISteamController_GetActiveActionSetLayers,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t * handlesOut)) \ +X(ControllerDigitalActionHandle_t ,SteamAPI_ISteamController_GetDigitalActionHandle,(intptr_t instancePtr, const char * pszActionName)) \ +X(ControllerDigitalActionData_t ,SteamAPI_ISteamController_GetDigitalActionData,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle)) \ +X(int ,SteamAPI_ISteamController_GetDigitalActionOrigins,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerDigitalActionHandle_t digitalActionHandle, EControllerActionOrigin * originsOut)) \ +X(ControllerAnalogActionHandle_t ,SteamAPI_ISteamController_GetAnalogActionHandle,(intptr_t instancePtr, const char * pszActionName)) \ +X(ControllerAnalogActionData_t ,SteamAPI_ISteamController_GetAnalogActionData,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle)) \ +X(int ,SteamAPI_ISteamController_GetAnalogActionOrigins,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerActionSetHandle_t actionSetHandle, ControllerAnalogActionHandle_t analogActionHandle, EControllerActionOrigin * originsOut)) \ +X(void ,SteamAPI_ISteamController_StopAnalogActionMomentum,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t eAction)) \ +X(void ,SteamAPI_ISteamController_TriggerHapticPulse,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec)) \ +X(void ,SteamAPI_ISteamController_TriggerRepeatedHapticPulse,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ESteamControllerPad eTargetPad, unsigned short usDurationMicroSec, unsigned short usOffMicroSec, unsigned short unRepeat, unsigned int nFlags)) \ +X(void ,SteamAPI_ISteamController_TriggerVibration,(intptr_t instancePtr, ControllerHandle_t controllerHandle, unsigned short usLeftSpeed, unsigned short usRightSpeed)) \ +X(void ,SteamAPI_ISteamController_SetLEDColor,(intptr_t instancePtr, ControllerHandle_t controllerHandle, uint8 nColorR, uint8 nColorG, uint8 nColorB, unsigned int nFlags)) \ +X(int ,SteamAPI_ISteamController_GetGamepadIndexForController,(intptr_t instancePtr, ControllerHandle_t ulControllerHandle)) \ +X(ControllerHandle_t ,SteamAPI_ISteamController_GetControllerForGamepadIndex,(intptr_t instancePtr, int nIndex)) \ +X(ControllerMotionData_t ,SteamAPI_ISteamController_GetMotionData,(intptr_t instancePtr, ControllerHandle_t controllerHandle)) \ +X(bool ,SteamAPI_ISteamController_ShowDigitalActionOrigins,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerDigitalActionHandle_t digitalActionHandle, float flScale, float flXPosition, float flYPosition)) \ +X(bool ,SteamAPI_ISteamController_ShowAnalogActionOrigins,(intptr_t instancePtr, ControllerHandle_t controllerHandle, ControllerAnalogActionHandle_t analogActionHandle, float flScale, float flXPosition, float flYPosition)) \ +X(const char * ,SteamAPI_ISteamController_GetStringForActionOrigin,(intptr_t instancePtr, EControllerActionOrigin eOrigin)) \ +X(const char * ,SteamAPI_ISteamController_GetGlyphForActionOrigin,(intptr_t instancePtr, EControllerActionOrigin eOrigin)) \ +X(ESteamInputType ,SteamAPI_ISteamController_GetInputTypeForHandle,(intptr_t instancePtr, ControllerHandle_t controllerHandle)) \ +X(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)) \ +X(UGCQueryHandle_t ,SteamAPI_ISteamUGC_CreateQueryAllUGCRequest,(intptr_t instancePtr, EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint32 unPage)) \ +X(UGCQueryHandle_t ,SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest,(intptr_t instancePtr, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_SendQueryUGCRequest,(intptr_t instancePtr, UGCQueryHandle_t handle)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCResult,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCPreviewURL,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, char * pchURL, uint32 cchURLSize)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCMetadata,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCChildren,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCStatistic,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue)) \ +X(uint32 ,SteamAPI_ISteamUGC_GetQueryUGCNumAdditionalPreviews,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCAdditionalPreview,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, uint32 previewIndex, char * pchURLOrVideoID, uint32 cchURLSize, char * pchOriginalFileName, uint32 cchOriginalFileNameSize, EItemPreviewType * pPreviewType)) \ +X(uint32 ,SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index)) \ +X(bool ,SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize)) \ +X(bool ,SteamAPI_ISteamUGC_ReleaseQueryUGCRequest,(intptr_t instancePtr, UGCQueryHandle_t handle)) \ +X(bool ,SteamAPI_ISteamUGC_AddRequiredTag,(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pTagName)) \ +X(bool ,SteamAPI_ISteamUGC_AddExcludedTag,(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pTagName)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnOnlyIDs,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnOnlyIDs)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnKeyValueTags,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnKeyValueTags)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnLongDescription,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnLongDescription)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnMetadata,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnMetadata)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnChildren,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnChildren)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnAdditionalPreviews,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnTotalOnly,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bReturnTotalOnly)) \ +X(bool ,SteamAPI_ISteamUGC_SetReturnPlaytimeStats,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unDays)) \ +X(bool ,SteamAPI_ISteamUGC_SetLanguage,(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pchLanguage)) \ +X(bool ,SteamAPI_ISteamUGC_SetAllowCachedResponse,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unMaxAgeSeconds)) \ +X(bool ,SteamAPI_ISteamUGC_SetCloudFileNameFilter,(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pMatchCloudFileName)) \ +X(bool ,SteamAPI_ISteamUGC_SetMatchAnyTag,(intptr_t instancePtr, UGCQueryHandle_t handle, bool bMatchAnyTag)) \ +X(bool ,SteamAPI_ISteamUGC_SetSearchText,(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pSearchText)) \ +X(bool ,SteamAPI_ISteamUGC_SetRankedByTrendDays,(intptr_t instancePtr, UGCQueryHandle_t handle, uint32 unDays)) \ +X(bool ,SteamAPI_ISteamUGC_AddRequiredKeyValueTag,(intptr_t instancePtr, UGCQueryHandle_t handle, const char * pKey, const char * pValue)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_RequestUGCDetails,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, uint32 unMaxAgeSeconds)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_CreateItem,(intptr_t instancePtr, AppId_t nConsumerAppId, EWorkshopFileType eFileType)) \ +X(UGCUpdateHandle_t ,SteamAPI_ISteamUGC_StartItemUpdate,(intptr_t instancePtr, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemTitle,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchTitle)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemDescription,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchDescription)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemUpdateLanguage,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchLanguage)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemMetadata,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchMetaData)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemVisibility,(intptr_t instancePtr, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemTags,(intptr_t instancePtr, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemContent,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszContentFolder)) \ +X(bool ,SteamAPI_ISteamUGC_SetItemPreview,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszPreviewFile)) \ +X(bool ,SteamAPI_ISteamUGC_RemoveItemKeyValueTags,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchKey)) \ +X(bool ,SteamAPI_ISteamUGC_AddItemKeyValueTag,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue)) \ +X(bool ,SteamAPI_ISteamUGC_AddItemPreviewFile,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszPreviewFile, EItemPreviewType type)) \ +X(bool ,SteamAPI_ISteamUGC_AddItemPreviewVideo,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pszVideoID)) \ +X(bool ,SteamAPI_ISteamUGC_UpdateItemPreviewFile,(intptr_t instancePtr, UGCUpdateHandle_t handle, uint32 index, const char * pszPreviewFile)) \ +X(bool ,SteamAPI_ISteamUGC_UpdateItemPreviewVideo,(intptr_t instancePtr, UGCUpdateHandle_t handle, uint32 index, const char * pszVideoID)) \ +X(bool ,SteamAPI_ISteamUGC_RemoveItemPreview,(intptr_t instancePtr, UGCUpdateHandle_t handle, uint32 index)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_SubmitItemUpdate,(intptr_t instancePtr, UGCUpdateHandle_t handle, const char * pchChangeNote)) \ +X(EItemUpdateStatus ,SteamAPI_ISteamUGC_GetItemUpdateProgress,(intptr_t instancePtr, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_SetUserItemVote,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, bool bVoteUp)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_GetUserItemVote,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_AddItemToFavorites,(intptr_t instancePtr, AppId_t nAppId, PublishedFileId_t nPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_RemoveItemFromFavorites,(intptr_t instancePtr, AppId_t nAppId, PublishedFileId_t nPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_SubscribeItem,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_UnsubscribeItem,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID)) \ +X(uint32 ,SteamAPI_ISteamUGC_GetNumSubscribedItems,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamUGC_GetSubscribedItems,(intptr_t instancePtr, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries)) \ +X(uint32 ,SteamAPI_ISteamUGC_GetItemState,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID)) \ +X(bool ,SteamAPI_ISteamUGC_GetItemInstallInfo,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp)) \ +X(bool ,SteamAPI_ISteamUGC_GetItemDownloadInfo,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal)) \ +X(bool ,SteamAPI_ISteamUGC_DownloadItem,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, bool bHighPriority)) \ +X(bool ,SteamAPI_ISteamUGC_BInitWorkshopForGameServer,(intptr_t instancePtr, DepotId_t unWorkshopDepotID, const char * pszFolder)) \ +X(void ,SteamAPI_ISteamUGC_SuspendDownloads,(intptr_t instancePtr, bool bSuspend)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_StartPlaytimeTracking,(intptr_t instancePtr, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_StopPlaytimeTracking,(intptr_t instancePtr, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_StopPlaytimeTrackingForAllItems,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_AddDependency,(intptr_t instancePtr, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_RemoveDependency,(intptr_t instancePtr, PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_AddAppDependency,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, AppId_t nAppID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_RemoveAppDependency,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID, AppId_t nAppID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_GetAppDependencies,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID)) \ +X(SteamAPICall_t ,SteamAPI_ISteamUGC_DeleteItem,(intptr_t instancePtr, PublishedFileId_t nPublishedFileID)) \ +X(uint32 ,SteamAPI_ISteamAppList_GetNumInstalledApps,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamAppList_GetInstalledApps,(intptr_t instancePtr, AppId_t * pvecAppID, uint32 unMaxAppIDs)) \ +X(int ,SteamAPI_ISteamAppList_GetAppName,(intptr_t instancePtr, AppId_t nAppID, char * pchName, int cchNameMax)) \ +X(int ,SteamAPI_ISteamAppList_GetAppInstallDir,(intptr_t instancePtr, AppId_t nAppID, char * pchDirectory, int cchNameMax)) \ +X(int ,SteamAPI_ISteamAppList_GetAppBuildId,(intptr_t instancePtr, AppId_t nAppID)) \ +X(void ,SteamAPI_ISteamHTMLSurface_DestructISteamHTMLSurface,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamHTMLSurface_Init,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamHTMLSurface_Shutdown,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamHTMLSurface_CreateBrowser,(intptr_t instancePtr, const char * pchUserAgent, const char * pchUserCSS)) \ +X(void ,SteamAPI_ISteamHTMLSurface_RemoveBrowser,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_LoadURL,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, const char * pchURL, const char * pchPostData)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetSize,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, uint32 unWidth, uint32 unHeight)) \ +X(void ,SteamAPI_ISteamHTMLSurface_StopLoad,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_Reload,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_GoBack,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_GoForward,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_AddHeader,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, const char * pchKey, const char * pchValue)) \ +X(void ,SteamAPI_ISteamHTMLSurface_ExecuteJavascript,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, const char * pchScript)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetHorizontalScroll,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetVerticalScroll,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, uint32 nAbsolutePixelScroll)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetKeyFocus,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bHasKeyFocus)) \ +X(void ,SteamAPI_ISteamHTMLSurface_ViewSource,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_CopyToClipboard,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_PasteFromClipboard,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_Find,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, const char * pchSearchStr, bool bCurrentlyInFind, bool bReverse)) \ +X(void ,SteamAPI_ISteamHTMLSurface_StopFind,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle)) \ +X(void ,SteamAPI_ISteamHTMLSurface_GetLinkAtPosition,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, int x, int y)) \ +X(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)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetPageScaleFactor,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, float flZoom, int nPointX, int nPointY)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetBackgroundMode,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bBackgroundMode)) \ +X(void ,SteamAPI_ISteamHTMLSurface_SetDPIScalingFactor,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, float flDPIScaling)) \ +X(void ,SteamAPI_ISteamHTMLSurface_AllowStartRequest,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bAllowed)) \ +X(void ,SteamAPI_ISteamHTMLSurface_JSDialogResponse,(intptr_t instancePtr, HHTMLBrowser unBrowserHandle, bool bResult)) \ +X(EResult ,SteamAPI_ISteamInventory_GetResultStatus,(intptr_t instancePtr, SteamInventoryResult_t resultHandle)) \ +X(bool ,SteamAPI_ISteamInventory_GetResultItems,(intptr_t instancePtr, SteamInventoryResult_t resultHandle, SteamItemDetails_t * pOutItemsArray, uint32 * punOutItemsArraySize)) \ +X(bool ,SteamAPI_ISteamInventory_GetResultItemProperty,(intptr_t instancePtr, SteamInventoryResult_t resultHandle, uint32 unItemIndex, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut)) \ +X(uint32 ,SteamAPI_ISteamInventory_GetResultTimestamp,(intptr_t instancePtr, SteamInventoryResult_t resultHandle)) \ +X(bool ,SteamAPI_ISteamInventory_CheckResultSteamID,(intptr_t instancePtr, SteamInventoryResult_t resultHandle, CSteamID steamIDExpected)) \ +X(void ,SteamAPI_ISteamInventory_DestroyResult,(intptr_t instancePtr, SteamInventoryResult_t resultHandle)) \ +X(bool ,SteamAPI_ISteamInventory_GetAllItems,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle)) \ +X(bool ,SteamAPI_ISteamInventory_GetItemsByID,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, const SteamItemInstanceID_t * pInstanceIDs, uint32 unCountInstanceIDs)) \ +X(bool ,SteamAPI_ISteamInventory_SerializeResult,(intptr_t instancePtr, SteamInventoryResult_t resultHandle, void * pOutBuffer, uint32 * punOutBufferSize)) \ +X(bool ,SteamAPI_ISteamInventory_DeserializeResult,(intptr_t instancePtr, SteamInventoryResult_t * pOutResultHandle, const void * pBuffer, uint32 unBufferSize, bool bRESERVED_MUST_BE_FALSE)) \ +X(bool ,SteamAPI_ISteamInventory_GenerateItems,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength)) \ +X(bool ,SteamAPI_ISteamInventory_GrantPromoItems,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle)) \ +X(bool ,SteamAPI_ISteamInventory_AddPromoItem,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, SteamItemDef_t itemDef)) \ +X(bool ,SteamAPI_ISteamInventory_AddPromoItems,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayItemDefs, uint32 unArrayLength)) \ +X(bool ,SteamAPI_ISteamInventory_ConsumeItem,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemConsume, uint32 unQuantity)) \ +X(bool ,SteamAPI_ISteamInventory_ExchangeItems,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, const SteamItemDef_t * pArrayGenerate, const uint32 * punArrayGenerateQuantity, uint32 unArrayGenerateLength, const SteamItemInstanceID_t * pArrayDestroy, const uint32 * punArrayDestroyQuantity, uint32 unArrayDestroyLength)) \ +X(bool ,SteamAPI_ISteamInventory_TransferItemQuantity,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, SteamItemInstanceID_t itemIdSource, uint32 unQuantity, SteamItemInstanceID_t itemIdDest)) \ +X(void ,SteamAPI_ISteamInventory_SendItemDropHeartbeat,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamInventory_TriggerItemDrop,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, SteamItemDef_t dropListDefinition)) \ +X(bool ,SteamAPI_ISteamInventory_TradeItems,(intptr_t instancePtr, SteamInventoryResult_t * pResultHandle, CSteamID steamIDTradePartner, const SteamItemInstanceID_t * pArrayGive, const uint32 * pArrayGiveQuantity, uint32 nArrayGiveLength, const SteamItemInstanceID_t * pArrayGet, const uint32 * pArrayGetQuantity, uint32 nArrayGetLength)) \ +X(bool ,SteamAPI_ISteamInventory_LoadItemDefinitions,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamInventory_GetItemDefinitionIDs,(intptr_t instancePtr, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize)) \ +X(bool ,SteamAPI_ISteamInventory_GetItemDefinitionProperty,(intptr_t instancePtr, SteamItemDef_t iDefinition, const char * pchPropertyName, char * pchValueBuffer, uint32 * punValueBufferSizeOut)) \ +X(SteamAPICall_t ,SteamAPI_ISteamInventory_RequestEligiblePromoItemDefinitionsIDs,(intptr_t instancePtr, CSteamID steamID)) \ +X(bool ,SteamAPI_ISteamInventory_GetEligiblePromoItemDefinitionIDs,(intptr_t instancePtr, CSteamID steamID, SteamItemDef_t * pItemDefIDs, uint32 * punItemDefIDsArraySize)) \ +X(SteamAPICall_t ,SteamAPI_ISteamInventory_StartPurchase,(intptr_t instancePtr, const SteamItemDef_t * pArrayItemDefs, const uint32 * punArrayQuantity, uint32 unArrayLength)) \ +X(SteamAPICall_t ,SteamAPI_ISteamInventory_RequestPrices,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamInventory_GetNumItemsWithPrices,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamInventory_GetItemsWithPrices,(intptr_t instancePtr, SteamItemDef_t * pArrayItemDefs, uint64 * pPrices, uint32 unArrayLength)) \ +X(bool ,SteamAPI_ISteamInventory_GetItemPrice,(intptr_t instancePtr, SteamItemDef_t iDefinition, uint64 * pPrice)) \ +X(SteamInventoryUpdateHandle_t ,SteamAPI_ISteamInventory_StartUpdateProperties,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamInventory_RemoveProperty,(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName)) \ +X(bool ,SteamAPI_ISteamInventory_SetProperty,(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, const char * pchPropertyValue)) \ +X(bool ,SteamAPI_ISteamInventory_SetProperty0,(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, bool bValue)) \ +X(bool ,SteamAPI_ISteamInventory_SetProperty1,(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, int64 nValue)) \ +X(bool ,SteamAPI_ISteamInventory_SetProperty2,(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, const char * pchPropertyName, float flValue)) \ +X(bool ,SteamAPI_ISteamInventory_SubmitUpdateProperties,(intptr_t instancePtr, SteamInventoryUpdateHandle_t handle, SteamInventoryResult_t * pResultHandle)) \ +X(void ,SteamAPI_ISteamVideo_GetVideoURL,(intptr_t instancePtr, AppId_t unVideoAppID)) \ +X(bool ,SteamAPI_ISteamVideo_IsBroadcasting,(intptr_t instancePtr, int * pnNumViewers)) \ +X(void ,SteamAPI_ISteamVideo_GetOPFSettings,(intptr_t instancePtr, AppId_t unVideoAppID)) \ +X(bool ,SteamAPI_ISteamVideo_GetOPFStringForApp,(intptr_t instancePtr, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize)) \ +X(bool ,SteamAPI_ISteamParentalSettings_BIsParentalLockEnabled,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamParentalSettings_BIsParentalLockLocked,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamParentalSettings_BIsAppBlocked,(intptr_t instancePtr, AppId_t nAppID)) \ +X(bool ,SteamAPI_ISteamParentalSettings_BIsAppInBlockList,(intptr_t instancePtr, AppId_t nAppID)) \ +X(bool ,SteamAPI_ISteamParentalSettings_BIsFeatureBlocked,(intptr_t instancePtr, EParentalFeature eFeature)) \ +X(bool ,SteamAPI_ISteamParentalSettings_BIsFeatureInBlockList,(intptr_t instancePtr, EParentalFeature eFeature)) \ +X(bool ,SteamAPI_ISteamGameServer_InitGameServer,(intptr_t instancePtr, uint32 unIP, uint16 usGamePort, uint16 usQueryPort, uint32 unFlags, AppId_t nGameAppId, const char * pchVersionString)) \ +X(void ,SteamAPI_ISteamGameServer_SetProduct,(intptr_t instancePtr, const char * pszProduct)) \ +X(void ,SteamAPI_ISteamGameServer_SetGameDescription,(intptr_t instancePtr, const char * pszGameDescription)) \ +X(void ,SteamAPI_ISteamGameServer_SetModDir,(intptr_t instancePtr, const char * pszModDir)) \ +X(void ,SteamAPI_ISteamGameServer_SetDedicatedServer,(intptr_t instancePtr, bool bDedicated)) \ +X(void ,SteamAPI_ISteamGameServer_LogOn,(intptr_t instancePtr, const char * pszToken)) \ +X(void ,SteamAPI_ISteamGameServer_LogOnAnonymous,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamGameServer_LogOff,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamGameServer_BLoggedOn,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamGameServer_BSecure,(intptr_t instancePtr)) \ +X(uint64 ,SteamAPI_ISteamGameServer_GetSteamID,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamGameServer_WasRestartRequested,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamGameServer_SetMaxPlayerCount,(intptr_t instancePtr, int cPlayersMax)) \ +X(void ,SteamAPI_ISteamGameServer_SetBotPlayerCount,(intptr_t instancePtr, int cBotplayers)) \ +X(void ,SteamAPI_ISteamGameServer_SetServerName,(intptr_t instancePtr, const char * pszServerName)) \ +X(void ,SteamAPI_ISteamGameServer_SetMapName,(intptr_t instancePtr, const char * pszMapName)) \ +X(void ,SteamAPI_ISteamGameServer_SetPasswordProtected,(intptr_t instancePtr, bool bPasswordProtected)) \ +X(void ,SteamAPI_ISteamGameServer_SetSpectatorPort,(intptr_t instancePtr, uint16 unSpectatorPort)) \ +X(void ,SteamAPI_ISteamGameServer_SetSpectatorServerName,(intptr_t instancePtr, const char * pszSpectatorServerName)) \ +X(void ,SteamAPI_ISteamGameServer_ClearAllKeyValues,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamGameServer_SetKeyValue,(intptr_t instancePtr, const char * pKey, const char * pValue)) \ +X(void ,SteamAPI_ISteamGameServer_SetGameTags,(intptr_t instancePtr, const char * pchGameTags)) \ +X(void ,SteamAPI_ISteamGameServer_SetGameData,(intptr_t instancePtr, const char * pchGameData)) \ +X(void ,SteamAPI_ISteamGameServer_SetRegion,(intptr_t instancePtr, const char * pszRegion)) \ +X(bool ,SteamAPI_ISteamGameServer_SendUserConnectAndAuthenticate,(intptr_t instancePtr, uint32 unIPClient, const void * pvAuthBlob, uint32 cubAuthBlobSize, CSteamID * pSteamIDUser)) \ +X(uint64 ,SteamAPI_ISteamGameServer_CreateUnauthenticatedUserConnection,(intptr_t instancePtr)) \ +X(void ,SteamAPI_ISteamGameServer_SendUserDisconnect,(intptr_t instancePtr, CSteamID steamIDUser)) \ +X(bool ,SteamAPI_ISteamGameServer_BUpdateUserData,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchPlayerName, uint32 uScore)) \ +X(HAuthTicket ,SteamAPI_ISteamGameServer_GetAuthSessionTicket,(intptr_t instancePtr, void * pTicket, int cbMaxTicket, uint32 * pcbTicket)) \ +X(EBeginAuthSessionResult ,SteamAPI_ISteamGameServer_BeginAuthSession,(intptr_t instancePtr, const void * pAuthTicket, int cbAuthTicket, CSteamID steamID)) \ +X(void ,SteamAPI_ISteamGameServer_EndAuthSession,(intptr_t instancePtr, CSteamID steamID)) \ +X(void ,SteamAPI_ISteamGameServer_CancelAuthTicket,(intptr_t instancePtr, HAuthTicket hAuthTicket)) \ +X(EUserHasLicenseForAppResult ,SteamAPI_ISteamGameServer_UserHasLicenseForApp,(intptr_t instancePtr, CSteamID steamID, AppId_t appID)) \ +X(bool ,SteamAPI_ISteamGameServer_RequestUserGroupStatus,(intptr_t instancePtr, CSteamID steamIDUser, CSteamID steamIDGroup)) \ +X(void ,SteamAPI_ISteamGameServer_GetGameplayStats,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamGameServer_GetServerReputation,(intptr_t instancePtr)) \ +X(uint32 ,SteamAPI_ISteamGameServer_GetPublicIP,(intptr_t instancePtr)) \ +X(bool ,SteamAPI_ISteamGameServer_HandleIncomingPacket,(intptr_t instancePtr, const void * pData, int cbData, uint32 srcIP, uint16 srcPort)) \ +X(int ,SteamAPI_ISteamGameServer_GetNextOutgoingPacket,(intptr_t instancePtr, void * pOut, int cbMaxOut, uint32 * pNetAdr, uint16 * pPort)) \ +X(void ,SteamAPI_ISteamGameServer_EnableHeartbeats,(intptr_t instancePtr, bool bActive)) \ +X(void ,SteamAPI_ISteamGameServer_SetHeartbeatInterval,(intptr_t instancePtr, int iHeartbeatInterval)) \ +X(void ,SteamAPI_ISteamGameServer_ForceHeartbeat,(intptr_t instancePtr)) \ +X(SteamAPICall_t ,SteamAPI_ISteamGameServer_AssociateWithClan,(intptr_t instancePtr, CSteamID steamIDClan)) \ +X(SteamAPICall_t ,SteamAPI_ISteamGameServer_ComputeNewPlayerCompatibility,(intptr_t instancePtr, CSteamID steamIDNewPlayer)) \ +X(SteamAPICall_t ,SteamAPI_ISteamGameServerStats_RequestUserStats,(intptr_t instancePtr, CSteamID steamIDUser)) \ +X(bool ,SteamAPI_ISteamGameServerStats_GetUserStat,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, int32 * pData)) \ +X(bool ,SteamAPI_ISteamGameServerStats_GetUserStat0,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, float * pData)) \ +X(bool ,SteamAPI_ISteamGameServerStats_GetUserAchievement,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, bool * pbAchieved)) \ +X(bool ,SteamAPI_ISteamGameServerStats_SetUserStat,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, int32 nData)) \ +X(bool ,SteamAPI_ISteamGameServerStats_SetUserStat0,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, float fData)) \ +X(bool ,SteamAPI_ISteamGameServerStats_UpdateUserAvgRateStat,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName, float flCountThisSession, double dSessionLength)) \ +X(bool ,SteamAPI_ISteamGameServerStats_SetUserAchievement,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName)) \ +X(bool ,SteamAPI_ISteamGameServerStats_ClearUserAchievement,(intptr_t instancePtr, CSteamID steamIDUser, const char * pchName)) \ +X(SteamAPICall_t ,SteamAPI_ISteamGameServerStats_StoreUserStats,(intptr_t instancePtr, CSteamID steamIDUser)) \ +X(void*,SteamInternal_CreateInterface,(const char *ver)) \ +X(bool,SteamAPI_IsSteamRunning,()) \ +X(bool,SteamAPI_InitSafe,()) \ +X(void,SteamAPI_RunCallbacks,()) +#line 0 + #endif // V4K_3RD /* game framework. * - rlyeh, public domain @@ -373662,6 +376796,198 @@ AUTORUN { } #line 0 +#line 1 "v4k_steam.c" +// ---------------------------------------------------------------------------- +// steam framework +// - rlyeh, public domain +// +// hints: +// - steam must be running in background +// - steamworks dll must be close to executable (may be "steam_api64.dll", "libsteam_api.dylib" or "libsteam_api.so") +// - family mode should be off (achievements not displayed otherwise) +// +// [src] https://steamdb.info/app/480/ +// [src] https://steamdb.info/app/480/stats/ +// [src] https://partner.steamgames.com/doc/ +// [src] dumpbin /exports steam_api64.dll + +#ifndef STEAM_APPID +#define STEAM_APPID 480 +#endif + +#ifndef STEAM_DLL +#define STEAM_DLL ifdef(win32, "steam_api64.dll", "libsteam_api" ifdef(osx, ".dylib", ".so")) +#endif + +#define STEAM_API_DECL(ret,name,args) API ret (*name) args; +#define STEAM_API_DEFN(ret,name,args) ret (*name) args; +#define STEAM_API_LOAD(ret,name,args) name = dll(STEAM_DLL, #name); if(!name) PRINTF("Cannot load `" STEAM_DLL "@%s`\n", #name); + +STEAM_API(STEAM_API_DECL); +STEAM_API(STEAM_API_DEFN); + +struct steam_t { + intptr_t iclient; + intptr_t iapps; + intptr_t ifriends; + intptr_t ihtmlsurface; + intptr_t imatchmaking; + intptr_t imatchmakingservers; + intptr_t inetworking; + intptr_t iremoteplay; + intptr_t iremotestorage; + intptr_t iscreenshots; + intptr_t iuser; + intptr_t iuserstats; + intptr_t iutils; + uint64_t steamid; + + int num_friends; + bool running, overlay; + bool logged, behindnat; + char status[256], username[256], language[32]; +} steam = {0}; + +static +void steam_message_cb(int severity, const char *message) { + /**/ if( severity == 0 ) printf("%s", message); + else if( severity == 1 ) printf("Warning: %s", message); + else printf("Unknown severity %d: %s", severity, message); +} + +bool steam_init(unsigned app_id) { + struct steam_t z = {0}; + steam = z; + + app_id = app_id ? app_id : STEAM_APPID; + + // Steam installed? + HKEY hSteamProcess; + if( RegOpenKeyExA(HKEY_CURRENT_USER,"Software\\Valve\\Steam\\ActiveProcess", 0, KEY_READ, &hSteamProcess) ) { + return !strcpy(steam.status, "Err: steam not installed"); + } + RegCloseKey(hSteamProcess); + + // dll present? + if( !file_exist(STEAM_DLL) ) { + return !strcpy(steam.status, "Err: " STEAM_DLL " not found"); + } + + // Load symbols + STEAM_API(STEAM_API_LOAD); + if( !SteamAPI_Init ) SteamAPI_Init = SteamAPI_InitSafe; + + // Initialize + char *app_id_str = va("%d", app_id); + //if( !file_exist("steam_appid.txt") ) file_write("steam_appid.txt", app_id_str, strlen(app_id_str)); + if( !getenv("SteamAppId") ) SetEnvironmentVariableA("SteamAppId", app_id_str); + + int started = SteamAPI_Init && SteamAPI_Init(); + if( !started ) { + return !strcpy(steam.status, "Err: steam not running"); + } + + SteamAPI_RestartAppIfNecessary(app_id); + + // Create interfaces + steam.iclient = (intptr_t)SteamInternal_CreateInterface("SteamClient020"); + if( !steam.iclient ) { + return !strcpy(steam.status, "Err: incompatible dll"); + } + + HSteamPipe hpipe = SteamAPI_ISteamClient_CreateSteamPipe(steam.iclient); + HSteamUser huser = SteamAPI_ISteamClient_ConnectToGlobalUser(steam.iclient, hpipe); + + steam.iapps = (intptr_t)SteamAPI_ISteamClient_GetISteamApps(steam.iclient, huser, hpipe, "STEAMAPPS_INTERFACE_VERSION008"); + steam.ifriends = (intptr_t)SteamAPI_ISteamClient_GetISteamFriends(steam.iclient, huser, hpipe, "SteamFriends017"); // 015 + steam.ihtmlsurface = (intptr_t)SteamAPI_ISteamClient_GetISteamHTMLSurface(steam.iclient, huser, hpipe, "STEAMHTMLSURFACE_INTERFACE_VERSION_005"); + steam.imatchmaking = (intptr_t)SteamAPI_ISteamClient_GetISteamMatchmaking(steam.iclient, huser, hpipe, "SteamMatchMaking009"); + steam.imatchmakingservers = (intptr_t)SteamAPI_ISteamClient_GetISteamMatchmakingServers(steam.iclient, huser, hpipe, "SteamMatchMakingServers002"); + steam.inetworking = (intptr_t)SteamAPI_ISteamClient_GetISteamNetworking(steam.iclient, huser, hpipe, "SteamNetworking006"); + //steam.iremoteplay = (intptr_t)SteamAPI_ISteamClient_GetISteamRemotePlay(steam.iclient, huser, hpipe, "STEAMREMOTEPLAY_INTERFACE_VERSION001"); + steam.iremotestorage = (intptr_t)SteamAPI_ISteamClient_GetISteamRemoteStorage(steam.iclient, huser, hpipe, "STEAMREMOTESTORAGE_INTERFACE_VERSION014"); + steam.iscreenshots = (intptr_t)SteamAPI_ISteamClient_GetISteamScreenshots(steam.iclient, huser, hpipe, "STEAMSCREENSHOTS_INTERFACE_VERSION003"); + steam.iuser = (intptr_t)SteamAPI_ISteamClient_GetISteamUser(steam.iclient, huser, hpipe, "SteamUser021"); // 019 + steam.iuserstats = (intptr_t)SteamAPI_ISteamClient_GetISteamUserStats(steam.iclient, huser, hpipe, "STEAMUSERSTATS_INTERFACE_VERSION012"); + steam.iutils = (intptr_t)SteamAPI_ISteamClient_GetISteamUtils(steam.iclient, hpipe, "SteamUtils010"); + + SteamAPI_ISteamClient_SetWarningMessageHook(steam.iclient, steam_message_cb); + + // Retrieve some vars + steam.running = SteamAPI_IsSteamRunning(); + steam.steamid = SteamAPI_ISteamUser_GetSteamID(steam.iuser); + steam.logged = SteamAPI_ISteamUser_BLoggedOn(steam.iuser); + steam.behindnat = SteamAPI_ISteamUser_BIsBehindNAT(steam.iuser); + steam.num_friends = SteamAPI_ISteamFriends_GetFriendCount(steam.ifriends, k_EFriendFlagAll); + strncpy(steam.username, SteamAPI_ISteamFriends_GetPersonaName(steam.ifriends), sizeof(steam.username)); + strncpy(steam.language, SteamAPI_ISteamUtils_GetSteamUILanguage(steam.iutils), sizeof(steam.language)); // SteamAPI_ISteamApps_GetCurrentGameLanguage(steam.iapps) + + if(steam.logged) + SteamAPI_ISteamUserStats_RequestCurrentStats(steam.iuserstats); + + ASSERT(steam.iapps); + ASSERT(steam.ifriends); + ASSERT(steam.ihtmlsurface); + ASSERT(steam.imatchmaking); + ASSERT(steam.imatchmakingservers); + ASSERT(steam.inetworking); + // ASSERT(steam.iremoteplay); + ASSERT(steam.iremotestorage); + ASSERT(steam.iscreenshots); + ASSERT(steam.iuser); + ASSERT(steam.iuserstats); + ASSERT(steam.iutils); + + strcpy(steam.status, "Ok"); + return true; +} + +void steam_tick() { + if( steam.iclient ) { + SteamAPI_RunCallbacks(); + steam.overlay = SteamAPI_ISteamUtils_IsOverlayEnabled(steam.iutils); + } +} + +void steam_trophy(const char *trophy_id, bool redeem) { + if( steam.iclient && steam.logged ) { + if( redeem ) + SteamAPI_ISteamUserStats_SetAchievement(steam.iuserstats, trophy_id); + else + SteamAPI_ISteamUserStats_ClearAchievement(steam.iuserstats, trophy_id); + SteamAPI_ISteamUserStats_StoreStats(steam.iuserstats); + } +} + +void steam_screenshot() { + if( steam.iclient ) { + SteamAPI_ISteamScreenshots_TriggerScreenshot(steam.iscreenshots); + } +} + +void steam_destroy() { + if( steam.iclient ) { + steam.iclient = 0; + SteamAPI_Shutdown(); + } +} + +int ui_steam() { + ui_disable(); + + ui_label2("Status", steam.status); + ui_label2("Username", steam.username); + ui_label2("Language", steam.language); + ui_label2("Friends", va("%d", steam.num_friends)); + ui_label2("SteamID", va("%llu", steam.steamid)); + ui_bool("Overlay?", &steam.overlay); + + ui_enable(); + + return 0; +} +#line 0 + #line 1 "v4k_system.c" #if (is(tcc) && is(linux)) || (is(gcc) && !is(mingw)) // || is(clang) int __argc; char **__argv; diff --git a/engine/split/v4k_extend.h b/engine/split/v4k_extend.h index d6b67f6..3254ffa 100644 --- a/engine/split/v4k_extend.h +++ b/engine/split/v4k_extend.h @@ -23,6 +23,9 @@ API void script_call(const char *lua_function); API bool script_tests(); +// ----------------------------------------------------------------------------- +// script framework + enum { SCRIPT_LUA = 1, SCRIPT_DEBUGGER = 2, diff --git a/engine/split/v4k_steam.c b/engine/split/v4k_steam.c new file mode 100644 index 0000000..6effdb5 --- /dev/null +++ b/engine/split/v4k_steam.c @@ -0,0 +1,189 @@ +// ---------------------------------------------------------------------------- +// steam framework +// - rlyeh, public domain +// +// hints: +// - steam must be running in background +// - steamworks dll must be close to executable (may be "steam_api64.dll", "libsteam_api.dylib" or "libsteam_api.so") +// - family mode should be off (achievements not displayed otherwise) +// +// [src] https://steamdb.info/app/480/ +// [src] https://steamdb.info/app/480/stats/ +// [src] https://partner.steamgames.com/doc/ +// [src] dumpbin /exports steam_api64.dll + +#ifndef STEAM_APPID +#define STEAM_APPID 480 +#endif + +#ifndef STEAM_DLL +#define STEAM_DLL ifdef(win32, "steam_api64.dll", "libsteam_api" ifdef(osx, ".dylib", ".so")) +#endif + +#define STEAM_API_DECL(ret,name,args) API ret (*name) args; +#define STEAM_API_DEFN(ret,name,args) ret (*name) args; +#define STEAM_API_LOAD(ret,name,args) name = dll(STEAM_DLL, #name); if(!name) PRINTF("Cannot load `" STEAM_DLL "@%s`\n", #name); + +STEAM_API(STEAM_API_DECL); +STEAM_API(STEAM_API_DEFN); + +struct steam_t { + intptr_t iclient; + intptr_t iapps; + intptr_t ifriends; + intptr_t ihtmlsurface; + intptr_t imatchmaking; + intptr_t imatchmakingservers; + intptr_t inetworking; + intptr_t iremoteplay; + intptr_t iremotestorage; + intptr_t iscreenshots; + intptr_t iuser; + intptr_t iuserstats; + intptr_t iutils; + uint64_t steamid; + + int num_friends; + bool running, overlay; + bool logged, behindnat; + char status[256], username[256], language[32]; +} steam = {0}; + +static +void steam_message_cb(int severity, const char *message) { + /**/ if( severity == 0 ) printf("%s", message); + else if( severity == 1 ) printf("Warning: %s", message); + else printf("Unknown severity %d: %s", severity, message); +} + +bool steam_init(unsigned app_id) { + struct steam_t z = {0}; + steam = z; + + app_id = app_id ? app_id : STEAM_APPID; + + // Steam installed? + HKEY hSteamProcess; + if( RegOpenKeyExA(HKEY_CURRENT_USER,"Software\\Valve\\Steam\\ActiveProcess", 0, KEY_READ, &hSteamProcess) ) { + return !strcpy(steam.status, "Err: steam not installed"); + } + RegCloseKey(hSteamProcess); + + // dll present? + if( !file_exist(STEAM_DLL) ) { + return !strcpy(steam.status, "Err: " STEAM_DLL " not found"); + } + + // Load symbols + STEAM_API(STEAM_API_LOAD); + if( !SteamAPI_Init ) SteamAPI_Init = SteamAPI_InitSafe; + + // Initialize + char *app_id_str = va("%d", app_id); + //if( !file_exist("steam_appid.txt") ) file_write("steam_appid.txt", app_id_str, strlen(app_id_str)); + if( !getenv("SteamAppId") ) SetEnvironmentVariableA("SteamAppId", app_id_str); + + int started = SteamAPI_Init && SteamAPI_Init(); + if( !started ) { + return !strcpy(steam.status, "Err: steam not running"); + } + + SteamAPI_RestartAppIfNecessary(app_id); + + // Create interfaces + steam.iclient = (intptr_t)SteamInternal_CreateInterface("SteamClient020"); + if( !steam.iclient ) { + return !strcpy(steam.status, "Err: incompatible dll"); + } + + HSteamPipe hpipe = SteamAPI_ISteamClient_CreateSteamPipe(steam.iclient); + HSteamUser huser = SteamAPI_ISteamClient_ConnectToGlobalUser(steam.iclient, hpipe); + + steam.iapps = (intptr_t)SteamAPI_ISteamClient_GetISteamApps(steam.iclient, huser, hpipe, "STEAMAPPS_INTERFACE_VERSION008"); + steam.ifriends = (intptr_t)SteamAPI_ISteamClient_GetISteamFriends(steam.iclient, huser, hpipe, "SteamFriends017"); // 015 + steam.ihtmlsurface = (intptr_t)SteamAPI_ISteamClient_GetISteamHTMLSurface(steam.iclient, huser, hpipe, "STEAMHTMLSURFACE_INTERFACE_VERSION_005"); + steam.imatchmaking = (intptr_t)SteamAPI_ISteamClient_GetISteamMatchmaking(steam.iclient, huser, hpipe, "SteamMatchMaking009"); + steam.imatchmakingservers = (intptr_t)SteamAPI_ISteamClient_GetISteamMatchmakingServers(steam.iclient, huser, hpipe, "SteamMatchMakingServers002"); + steam.inetworking = (intptr_t)SteamAPI_ISteamClient_GetISteamNetworking(steam.iclient, huser, hpipe, "SteamNetworking006"); + //steam.iremoteplay = (intptr_t)SteamAPI_ISteamClient_GetISteamRemotePlay(steam.iclient, huser, hpipe, "STEAMREMOTEPLAY_INTERFACE_VERSION001"); + steam.iremotestorage = (intptr_t)SteamAPI_ISteamClient_GetISteamRemoteStorage(steam.iclient, huser, hpipe, "STEAMREMOTESTORAGE_INTERFACE_VERSION014"); + steam.iscreenshots = (intptr_t)SteamAPI_ISteamClient_GetISteamScreenshots(steam.iclient, huser, hpipe, "STEAMSCREENSHOTS_INTERFACE_VERSION003"); + steam.iuser = (intptr_t)SteamAPI_ISteamClient_GetISteamUser(steam.iclient, huser, hpipe, "SteamUser021"); // 019 + steam.iuserstats = (intptr_t)SteamAPI_ISteamClient_GetISteamUserStats(steam.iclient, huser, hpipe, "STEAMUSERSTATS_INTERFACE_VERSION012"); + steam.iutils = (intptr_t)SteamAPI_ISteamClient_GetISteamUtils(steam.iclient, hpipe, "SteamUtils010"); + + SteamAPI_ISteamClient_SetWarningMessageHook(steam.iclient, steam_message_cb); + + // Retrieve some vars + steam.running = SteamAPI_IsSteamRunning(); + steam.steamid = SteamAPI_ISteamUser_GetSteamID(steam.iuser); + steam.logged = SteamAPI_ISteamUser_BLoggedOn(steam.iuser); + steam.behindnat = SteamAPI_ISteamUser_BIsBehindNAT(steam.iuser); + steam.num_friends = SteamAPI_ISteamFriends_GetFriendCount(steam.ifriends, k_EFriendFlagAll); + strncpy(steam.username, SteamAPI_ISteamFriends_GetPersonaName(steam.ifriends), sizeof(steam.username)); + strncpy(steam.language, SteamAPI_ISteamUtils_GetSteamUILanguage(steam.iutils), sizeof(steam.language)); // SteamAPI_ISteamApps_GetCurrentGameLanguage(steam.iapps) + + if(steam.logged) + SteamAPI_ISteamUserStats_RequestCurrentStats(steam.iuserstats); + + ASSERT(steam.iapps); + ASSERT(steam.ifriends); + ASSERT(steam.ihtmlsurface); + ASSERT(steam.imatchmaking); + ASSERT(steam.imatchmakingservers); + ASSERT(steam.inetworking); + // ASSERT(steam.iremoteplay); + ASSERT(steam.iremotestorage); + ASSERT(steam.iscreenshots); + ASSERT(steam.iuser); + ASSERT(steam.iuserstats); + ASSERT(steam.iutils); + + strcpy(steam.status, "Ok"); + return true; +} + +void steam_tick() { + if( steam.iclient ) { + SteamAPI_RunCallbacks(); + steam.overlay = SteamAPI_ISteamUtils_IsOverlayEnabled(steam.iutils); + } +} + +void steam_trophy(const char *trophy_id, bool redeem) { + if( steam.iclient && steam.logged ) { + if( redeem ) + SteamAPI_ISteamUserStats_SetAchievement(steam.iuserstats, trophy_id); + else + SteamAPI_ISteamUserStats_ClearAchievement(steam.iuserstats, trophy_id); + SteamAPI_ISteamUserStats_StoreStats(steam.iuserstats); + } +} + +void steam_screenshot() { + if( steam.iclient ) { + SteamAPI_ISteamScreenshots_TriggerScreenshot(steam.iscreenshots); + } +} + +void steam_destroy() { + if( steam.iclient ) { + steam.iclient = 0; + SteamAPI_Shutdown(); + } +} + +int ui_steam() { + ui_disable(); + + ui_label2("Status", steam.status); + ui_label2("Username", steam.username); + ui_label2("Language", steam.language); + ui_label2("Friends", va("%d", steam.num_friends)); + ui_label2("SteamID", va("%llu", steam.steamid)); + ui_bool("Overlay?", &steam.overlay); + + ui_enable(); + + return 0; +} diff --git a/engine/split/v4k_steam.h b/engine/split/v4k_steam.h new file mode 100644 index 0000000..8a5bd25 --- /dev/null +++ b/engine/split/v4k_steam.h @@ -0,0 +1,10 @@ +// ---------------------------------------------------------------------------- +// steam framework + +API bool steam_init(unsigned app_id); +API void steam_tick(); +API void steam_trophy(const char *trophy_id, bool redeem); +API void steam_screenshot(); +API void steam_destroy(); + +API int ui_steam();