Type String Return value none Revision Release 2025.3721 Keywords Google Play Games Services, game network, gpgs See also gpgs2.players.* gpgs2.*
Retrieves information on current player, specified player or players.
gpgs.players.load(params)
Table. Contains parameters — see the next section for details.
String. If provided loads only this player information. If not - loads the current player information.
Array. Populate with string elements. If provided loads information on each specified player. Higher priority thann playerId.
String. One of these: "connected", "invitable" or "recentlyPlayedWith". If provided loads information on players from the specified source. Higher priority than playerIds.
Integer. Limit results count to this value. All results internally are fetched in pages of 25 items each.
Boolean. If true, the data will be pulled fresh, not from a cache.
Listener. Receives load event.