Skip to content

Commit e5b8c27

Browse files
Site changes [skip-ci]
1 parent 99f79bf commit e5b8c27

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

_data/extensions/extension-steam_steam.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,55 @@
301301
],
302302
"type": "FUNCTION"
303303
},
304+
{
305+
"description": "Friend iteration. Takes a set of EFriendFlags, and returns the number of users the client knows about who meet that criteria. Then GetFriendByIndex() can then be used to return the id's of each of those users.",
306+
"examples": "",
307+
"name": "steam.friends_get_friend_count",
308+
"parameters": [
309+
{
310+
"doc": "Set of friend flags to match friends against.",
311+
"name": "iFriendFlags",
312+
"types": [
313+
"number"
314+
]
315+
}
316+
],
317+
"returnvalues": [
318+
{
319+
"doc": "Number of users matching search.",
320+
"name": "count"
321+
}
322+
],
323+
"type": "FUNCTION"
324+
},
325+
{
326+
"description": "Returns the steamID of a user. The returned CSteamID can then be used by all the functions below to access details about the user.",
327+
"examples": "",
328+
"name": "steam.friends_get_friend_by_index",
329+
"parameters": [
330+
{
331+
"doc": "Is a index of range [0, GetFriendCount())",
332+
"name": "iFriend",
333+
"types": [
334+
"number"
335+
]
336+
},
337+
{
338+
"doc": "Must be the same value as used in GetFriendCount()",
339+
"name": "iFriendsFlags",
340+
"types": [
341+
"number"
342+
]
343+
}
344+
],
345+
"returnvalues": [
346+
{
347+
"doc": "Steam id of the user",
348+
"name": "steamID"
349+
}
350+
],
351+
"type": "FUNCTION"
352+
},
304353
{
305354
"description": "Returns the current status of the specified user. This will only be known by the local user if steamIDFriend is in their friends list; on the same game server; in a chat room or lobby; or in a small group with the local user.",
306355
"examples": "",

0 commit comments

Comments
 (0)