Type Function Return value none Revision 2017.3060 Keywords Google Play Games Services, game network, gpgs, players, load See also gpgs.players gpgs.*
Retrieves information on the current player, a specified player, or multiple players.
gpgs.players.load( params )
Table. Contains parameters for the call — see the next section for details.
The params
table contains parameters for the call.
String. Supported only on Android; if provided, loads information for only this player. If omitted, loads the current player's information.
Array. Supported only on Android; populate with string elements to load information for each specified player. If provided, this has higher priority than playerId
.
String. One of the following values. If provided, this has higher priority than playerIds
and loads information on players from the specified source.
"connected"
"invitable"
(Android only)"recentlyPlayedWith"
Number. Limits the number of results to this value. All results are internally fetched in batches of 25 items each.
Boolean. If true
, the data will be retrieved fresh, not from a cache.