Difference between revisions of "FBInstant.player"
From GiderosMobile
Line 8: | Line 8: | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
− | [[FBInstant.player.canSubscribeBotAsync]] | + | [[FBInstant.player.canSubscribeBotAsync]] {{<translate>Whether a player can subscribe to the game bot or not.</translate>}}<br/> |
− | [[FBInstant.player.flushDataAsync]] | + | [[FBInstant.player.flushDataAsync]] {{<translate>Immediately flushes any changes to the player data to the designated cloud storage.</translate>}}<br/> |
− | [[FBInstant.player.getConnectedPlayersAsync]] | + | [[FBInstant.player.getConnectedPlayersAsync]] {{<translate>Fetches a table of ConnectedPlayer tables.</translate>}}<br/> |
− | [[FBInstant.player.getDataAsync]] | + | [[FBInstant.player.getDataAsync]] {{<translate>Retrieve data from the designated cloud storage of the current player.</translate>}}<br/> |
− | [[FBInstant.player.getID]] | + | [[FBInstant.player.getID]] {{<translate>A unique identifier for the player.</translate>}}<br/> |
− | [[FBInstant.player.getName]] | + | [[FBInstant.player.getName]] {{<translate>The player's localized display name.</translate>}}<br/> |
− | [[FBInstant.player.getPhoto]] | + | [[FBInstant.player.getPhoto]] {{<translate>A url to the player's public profile photo.</translate>}}<br/> |
− | [[FBInstant.player.getSignedPlayerInfoAsync]] | + | [[FBInstant.player.getSignedPlayerInfoAsync]] {{<translate>Fetch the player's unique identifier along with a signature.</translate>}}<br/> |
− | [[FBInstant.player.getStatsAsync]] | + | [[FBInstant.player.getStatsAsync]] {{<translate>Retrieve stats from the designated cloud storage of the current player.</translate>}}<br/> |
− | [[FBInstant.player.incrementStatsAsync]] | + | [[FBInstant.player.incrementStatsAsync]] {{<translate>Increment stats saved in the designated cloud storage of the current player.</translate>}}<br/> |
− | [[FBInstant.player.setDataAsync]] | + | [[FBInstant.player.setDataAsync]] {{<translate>Set data to be saved to the designated cloud storage of the current player.</translate>}}<br/> |
− | [[FBInstant.player.setStatsAsync]] | + | [[FBInstant.player.setStatsAsync]] {{<translate>Set stats to be saved to the designated cloud storage of the current player.</translate>}}<br/> |
− | [[FBInstant.player.subscribeBotAsync]] | + | [[FBInstant.player.subscribeBotAsync]] {{<translate>Request that the player subscribe the bot associated to the game.</translate>}}<br/> |
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:17, 23 August 2018
Supported platforms: html5
Available since: Gideros 2018.3
Description
Contains functions and properties related to the current player.