Difference between revisions of "FBInstant.player.getID"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2018.3<br/> | '''<translate>Available since</translate>:''' Gideros 2018.3<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Player|Player]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Player|Player]]<br/> | ||
Line 5: | Line 6: | ||
<translate><br /> | <translate><br /> | ||
A unique identifier for the player. A Facebook user's player ID will remain constant, and is scoped to a specific game. This means that different games will have different player IDs for the same user.<br /></translate> | A unique identifier for the player. A Facebook user's player ID will remain constant, and is scoped to a specific game. This means that different games will have different player IDs for the same user.<br /></translate> | ||
− | < | + | <syntaxhighlight lang="lua"> |
(string) = FBInstant.player.getID() | (string) = FBInstant.player.getID() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (string) <translate>A unique identifier for the player.</translate><br/> | '''<translate>Returns</translate>''' (string) <translate>A unique identifier for the player.</translate><br/> | ||
+ | |||
+ | {{FBInstant.player}} |
Latest revision as of 14:29, 13 July 2023
Available since: Gideros 2018.3
Class: Player
Description
A unique identifier for the player. A Facebook user's player ID will remain constant, and is scoped to a specific game. This means that different games will have different player IDs for the same user.
(string) = FBInstant.player.getID()
Return values
Returns (string) A unique identifier for the player.
- FBInstant.player.canSubscribeBotAsync
- FBInstant.player.flushDataAsync
- FBInstant.player.getConnectedPlayersAsync
- FBInstant.player.getDataAsync
- FBInstant.player.getID
- FBInstant.player.getName
- FBInstant.player.getPhoto
- FBInstant.player.getSignedPlayerInfoAsync
- FBInstant.player.getStatsAsync
- FBInstant.player.incrementStatsAsync
- FBInstant.player.setDataAsync
- FBInstant.player.setStatsAsync
- FBInstant.player.subscribeBotAsync