FBInstant.player.getConnectedPlayersAsync

From GiderosMobile
Revision as of 10:16, 23 August 2018 by Hgy29 (talk | contribs)

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. '