231 lines
8.7 KiB
C++
231 lines
8.7 KiB
C++
|
#include "steamclient_private.h"
|
||
|
#include "steam_defs.h"
|
||
|
#include "steamworks_sdk_116/steam_api.h"
|
||
|
#include "cppISteamFriends_SteamFriends009.h"
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
const char * cppISteamFriends_SteamFriends009_GetPersonaName(void *linux_side)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetPersonaName();
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_SetPersonaName(void *linux_side, const char * pchPersonaName)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName);
|
||
|
}
|
||
|
|
||
|
EPersonaState cppISteamFriends_SteamFriends009_GetPersonaState(void *linux_side)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetPersonaState();
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetFriendCount(void *linux_side, int iFriendFlags)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags);
|
||
|
}
|
||
|
|
||
|
CSteamID cppISteamFriends_SteamFriends009_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags);
|
||
|
}
|
||
|
|
||
|
EFriendRelationship cppISteamFriends_SteamFriends009_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
EPersonaState cppISteamFriends_SteamFriends009_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
const char * cppISteamFriends_SteamFriends009_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
bool cppISteamFriends_SteamFriends009_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t * pFriendGameInfo)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
|
||
|
}
|
||
|
|
||
|
const char * cppISteamFriends_SteamFriends009_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName);
|
||
|
}
|
||
|
|
||
|
bool cppISteamFriends_SteamFriends009_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetClanCount(void *linux_side)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanCount();
|
||
|
}
|
||
|
|
||
|
CSteamID cppISteamFriends_SteamFriends009_GetClanByIndex(void *linux_side, int iClan)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan);
|
||
|
}
|
||
|
|
||
|
const char * cppISteamFriends_SteamFriends009_GetClanName(void *linux_side, CSteamID steamIDClan)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan);
|
||
|
}
|
||
|
|
||
|
const char * cppISteamFriends_SteamFriends009_GetClanTag(void *linux_side, CSteamID steamIDClan)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource);
|
||
|
}
|
||
|
|
||
|
CSteamID cppISteamFriends_SteamFriends009_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend);
|
||
|
}
|
||
|
|
||
|
bool cppISteamFriends_SteamFriends009_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_ActivateGameOverlay(void *linux_side, const char * pchDialog)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_ActivateGameOverlayToUser(void *linux_side, const char * pchDialog, CSteamID steamID)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_ActivateGameOverlayToWebPage(void *linux_side, const char * pchURL)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
bool cppISteamFriends_SteamFriends009_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly);
|
||
|
}
|
||
|
|
||
|
SteamAPICall_t cppISteamFriends_SteamFriends009_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan);
|
||
|
}
|
||
|
|
||
|
CSteamID cppISteamFriends_SteamFriends009_GetClanOwner(void *linux_side, CSteamID steamIDClan)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan);
|
||
|
}
|
||
|
|
||
|
CSteamID cppISteamFriends_SteamFriends009_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer);
|
||
|
}
|
||
|
|
||
|
uint32 cppISteamFriends_SteamFriends009_GetUserRestrictions(void *linux_side)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetUserRestrictions();
|
||
|
}
|
||
|
|
||
|
bool cppISteamFriends_SteamFriends009_SetRichPresence(void *linux_side, const char * pchKey, const char * pchValue)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue);
|
||
|
}
|
||
|
|
||
|
void cppISteamFriends_SteamFriends009_ClearRichPresence(void *linux_side)
|
||
|
{
|
||
|
((ISteamFriends*)linux_side)->ClearRichPresence();
|
||
|
}
|
||
|
|
||
|
const char * cppISteamFriends_SteamFriends009_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char * pchKey)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
const char * cppISteamFriends_SteamFriends009_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey);
|
||
|
}
|
||
|
|
||
|
bool cppISteamFriends_SteamFriends009_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char * pchConnectString)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetCoplayFriendCount(void *linux_side)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetCoplayFriendCount();
|
||
|
}
|
||
|
|
||
|
CSteamID cppISteamFriends_SteamFriends009_GetCoplayFriend(void *linux_side, int iCoplayFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend);
|
||
|
}
|
||
|
|
||
|
int cppISteamFriends_SteamFriends009_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
AppId_t cppISteamFriends_SteamFriends009_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend)
|
||
|
{
|
||
|
return ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend);
|
||
|
}
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|