2018-01-18 17:24:05 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 10:43:23 +02:00
|
|
|
#define __cdecl
|
2018-01-18 17:24:05 +01:00
|
|
|
#include "steamworks_sdk_109/steam_api.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 20:06:46 +01:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 16:05:29 +01:00
|
|
|
#define SDKVER_109
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamFriends_SteamFriends005.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
const char * cppISteamFriends_SteamFriends005_GetPersonaName(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetPersonaName();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_SetPersonaName(void *linux_side, const char * pchPersonaName)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName);
|
|
|
|
}
|
|
|
|
|
|
|
|
EPersonaState cppISteamFriends_SteamFriends005_GetPersonaState(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetPersonaState();
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends005_GetFriendCount(void *linux_side, int iFriendFlags)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags);
|
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamFriends_SteamFriends005_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags);
|
|
|
|
}
|
|
|
|
|
|
|
|
EFriendRelationship cppISteamFriends_SteamFriends005_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend);
|
|
|
|
}
|
|
|
|
|
|
|
|
EPersonaState cppISteamFriends_SteamFriends005_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends005_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend);
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends005_GetFriendAvatar(void *linux_side, CSteamID steamIDFriend, int eAvatarSize)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendAvatar((CSteamID)steamIDFriend, (int)eAvatarSize);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamFriends_SteamFriends005_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo)
|
|
|
|
{
|
2018-10-30 14:09:46 +01:00
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
|
2018-01-18 17:24:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends005_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamFriends_SteamFriends005_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags);
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends005_GetClanCount(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetClanCount();
|
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamFriends_SteamFriends005_GetClanByIndex(void *linux_side, int iClan)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan);
|
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends005_GetClanName(void *linux_side, CSteamID steamIDClan)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan);
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends005_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource);
|
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamFriends_SteamFriends005_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamFriends_SteamFriends005_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource)
|
|
|
|
{
|
|
|
|
return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_ActivateGameOverlay(void *linux_side, const char * pchDialog)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends005_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|