DDraceNetwork Docs
steam_api_flat.h
Go to the documentation of this file.
1#ifndef STEAM_STEAM_API_FLAT_H
2#define STEAM_STEAM_API_FLAT_H
3
4#include <base/dynamic.h>
5
6#include <cstdint>
7
8#ifndef STEAMAPI
9#define STEAMAPI DYNAMIC_IMPORT
10#endif
11
12extern "C" {
13
14typedef uint64_t CSteamId;
15typedef int32_t HSteamPipe;
16typedef int32_t HSteamUser;
17
19{
22 unsigned char *m_pubParam;
24};
25
27{
28 enum
29 {
30 k_iCallback = 337
31 };
33 char m_aRGCHConnect[256];
34};
35
37{
38 enum
39 {
40 k_iCallback = 1014
41 };
42 unsigned char m_EmptyStructDontUse;
43};
44
45struct ISteamApps;
46struct ISteamFriends;
47
48STEAMAPI bool SteamAPI_Init(); // Returns true on success.
51
56
58STEAMAPI int SteamAPI_ISteamApps_GetLaunchCommandLine(ISteamApps *pSelf, char *pBuffer, int BufferSize);
59STEAMAPI const char *SteamAPI_ISteamApps_GetLaunchQueryParam(ISteamApps *pSelf, const char *pKey);
60
62STEAMAPI void SteamAPI_ISteamFriends_ClearRichPresence(ISteamFriends *pSelf);
63STEAMAPI const char *SteamAPI_ISteamFriends_GetPersonaName(ISteamFriends *pSelf);
64STEAMAPI bool SteamAPI_ISteamFriends_SetRichPresence(ISteamFriends *pSelf, const char *pKey, const char *pValue);
65}
66
67#endif // STEAM_STEAM_API_FLAT_H
DYNAMIC_IMPORT bool SteamAPI_Init()
Definition: steam_api_stub.cpp:9
DYNAMIC_IMPORT bool SteamAPI_ManualDispatch_GetNextCallback(HSteamPipe SteamPipe, CallbackMsg_t *pCallbackMsg)
Definition: steam_api_stub.cpp:14
DYNAMIC_IMPORT void SteamAPI_ManualDispatch_FreeLastCallback(HSteamPipe SteamPipe)
Definition: steam_api_stub.cpp:13
DYNAMIC_IMPORT int SteamAPI_ISteamApps_GetLaunchCommandLine(ISteamApps *pSelf, char *pBuffer, int BufferSize)
Definition: steam_api_stub.cpp:17
DYNAMIC_IMPORT void SteamAPI_Shutdown()
Definition: steam_api_stub.cpp:11
DYNAMIC_IMPORT bool SteamAPI_ISteamFriends_SetRichPresence(ISteamFriends *pSelf, const char *pKey, const char *pValue)
Definition: steam_api_stub.cpp:21
DYNAMIC_IMPORT const char * SteamAPI_ISteamFriends_GetPersonaName(ISteamFriends *pSelf)
Definition: steam_api_stub.cpp:20
DYNAMIC_IMPORT void SteamAPI_ManualDispatch_Init()
Definition: steam_api_stub.cpp:12
DYNAMIC_IMPORT const char * SteamAPI_ISteamApps_GetLaunchQueryParam(ISteamApps *pSelf, const char *pKey)
Definition: steam_api_stub.cpp:18
DYNAMIC_IMPORT void SteamAPI_ISteamFriends_ClearRichPresence(ISteamFriends *pSelf)
Definition: steam_api_stub.cpp:22
#define STEAMAPI
Definition: steam_api_flat.h:9
int32_t HSteamPipe
Definition: steam_api_flat.h:15
int32_t HSteamUser
Definition: steam_api_flat.h:16
DYNAMIC_IMPORT void SteamAPI_ManualDispatch_RunFrame(HSteamPipe SteamPipe)
Definition: steam_api_stub.cpp:15
uint64_t CSteamId
Definition: steam_api_flat.h:14
DYNAMIC_IMPORT ISteamApps * SteamAPI_SteamApps_v008()
Definition: steam_api_stub.cpp:16
DYNAMIC_IMPORT ISteamFriends * SteamAPI_SteamFriends_v017()
Definition: steam_api_stub.cpp:19
DYNAMIC_IMPORT HSteamPipe SteamAPI_GetHSteamPipe()
Definition: steam_api_stub.cpp:10
Definition: steam_api_flat.h:19
unsigned char * m_pubParam
Definition: steam_api_flat.h:22
int m_iCallback
Definition: steam_api_flat.h:21
int m_cubParam
Definition: steam_api_flat.h:23
HSteamUser m_hSteamUser
Definition: steam_api_flat.h:20
Definition: steam_api_flat.h:27
char m_aRGCHConnect[256]
Definition: steam_api_flat.h:33
@ k_iCallback
Definition: steam_api_flat.h:30
CSteamId m_steamIdFriend
Definition: steam_api_flat.h:32
Definition: steam_api_flat.h:37
@ k_iCallback
Definition: steam_api_flat.h:40
unsigned char m_EmptyStructDontUse
Definition: steam_api_flat.h:42