FBInstant.player.getStatsAsync

From GiderosMobile
Revision as of 11:03, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Retrieve stats from the designated cloud storage of the current player.<br /> <br /> <source la...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2018.3

Description


Retrieve stats from the designated cloud storage of the current player.

= FBInstant.player.getStatsAsync(keyscallback,)

'keys: (table) An optional table of unique keys to retrieve stats for. If the function is called with it nil, it will fetch all stats. '
'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. '