2018-01-18 19:24:05 +03:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 11:43:23 +03:00
|
|
|
#define __cdecl
|
2018-01-18 19:24:05 +03:00
|
|
|
#include "steamworks_sdk_111/steam_api.h"
|
2019-08-16 17:00:45 +03:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 22:06:46 +03:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2019-02-26 18:05:29 +03:00
|
|
|
#define SDKVER_111
|
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamFriends_SteamFriends007.h"
|
2018-01-18 19:24:05 +03:00
|
|
|
const char * cppISteamFriends_SteamFriends007_GetPersonaName(void *linux_side)
|
|
|
|
{
|
2023-09-23 23:07:08 +03:00
|
|
|
const char *_ret;
|
2023-09-23 22:44:20 +03:00
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetPersonaName();
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamFriends_SteamFriends007_SetPersonaName(void *linux_side, const char *pchPersonaName)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName);
|
|
|
|
}
|
|
|
|
|
|
|
|
EPersonaState cppISteamFriends_SteamFriends007_GetPersonaState(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
EPersonaState _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetPersonaState();
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends007_GetFriendCount(void *linux_side, int iFriendFlags)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamFriends_SteamFriends007_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
CSteamID _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
EFriendRelationship cppISteamFriends_SteamFriends007_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
EFriendRelationship _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
EPersonaState cppISteamFriends_SteamFriends007_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
EPersonaState _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends007_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
2023-09-23 23:07:08 +03:00
|
|
|
const char *_ret;
|
2023-09-23 22:44:20 +03:00
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
bool cppISteamFriends_SteamFriends007_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends007_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)
|
|
|
|
{
|
2023-09-23 23:07:08 +03:00
|
|
|
const char *_ret;
|
2023-09-23 22:44:20 +03:00
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamFriends_SteamFriends007_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends007_GetClanCount(void *linux_side)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanCount();
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamFriends_SteamFriends007_GetClanByIndex(void *linux_side, int iClan)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
CSteamID _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends007_GetClanName(void *linux_side, CSteamID steamIDClan)
|
|
|
|
{
|
2023-09-23 23:07:08 +03:00
|
|
|
const char *_ret;
|
2023-09-23 22:44:20 +03:00
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
const char * cppISteamFriends_SteamFriends007_GetClanTag(void *linux_side, CSteamID steamIDClan)
|
|
|
|
{
|
2023-09-23 23:07:08 +03:00
|
|
|
const char *_ret;
|
2023-09-23 22:44:20 +03:00
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends007_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
CSteamID cppISteamFriends_SteamFriends007_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
CSteamID _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamFriends_SteamFriends007_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
bool _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends007_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamFriends_SteamFriends007_ActivateGameOverlay(void *linux_side, const char *pchDialog)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamFriends_SteamFriends007_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID);
|
|
|
|
}
|
|
|
|
|
2023-09-23 17:11:42 +03:00
|
|
|
void cppISteamFriends_SteamFriends007_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends007_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends007_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamFriends_SteamFriends007_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby)
|
|
|
|
{
|
|
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby);
|
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends007_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends007_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
int cppISteamFriends_SteamFriends007_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
|
|
|
{
|
2023-09-23 22:44:20 +03:00
|
|
|
int _ret;
|
|
|
|
_ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend);
|
|
|
|
return (_ret);
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|