mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-01-12 18:39:32 +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 );
|
CSteamID GetFriendByIndex( int iFriend, EFriendFlags eFriendFlags );
|
||||||
|
|
||||||
|
void GetFriendByIndex(CSteamID& result, int iFriend, EFriendFlags eFriendFlags);
|
||||||
|
|
||||||
// returns a relationship to a user
|
// returns a relationship to a user
|
||||||
EFriendRelationship GetFriendRelationship( CSteamID steamIDFriend );
|
EFriendRelationship GetFriendRelationship( CSteamID steamIDFriend );
|
||||||
|
|
||||||
@ -183,6 +185,8 @@ public:
|
|||||||
|
|
||||||
CSteamID GetClanByIndex( int iClan );
|
CSteamID GetClanByIndex( int iClan );
|
||||||
|
|
||||||
|
void GetClanByIndex(CSteamID& result, int iClan );
|
||||||
|
|
||||||
const char *GetClanName( CSteamID steamIDClan );
|
const char *GetClanName( CSteamID steamIDClan );
|
||||||
|
|
||||||
const char *GetClanTag( CSteamID steamIDClan );
|
const char *GetClanTag( CSteamID steamIDClan );
|
||||||
|
@ -284,6 +284,15 @@ CSteamID Steam_Friends::GetFriendByIndex( int iFriend, EFriendFlags eFriendFlags
|
|||||||
return GetFriendByIndex(iFriend, (int)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
|
// returns a relationship to a user
|
||||||
EFriendRelationship Steam_Friends::GetFriendRelationship( CSteamID steamIDFriend )
|
EFriendRelationship Steam_Friends::GetFriendRelationship( CSteamID steamIDFriend )
|
||||||
{
|
{
|
||||||
@ -498,6 +507,13 @@ CSteamID Steam_Friends::GetClanByIndex( int iClan )
|
|||||||
return k_steamIDNil;
|
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 )
|
const char* Steam_Friends::GetClanName( CSteamID steamIDClan )
|
||||||
{
|
{
|
||||||
PRINT_DEBUG_ENTRY();
|
PRINT_DEBUG_ENTRY();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user