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