mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-31 00:55:37 +03:00
8d78cb5107
CW-Bug-Id: #22729
447 lines
15 KiB
C++
447 lines
15 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_131/steam_api.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_131
|
|
#include "struct_converters.h"
|
|
#include "cppISteamFriends_SteamFriends014.h"
|
|
const char * cppISteamFriends_SteamFriends014_GetPersonaName(void *linux_side)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetPersonaName();
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_SetPersonaName(void *linux_side, const char *pchPersonaName)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->SetPersonaName((const char *)pchPersonaName);
|
|
return (_ret);
|
|
}
|
|
|
|
EPersonaState cppISteamFriends_SteamFriends014_GetPersonaState(void *linux_side)
|
|
{
|
|
EPersonaState _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetPersonaState();
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetFriendCount(void *linux_side, int iFriendFlags)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendCount((int)iFriendFlags);
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetFriendByIndex(void *linux_side, int iFriend, int iFriendFlags)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendByIndex((int)iFriend, (int)iFriendFlags);
|
|
return (_ret);
|
|
}
|
|
|
|
EFriendRelationship cppISteamFriends_SteamFriends014_GetFriendRelationship(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
EFriendRelationship _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendRelationship((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
EPersonaState cppISteamFriends_SteamFriends014_GetFriendPersonaState(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
EPersonaState _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendPersonaState((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetFriendPersonaName(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendPersonaName((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_GetFriendGamePlayed(void *linux_side, CSteamID steamIDFriend, FriendGameInfo_t *pFriendGameInfo)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendGamePlayed((CSteamID)steamIDFriend, (FriendGameInfo_t *)pFriendGameInfo);
|
|
return (_ret);
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetFriendPersonaNameHistory(void *linux_side, CSteamID steamIDFriend, int iPersonaName)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendPersonaNameHistory((CSteamID)steamIDFriend, (int)iPersonaName);
|
|
return (_ret);
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetPlayerNickname(void *linux_side, CSteamID steamIDPlayer)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetPlayerNickname((CSteamID)steamIDPlayer);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_HasFriend(void *linux_side, CSteamID steamIDFriend, int iFriendFlags)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->HasFriend((CSteamID)steamIDFriend, (int)iFriendFlags);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetClanCount(void *linux_side)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanCount();
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetClanByIndex(void *linux_side, int iClan)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanByIndex((int)iClan);
|
|
return (_ret);
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetClanName(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanName((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetClanTag(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanTag((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_GetClanActivityCounts(void *linux_side, CSteamID steamIDClan, int *pnOnline, int *pnInGame, int *pnChatting)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanActivityCounts((CSteamID)steamIDClan, (int *)pnOnline, (int *)pnInGame, (int *)pnChatting);
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_DownloadClanActivityCounts(void *linux_side, CSteamID *psteamIDClans, int cClansToRequest)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->DownloadClanActivityCounts((CSteamID *)psteamIDClans, (int)cClansToRequest);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetFriendCountFromSource(void *linux_side, CSteamID steamIDSource)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendCountFromSource((CSteamID)steamIDSource);
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetFriendFromSourceByIndex(void *linux_side, CSteamID steamIDSource, int iFriend)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendFromSourceByIndex((CSteamID)steamIDSource, (int)iFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_IsUserInSource(void *linux_side, CSteamID steamIDUser, CSteamID steamIDSource)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->IsUserInSource((CSteamID)steamIDUser, (CSteamID)steamIDSource);
|
|
return (_ret);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_SetInGameVoiceSpeaking(void *linux_side, CSteamID steamIDUser, bool bSpeaking)
|
|
{
|
|
((ISteamFriends*)linux_side)->SetInGameVoiceSpeaking((CSteamID)steamIDUser, (bool)bSpeaking);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_ActivateGameOverlay(void *linux_side, const char *pchDialog)
|
|
{
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlay((const char *)pchDialog);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_ActivateGameOverlayToUser(void *linux_side, const char *pchDialog, CSteamID steamID)
|
|
{
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToUser((const char *)pchDialog, (CSteamID)steamID);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_ActivateGameOverlayToWebPage(void *linux_side, const char *pchURL)
|
|
{
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToWebPage((const char *)pchURL);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_ActivateGameOverlayToStore(void *linux_side, AppId_t nAppID, EOverlayToStoreFlag eFlag)
|
|
{
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayToStore((AppId_t)nAppID, (EOverlayToStoreFlag)eFlag);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_SetPlayedWith(void *linux_side, CSteamID steamIDUserPlayedWith)
|
|
{
|
|
((ISteamFriends*)linux_side)->SetPlayedWith((CSteamID)steamIDUserPlayedWith);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_ActivateGameOverlayInviteDialog(void *linux_side, CSteamID steamIDLobby)
|
|
{
|
|
((ISteamFriends*)linux_side)->ActivateGameOverlayInviteDialog((CSteamID)steamIDLobby);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetSmallFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetSmallFriendAvatar((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetMediumFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetMediumFriendAvatar((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetLargeFriendAvatar(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetLargeFriendAvatar((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_RequestUserInformation(void *linux_side, CSteamID steamIDUser, bool bRequireNameOnly)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->RequestUserInformation((CSteamID)steamIDUser, (bool)bRequireNameOnly);
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_RequestClanOfficerList(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->RequestClanOfficerList((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetClanOwner(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanOwner((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetClanOfficerCount(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanOfficerCount((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetClanOfficerByIndex(void *linux_side, CSteamID steamIDClan, int iOfficer)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanOfficerByIndex((CSteamID)steamIDClan, (int)iOfficer);
|
|
return (_ret);
|
|
}
|
|
|
|
uint32 cppISteamFriends_SteamFriends014_GetUserRestrictions(void *linux_side)
|
|
{
|
|
uint32 _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetUserRestrictions();
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_SetRichPresence(void *linux_side, const char *pchKey, const char *pchValue)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->SetRichPresence((const char *)pchKey, (const char *)pchValue);
|
|
return (_ret);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_ClearRichPresence(void *linux_side)
|
|
{
|
|
((ISteamFriends*)linux_side)->ClearRichPresence();
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetFriendRichPresence(void *linux_side, CSteamID steamIDFriend, const char *pchKey)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendRichPresence((CSteamID)steamIDFriend, (const char *)pchKey);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyCount(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyCount((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
const char * cppISteamFriends_SteamFriends014_GetFriendRichPresenceKeyByIndex(void *linux_side, CSteamID steamIDFriend, int iKey)
|
|
{
|
|
const char *_ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendRichPresenceKeyByIndex((CSteamID)steamIDFriend, (int)iKey);
|
|
return (_ret);
|
|
}
|
|
|
|
void cppISteamFriends_SteamFriends014_RequestFriendRichPresence(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
((ISteamFriends*)linux_side)->RequestFriendRichPresence((CSteamID)steamIDFriend);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_InviteUserToGame(void *linux_side, CSteamID steamIDFriend, const char *pchConnectString)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->InviteUserToGame((CSteamID)steamIDFriend, (const char *)pchConnectString);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetCoplayFriendCount(void *linux_side)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetCoplayFriendCount();
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetCoplayFriend(void *linux_side, int iCoplayFriend)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetCoplayFriend((int)iCoplayFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetFriendCoplayTime(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendCoplayTime((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
AppId_t cppISteamFriends_SteamFriends014_GetFriendCoplayGame(void *linux_side, CSteamID steamIDFriend)
|
|
{
|
|
AppId_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendCoplayGame((CSteamID)steamIDFriend);
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_JoinClanChatRoom(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->JoinClanChatRoom((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_LeaveClanChatRoom(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->LeaveClanChatRoom((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetClanChatMemberCount(void *linux_side, CSteamID steamIDClan)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanChatMemberCount((CSteamID)steamIDClan);
|
|
return (_ret);
|
|
}
|
|
|
|
CSteamID cppISteamFriends_SteamFriends014_GetChatMemberByIndex(void *linux_side, CSteamID steamIDClan, int iUser)
|
|
{
|
|
CSteamID _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetChatMemberByIndex((CSteamID)steamIDClan, (int)iUser);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_SendClanChatMessage(void *linux_side, CSteamID steamIDClanChat, const char *pchText)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->SendClanChatMessage((CSteamID)steamIDClanChat, (const char *)pchText);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetClanChatMessage(void *linux_side, CSteamID steamIDClanChat, int iMessage, void *prgchText, int cchTextMax, EChatEntryType *peChatEntryType, CSteamID *psteamidChatter)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetClanChatMessage((CSteamID)steamIDClanChat, (int)iMessage, (void *)prgchText, (int)cchTextMax, (EChatEntryType *)peChatEntryType, (CSteamID *)psteamidChatter);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_IsClanChatAdmin(void *linux_side, CSteamID steamIDClanChat, CSteamID steamIDUser)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->IsClanChatAdmin((CSteamID)steamIDClanChat, (CSteamID)steamIDUser);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_IsClanChatWindowOpenInSteam(void *linux_side, CSteamID steamIDClanChat)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->IsClanChatWindowOpenInSteam((CSteamID)steamIDClanChat);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_OpenClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->OpenClanChatWindowInSteam((CSteamID)steamIDClanChat);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_CloseClanChatWindowInSteam(void *linux_side, CSteamID steamIDClanChat)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->CloseClanChatWindowInSteam((CSteamID)steamIDClanChat);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_SetListenForFriendsMessages(void *linux_side, bool bInterceptEnabled)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->SetListenForFriendsMessages((bool)bInterceptEnabled);
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamFriends_SteamFriends014_ReplyToFriendMessage(void *linux_side, CSteamID steamIDFriend, const char *pchMsgToSend)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->ReplyToFriendMessage((CSteamID)steamIDFriend, (const char *)pchMsgToSend);
|
|
return (_ret);
|
|
}
|
|
|
|
int cppISteamFriends_SteamFriends014_GetFriendMessage(void *linux_side, CSteamID steamIDFriend, int iMessageID, void *pvData, int cubData, EChatEntryType *peChatEntryType)
|
|
{
|
|
int _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFriendMessage((CSteamID)steamIDFriend, (int)iMessageID, (void *)pvData, (int)cubData, (EChatEntryType *)peChatEntryType);
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_GetFollowerCount(void *linux_side, CSteamID steamID)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->GetFollowerCount((CSteamID)steamID);
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_IsFollowing(void *linux_side, CSteamID steamID)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->IsFollowing((CSteamID)steamID);
|
|
return (_ret);
|
|
}
|
|
|
|
SteamAPICall_t cppISteamFriends_SteamFriends014_EnumerateFollowingList(void *linux_side, uint32 unStartIndex)
|
|
{
|
|
SteamAPICall_t _ret;
|
|
_ret = ((ISteamFriends*)linux_side)->EnumerateFollowingList((uint32)unStartIndex);
|
|
return (_ret);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|