Difference between revisions of "FBInstant.player"

From GiderosMobile
Line 8: Line 8:
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
[[FBInstant.player.canSubscribeBotAsync]] - Whether a player can subscribe to the game bot or not.<br/>
+
[[FBInstant.player.canSubscribeBotAsync]] {{<translate>Whether a player can subscribe to the game bot or not.</translate>}}<br/>
[[FBInstant.player.flushDataAsync]] - Immediately flushes any changes to the player data to the designated cloud storage.<br/>
+
[[FBInstant.player.flushDataAsync]] {{<translate>Immediately flushes any changes to the player data to the designated cloud storage.</translate>}}<br/>
[[FBInstant.player.getConnectedPlayersAsync]] - Fetches a table of ConnectedPlayer tables.<br/>
+
[[FBInstant.player.getConnectedPlayersAsync]] {{<translate>Fetches a table of ConnectedPlayer tables.</translate>}}<br/>
[[FBInstant.player.getDataAsync]] - Retrieve data from the designated cloud storage of the current player.<br/>
+
[[FBInstant.player.getDataAsync]] {{<translate>Retrieve data from the designated cloud storage of the current player.</translate>}}<br/>
[[FBInstant.player.getID]] - A unique identifier for the player.<br/>
+
[[FBInstant.player.getID]] {{<translate>A unique identifier for the player.</translate>}}<br/>
[[FBInstant.player.getName]] - The player's localized display name.<br/>
+
[[FBInstant.player.getName]] {{<translate>The player's localized display name.</translate>}}<br/>
[[FBInstant.player.getPhoto]] - A url to the player's public profile photo.<br/>
+
[[FBInstant.player.getPhoto]] {{<translate>A url to the player's public profile photo.</translate>}}<br/>
[[FBInstant.player.getSignedPlayerInfoAsync]] - Fetch the player's unique identifier along with a signature.<br/>
+
[[FBInstant.player.getSignedPlayerInfoAsync]] {{<translate>Fetch the player's unique identifier along with a signature.</translate>}}<br/>
[[FBInstant.player.getStatsAsync]] - Retrieve stats from the designated cloud storage of the current player.<br/>
+
[[FBInstant.player.getStatsAsync]] {{<translate>Retrieve stats from the designated cloud storage of the current player.</translate>}}<br/>
[[FBInstant.player.incrementStatsAsync]] - Increment stats saved in the designated cloud storage of the current player.<br/>
+
[[FBInstant.player.incrementStatsAsync]] {{<translate>Increment stats saved in the designated cloud storage of the current player.</translate>}}<br/>
[[FBInstant.player.setDataAsync]] - Set data to be saved to the designated cloud storage of the current player.<br/>
+
[[FBInstant.player.setDataAsync]] {{<translate>Set data to be saved to the designated cloud storage of the current player.</translate>}}<br/>
[[FBInstant.player.setStatsAsync]] - Set stats to be saved to the designated cloud storage of the current player.<br/>
+
[[FBInstant.player.setStatsAsync]] {{<translate>Set stats to be saved to the designated cloud storage of the current player.</translate>}}<br/>
[[FBInstant.player.subscribeBotAsync]] - Request that the player subscribe the bot associated to the game.<br/>
+
[[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