We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35615ce commit 710ec7cCopy full SHA for 710ec7c
src/Syntax/SteamApi/Steam/User.php
@@ -126,7 +126,7 @@ public function GetPlayerBans($steamId = null)
126
return $client->players;
127
}
128
129
- public function GetFriendList($relationship = 'all')
+ public function GetFriendList($relationship = 'all', $summaries = true)
130
{
131
// Set up the api details
132
$this->method = __FUNCTION__;
@@ -152,7 +152,11 @@ public function GetFriendList($relationship = 'all')
152
$steamIds[] = $friend->steamid;
153
154
155
- $friends = $this->GetPlayerSummaries(implode(',', $steamIds));
+ if($summaries) {
156
+ $friends = $this->GetPlayerSummaries(implode(',', $steamIds));
157
+ } else {
158
+ $friends = $steamIds;
159
+ }
160
161
return $friends;
162
0 commit comments