FBInstant.player.getConnectedPlayersAsync

From GiderosMobile
Revision as of 10:02, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Fetches a table of ConnectedPlayer tables containing information about players that are connect...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2018.3

Description


Fetches a table of ConnectedPlayer tables containing information about players that are connected to the current player.

= FBInstant.player.getConnectedPlayersAsync(callback,)

'callback: (function) A function that will be called with two arguments: a set of key-value pairs or nil is the operation failed, and an error code if the function failed. NOTE: This promise will not resolve until FBInstant.startGameAsync() has resolved. '