mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-24 09:24:15 +08:00
trial to see if this dummy implementation will fix msys2 compilation on windows
This commit is contained in:
parent
77c2d76bb2
commit
36943fbfe6
@ -123,6 +123,8 @@ public:
|
||||
|
||||
CSteamID GetFriendByIndex( int iFriend, EFriendFlags eFriendFlags );
|
||||
|
||||
void GetFriendByIndex(CSteamID& result, int iFriend, EFriendFlags eFriendFlags);
|
||||
|
||||
// returns a relationship to a user
|
||||
EFriendRelationship GetFriendRelationship( CSteamID steamIDFriend );
|
||||
|
||||
@ -183,6 +185,8 @@ public:
|
||||
|
||||
CSteamID GetClanByIndex( int iClan );
|
||||
|
||||
void GetClanByIndex(CSteamID& result, int iClan );
|
||||
|
||||
const char *GetClanName( CSteamID steamIDClan );
|
||||
|
||||
const char *GetClanTag( CSteamID steamIDClan );
|
||||
|
@ -284,6 +284,15 @@ CSteamID Steam_Friends::GetFriendByIndex( int iFriend, EFriendFlags eFriendFlags
|
||||
return GetFriendByIndex(iFriend, (int)eFriendFlags );
|
||||
}
|
||||
|
||||
|
||||
void Steam_Friends::GetFriendByIndex(CSteamID& result, int iFriend, EFriendFlags eFriendFlags)
|
||||
{
|
||||
PRINT_DEBUG_GNU_WIN();
|
||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||
result = GetFriendByIndex(iFriend, (int)eFriendFlags );
|
||||
}
|
||||
|
||||
|
||||
// returns a relationship to a user
|
||||
EFriendRelationship Steam_Friends::GetFriendRelationship( CSteamID steamIDFriend )
|
||||
{
|
||||
@ -498,6 +507,13 @@ CSteamID Steam_Friends::GetClanByIndex( int iClan )
|
||||
return k_steamIDNil;
|
||||
}
|
||||
|
||||
void Steam_Friends::GetClanByIndex( CSteamID& result, int iClan )
|
||||
{
|
||||
PRINT_DEBUG_GNU_WIN();
|
||||
std::lock_guard<std::recursive_mutex> lock(global_mutex);
|
||||
result = GetClanByIndex(iClan);
|
||||
}
|
||||
|
||||
const char* Steam_Friends::GetClanName( CSteamID steamIDClan )
|
||||
{
|
||||
PRINT_DEBUG_ENTRY();
|
||||
|
Loading…
x
Reference in New Issue
Block a user