iw4x-client/iw4/Steam/Interfaces/SteamFriends.cpp
2015-12-23 14:45:53 +01:00

121 lines
2.0 KiB
C++

#include "..\..\STDInclude.hpp"
using namespace Components;
namespace Steam
{
const char *Friends::GetPersonaName()
{
return Dvar::Var("name").Get<const char*>();
}
void Friends::SetPersonaName(const char *pchPersonaName)
{
Dvar::Var("name").Set(pchPersonaName);
}
int Friends::GetPersonaState()
{
return 1;
}
int Friends::GetFriendCount(int eFriendFlags)
{
return 0;
}
SteamID Friends::GetFriendByIndex(int iFriend, int iFriendFlags)
{
return SteamID();
}
int Friends::GetFriendRelationship(SteamID steamIDFriend)
{
return 0;
}
int Friends::GetFriendPersonaState(SteamID steamIDFriend)
{
return 0;
}
const char *Friends::GetFriendPersonaName(SteamID steamIDFriend)
{
return "";
}
int Friends::GetFriendAvatar(SteamID steamIDFriend, int eAvatarSize)
{
return 0;
}
bool Friends::GetFriendGamePlayed(SteamID steamIDFriend, void *pFriendGameInfo)
{
return false;
}
const char *Friends::GetFriendPersonaNameHistory(SteamID steamIDFriend, int iPersonaName)
{
return "";
}
bool Friends::HasFriend(SteamID steamIDFriend, int eFriendFlags)
{
return false;
}
int Friends::GetClanCount()
{
return 0;
}
SteamID Friends::GetClanByIndex(int iClan)
{
return SteamID();
}
const char *Friends::GetClanName(SteamID steamIDClan)
{
return "3arc";
}
int Friends::GetFriendCountFromSource(SteamID steamIDSource)
{
return 0;
}
SteamID Friends::GetFriendFromSourceByIndex(SteamID steamIDSource, int iFriend)
{
return SteamID();
}
bool Friends::IsUserInSource(SteamID steamIDUser, SteamID steamIDSource)
{
return false;
}
void Friends::SetInGameVoiceSpeaking(SteamID steamIDUser, bool bSpeaking)
{
}
void Friends::ActivateGameOverlay(const char *pchDialog)
{
}
void Friends::ActivateGameOverlayToUser(const char *pchDialog, SteamID steamID)
{
}
void Friends::ActivateGameOverlayToWebPage(const char *pchURL)
{
}
void Friends::ActivateGameOverlayToStore(unsigned int nAppID)
{
}
void Friends::SetPlayedWith(SteamID steamIDUserPlayedWith)
{
}
}