2020-08-20 10:17:44 +00:00
|
|
|
#ifndef STEAMAPI_STEAM_STEAM_API_FLAT_H
|
|
|
|
#define STEAMAPI_STEAM_STEAM_API_FLAT_H
|
|
|
|
|
|
|
|
#include <base/dynamic.h>
|
|
|
|
|
|
|
|
#ifndef STEAMAPI
|
|
|
|
#define STEAMAPI DYNAMIC_IMPORT
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
|
2020-09-01 22:32:22 +00:00
|
|
|
struct ISteamApps;
|
2020-08-20 10:17:44 +00:00
|
|
|
struct ISteamFriends;
|
|
|
|
|
|
|
|
STEAMAPI bool SteamAPI_Init(); // Returns true on success.
|
|
|
|
STEAMAPI void SteamAPI_Shutdown();
|
2020-09-01 22:32:22 +00:00
|
|
|
|
|
|
|
STEAMAPI ISteamApps *SteamAPI_SteamApps_v008();
|
|
|
|
STEAMAPI int SteamAPI_ISteamApps_GetLaunchCommandLine(ISteamApps *pSelf, char *pBuffer, int BufferSize);
|
|
|
|
STEAMAPI const char *SteamAPI_ISteamApps_GetLaunchQueryParam(ISteamApps *pSelf, const char *pKey);
|
|
|
|
|
2020-08-20 10:17:44 +00:00
|
|
|
STEAMAPI ISteamFriends *SteamAPI_SteamFriends_v017();
|
2020-09-01 22:32:22 +00:00
|
|
|
STEAMAPI void SteamAPI_ISteamFriends_ClearRichPresence(ISteamFriends *pSelf);
|
2020-08-20 10:17:44 +00:00
|
|
|
STEAMAPI const char *SteamAPI_ISteamFriends_GetPersonaName(ISteamFriends *pSelf);
|
2020-09-01 22:32:22 +00:00
|
|
|
STEAMAPI bool SteamAPI_ISteamFriends_SetRichPresence(ISteamFriends *pSelf, const char *pKey, const char *pValue);
|
2020-08-20 10:17:44 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // STEAMAPI_STEAM_API_FLAT_H
|